- penambahan konstanta kategori profesi tkl terhadap unit kerja
- penyesuaian service tampilan daftar mapping skoring tkl terhadap perubahan hak akses kepada masing-masing instalasi
This commit is contained in:
parent
bbc3e52c5e
commit
60b2fd51e3
@ -283,6 +283,18 @@ public class Master {
|
||||
public static final Integer KONSULTASI_DOKTER_JAGA = 400;
|
||||
}
|
||||
|
||||
public static final class Profesi {
|
||||
public static final Integer[] FARMASI = { 6, 7 };
|
||||
public static final Integer[] GIZI = { 1 };
|
||||
public static final Integer[] IK3KL = { 16, 17 };
|
||||
public static final Integer[] IP3RS = { 14 };
|
||||
public static final Integer[] LAB = { 12, 13, 21 };
|
||||
public static final Integer[] RADIOLOGI = { 10, 11 };
|
||||
public static final Integer[] RAJAL = { 8, 9, 18 };
|
||||
public static final Integer[] REHAB_MEDIK = { 2, 3, 4, 5 };
|
||||
public static final Integer[] REKAM_MEDIK = { 15 };
|
||||
}
|
||||
|
||||
public static final class Rekanan {
|
||||
public static final Integer JAMINAN_KEMENKES = 581398;
|
||||
}
|
||||
@ -367,7 +379,16 @@ public class Master {
|
||||
public static final Integer BAG_SDM = 24;
|
||||
public static final Integer BID_WAT = 21;
|
||||
public static final Integer BID_JANG = 83;
|
||||
public static final Integer KSM_UMUM = 62;
|
||||
public static final Integer DIREKSI = 65;
|
||||
public static final Integer INS_FARMASI = 37;
|
||||
public static final Integer INS_GIZI = 41;
|
||||
public static final Integer INS_LAB_TERPADU = 35;
|
||||
public static final Integer INS_RADIOLOGI = 36;
|
||||
public static final Integer INS_RAWAT_JALAN = 71;
|
||||
public static final Integer INS_REHAB_MEDIK = 38;
|
||||
public static final Integer INS_REKAM_MEDIK = 57;
|
||||
public static final Integer IK3KL = 46;
|
||||
public static final Integer IP3RS = 40;
|
||||
public static final Integer KSM_UMUM = 62;
|
||||
}
|
||||
}
|
||||
|
||||
@ -210,8 +210,27 @@ public class SkoringTindakanNakesServiceImpl extends BaseVoServiceImpl implement
|
||||
if (mapFilter.get("produkId").equals(mapData.get("produkId"))
|
||||
&& mapFilter.get("tglMulaiBerlaku").equals(mapData.get("tglMulaiBerlaku"))) {
|
||||
|
||||
//TODO inserted by ITI-14 [Oct 12, 2021, 10:38:14 AM] : Mapping profesi terhadap unit tempat bekerja
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.BID_JANG);
|
||||
if (Arrays.asList(Master.Profesi.FARMASI).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.INS_FARMASI);
|
||||
} else if (Arrays.asList(Master.Profesi.GIZI).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.INS_GIZI);
|
||||
} else if (Arrays.asList(Master.Profesi.IK3KL).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.IK3KL);
|
||||
} else if (Arrays.asList(Master.Profesi.IP3RS).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.IP3RS);
|
||||
} else if (Arrays.asList(Master.Profesi.LAB).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.INS_LAB_TERPADU);
|
||||
} else if (Arrays.asList(Master.Profesi.RADIOLOGI).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.INS_RADIOLOGI);
|
||||
} else if (Arrays.asList(Master.Profesi.RAJAL).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.INS_RAWAT_JALAN);
|
||||
} else if (Arrays.asList(Master.Profesi.REHAB_MEDIK).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.INS_REHAB_MEDIK);
|
||||
} else if (Arrays.asList(Master.Profesi.REKAM_MEDIK).contains(mapData.get("profesiId"))) {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.INS_REKAM_MEDIK);
|
||||
} else {
|
||||
mapData.put("unitKerjaId", Master.UnitKerja.BID_JANG);
|
||||
}
|
||||
|
||||
result.add(mapData);
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user