Skip to content

Commit

Permalink
Lihat lisensi.txt/README.txt bro. Sudah Fix, Rekap JM Dokter
Browse files Browse the repository at this point in the history
  • Loading branch information
mas-elkhanza committed Feb 25, 2022
1 parent c55a800 commit e4cc65c
Show file tree
Hide file tree
Showing 28 changed files with 1,201 additions and 767 deletions.
2 changes: 1 addition & 1 deletion build/built-jar.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Tue, 22 Feb 2022 10:40:14 +0700
#Fri, 25 Feb 2022 15:43:55 +0700


/Users/windiartonugroho/Documents/Pekerjaan/SIMRSKhanza=
Binary file modified build/classes/fungsi/sekuel$NIOCopier.class
Binary file not shown.
Binary file modified build/classes/fungsi/sekuel$Painter.class
Binary file not shown.
Binary file modified build/classes/fungsi/sekuel.class
Binary file not shown.
Binary file modified build/classes/kepegawaian/DlgDokter.class
Binary file not shown.
Binary file modified build/classes/kepegawaian/DlgPetugas.class
Binary file not shown.
Binary file modified build/classes/rekammedis/RMRiwayatPerawatan.class
Binary file not shown.
Binary file modified build/classes/simrskhanza/DlgCariPeriksaRadiologi.class
Binary file not shown.
Binary file modified build/classes/simrskhanza/DlgPeriksaRadiologi$49.class
Binary file not shown.
Binary file modified build/classes/simrskhanza/DlgPeriksaRadiologi.class
Binary file not shown.
806 changes: 458 additions & 348 deletions build/report/rptBuktiRegister8.jrxml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/setting/database.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<entry key="ALARMAPOTEK">yes</entry>
<entry key="FORMALARMAPOTEK">ralan + ranap</entry>
<entry key="STOKKOSONGRESEP">no</entry>
<entry key="HPPFARMASI">h_beli</entry>
<entry key="HPPFARMASI">dasar</entry>
<entry key="HPPTOKO">dasar</entry>
<entry key="ALARMLAB">yes</entry>
<entry key="FORMALARMLAB">ralan + ranap</entry>
Expand Down Expand Up @@ -72,7 +72,7 @@
<entry key="AKTIFKANBATCHOBAT">no</entry>
<entry key="CETAKRINCIANOBAT">no</entry>
<entry key="DEPOAKTIFOBAT"></entry>
<entry key="AKTIFKANBILLINGPARSIAL">yes</entry>
<entry key="AKTIFKANBILLINGPARSIAL">no</entry>
<entry key="URLDUKCAPILJAKARTA">http://kependudukan.jakarta.go.id/wsrs/xml.jsp</entry>
<entry key="USERDUKCAPILJAKARTA">eYTbZ3SMrmsvkl4t8u0zrA==</entry>
<entry key="PASSDUKCAPILJAKARTA">iDrX7PhhkIwMup7YcS2RFg==</entry>
Expand Down
4 changes: 3 additions & 1 deletion nbproject/private/private.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
</file>
</editor-bookmarks>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group/>
<group>
<file>file:/Users/windiartonugroho/Documents/Pekerjaan/SIMRSKhanza/src/simrskhanza/DlgReg.java</file>
</group>
</open-files>
</project-private>
806 changes: 458 additions & 348 deletions report/rptBuktiRegister8.jrxml

Large diffs are not rendered by default.

