Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN +26 KB (100%) dist/SIMRSKhanza.jar
Binary file not shown.
@@ -3,9 +3,9 @@
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="1"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/bridging/DUKCAPILJakartaPostLahir.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/bridging/tessaja3.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/simrskhanza/DlgIKBBayi.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/setting/database.xml</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/keuangan/DlgDetailVKOK.java</file>
</group>
</open-files>
</project-private>
23 sik.sql

Large diffs are not rendered by default.

@@ -8,6 +8,9 @@
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.FileInputStream;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;
import javax.swing.JOptionPane;
import org.springframework.http.HttpEntity;
@@ -21,8 +24,16 @@
* @author khanzasoft
*/
public class BPJSCekNIK {
public String nokartu="",nama="",pekerjaan="",tgl_lahir="",jk="",umur="";
public String cobnmAsuransi="",cobnoAsuransi="",cobtglTAT="",cobtglTMT="",
hakKelasketerangan="",hakKelaskode="",informasidinsos="",informasinoSKTM="",
informasiprolanisPRB="",jenisPesertaketerangan="",jenisPesertakode="",
mrnoMR="",mrnoTelepon="",nama="",nik="",noKartu="",pisa="",
provUmumkdProvider="",provUmumnmProvider="",sex="",statusPesertaketerangan="",
statusPesertakode="",tglCetakKartu="",tglLahir="",tglTAT="",
tglTMT="",umurumurSaatPelayanan="",umurumurSekarang="",informasi="";
private final Properties prop = new Properties();
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
Date date = new Date();

public BPJSCekNIK(){
super();
@@ -32,37 +43,58 @@ public void tampil(String nik) {
BPJSApi api=new BPJSApi();
try {
prop.loadFromXML(new FileInputStream("setting/database.xml"));
String URL = prop.getProperty("URLAPIBPJS")+"/Peserta/Peserta/nik/"+nik;
String URL = prop.getProperty("URLAPIBPJS")+"/Peserta/nik/"+nik+"/tglSEP/"+dateFormat.format(date);

HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED);
headers.setContentType(MediaType.APPLICATION_JSON);
headers.add("X-Cons-ID",prop.getProperty("CONSIDAPIBPJS"));
headers.add("X-Timestamp",String.valueOf(api.GetUTCdatetimeAsString()));
headers.add("X-Timestamp",String.valueOf(api.GetUTCdatetimeAsString()));
headers.add("X-Signature",api.getHmac());
HttpEntity requestEntity = new HttpEntity(headers);
RestTemplate rest = new RestTemplate();

//System.out.println(rest.exchange(URL, HttpMethod.GET, requestEntity, String.class).getBody());
ObjectMapper mapper = new ObjectMapper();
JsonNode root = mapper.readTree(rest.exchange(URL, HttpMethod.GET, requestEntity, String.class).getBody());
JsonNode nameNode = root.path("metadata");
JsonNode nameNode = root.path("metaData");
//System.out.println("code : "+nameNode.path("code").asText());
//System.out.println("message : "+nameNode.path("message").asText());
informasi=nameNode.path("message").asText();
if(nameNode.path("message").asText().equals("OK")){
JsonNode response = root.path("response");
nokartu=response.path("peserta").path("noKartu").asText();
nik=response.path("peserta").path("nik").asText();
nama=response.path("peserta").path("nama").asText();
pekerjaan=response.path("peserta").path("jenisPeserta").path("nmJenisPeserta").asText();
tgl_lahir=response.path("peserta").path("tglLahir").asText();
jk=response.path("peserta").path("sex").asText().replaceAll("L","LAKI-LAKI").replaceAll("P","PEREMPUAN");
try {
umur=response.path("peserta").path("umur").path("umurSekarang").asText().substring(0,2);
} catch (Exception e) {
umur="0";
}
cobnmAsuransi=response.path("peserta").path("cob").path("nmAsuransi").asText();
cobnoAsuransi=response.path("peserta").path("cob").path("noAsuransi").asText();
cobtglTAT=response.path("peserta").path("cob").path("tglTAT").asText();
cobtglTMT=response.path("peserta").path("cob").path("tglTMT").asText();
hakKelasketerangan=response.path("peserta").path("hakKelas").path("keterangan").asText();
hakKelaskode=response.path("peserta").path("hakKelas").path("kode").asText();
informasidinsos=response.path("peserta").path("informasi").path("dinsos").asText();
informasinoSKTM=response.path("peserta").path("informasi").path("noSKTM").asText();
informasiprolanisPRB=response.path("peserta").path("informasi").path("prolanisPRB").asText();
jenisPesertaketerangan=response.path("peserta").path("jenisPeserta").path("keterangan").asText();
jenisPesertakode=response.path("peserta").path("jenisPeserta").path("kode").asText();
mrnoMR=response.path("peserta").path("mr").path("noMR").asText();
mrnoTelepon=response.path("peserta").path("mr").path("noTelepon").asText();
nama=response.path("peserta").path("nama").asText();
nik=response.path("peserta").path("nik").asText();
noKartu=response.path("peserta").path("noKartu").asText();
pisa=response.path("peserta").path("pisa").asText();
provUmumkdProvider=response.path("peserta").path("provUmum").path("kdProvider").asText();
provUmumnmProvider=response.path("peserta").path("provUmum").path("nmProvider").asText();
sex=response.path("peserta").path("sex").asText();
statusPesertaketerangan=response.path("peserta").path("statusPeserta").path("keterangan").asText();
statusPesertakode=response.path("peserta").path("statusPeserta").path("kode").asText();
tglCetakKartu=response.path("peserta").path("tglCetakKartu").asText();
tglLahir=response.path("peserta").path("tglLahir").asText();
tglTAT=response.path("peserta").path("tglTAT").asText();
tglTMT=response.path("peserta").path("tglTMT").asText();
umurumurSaatPelayanan=response.path("peserta").path("umur").path("umurSaatPelayanan").asText();
umurumurSekarang=response.path("peserta").path("umur").path("umurSekarang").asText();
}else {
JOptionPane.showMessageDialog(null,nameNode.path("message").asText());
}
}
} catch (Exception ex) {
System.out.println("Notifikasi Peserta : "+ex);
if(ex.toString().contains("UnknownHostException")){
@@ -8,6 +8,9 @@
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.FileInputStream;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;
import javax.swing.JOptionPane;
import org.springframework.http.HttpEntity;
@@ -21,11 +24,16 @@
* @author khanzasoft
*/
public class BPJSCekNoKartu {
public String nik="",nama="",pekerjaan="",tgl_lahir="",jk="",umur="",kdJenisPeserta="",
kdKelas="",nmKelas="",noMr="",pisa="",kdCabang="",kdProvider="",nmCabang="",
nmProvider="",keterangan="",kode="",tglCetakKartu="",tglTAT="",tglTMT="",
umurSaatPelayanan="",informasi="";
public String cobnmAsuransi="",cobnoAsuransi="",cobtglTAT="",cobtglTMT="",
hakKelasketerangan="",hakKelaskode="",informasidinsos="",informasinoSKTM="",
informasiprolanisPRB="",jenisPesertaketerangan="",jenisPesertakode="",
mrnoMR="",mrnoTelepon="",nama="",nik="",noKartu="",pisa="",
provUmumkdProvider="",provUmumnmProvider="",sex="",statusPesertaketerangan="",
statusPesertakode="",tglCetakKartu="",tglLahir="",tglTAT="",
tglTMT="",umurumurSaatPelayanan="",umurumurSekarang="",informasi="";
private final Properties prop = new Properties();
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
Date date = new Date();

public BPJSCekNoKartu(){
super();
@@ -35,7 +43,7 @@ public void tampil(String nokartu) {
BPJSApi api=new BPJSApi();
try {
prop.loadFromXML(new FileInputStream("setting/database.xml"));
String URL = prop.getProperty("URLAPIBPJS")+"/Peserta/Peserta/"+nokartu;
String URL = prop.getProperty("URLAPIBPJS")+"/Peserta/nokartu/"+nokartu+"/tglSEP/"+dateFormat.format(date);

HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON);
@@ -48,37 +56,42 @@ public void tampil(String nokartu) {
//System.out.println(rest.exchange(URL, HttpMethod.GET, requestEntity, String.class).getBody());
ObjectMapper mapper = new ObjectMapper();
JsonNode root = mapper.readTree(rest.exchange(URL, HttpMethod.GET, requestEntity, String.class).getBody());
JsonNode nameNode = root.path("metadata");
JsonNode nameNode = root.path("metaData");
//System.out.println("code : "+nameNode.path("code").asText());
//System.out.println("message : "+nameNode.path("message").asText());
informasi=nameNode.path("message").asText();
if(nameNode.path("message").asText().equals("OK")){
JsonNode response = root.path("response");
nik=response.path("peserta").path("nik").asText();
nama=response.path("peserta").path("nama").asText();
pekerjaan=response.path("peserta").path("jenisPeserta").path("nmJenisPeserta").asText();
tgl_lahir=response.path("peserta").path("tglLahir").asText();
jk=response.path("peserta").path("sex").asText().replaceAll("L","LAKI-LAKI").replaceAll("P","PEREMPUAN");
try {
umur=response.path("peserta").path("umur").path("umurSekarang").asText().substring(0,2);
} catch (Exception e) {
umur="0";
}
kdJenisPeserta=response.path("peserta").path("jenisPeserta").path("kdJenisPeserta").asText();
kdKelas=response.path("peserta").path("kelasTanggungan").path("kdKelas").asText();
nmKelas=response.path("peserta").path("kelasTanggungan").path("nmKelas").asText();
noMr=response.path("peserta").path("noMr").asText();
cobnmAsuransi=response.path("peserta").path("cob").path("nmAsuransi").asText();
cobnoAsuransi=response.path("peserta").path("cob").path("noAsuransi").asText();
cobtglTAT=response.path("peserta").path("cob").path("tglTAT").asText();
cobtglTMT=response.path("peserta").path("cob").path("tglTMT").asText();
hakKelasketerangan=response.path("peserta").path("hakKelas").path("keterangan").asText();
hakKelaskode=response.path("peserta").path("hakKelas").path("kode").asText();
informasidinsos=response.path("peserta").path("informasi").path("dinsos").asText();
informasinoSKTM=response.path("peserta").path("informasi").path("noSKTM").asText();
informasiprolanisPRB=response.path("peserta").path("informasi").path("prolanisPRB").asText();
jenisPesertaketerangan=response.path("peserta").path("jenisPeserta").path("keterangan").asText();
jenisPesertakode=response.path("peserta").path("jenisPeserta").path("kode").asText();
mrnoMR=response.path("peserta").path("mr").path("noMR").asText();
mrnoTelepon=response.path("peserta").path("mr").path("noTelepon").asText();
nama=response.path("peserta").path("nama").asText();
nik=response.path("peserta").path("nik").asText();
noKartu=response.path("peserta").path("noKartu").asText();
pisa=response.path("peserta").path("pisa").asText();
kdCabang=response.path("peserta").path("provUmum").path("kdCabang").asText();
kdProvider=response.path("peserta").path("provUmum").path("kdProvider").asText();
nmCabang=response.path("peserta").path("provUmum").path("nmCabang").asText();
nmProvider=response.path("peserta").path("provUmum").path("nmProvider").asText();
keterangan=response.path("peserta").path("statusPeserta").path("keterangan").asText();
kode=response.path("peserta").path("statusPeserta").path("kode").asText();
provUmumkdProvider=response.path("peserta").path("provUmum").path("kdProvider").asText();
provUmumnmProvider=response.path("peserta").path("provUmum").path("nmProvider").asText();
sex=response.path("peserta").path("sex").asText();
statusPesertaketerangan=response.path("peserta").path("statusPeserta").path("keterangan").asText();
statusPesertakode=response.path("peserta").path("statusPeserta").path("kode").asText();
tglCetakKartu=response.path("peserta").path("tglCetakKartu").asText();
tglLahir=response.path("peserta").path("tglLahir").asText();
tglTAT=response.path("peserta").path("tglTAT").asText();
tglTMT=response.path("peserta").path("tglTMT").asText();
umurSaatPelayanan=response.path("peserta").path("umur").path("umurSaatPelayanan").asText();
umurumurSaatPelayanan=response.path("peserta").path("umur").path("umurSaatPelayanan").asText();
umurumurSekarang=response.path("peserta").path("umur").path("umurSekarang").asText();
}else {
JOptionPane.showMessageDialog(null,nameNode.path("message").asText());
}
@@ -228,7 +228,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="28-12-2017 14:21:45"/>
<StringItem index="0" value="11-02-2018 00:53:35"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -544,7 +544,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="28-12-2017"/>
<StringItem index="0" value="11-02-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -573,7 +573,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="28-12-2017"/>
<StringItem index="0" value="11-02-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -823,7 +823,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="28-12-2017 14:21:45"/>
<StringItem index="0" value="11-02-2018 00:53:35"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -863,7 +863,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="28-12-2017 14:21:45"/>
<StringItem index="0" value="11-02-2018 00:53:35"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -1551,24 +1551,24 @@ private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event
}else{
cekViaBPJSKartu.tampil(no_peserta);
if(cekViaBPJSKartu.informasi.equals("OK")){
if(cekViaBPJSKartu.keterangan.equals("AKTIF")){
if(cekViaBPJSKartu.statusPesertaketerangan.equals("AKTIF")){
TPasien.setText(cekViaBPJSKartu.nama);
TglLahir.setText(cekViaBPJSKartu.tgl_lahir);
JK.setText(cekViaBPJSKartu.jk);
TglLahir.setText(cekViaBPJSKartu.tglLahir);
JK.setText(cekViaBPJSKartu.sex);
NoKartu.setText(no_peserta);
JenisPeserta.setText(cekViaBPJSKartu.pekerjaan);
Status.setText(cekViaBPJSKartu.keterangan);
KdPpkRujukan.setText(cekViaBPJSKartu.kdProvider);
NmPpkRujukan.setText(cekViaBPJSKartu.nmProvider);
JenisPeserta.setText(cekViaBPJSKartu.jenisPesertaketerangan);
Status.setText(cekViaBPJSKartu.statusPesertaketerangan);
KdPpkRujukan.setText(cekViaBPJSKartu.provUmumkdProvider);
NmPpkRujukan.setText(cekViaBPJSKartu.provUmumnmProvider);
//TNoRM.setText(cekViaBPJSKartu.noMr);
//if(cekViaBPJSKartu.noMr.equals("")){
TNoRM.setText(TNoRM2.getText());
//}
if(cekViaBPJSKartu.kdKelas.equals("1")){
if(cekViaBPJSKartu.hakKelaskode.equals("1")){
Kelas.setSelectedIndex(0);
}else if(cekViaBPJSKartu.kdKelas.equals("2")){
}else if(cekViaBPJSKartu.hakKelaskode.equals("2")){
Kelas.setSelectedIndex(1);
}else if(cekViaBPJSKartu.kdKelas.equals("3")){
}else if(cekViaBPJSKartu.hakKelaskode.equals("3")){
Kelas.setSelectedIndex(2);
}
NoRujukan.requestFocus();
@@ -68,7 +68,7 @@ public final class var {
pcare_cek_rujukan=false,grafik_lab_ralantahun=false,grafik_rad_ralantahun=false,cek_entry_ralan=false,inacbg_klaim_baru_manual2=false,
permintaan_medis=false,rekap_permintaan_medis=false,surat_pemesanan_medis=false,permintaan_non_medis=false,rekap_permintaan_non_medis=false,
surat_pemesanan_non_medis=false,grafik_per_perujuk=false,bpjs_cek_prosedur=false,bpjs_cek_kelas_rawat=false,bpjs_cek_dokter=false,
bpjs_cek_spesialistik=false,bpjs_cek_ruangrawat=false,bpjs_cek_carakeluar=false,bpjs_cek_pasca_pulang=false;
bpjs_cek_spesialistik=false,bpjs_cek_ruangrawat=false,bpjs_cek_carakeluar=false,bpjs_cek_pasca_pulang=false,detail_tindakan_okvk=false;

public static void setData(String user, String pass) {
try {
@@ -387,6 +387,7 @@ public static void setData(String user, String pass) {
var.bpjs_cek_ruangrawat=true;
var.bpjs_cek_carakeluar=true;
var.bpjs_cek_pasca_pulang=true;
var.detail_tindakan_okvk=true;
}else if(rs2.getRow()>=1){
rs2.beforeFirst();
rs2.next();
@@ -689,6 +690,7 @@ public static void setData(String user, String pass) {
var.bpjs_cek_ruangrawat=rs2.getBoolean("bpjs_cek_ruangrawat");
var.bpjs_cek_carakeluar=rs2.getBoolean("bpjs_cek_carakeluar");
var.bpjs_cek_pasca_pulang=rs2.getBoolean("bpjs_cek_pasca_pulang");
var.detail_tindakan_okvk=rs2.getBoolean("detail_tindakan_okvk");
}else if((rs.getRow()==0)&&(rs2.getRow()==0)){
var.kode="";
var.penyakit= false;
@@ -989,6 +991,7 @@ public static void setData(String user, String pass) {
var.bpjs_cek_ruangrawat=false;
var.bpjs_cek_carakeluar=false;
var.bpjs_cek_pasca_pulang=false;
var.detail_tindakan_okvk=false;
}
} catch (Exception e) {
System.out.println("Notifikasi : "+e);
@@ -1336,5 +1339,6 @@ public static void setData(String user, String pass) {
public static boolean getbpjs_cek_ruangrawat(){return var.bpjs_cek_ruangrawat;}
public static boolean getbpjs_cek_carakeluar(){return var.bpjs_cek_carakeluar;}
public static boolean getbpjs_cek_pasca_pulang(){return var.bpjs_cek_pasca_pulang;}
public static boolean getdetail_tindakan_okvk(){return var.detail_tindakan_okvk;}

}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -101,7 +101,7 @@ public DlgUser(java.awt.Frame parent, boolean modal) {
"[N]Kunjungan Ranap Per Tahun","[K]Cek Rujukan PCare","[N]Kunjungan Lab Ralan Per Tahun","[N]Kunjungan Rad Ralan Per Tahun","[I]Cek Entry Ralan","[K]Klaim Baru Manual INACBG 2",
"[D]Permintaan Obat & BHP","[D]Rekap Permintaan Obat & BHP","[D]Surat Pemesanan Obat & BHP","[E]Permintaan Barang Non Medis","[E]Rekap Permintaan Barang Non Medis",
"[E]Surat Pemesanan Barang Non Medis","[N]Kunjungan Per Perujuk","[K]Referensi Prosedur VClaim","[K]Referensi Kelas Rawat VClaim","[K]Referensi Dokter VClaim",
"[K]Referensi Spesialistik VClaim","[K]Referensi Ruang Rawat VClaim","[K]Referensi Cara Keluar VClaim","[K]Referensi Pasca Pulang VClaim"
"[K]Referensi Spesialistik VClaim","[K]Referensi Ruang Rawat VClaim","[K]Referensi Cara Keluar VClaim","[K]Referensi Pasca Pulang VClaim","[H]Detail VK/OK"
};

tabMode=new DefaultTableModel(null,row){
@@ -204,7 +204,7 @@ public Class getColumnClass(int columnIndex) {
tbUser.setPreferredScrollableViewportSize(new Dimension(500,500));
tbUser.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);

for (i = 0; i < 298;i++) {
for (i = 0; i < 299;i++) {
TableColumn column = tbUser.getColumnModel().getColumn(i);
if(i==0){
column.setPreferredWidth(130);
@@ -436,6 +436,8 @@ public Class getColumnClass(int columnIndex) {
column.setPreferredWidth(158);
}else if(i==297){
column.setPreferredWidth(166);
}else if(i==298){
column.setPreferredWidth(80);
}else{
column.setPreferredWidth(120);
}
@@ -870,7 +872,7 @@ private void BtnSimpanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIR
"'false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false',"+
"'false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false',"+
"'false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false',"+
"'false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false'","User")==true){
"'false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false','false'","User")==true){
tampil();
emptTeks();
}
@@ -1210,7 +1212,8 @@ private void BtnEditActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST
"bpjs_cek_spesialistik='"+tbUser.getValueAt(i,294).toString()+"',"+
"bpjs_cek_ruangrawat='"+tbUser.getValueAt(i,295).toString()+"',"+
"bpjs_cek_carakeluar='"+tbUser.getValueAt(i,296).toString()+"',"+
"bpjs_cek_pasca_pulang='"+tbUser.getValueAt(i,297).toString()+"'");
"bpjs_cek_pasca_pulang='"+tbUser.getValueAt(i,297).toString()+"',"+
"detail_tindakan_okvk='"+tbUser.getValueAt(i,298).toString()+"'");
}
tampil();
emptTeks();
@@ -1486,7 +1489,8 @@ private void tampil() {
"pcare_cek_rujukan,grafik_lab_ralantahun,grafik_rad_ralantahun,cek_entry_ralan,inacbg_klaim_baru_manual2,"+
"permintaan_medis,rekap_permintaan_medis,surat_pemesanan_medis,permintaan_non_medis,rekap_permintaan_non_medis, "+
"surat_pemesanan_non_medis,grafik_per_perujuk,bpjs_cek_prosedur,bpjs_cek_kelas_rawat,bpjs_cek_dokter, "+
"bpjs_cek_spesialistik,bpjs_cek_ruangrawat,bpjs_cek_carakeluar,bpjs_cek_pasca_pulang from user order by AES_DECRYPT(id_user,'nur')");
"bpjs_cek_spesialistik,bpjs_cek_ruangrawat,bpjs_cek_carakeluar,bpjs_cek_pasca_pulang,detail_tindakan_okvk "+
"from user order by AES_DECRYPT(id_user,'nur')");
try {
rs=ps.executeQuery();
while(rs.next()){
@@ -1795,7 +1799,8 @@ private void tampil() {
rs.getBoolean("bpjs_cek_spesialistik"),
rs.getBoolean("bpjs_cek_ruangrawat"),
rs.getBoolean("bpjs_cek_carakeluar"),
rs.getBoolean("bpjs_cek_pasca_pulang")
rs.getBoolean("bpjs_cek_pasca_pulang"),
rs.getBoolean("detail_tindakan_okvk")
});
}
} catch (Exception e) {
@@ -2094,7 +2099,8 @@ private void tampil() {
rs.getBoolean("bpjs_cek_spesialistik"),
rs.getBoolean("bpjs_cek_ruangrawat"),
rs.getBoolean("bpjs_cek_carakeluar"),
rs.getBoolean("bpjs_cek_pasca_pulang")
rs.getBoolean("bpjs_cek_pasca_pulang"),
rs.getBoolean("detail_tindakan_okvk")
});
}
}
@@ -2391,7 +2391,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="07-02-2018"/>
<StringItem index="0" value="11-02-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -2613,7 +2613,7 @@
<Property name="editable" type="boolean" value="false"/>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="07-02-2018"/>
<StringItem index="0" value="11-02-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -4330,11 +4330,11 @@ private void MnViaBPJSNikActionPerformed(java.awt.event.ActionEvent evt) {//GEN-
this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
cekViaBPJS.tampil(TKtp.getText());
TNm.setText(cekViaBPJS.nama);
CmbJk.setSelectedItem(cekViaBPJS.jk);
TNoPeserta.setText(cekViaBPJS.nokartu);
Pekerjaan.setText(cekViaBPJS.pekerjaan);
TUmurTh.setText(cekViaBPJS.umur);
Valid.SetTgl(DTPLahir,cekViaBPJS.tgl_lahir);
CmbJk.setSelectedItem(cekViaBPJS.sex);
TNoPeserta.setText(cekViaBPJS.noKartu);
Pekerjaan.setText(cekViaBPJS.jenisPesertaketerangan);
TUmurTh.setText(cekViaBPJS.umurumurSekarang);
Valid.SetTgl(DTPLahir,cekViaBPJS.tglLahir);
jPopupMenu2.setVisible(false);
this.setCursor(Cursor.getDefaultCursor());
}//GEN-LAST:event_MnViaBPJSNikActionPerformed
@@ -4343,11 +4343,11 @@ private void MnViaBPJSNoKartuActionPerformed(java.awt.event.ActionEvent evt) {//
this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
cekViaBPJSKartu.tampil(TNoPeserta.getText());
TNm.setText(cekViaBPJSKartu.nama);
CmbJk.setSelectedItem(cekViaBPJSKartu.jk);
CmbJk.setSelectedItem(cekViaBPJSKartu.sex);
TKtp.setText(cekViaBPJSKartu.nik);
Pekerjaan.setText(cekViaBPJSKartu.pekerjaan);
TUmurTh.setText(cekViaBPJSKartu.umur);
Valid.SetTgl(DTPLahir,cekViaBPJSKartu.tgl_lahir);
Pekerjaan.setText(cekViaBPJSKartu.jenisPesertaketerangan);
TUmurTh.setText(cekViaBPJSKartu.umurumurSekarang);
Valid.SetTgl(DTPLahir,cekViaBPJSKartu.tglLahir);
jPopupMenu2.setVisible(false);
this.setCursor(Cursor.getDefaultCursor());
}//GEN-LAST:event_MnViaBPJSNoKartuActionPerformed
@@ -5338,6 +5338,22 @@
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnCekReferensiPascaPulangBPJSActionPerformed"/>
</Events>
</Component>
<Component class="widget.ButtonBig" name="btnDetailVKOK">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/48x48/address-book.png"/>
</Property>
<Property name="text" type="java.lang.String" value="Detail VK &amp; OK"/>
<Property name="iconTextGap" type="int" value="0"/>
<Property name="name" type="java.lang.String" value="btnDetailVKOK" noResource="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[200, 90]"/>
</Property>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnDetailVKOKActionPerformed"/>
</Events>
</Component>
</SubComponents>
</Container>
</SubComponents>
@@ -5354,7 +5370,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="09/02/2018"/>
<StringItem index="0" value="11/02/2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd/MM/yyyy"/>
@@ -228,6 +228,7 @@
import javax.swing.event.DocumentEvent;
import keuangan.DlgAkunPiutang;
import keuangan.DlgDetailTindakan;
import keuangan.DlgDetailVKOK;
import keuangan.DlgHutangObatBelumLunas;
import keuangan.DlgPembayaranPerPoli;
import keuangan.DlgPiutangPercaraBayar;
@@ -747,6 +748,7 @@ private void initComponents() {
btnCekReferensiRuangRawatBPJS = new widget.ButtonBig();
btnCekReferensiCaraKeluarBPJS = new widget.ButtonBig();
btnCekReferensiPascaPulangBPJS = new widget.ButtonBig();
btnDetailVKOK = new widget.ButtonBig();
tanggal = new widget.Tanggal();
btnDataPenjualan = new widget.ButtonBig();
btnInputPenjualan = new widget.ButtonBig();
@@ -4616,6 +4618,18 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
});
Panelmenu.add(btnCekReferensiPascaPulangBPJS);

btnDetailVKOK.setIcon(new javax.swing.ImageIcon(getClass().getResource("/48x48/address-book.png"))); // NOI18N
btnDetailVKOK.setText("Detail VK & OK");
btnDetailVKOK.setIconTextGap(0);
btnDetailVKOK.setName("btnDetailVKOK"); // NOI18N
btnDetailVKOK.setPreferredSize(new java.awt.Dimension(200, 90));
btnDetailVKOK.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btnDetailVKOKActionPerformed(evt);
}
});
Panelmenu.add(btnDetailVKOK);

scrollPane2.setViewportView(Panelmenu);

panelMenu.add(scrollPane2, java.awt.BorderLayout.CENTER);
@@ -9829,6 +9843,17 @@ private void btnCekReferensiPascaPulangBPJSActionPerformed(java.awt.event.Action
this.setCursor(Cursor.getDefaultCursor());
}//GEN-LAST:event_btnCekReferensiPascaPulangBPJSActionPerformed

private void btnDetailVKOKActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDetailVKOKActionPerformed
isTutup();
this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
DlgDetailVKOK dettin=new DlgDetailVKOK(this,false);
dettin.setSize(PanelUtama.getWidth(),PanelUtama.getHeight());
dettin.setLocationRelativeTo(PanelUtama);
dettin.setVisible(true);
DlgHome.dispose();
this.setCursor(Cursor.getDefaultCursor());
}//GEN-LAST:event_btnDetailVKOKActionPerformed

/**
* @param args the command line arguments
*/
@@ -9937,6 +9962,7 @@ public static void main(String args[]) {
private widget.ButtonBig btnDataPenyerahanDarah;
private widget.ButtonBig btnDeposit;
private widget.ButtonBig btnDetailTindakan;
private widget.ButtonBig btnDetailVKOK;
private widget.ButtonBig btnDiagnosa;
private widget.ButtonBig btnDiet;
private widget.ButtonBig btnDisplay;
@@ -11112,6 +11138,11 @@ private void isCombo() {
jmlmenu++;
}

if(var.getdetail_tindakan_okvk()==true){
Panelmenu.add(btnDetailVKOK);
jmlmenu++;
}

if(var.getpembayaran_ralan()==true){
Panelmenu.add(btnRalanMasuk);
jmlmenu++;
@@ -12607,6 +12638,11 @@ private void isCariKosong() {
jmlmenu++;
}

if(var.getdetail_tindakan_okvk()==true){
Panelmenu.add(btnDetailVKOK);
jmlmenu++;
}

if(var.getpembayaran_ralan()==true){
Panelmenu.add(btnRalanMasuk);
jmlmenu++;
@@ -14337,6 +14373,13 @@ private void isCariIsi() {
}
}

if(var.getdetail_tindakan_okvk()==true){
if(btnDetailVKOK.getText().toLowerCase().trim().contains(TCari.getText().toLowerCase().trim())){
Panelmenu.add(btnDetailVKOK);
jmlmenu++;
}
}

if(var.getpembayaran_ralan()==true){
if(btnRalanMasuk.getText().toLowerCase().trim().contains(TCari.getText().toLowerCase().trim())){
Panelmenu.add(btnRalanMasuk);