Update PelayananPasienServiceImpl.java
Penerapan persen jasa bpjs untuk dokter luar
This commit is contained in:
parent
4e9098f199
commit
aba960b0ca
@ -33,7 +33,6 @@ import com.jasamedika.medifirst2000.dao.PasienDaftarDao;
|
||||
import com.jasamedika.medifirst2000.dao.PegawaiDao;
|
||||
import com.jasamedika.medifirst2000.dao.PegawaiJadwalKerjaDao;
|
||||
import com.jasamedika.medifirst2000.dao.PelayananPasienDao;
|
||||
import com.jasamedika.medifirst2000.dao.PelayananPasienDetailDao;
|
||||
import com.jasamedika.medifirst2000.dao.StrukPelayananDao;
|
||||
import com.jasamedika.medifirst2000.dao.TargetRemunDokterDetailDao;
|
||||
import com.jasamedika.medifirst2000.entities.JenisObat;
|
||||
@ -475,7 +474,7 @@ public class PelayananPasienServiceImpl extends BaseVoServiceImpl implements Pel
|
||||
listData = listData.stream().filter(d -> !Master.JenisProduk.OBAT_ALKES.equals(d.get("idJenisProduk")))
|
||||
.collect(Collectors.toList());
|
||||
/*
|
||||
* Mapping persentase jasa remunerasi
|
||||
* Mapping persentase jasa remunerasi dan harga jasa remunerasi
|
||||
*/
|
||||
for (Map<String, Object> d : listData)
|
||||
if (CommonUtil.isNotNullOrEmpty(d.get("totalDiskon"))
|
||||
@ -1045,6 +1044,9 @@ public class PelayananPasienServiceImpl extends BaseVoServiceImpl implements Pel
|
||||
*/
|
||||
for (Map<String, Object> d : listData) {
|
||||
if (Arrays.asList(Master.KelompokPasien.KELOMPOK_BPJS).contains(d.get("idKelompokPasien"))) {
|
||||
/*
|
||||
* Dokter luar yang klaim ffs dengan persen jasa dari tarif total
|
||||
*/
|
||||
d.put("persenJasa", persenBPJS.toString() + "%");
|
||||
if (Double.parseDouble(d.get("hargaJasa").toString()) != 0.0)
|
||||
d.put("hargaJasa", persenBPJS / 100 * Double.parseDouble(d.get("hargaJual").toString()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user