Binary file modified report/rptLaporanResumeRanap.jasper
Binary file not shown.
74 changes: 71 additions & 3 deletions report/rptLaporanResumeRanap.jrxml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
<parameter name="ruang" class="java.lang.String"/>
<parameter name="norawat" class="java.lang.String"/>
<parameter name="tanggalkeluar" class="java.lang.String"/>
<parameter name="finger2" class="java.lang.String"/>
<parameter name="finger3" class="java.lang.String"/>
<parameter name="namadokter2" class="java.lang.String"/>
<parameter name="namadokter3" class="java.lang.String"/>
<queryString>
<![CDATA[select reg_periksa.no_rawat,reg_periksa.no_rkm_medis,pasien.nm_pasien,resume_pasien_ranap.kd_dokter,dokter.nm_dokter,reg_periksa.kd_dokter as kodepengirim,pengirim.nm_dokter as pengirim,
reg_periksa.tgl_registrasi,reg_periksa.jam_reg,resume_pasien_ranap.diagnosa_awal,resume_pasien_ranap.alasan,resume_pasien_ranap.keluhan_utama,resume_pasien_ranap.pemeriksaan_fisik,
Expand Down Expand Up @@ -673,23 +677,23 @@ where resume_pasien_ranap.no_rawat= $P{norawat}]]>
<text><![CDATA[Jalannya Penyakit Selama Perawatan :]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="343" y="781" width="182" height="16" uuid="61481e35-032b-4bda-8774-c5fa08d79a61"/>
<reportElement x="366" y="776" width="164" height="22" uuid="61481e35-032b-4bda-8774-c5fa08d79a61"/>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8" isBold="false" isItalic="false" isUnderline="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$F{nm_dokter}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="343" y="715" width="182" height="11" uuid="e310e9c8-eb47-4aab-8710-9d2c1ca5fff8"/>
<reportElement x="366" y="714" width="164" height="11" uuid="e310e9c8-eb47-4aab-8710-9d2c1ca5fff8"/>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8" isBold="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Dokter Penanggung Jawab]]></text>
</staticText>
<componentElement>
<reportElement x="347" y="729" width="176" height="50" isRemoveLineWhenBlank="true" uuid="92ab0356-8454-4b64-a117-5ac52c90d28f">
<reportElement x="370" y="727" width="157" height="49" isRemoveLineWhenBlank="true" uuid="92ab0356-8454-4b64-a117-5ac52c90d28f">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<jr:QRCode xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" errorCorrectionLevel="H">
Expand Down Expand Up @@ -1711,6 +1715,70 @@ where resume_pasien_ranap.no_rawat= $P{norawat}]]>
</textElement>
<text><![CDATA[:]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="189" y="776" width="164" height="22" uuid="fae1507e-cf7f-423f-9d85-4c84604706d3">
<printWhenExpression><![CDATA[(!$P{namadokter2}.toLowerCase().equals("") ?
Boolean.TRUE:Boolean.FALSE)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8" isBold="false" isItalic="false" isUnderline="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{namadokter2}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="189" y="714" width="164" height="11" uuid="d284ebcf-9d5f-4513-919b-ee8e3c96a6d9">
<printWhenExpression><![CDATA[(!$P{namadokter2}.toLowerCase().equals("") ?
Boolean.TRUE:Boolean.FALSE)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8" isBold="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Dokter Penanggung Jawab 2]]></text>
</staticText>
<componentElement>
<reportElement x="193" y="727" width="157" height="49" isRemoveLineWhenBlank="true" uuid="048d3d12-a99d-4b7e-9f96-7b9a4c98a0ed">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<printWhenExpression><![CDATA[(!$P{namadokter2}.toLowerCase().equals("") ?
Boolean.TRUE:Boolean.FALSE)]]></printWhenExpression>
</reportElement>
<jr:QRCode xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" errorCorrectionLevel="H">
<jr:codeExpression><![CDATA[$P{finger2}]]></jr:codeExpression>
</jr:QRCode>
</componentElement>
<textField isStretchWithOverflow="true">
<reportElement x="7" y="776" width="164" height="22" uuid="8d9bd58a-1076-4fcb-a6c4-321344f19078">
<printWhenExpression><![CDATA[(!$P{namadokter3}.toLowerCase().equals("") ?
Boolean.TRUE:Boolean.FALSE)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8" isBold="false" isItalic="false" isUnderline="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$P{namadokter3}]]></textFieldExpression>
</textField>
<componentElement>
<reportElement x="11" y="727" width="157" height="49" isRemoveLineWhenBlank="true" uuid="f3e41863-9d58-4531-9429-8a1c97b56bd8">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<printWhenExpression><![CDATA[(!$P{namadokter3}.toLowerCase().equals("") ?
Boolean.TRUE:Boolean.FALSE)]]></printWhenExpression>
</reportElement>
<jr:QRCode xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" errorCorrectionLevel="H">
<jr:codeExpression><![CDATA[$P{finger3}]]></jr:codeExpression>
</jr:QRCode>
</componentElement>
<staticText>
<reportElement x="7" y="714" width="164" height="11" uuid="d7e956d3-251c-4999-99d5-3eb04bebd3b6">
<printWhenExpression><![CDATA[(!$P{namadokter3}.toLowerCase().equals("") ?
Boolean.TRUE:Boolean.FALSE)]]></printWhenExpression>
</reportElement>
<textElement textAlignment="Center">
<font fontName="Tahoma" size="8" isBold="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<text><![CDATA[Dokter Penanggung Jawab 3]]></text>
</staticText>
</band>
</detail>
<columnFooter>
Expand Down
4 changes: 2 additions & 2 deletions setting/database.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<entry key="ALARMAPOTEK">yes</entry>
<entry key="FORMALARMAPOTEK">ralan + ranap</entry>
<entry key="STOKKOSONGRESEP">no</entry>
<entry key="HPPFARMASI">h_beli</entry>
<entry key="HPPFARMASI">dasar</entry>
<entry key="HPPTOKO">dasar</entry>
<entry key="ALARMLAB">yes</entry>
<entry key="FORMALARMLAB">ralan + ranap</entry>
Expand Down Expand Up @@ -72,7 +72,7 @@
<entry key="AKTIFKANBATCHOBAT">no</entry>
<entry key="CETAKRINCIANOBAT">no</entry>
<entry key="DEPOAKTIFOBAT"></entry>
<entry key="AKTIFKANBILLINGPARSIAL">yes</entry>
<entry key="AKTIFKANBILLINGPARSIAL">no</entry>
<entry key="URLDUKCAPILJAKARTA">http://kependudukan.jakarta.go.id/wsrs/xml.jsp</entry>
<entry key="USERDUKCAPILJAKARTA">eYTbZ3SMrmsvkl4t8u0zrA==</entry>
<entry key="PASSDUKCAPILJAKARTA">iDrX7PhhkIwMup7YcS2RFg==</entry>
Expand Down
45 changes: 45 additions & 0 deletions src/fungsi/sekuel.java
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,33 @@ public void menyimpan(String table,String value,int i,String[] a){
}
}

public void menyimpanignore(String table,String value,int i,String[] a){
try {
ps=connect.prepareStatement("insert ignore into "+table+" values("+value+")");
try{
for(angka=1;angka<=i;angka++){
ps.setString(angka,a[angka-1]);
}
ps.executeUpdate();
}catch(Exception e){
System.out.println("Notifikasi : "+e);
}finally{
if(ps != null){
ps.close();
}
}
if(AKTIFKANTRACKSQL.equals("yes")){
dicari="";
for(angka=1;angka<=i;angka++){
dicari=dicari+"|"+a[angka-1];
}
}
SimpanTrack("insert into "+table+" values("+dicari+")");
} catch (Exception e) {
System.out.println("Notifikasi : "+e);
}
}

public void menyimpan2(String table,String value,int i,String[] a){
try {
ps=connect.prepareStatement("insert into "+table+" values("+value+")");
Expand Down Expand Up @@ -541,6 +568,24 @@ public void menyimpan(String table,String value){
}
}

public void menyimpanignore(String table,String value){
try {
ps=connect.prepareStatement("insert ignore into "+table+" values("+value+")");
try{
ps.executeUpdate();
}catch(Exception e){
System.out.println("Notifikasi : "+e);
}finally{
if(ps != null){
ps.close();
}
}
SimpanTrack("insert into "+table+" values("+value+")");
} catch (Exception e) {
System.out.println("Notifikasi : "+e);
}
}

public void menyimpan(String table,String isisimpan,String isiedit,String acuan_field){
try{
ps=connect.prepareStatement("insert into "+table+" values("+isisimpan+")");
Expand Down
2 changes: 1 addition & 1 deletion src/kepegawaian/DlgDokter.form
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="22-09-2021"/>
<StringItem index="0" value="25-02-2022"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
Expand Down
24 changes: 12 additions & 12 deletions src/kepegawaian/DlgDokter.java
Original file line number Diff line number Diff line change
Expand Up @@ -902,19 +902,19 @@ private void BtnSimpanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIR
}else{
try {
Sequel.AutoComitFalse();
Sequel.menyimpan("jnj_jabatan","'-','-','0','0'");
Sequel.menyimpan("departemen","'-','-'");
Sequel.menyimpan("bidang","'-'");
Sequel.menyimpan("bank","'T'");
Sequel.menyimpan("stts_wp","'-','-'");
Sequel.menyimpan("stts_kerja","'-','-','0'");
Sequel.menyimpan("kelompok_jabatan","'-','-','0'");
Sequel.menyimpan("resiko_kerja","'-','-','0'");
Sequel.menyimpan("emergency_index","'-','-','0'");
Sequel.menyimpan("pendidikan","'-','0','0','0','0'");
Sequel.menyimpan("pegawai","'0','"+TKd.getText()+"','"+TNm.getText()+"','"+CmbJk.getSelectedItem().toString().replaceAll("PEREMPUAN","Wanita").replaceAll("LAKI-LAKI","Pria")+"',"+
Sequel.menyimpanignore("jnj_jabatan","'-','-','0','0'");
Sequel.menyimpanignore("departemen","'-','-'");
Sequel.menyimpanignore("bidang","'-'");
Sequel.menyimpanignore("bank","'T'");
Sequel.menyimpanignore("stts_wp","'-','-'");
Sequel.menyimpanignore("stts_kerja","'-','-','0'");
Sequel.menyimpanignore("kelompok_jabatan","'-','-','0'");
Sequel.menyimpanignore("resiko_kerja","'-','-','0'");
Sequel.menyimpanignore("emergency_index","'-','-','0'");
Sequel.menyimpanignore("pendidikan","'-','0','0','0','0'");
Sequel.menyimpanignore("pegawai","'0','"+TKd.getText()+"','"+TNm.getText()+"','"+CmbJk.getSelectedItem().toString().replaceAll("PEREMPUAN","Wanita").replaceAll("LAKI-LAKI","Pria")+"',"+
"'-','-','-','-','-','-','-','-','-','-','-','0','"+TTmp.getText()+"','"+Valid.SetTgl(DTPLahir.getSelectedItem()+"")+"','"+TAlmt.getText()+"','-','1900-01-01','<1','-','T','-','AKTIF','0','0','0','1900-01-01','0','0','pages/pegawai/photo/','-'");
Sequel.menyimpan("dokter","'"+TKd.getText()+"','"+
Sequel.menyimpan2("dokter","'"+TKd.getText()+"','"+
TNm.getText()+"','"+
CmbJk.getSelectedItem().toString().replaceAll("LAKI-LAKI","L").replaceAll("PEREMPUAN","P").trim()+"','"+
TTmp.getText()+"','"+
Expand Down
2 changes: 1 addition & 1 deletion src/kepegawaian/DlgPetugas.form
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="22-09-2021"/>
<StringItem index="0" value="25-02-2022"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
Expand Down
22 changes: 11 additions & 11 deletions src/kepegawaian/DlgPetugas.java
Original file line number Diff line number Diff line change
Expand Up @@ -893,17 +893,17 @@ private void BtnSimpanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIR
}else{
try {
Sequel.AutoComitFalse();
Sequel.menyimpan("jnj_jabatan","?,?,?,?",3,new String[]{"-","-","0","0"});
Sequel.menyimpan("departemen","?,?",2,new String[]{"-","-"});
Sequel.menyimpan("bidang","?",1,new String[]{"-"});
Sequel.menyimpan("bank","'T'");
Sequel.menyimpan("stts_wp","?,?",2,new String[]{"-","-"});
Sequel.menyimpan("stts_kerja","?,?,?",3,new String[]{"-","-","0"});
Sequel.menyimpan("kelompok_jabatan","?,?,?",3,new String[]{"-","-","0"});
Sequel.menyimpan("resiko_kerja","?,?,?",3,new String[]{"-","-","0"});
Sequel.menyimpan("emergency_index","?,?,?",3,new String[]{"-","-","0"});
Sequel.menyimpan("pendidikan","?,?,?,?,?",5,new String[]{"-","0","0","0","0"});
Sequel.menyimpan("pegawai","?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?",34,new String[]{
Sequel.menyimpanignore("jnj_jabatan","?,?,?,?",3,new String[]{"-","-","0","0"});
Sequel.menyimpanignore("departemen","?,?",2,new String[]{"-","-"});
Sequel.menyimpanignore("bidang","?",1,new String[]{"-"});
Sequel.menyimpanignore("bank","'T'");
Sequel.menyimpanignore("stts_wp","?,?",2,new String[]{"-","-"});
Sequel.menyimpanignore("stts_kerja","?,?,?",3,new String[]{"-","-","0"});
Sequel.menyimpanignore("kelompok_jabatan","?,?,?",3,new String[]{"-","-","0"});
Sequel.menyimpanignore("resiko_kerja","?,?,?",3,new String[]{"-","-","0"});
Sequel.menyimpanignore("emergency_index","?,?,?",3,new String[]{"-","-","0"});
Sequel.menyimpanignore("pendidikan","?,?,?,?,?",5,new String[]{"-","0","0","0","0"});
Sequel.menyimpanignore("pegawai","?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?",34,new String[]{
"0",TNip.getText(),TNm.getText(),CmbJk.getSelectedItem().toString().replaceAll("PEREMPUAN","Wanita").replaceAll("LAKI-LAKI","Pria"),
"-","-","-","-","-","-","-","-","-","-","-","0",TTmp.getText(),Valid.SetTgl(DTPLahir.getSelectedItem()+""),TAlmt.getText(),"-","1900-01-01","<1",
"-","T","-","AKTIF","0","0","0","1900-01-01","0","0","pages/pegawai/photo/","-"
Expand Down
6 changes: 3 additions & 3 deletions src/rekammedis/RMDataResumePasienRanap.form
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="19-02-2022"/>
<StringItem index="0" value="25-02-2022"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
Expand Down Expand Up @@ -403,7 +403,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="19-02-2022"/>
<StringItem index="0" value="25-02-2022"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
Expand Down Expand Up @@ -1974,7 +1974,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="19-02-2022 17:14:51"/>
<StringItem index="0" value="25-02-2022 10:30:45"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
Expand Down
Loading

0 comments on commit e4cc65c

Please sign in to comment.