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.
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.
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.
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.
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.
@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="null" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="namars" class="java.lang.String"/>
<parameter name="alamatrs" class="java.lang.String"/>
<parameter name="kotars" class="java.lang.String"/>
<parameter name="propinsirs" class="java.lang.String"/>
<parameter name="kontakrs" class="java.lang.String"/>
<parameter name="emailrs" class="java.lang.String"/>
<parameter name="logo" class="java.io.InputStream"/>
<queryString>
<![CDATA[select maping_poli_bpjs.kd_poli_rs,poliklinik.nm_poli,maping_poli_bpjs.kd_poli_bpjs,maping_poli_bpjs.nm_poli_bpjs
from maping_poli_bpjs inner join poliklinik on maping_poli_bpjs.kd_poli_rs=poliklinik.kd_poli]]>
</queryString>
<field name="kd_poli_rs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nm_poli" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="kd_poli_bpjs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nm_poli_bpjs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="84" splitType="Stretch">
<staticText>
<reportElement x="65" y="52" width="424" height="23"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="11" isBold="false"/>
</textElement>
<text><![CDATA[MAPPING POLI RS & BPJS]]></text>
</staticText>
<textField>
<reportElement x="2" y="0" width="553" height="17"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{namars}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="14" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{alamatrs}+", "+$P{kotars}+", "+$P{propinsirs}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="25" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{kontakrs}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="48" width="555" height="1"/>
<graphicElement>
<pen lineWidth="2.0" lineStyle="Double"/>
</graphicElement>
</line>
<textField>
<reportElement x="2" y="35" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["E-mail : "+$P{emailrs}]]></textFieldExpression>
</textField>
<image scaleImage="FillFrame" onErrorType="Blank">
<reportElement x="0" y="2" width="48" height="45"/>
<imageExpression class="java.io.InputStream"><![CDATA[$P{logo}]]></imageExpression>
</image>
</band>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="18" splitType="Stretch">
<staticText>
<reportElement mode="Opaque" x="337" y="0" width="218" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[NAMA UNIT BPJS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="0" y="0" width="65" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[ KODE UNIT RS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="65" y="0" width="187" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[NAMA UNIT RS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="252" y="0" width="85" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[KODE UNIT BPJS]]></text>
</staticText>
<line>
<reportElement x="0" y="16" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement positionType="FixRelativeToBottom" x="0" y="0" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</columnHeader>
<detail>
<band height="11" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="65" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{kd_poli_rs}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="65" y="0" width="187" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_poli}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="252" y="0" width="85" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{kd_poli_bpjs}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="337" y="0" width="210" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_poli_bpjs}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="26" splitType="Stretch">
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="505" y="6" width="36" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="315" y="6" width="170" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Right" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="5" y="6" width="209" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="0" y="23" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>
BIN +39.4 KB (100%) dist/SIMRSKhanza.jar
Binary file not shown.
@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="null" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="namars" class="java.lang.String"/>
<parameter name="alamatrs" class="java.lang.String"/>
<parameter name="kotars" class="java.lang.String"/>
<parameter name="propinsirs" class="java.lang.String"/>
<parameter name="kontakrs" class="java.lang.String"/>
<parameter name="emailrs" class="java.lang.String"/>
<parameter name="logo" class="java.io.InputStream"/>
<queryString>
<![CDATA[select maping_poli_bpjs.kd_poli_rs,poliklinik.nm_poli,maping_poli_bpjs.kd_poli_bpjs,maping_poli_bpjs.nm_poli_bpjs
from maping_poli_bpjs inner join poliklinik on maping_poli_bpjs.kd_poli_rs=poliklinik.kd_poli]]>
</queryString>
<field name="kd_poli_rs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nm_poli" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="kd_poli_bpjs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nm_poli_bpjs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="84" splitType="Stretch">
<staticText>
<reportElement x="65" y="52" width="424" height="23"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="11" isBold="false"/>
</textElement>
<text><![CDATA[MAPPING POLI RS & BPJS]]></text>
</staticText>
<textField>
<reportElement x="2" y="0" width="553" height="17"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{namars}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="14" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{alamatrs}+", "+$P{kotars}+", "+$P{propinsirs}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="25" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{kontakrs}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="48" width="555" height="1"/>
<graphicElement>
<pen lineWidth="2.0" lineStyle="Double"/>
</graphicElement>
</line>
<textField>
<reportElement x="2" y="35" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["E-mail : "+$P{emailrs}]]></textFieldExpression>
</textField>
<image scaleImage="FillFrame" onErrorType="Blank">
<reportElement x="0" y="2" width="48" height="45"/>
<imageExpression class="java.io.InputStream"><![CDATA[$P{logo}]]></imageExpression>
</image>
</band>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="18" splitType="Stretch">
<staticText>
<reportElement mode="Opaque" x="337" y="0" width="218" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[NAMA UNIT BPJS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="0" y="0" width="65" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[ KODE UNIT RS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="65" y="0" width="187" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[NAMA UNIT RS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="252" y="0" width="85" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[KODE UNIT BPJS]]></text>
</staticText>
<line>
<reportElement x="0" y="16" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement positionType="FixRelativeToBottom" x="0" y="0" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</columnHeader>
<detail>
<band height="11" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="65" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{kd_poli_rs}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="65" y="0" width="187" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_poli}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="252" y="0" width="85" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{kd_poli_bpjs}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="337" y="0" width="210" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_poli_bpjs}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="26" splitType="Stretch">
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="505" y="6" width="36" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="315" y="6" width="170" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Right" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="5" y="6" width="209" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="0" y="23" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>
@@ -3,9 +3,14 @@
<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/laporan/DlgFrekuensiPenyakitRanap.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/simrskhanza/DlgResumePerawatan.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/simrskhanza/DlgCariPeriksaLab.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/bridging/BPJSMapingPoli.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/simrskhanza/DlgRawatJalan.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/setting/DlgUser.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/bridging/BPJSCekNIK2.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/bridging/BPJSCekKartu.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/simrskhanza/frmUtama.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/simrskhanza/DlgJabatan.java</file>
<file>file:/media/khanzamedia/Data/Source%20Java/SIMRSKhanza/src/fungsi/validasi.java</file>
</group>
</open-files>
</project-private>
Binary file not shown.
@@ -0,0 +1,221 @@
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="null" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
<property name="ireport.zoom" value="1.5"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="namars" class="java.lang.String"/>
<parameter name="alamatrs" class="java.lang.String"/>
<parameter name="kotars" class="java.lang.String"/>
<parameter name="propinsirs" class="java.lang.String"/>
<parameter name="kontakrs" class="java.lang.String"/>
<parameter name="emailrs" class="java.lang.String"/>
<parameter name="logo" class="java.io.InputStream"/>
<queryString>
<![CDATA[select maping_poli_bpjs.kd_poli_rs,poliklinik.nm_poli,maping_poli_bpjs.kd_poli_bpjs,maping_poli_bpjs.nm_poli_bpjs
from maping_poli_bpjs inner join poliklinik on maping_poli_bpjs.kd_poli_rs=poliklinik.kd_poli]]>
</queryString>
<field name="kd_poli_rs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nm_poli" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="kd_poli_bpjs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nm_poli_bpjs" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="84" splitType="Stretch">
<staticText>
<reportElement x="65" y="52" width="424" height="23"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="11" isBold="false"/>
</textElement>
<text><![CDATA[MAPPING POLI RS & BPJS]]></text>
</staticText>
<textField>
<reportElement x="2" y="0" width="553" height="17"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="12"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{namars}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="14" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{alamatrs}+", "+$P{kotars}+", "+$P{propinsirs}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="2" y="25" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$P{kontakrs}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="48" width="555" height="1"/>
<graphicElement>
<pen lineWidth="2.0" lineStyle="Double"/>
</graphicElement>
</line>
<textField>
<reportElement x="2" y="35" width="553" height="14"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font fontName="Tahoma" size="9"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["E-mail : "+$P{emailrs}]]></textFieldExpression>
</textField>
<image scaleImage="FillFrame" onErrorType="Blank">
<reportElement x="0" y="2" width="48" height="45"/>
<imageExpression class="java.io.InputStream"><![CDATA[$P{logo}]]></imageExpression>
</image>
</band>
</title>
<pageHeader>
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="18" splitType="Stretch">
<staticText>
<reportElement mode="Opaque" x="337" y="0" width="218" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[NAMA UNIT BPJS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="0" y="0" width="65" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[ KODE UNIT RS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="65" y="0" width="187" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[NAMA UNIT RS]]></text>
</staticText>
<staticText>
<reportElement mode="Opaque" x="252" y="0" width="85" height="16" forecolor="#000000" backcolor="#F0F0DC"/>
<textElement verticalAlignment="Middle" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<text><![CDATA[KODE UNIT BPJS]]></text>
</staticText>
<line>
<reportElement x="0" y="16" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement positionType="FixRelativeToBottom" x="0" y="0" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</columnHeader>
<detail>
<band height="11" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="65" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{kd_poli_rs}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement x="65" y="0" width="187" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_poli}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="252" y="0" width="85" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{kd_poli_bpjs}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="337" y="0" width="210" height="10"/>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_poli_bpjs}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="26" splitType="Stretch">
<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="505" y="6" width="36" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="315" y="6" width="170" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement textAlignment="Right" lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement key="textField" x="5" y="6" width="209" height="11" forecolor="#000000" backcolor="#FFFFFF"/>
<box>
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<textElement lineSpacing="Single">
<font fontName="Tahoma" size="8" isBold="false"/>
</textElement>
<textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="0" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="0" y="23" width="555" height="1"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
</band>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>
91 sik.sql

Large diffs are not rendered by default.

@@ -36,7 +36,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -751,7 +751,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="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -2078,7 +2078,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:13:47"/>
<StringItem index="0" value="05-08-2018 18:45:04"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -2115,7 +2115,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:13:47"/>
<StringItem index="0" value="05-08-2018 18:45:04"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -79,7 +79,7 @@ public final class BPJSCekKartu extends javax.swing.JDialog {
private DlgPasien pasien=new DlgPasien(null,false);
private BPJSCekReferensiFaskes faskes=new BPJSCekReferensiFaskes(null,false);
private BPJSCekReferensiPenyakit penyakit=new BPJSCekReferensiPenyakit(null,false);
private BPJSCekReferensiPoli poli=new BPJSCekReferensiPoli(null,false);
private BPJSCekMappingPoli poli=new BPJSCekMappingPoli(null,false);
private DlgKabupaten kab=new DlgKabupaten(null,false);
private DlgKecamatan kec=new DlgKecamatan(null,false);
private DlgKelurahan kel=new DlgKelurahan(null,false);
@@ -309,8 +309,10 @@ public void windowClosing(WindowEvent e) {}
@Override
public void windowClosed(WindowEvent e) {
if(poli.getTable().getSelectedRow()!= -1){
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
kdpoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),0).toString());
TPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),3).toString());
isNumber();
isPoli();
KdPoli.requestFocus();
@@ -3777,6 +3779,7 @@ private void btnPoliActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST
kamar.setLocationRelativeTo(internalFrame1);
kamar.setVisible(true);
}else{
poli.isCek();
poli.setSize(internalFrame1.getWidth()-40,internalFrame1.getHeight()-40);
poli.setLocationRelativeTo(internalFrame1);
poli.setVisible(true);
@@ -5148,25 +5151,17 @@ private void isNumber(){

private void isPoli(){
try {
ps=koneksi.prepareStatement("select kd_poli, nm_poli, registrasi, registrasilama "+
" from poliklinik where kd_poli like ? order by nm_poli");
ps=koneksi.prepareStatement("select registrasi, registrasilama "+
" from poliklinik where kd_poli=? order by nm_poli");
try{
ps.setString(1,"%"+KdPoli.getText().trim()+"%");
ps.setString(1,kdpoli.getText().trim());
rs=ps.executeQuery();
if(rs.next()){
kdpoli.setText(rs.getString("kd_poli"));
TPoli.setText(rs.getString("nm_poli"));
if(statuspasien.equals("Lama")){
TBiaya.setText(rs.getString("registrasilama"));
}else if(statuspasien.equals("Baru")){
TBiaya.setText(rs.getString("registrasi"));
}
}else{
if(Sequel.menyimpantf2("poliklinik","?,?,?,?","Poli",4,new String[]{KdPoli.getText(),NmPoli.getText(),"0","0"})==true){
kdpoli.setText(KdPoli.getText());
TPoli.setText(NmPoli.getText());
TBiaya.setText("0");
}
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);
@@ -0,0 +1,189 @@
<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="2"/>
<Property name="iconImage" type="java.awt.Image" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="null"/>
</Property>
<Property name="iconImages" type="java.util.List" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="null"/>
</Property>
<Property name="undecorated" type="boolean" value="true"/>
<Property name="resizable" type="boolean" value="false"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
</SyntheticProperties>
<Events>
<EventHandler event="windowOpened" listener="java.awt.event.WindowListener" parameters="java.awt.event.WindowEvent" handler="formWindowOpened"/>
</Events>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,14,0,0,3,74"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
<Container class="widget.InternalFrame" name="internalFrame1">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
<TitledBorder title="::[ Pencarian Data Mapping Referensi Poli/Unit VClaim ]::">
<Border PropertyName="innerBorder" info="org.netbeans.modules.form.compat2.border.LineBorderInfo">
<LineBorder>
<Color PropertyName="color" blue="eb" green="f5" red="f0" type="rgb"/>
</LineBorder>
</Border>
<Font PropertyName="font" name="Tahoma" size="11" style="0"/>
<Color PropertyName="color" blue="64" green="64" red="82" type="rgb"/>
</TitledBorder>
</Border>
</Property>
<Property name="name" type="java.lang.String" value="internalFrame1" noResource="true"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="Center"/>
</Constraint>
</Constraints>

<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout">
<Property name="horizontalGap" type="int" value="1"/>
<Property name="verticalGap" type="int" value="1"/>
</Layout>
<SubComponents>
<Container class="widget.ScrollPane" name="Scroll">
<Properties>
<Property name="name" type="java.lang.String" value="Scroll" noResource="true"/>
<Property name="opaque" type="boolean" value="true"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="Center"/>
</Constraint>
</Constraints>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
<Component class="widget.Table" name="tbKamar">
<Properties>
<Property name="autoCreateRowSorter" type="boolean" value="true"/>
<Property name="toolTipText" type="java.lang.String" value="Silahkan klik untuk memilih data yang mau diedit ataupun dihapus"/>
<Property name="name" type="java.lang.String" value="tbKamar" noResource="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
<Container class="widget.panelisi" name="panelGlass6">
<Properties>
<Property name="name" type="java.lang.String" value="panelGlass6" noResource="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[44, 54]"/>
</Property>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="Last"/>
</Constraint>
</Constraints>

<Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout">
<Property name="alignment" type="int" value="0"/>
<Property name="verticalGap" type="int" value="9"/>
</Layout>
<SubComponents>
<Component class="widget.Label" name="jLabel16">
<Properties>
<Property name="text" type="java.lang.String" value="Kode/Nama Poli/Unit :"/>
<Property name="name" type="java.lang.String" value="jLabel16" noResource="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[120, 23]"/>
</Property>
</Properties>
</Component>
<Component class="widget.TextBox" name="Poli">
<Properties>
<Property name="name" type="java.lang.String" value="Poli" noResource="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[350, 23]"/>
</Property>
</Properties>
<Events>
<EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="PoliKeyPressed"/>
</Events>
</Component>
<Component class="widget.Button" name="BtnCari">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/picture/accept.png"/>
</Property>
<Property name="mnemonic" type="int" value="54"/>
<Property name="toolTipText" type="java.lang.String" value="Alt+6"/>
<Property name="name" type="java.lang.String" value="BtnCari" noResource="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[28, 23]"/>
</Property>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="BtnCariActionPerformed"/>
<EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="BtnCariKeyPressed"/>
</Events>
</Component>
<Component class="widget.Button" name="BtnTambah">
<Properties>
<Property name="icon" type="javax.swing.Icon" noResource="true" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/picture/plus_16.png"/>
</Property>
<Property name="mnemonic" type="int" value="51"/>
<Property name="toolTipText" type="java.lang.String" value="Alt+3"/>
<Property name="name" type="java.lang.String" value="BtnTambah" noResource="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[28, 23]"/>
</Property>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="BtnTambahActionPerformed"/>
</Events>
</Component>
<Component class="widget.Label" name="jLabel17">
<Properties>
<Property name="name" type="java.lang.String" value="jLabel17" noResource="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[30, 23]"/>
</Property>
</Properties>
</Component>
<Component class="widget.Button" name="BtnKeluar">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/picture/exit.png"/>
</Property>
<Property name="mnemonic" type="int" value="75"/>
<Property name="text" type="java.lang.String" value="Keluar"/>
<Property name="toolTipText" type="java.lang.String" value="Alt+K"/>
<Property name="name" type="java.lang.String" value="BtnKeluar" noResource="true"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[100, 30]"/>
</Property>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="BtnKeluarActionPerformed"/>
<EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="BtnKeluarKeyPressed"/>
</Events>
</Component>
</SubComponents>
</Container>
</SubComponents>
</Container>
</SubComponents>
</Form>
@@ -0,0 +1,342 @@
/*
Dilarang keras menggandakan/mengcopy/menyebarkan/membajak/mendecompile
Software ini dalam bentuk apapun tanpa seijin pembuat software
(Khanza.Soft Media). Bagi yang sengaja membajak softaware ini ta
npa ijin, kami sumpahi sial 1000 turunan, miskin sampai 500 turu
nan. Selalu mendapat kecelakaan sampai 400 turunan. Anak pertama
nya cacat tidak punya kaki sampai 300 turunan. Susah cari jodoh
sampai umur 50 tahun sampai 200 turunan. Ya Alloh maafkan kami
karena telah berdoa buruk, semua ini kami lakukan karena kami ti
dak pernah rela karya kami dibajak tanpa ijin.
*/

package bridging;

import fungsi.WarnaTable;
import fungsi.batasInput;
import fungsi.koneksiDB;
import java.awt.Dimension;
import javax.swing.JTable;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableColumn;
import fungsi.sekuel;
import fungsi.validasi;
import fungsi.var;
import java.awt.Cursor;
import java.awt.event.KeyEvent;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.HashMap;
import java.util.Map;
import javax.swing.JOptionPane;
import javax.swing.event.DocumentEvent;

/**
*
* @author dosen
*/
public final class BPJSCekMappingPoli extends javax.swing.JDialog {
private final DefaultTableModel tabMode;
private validasi Valid=new validasi();
private sekuel Sequel=new sekuel();
private Connection koneksi=koneksiDB.condb();
private PreparedStatement ps;
private ResultSet rs;
private int i=0;
private BPJSMapingPoli poli=new BPJSMapingPoli(null,false);

/** Creates new form DlgKamar
* @param parent
* @param modal */
public BPJSCekMappingPoli(java.awt.Frame parent, boolean modal) {
super(parent, modal);
initComponents();

this.setLocation(10,2);
setSize(628,674);

tabMode=new DefaultTableModel(null,new Object[]{
"Kode Unit RS","Nama Unit RS","Kode Unit BPJS","Nama Unit BPJS"}){
@Override public boolean isCellEditable(int rowIndex, int colIndex){return false;}
};
tbKamar.setModel(tabMode);

tbKamar.setPreferredScrollableViewportSize(new Dimension(500,500));
tbKamar.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);

for (i = 0; i < 4; i++) {
TableColumn column = tbKamar.getColumnModel().getColumn(i);
if(i==0){
column.setPreferredWidth(100);
}else if(i==1){
column.setPreferredWidth(260);
}else if(i==2){
column.setPreferredWidth(100);
}else if(i==3){
column.setPreferredWidth(260);
}
}
tbKamar.setDefaultRenderer(Object.class, new WarnaTable());

Poli.setDocument(new batasInput((byte)100).getKata(Poli));

if(koneksiDB.cariCepat().equals("aktif")){
Poli.getDocument().addDocumentListener(new javax.swing.event.DocumentListener(){
@Override
public void insertUpdate(DocumentEvent e) {tampil();}
@Override
public void removeUpdate(DocumentEvent e) {tampil();}
@Override
public void changedUpdate(DocumentEvent e) {tampil();}
});
}

}



/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {

internalFrame1 = new widget.InternalFrame();
Scroll = new widget.ScrollPane();
tbKamar = new widget.Table();
panelGlass6 = new widget.panelisi();
jLabel16 = new widget.Label();
Poli = new widget.TextBox();
BtnCari = new widget.Button();
BtnTambah = new widget.Button();
jLabel17 = new widget.Label();
BtnKeluar = new widget.Button();

setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setIconImage(null);
setIconImages(null);
setUndecorated(true);
setResizable(false);
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowOpened(java.awt.event.WindowEvent evt) {
formWindowOpened(evt);
}
});

internalFrame1.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(240, 245, 235)), "::[ Pencarian Data Mapping Referensi Poli/Unit VClaim ]::", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(130, 100, 100))); // NOI18N
internalFrame1.setName("internalFrame1"); // NOI18N
internalFrame1.setLayout(new java.awt.BorderLayout(1, 1));

Scroll.setName("Scroll"); // NOI18N
Scroll.setOpaque(true);

tbKamar.setAutoCreateRowSorter(true);
tbKamar.setToolTipText("Silahkan klik untuk memilih data yang mau diedit ataupun dihapus");
tbKamar.setName("tbKamar"); // NOI18N
Scroll.setViewportView(tbKamar);

internalFrame1.add(Scroll, java.awt.BorderLayout.CENTER);

panelGlass6.setName("panelGlass6"); // NOI18N
panelGlass6.setPreferredSize(new java.awt.Dimension(44, 54));
panelGlass6.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT, 5, 9));

jLabel16.setText("Kode/Nama Poli/Unit :");
jLabel16.setName("jLabel16"); // NOI18N
jLabel16.setPreferredSize(new java.awt.Dimension(120, 23));
panelGlass6.add(jLabel16);

Poli.setName("Poli"); // NOI18N
Poli.setPreferredSize(new java.awt.Dimension(350, 23));
Poli.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
PoliKeyPressed(evt);
}
});
panelGlass6.add(Poli);

BtnCari.setIcon(new javax.swing.ImageIcon(getClass().getResource("/picture/accept.png"))); // NOI18N
BtnCari.setMnemonic('6');
BtnCari.setToolTipText("Alt+6");
BtnCari.setName("BtnCari"); // NOI18N
BtnCari.setPreferredSize(new java.awt.Dimension(28, 23));
BtnCari.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
BtnCariActionPerformed(evt);
}
});
BtnCari.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
BtnCariKeyPressed(evt);
}
});
panelGlass6.add(BtnCari);

BtnTambah.setIcon(new javax.swing.ImageIcon(getClass().getResource("/picture/plus_16.png"))); // NOI18N
BtnTambah.setMnemonic('3');
BtnTambah.setToolTipText("Alt+3");
BtnTambah.setName("BtnTambah"); // NOI18N
BtnTambah.setPreferredSize(new java.awt.Dimension(28, 23));
BtnTambah.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
BtnTambahActionPerformed(evt);
}
});
panelGlass6.add(BtnTambah);

jLabel17.setName("jLabel17"); // NOI18N
jLabel17.setPreferredSize(new java.awt.Dimension(30, 23));
panelGlass6.add(jLabel17);

BtnKeluar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/picture/exit.png"))); // NOI18N
BtnKeluar.setMnemonic('K');
BtnKeluar.setText("Keluar");
BtnKeluar.setToolTipText("Alt+K");
BtnKeluar.setName("BtnKeluar"); // NOI18N
BtnKeluar.setPreferredSize(new java.awt.Dimension(100, 30));
BtnKeluar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
BtnKeluarActionPerformed(evt);
}
});
BtnKeluar.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
BtnKeluarKeyPressed(evt);
}
});
panelGlass6.add(BtnKeluar);

internalFrame1.add(panelGlass6, java.awt.BorderLayout.PAGE_END);

getContentPane().add(internalFrame1, java.awt.BorderLayout.CENTER);

pack();
}// </editor-fold>//GEN-END:initComponents

private void BtnKeluarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnKeluarActionPerformed
dispose();
}//GEN-LAST:event_BtnKeluarActionPerformed

private void BtnKeluarKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_BtnKeluarKeyPressed
if(evt.getKeyCode()==KeyEvent.VK_SPACE){
dispose();
}else{Valid.pindah(evt,Poli,BtnKeluar);}
}//GEN-LAST:event_BtnKeluarKeyPressed

private void PoliKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_PoliKeyPressed
if(evt.getKeyCode()==KeyEvent.VK_ENTER){
tampil();
BtnKeluar.requestFocus();
}else if(evt.getKeyCode()==KeyEvent.VK_PAGE_DOWN){
tampil();
}else if(evt.getKeyCode()==KeyEvent.VK_PAGE_UP){
BtnKeluar.requestFocus();
}else if(evt.getKeyCode()==KeyEvent.VK_UP){
BtnCariActionPerformed(null);
}
}//GEN-LAST:event_PoliKeyPressed

private void BtnCariActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnCariActionPerformed
this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
tampil();
this.setCursor(Cursor.getDefaultCursor());
}//GEN-LAST:event_BtnCariActionPerformed

private void BtnCariKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_BtnCariKeyPressed
if(evt.getKeyCode()==KeyEvent.VK_SPACE){
BtnCariActionPerformed(null);
}else{
Valid.pindah(evt,Poli,BtnKeluar);
}
}//GEN-LAST:event_BtnCariKeyPressed

private void BtnTambahActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtnTambahActionPerformed
this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
poli.emptTeks();
poli.isCek();
poli.setSize(internalFrame1.getWidth()+40,internalFrame1.getHeight()+40);
poli.setLocationRelativeTo(internalFrame1);
poli.setAlwaysOnTop(false);
poli.setVisible(true);
this.setCursor(Cursor.getDefaultCursor());
}//GEN-LAST:event_BtnTambahActionPerformed

private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened
tampil();
}//GEN-LAST:event_formWindowOpened

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(() -> {
BPJSCekMappingPoli dialog = new BPJSCekMappingPoli(new javax.swing.JFrame(), true);
dialog.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
dialog.setVisible(true);
});
}

// Variables declaration - do not modify//GEN-BEGIN:variables
private widget.Button BtnCari;
private widget.Button BtnKeluar;
private widget.Button BtnTambah;
private widget.TextBox Poli;
private widget.ScrollPane Scroll;
private widget.InternalFrame internalFrame1;
private widget.Label jLabel16;
private widget.Label jLabel17;
private widget.panelisi panelGlass6;
private widget.Table tbKamar;
// End of variables declaration//GEN-END:variables

public void tampil() {
Valid.tabelKosong(tabMode);
try{
ps=koneksi.prepareStatement(
"select maping_poli_bpjs.kd_poli_rs,poliklinik.nm_poli,maping_poli_bpjs.kd_poli_bpjs,maping_poli_bpjs.nm_poli_bpjs "+
"from maping_poli_bpjs inner join poliklinik on maping_poli_bpjs.kd_poli_rs=poliklinik.kd_poli where "+
"maping_poli_bpjs.kd_poli_rs like ? or poliklinik.nm_poli like ? or maping_poli_bpjs.kd_poli_bpjs like ? or maping_poli_bpjs.nm_poli_bpjs like ? order by poliklinik.nm_poli");
try {
ps.setString(1,"%"+Poli.getText().trim()+"%");
ps.setString(2,"%"+Poli.getText().trim()+"%");
ps.setString(3,"%"+Poli.getText().trim()+"%");
ps.setString(4,"%"+Poli.getText().trim()+"%");
rs=ps.executeQuery();
while(rs.next()){
tabMode.addRow(new Object[]{
rs.getString("kd_poli_rs"),rs.getString("nm_poli"),rs.getString("kd_poli_bpjs"),rs.getString("nm_poli_bpjs")
});
}
} catch (Exception e) {
System.out.println("Notif Ketersediaan : "+e);
} finally{
if(rs!=null){
rs.close();
}
if(ps!=null){
ps.close();
}
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);
}
}

public JTable getTable(){
return tbKamar;
}

public void isCek(){
BtnTambah.setEnabled(var.getmapping_poli_bpjs());
}
}
@@ -36,7 +36,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -751,7 +751,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="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -2060,7 +2060,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:15:02"/>
<StringItem index="0" value="05-08-2018 18:50:22"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -2097,7 +2097,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:15:02"/>
<StringItem index="0" value="05-08-2018 18:50:22"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -79,7 +79,7 @@ public final class BPJSCekNIK2 extends javax.swing.JDialog {
private DlgPasien pasien=new DlgPasien(null,false);
private BPJSCekReferensiFaskes faskes=new BPJSCekReferensiFaskes(null,false);
private BPJSCekReferensiPenyakit penyakit=new BPJSCekReferensiPenyakit(null,false);
private BPJSCekReferensiPoli poli=new BPJSCekReferensiPoli(null,false);
private BPJSCekMappingPoli poli=new BPJSCekMappingPoli(null,false);
private DlgKabupaten kab=new DlgKabupaten(null,false);
private DlgKecamatan kec=new DlgKecamatan(null,false);
private DlgKelurahan kel=new DlgKelurahan(null,false);
@@ -310,8 +310,10 @@ public void windowClosing(WindowEvent e) {}
@Override
public void windowClosed(WindowEvent e) {
if(poli.getTable().getSelectedRow()!= -1){
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
kdpoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),0).toString());
TPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),3).toString());
isNumber();
isPoli();
KdPoli.requestFocus();
@@ -3545,6 +3547,7 @@ private void btnPoliActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST
kamar.setLocationRelativeTo(internalFrame1);
kamar.setVisible(true);
}else{
poli.isCek();
poli.setSize(internalFrame1.getWidth()-40,internalFrame1.getHeight()-40);
poli.setLocationRelativeTo(internalFrame1);
poli.setVisible(true);
@@ -5146,25 +5149,17 @@ private void isNumber(){

private void isPoli(){
try {
ps=koneksi.prepareStatement("select kd_poli, nm_poli, registrasi, registrasilama "+
" from poliklinik where kd_poli like ? order by nm_poli");
ps=koneksi.prepareStatement("select registrasi, registrasilama "+
" from poliklinik where kd_poli=? order by nm_poli");
try{
ps.setString(1,"%"+KdPoli.getText().trim()+"%");
ps.setString(1,kdpoli.getText().trim());
rs=ps.executeQuery();
if(rs.next()){
kdpoli.setText(rs.getString("kd_poli"));
TPoli.setText(rs.getString("nm_poli"));
if(statuspasien.equals("Lama")){
TBiaya.setText(rs.getString("registrasilama"));
}else if(statuspasien.equals("Baru")){
TBiaya.setText(rs.getString("registrasi"));
}
}else{
if(Sequel.menyimpantf2("poliklinik","?,?,?,?","Poli",4,new String[]{KdPoli.getText(),NmPoli.getText(),"0","0"})==true){
kdpoli.setText(KdPoli.getText());
TPoli.setText(NmPoli.getText());
TBiaya.setText("0");
}
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);
@@ -36,7 +36,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -917,7 +917,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="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -2226,7 +2226,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:25:30"/>
<StringItem index="0" value="05-08-2018 18:51:17"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -2263,7 +2263,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:25:30"/>
<StringItem index="0" value="05-08-2018 18:51:17"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -84,7 +84,7 @@ public final class BPJSCekNoRujukanPCare extends javax.swing.JDialog {
private Connection koneksi=koneksiDB.condb();
private BPJSCekReferensiFaskes faskes=new BPJSCekReferensiFaskes(null,false);
private BPJSCekReferensiPenyakit penyakit=new BPJSCekReferensiPenyakit(null,false);
private BPJSCekReferensiPoli poli=new BPJSCekReferensiPoli(null,false);
private BPJSCekMappingPoli poli=new BPJSCekMappingPoli(null,false);
private DlgKabupaten kab=new DlgKabupaten(null,false);
private DlgKecamatan kec=new DlgKecamatan(null,false);
private DlgKelurahan kel=new DlgKelurahan(null,false);
@@ -238,8 +238,10 @@ public void windowClosing(WindowEvent e) {}
@Override
public void windowClosed(WindowEvent e) {
if(poli.getTable().getSelectedRow()!= -1){
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
kdpoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),0).toString());
TPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),3).toString());
isNumber();
isPoli();
KdPoli.requestFocus();
@@ -3434,6 +3436,7 @@ private void btnPoliActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST
kamar.setLocationRelativeTo(internalFrame1);
kamar.setVisible(true);
}else{
poli.isCek();
poli.setSize(internalFrame1.getWidth()-40,internalFrame1.getHeight()-40);
poli.setLocationRelativeTo(internalFrame1);
poli.setVisible(true);
@@ -5039,25 +5042,17 @@ private void isNumber(){

private void isPoli(){
try {
ps=koneksi.prepareStatement("select kd_poli, nm_poli, registrasi, registrasilama "+
" from poliklinik where kd_poli like ? order by nm_poli");
ps=koneksi.prepareStatement("select registrasi, registrasilama "+
" from poliklinik where kd_poli=? order by nm_poli");
try{
ps.setString(1,"%"+KdPoli.getText().trim()+"%");
ps.setString(1,kdpoli.getText().trim());
rs=ps.executeQuery();
if(rs.next()){
kdpoli.setText(rs.getString("kd_poli"));
TPoli.setText(rs.getString("nm_poli"));
if(statuspasien.equals("Lama")){
TBiaya.setText(rs.getString("registrasilama"));
}else if(statuspasien.equals("Baru")){
TBiaya.setText(rs.getString("registrasi"));
}
}else{
if(Sequel.menyimpantf2("poliklinik","?,?,?,?","Poli",4,new String[]{KdPoli.getText(),NmPoli.getText(),"0","0"})==true){
kdpoli.setText(KdPoli.getText());
TPoli.setText(NmPoli.getText());
TBiaya.setText("0");
}
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);
@@ -36,7 +36,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -917,7 +917,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="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -2226,7 +2226,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:26:38"/>
<StringItem index="0" value="05-08-2018 18:51:36"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -2263,7 +2263,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:26:38"/>
<StringItem index="0" value="05-08-2018 18:51:36"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -83,7 +83,7 @@ public final class BPJSCekNoRujukanRS extends javax.swing.JDialog {
private Connection koneksi=koneksiDB.condb();
private BPJSCekReferensiFaskes faskes=new BPJSCekReferensiFaskes(null,false);
private BPJSCekReferensiPenyakit penyakit=new BPJSCekReferensiPenyakit(null,false);
private BPJSCekReferensiPoli poli=new BPJSCekReferensiPoli(null,false);
private BPJSCekMappingPoli poli=new BPJSCekMappingPoli(null,false);
private DlgKabupaten kab=new DlgKabupaten(null,false);
private DlgKecamatan kec=new DlgKecamatan(null,false);
private DlgKelurahan kel=new DlgKelurahan(null,false);
@@ -238,8 +238,10 @@ public void windowClosing(WindowEvent e) {}
@Override
public void windowClosed(WindowEvent e) {
if(poli.getTable().getSelectedRow()!= -1){
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
kdpoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),0).toString());
TPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),3).toString());
isNumber();
isPoli();
KdPoli.requestFocus();
@@ -3435,6 +3437,7 @@ private void btnPoliActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST
kamar.setLocationRelativeTo(internalFrame1);
kamar.setVisible(true);
}else{
poli.isCek();
poli.setSize(internalFrame1.getWidth()-40,internalFrame1.getHeight()-40);
poli.setLocationRelativeTo(internalFrame1);
poli.setVisible(true);
@@ -5039,25 +5042,17 @@ private void isNumber(){

private void isPoli(){
try {
ps=koneksi.prepareStatement("select kd_poli, nm_poli, registrasi, registrasilama "+
" from poliklinik where kd_poli like ? order by nm_poli");
ps=koneksi.prepareStatement("select registrasi, registrasilama "+
" from poliklinik where kd_poli=? order by nm_poli");
try{
ps.setString(1,"%"+KdPoli.getText().trim()+"%");
ps.setString(1,kdpoli.getText().trim());
rs=ps.executeQuery();
if(rs.next()){
kdpoli.setText(rs.getString("kd_poli"));
TPoli.setText(rs.getString("nm_poli"));
if(statuspasien.equals("Lama")){
TBiaya.setText(rs.getString("registrasilama"));
}else if(statuspasien.equals("Baru")){
TBiaya.setText(rs.getString("registrasi"));
}
}else{
if(Sequel.menyimpantf2("poliklinik","?,?,?,?","Poli",4,new String[]{KdPoli.getText(),NmPoli.getText(),"0","0"})==true){
kdpoli.setText(KdPoli.getText());
TPoli.setText(NmPoli.getText());
TBiaya.setText("0");
}
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);
@@ -130,7 +130,7 @@ private void initComponents() {
setUndecorated(true);
setResizable(false);

internalFrame1.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(240, 245, 235)), "::[ Pencarian Data Referensi Poli/Unit VClaim ]::", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(130,100,100))); // NOI18N
internalFrame1.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(240, 245, 235)), "::[ Pencarian Data Referensi Poli/Unit VClaim ]::", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 11), new java.awt.Color(130, 100, 100))); // NOI18N
internalFrame1.setName("internalFrame1"); // NOI18N
internalFrame1.setLayout(new java.awt.BorderLayout(1, 1));

@@ -36,7 +36,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -934,7 +934,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="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -2243,7 +2243,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:30:24"/>
<StringItem index="0" value="05-08-2018 18:52:08"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -2280,7 +2280,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:30:24"/>
<StringItem index="0" value="05-08-2018 18:52:08"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -84,7 +84,7 @@ public final class BPJSCekRujukanKartuPCare extends javax.swing.JDialog {
private Connection koneksi=koneksiDB.condb();
private BPJSCekReferensiFaskes faskes=new BPJSCekReferensiFaskes(null,false);
private BPJSCekReferensiPenyakit penyakit=new BPJSCekReferensiPenyakit(null,false);
private BPJSCekReferensiPoli poli=new BPJSCekReferensiPoli(null,false);
private BPJSCekMappingPoli poli=new BPJSCekMappingPoli(null,false);
private DlgKabupaten kab=new DlgKabupaten(null,false);
private DlgKecamatan kec=new DlgKecamatan(null,false);
private DlgKelurahan kel=new DlgKelurahan(null,false);
@@ -240,8 +240,10 @@ public void windowClosing(WindowEvent e) {}
@Override
public void windowClosed(WindowEvent e) {
if(poli.getTable().getSelectedRow()!= -1){
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
kdpoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),0).toString());
TPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),3).toString());
isNumber();
isPoli();
KdPoli.requestFocus();
@@ -3532,6 +3534,7 @@ private void btnPoliActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST
kamar.setLocationRelativeTo(internalFrame1);
kamar.setVisible(true);
}else{
poli.isCek();
poli.setSize(internalFrame1.getWidth()-40,internalFrame1.getHeight()-40);
poli.setLocationRelativeTo(internalFrame1);
poli.setVisible(true);
@@ -5137,25 +5140,17 @@ private void isNumber(){

private void isPoli(){
try {
ps=koneksi.prepareStatement("select kd_poli, nm_poli, registrasi, registrasilama "+
" from poliklinik where kd_poli like ? order by nm_poli");
ps=koneksi.prepareStatement("select registrasi, registrasilama "+
" from poliklinik where kd_poli=? order by nm_poli");
try{
ps.setString(1,"%"+KdPoli.getText().trim()+"%");
ps.setString(1,kdpoli.getText().trim());
rs=ps.executeQuery();
if(rs.next()){
kdpoli.setText(rs.getString("kd_poli"));
TPoli.setText(rs.getString("nm_poli"));
if(statuspasien.equals("Lama")){
TBiaya.setText(rs.getString("registrasilama"));
}else if(statuspasien.equals("Baru")){
TBiaya.setText(rs.getString("registrasi"));
}
}else{
if(Sequel.menyimpantf2("poliklinik","?,?,?,?","Poli",4,new String[]{KdPoli.getText(),NmPoli.getText(),"0","0"})==true){
kdpoli.setText(KdPoli.getText());
TPoli.setText(NmPoli.getText());
TBiaya.setText("0");
}
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);
@@ -36,7 +36,7 @@
</Property>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -934,7 +934,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="30-07-2018"/>
<StringItem index="0" value="05-08-2018"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy"/>
@@ -2243,7 +2243,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:31:40"/>
<StringItem index="0" value="05-08-2018 18:53:12"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -2280,7 +2280,7 @@
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="1">
<StringItem index="0" value="30-07-2018 20:31:40"/>
<StringItem index="0" value="05-08-2018 18:53:12"/>
</StringArray>
</Property>
<Property name="displayFormat" type="java.lang.String" value="dd-MM-yyyy HH:mm:ss"/>
@@ -85,7 +85,7 @@ public final class BPJSCekRujukanKartuRS extends javax.swing.JDialog {
private DlgPasien pasien=new DlgPasien(null,false);
private BPJSCekReferensiFaskes faskes=new BPJSCekReferensiFaskes(null,false);
private BPJSCekReferensiPenyakit penyakit=new BPJSCekReferensiPenyakit(null,false);
private BPJSCekReferensiPoli poli=new BPJSCekReferensiPoli(null,false);
private BPJSCekMappingPoli poli=new BPJSCekMappingPoli(null,false);
private DlgKabupaten kab=new DlgKabupaten(null,false);
private DlgKecamatan kec=new DlgKecamatan(null,false);
private DlgKelurahan kel=new DlgKelurahan(null,false);
@@ -240,8 +240,10 @@ public void windowClosing(WindowEvent e) {}
@Override
public void windowClosed(WindowEvent e) {
if(poli.getTable().getSelectedRow()!= -1){
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
kdpoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),0).toString());
TPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),1).toString());
KdPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),2).toString());
NmPoli.setText(poli.getTable().getValueAt(poli.getTable().getSelectedRow(),3).toString());
isNumber();
isPoli();
KdPoli.requestFocus();
@@ -3533,6 +3535,7 @@ private void btnPoliActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST
kamar.setLocationRelativeTo(internalFrame1);
kamar.setVisible(true);
}else{
poli.isCek();
poli.setSize(internalFrame1.getWidth()-40,internalFrame1.getHeight()-40);
poli.setLocationRelativeTo(internalFrame1);
poli.setVisible(true);
@@ -5150,25 +5153,17 @@ private void isNumber(){

private void isPoli(){
try {
ps=koneksi.prepareStatement("select kd_poli, nm_poli, registrasi, registrasilama "+
" from poliklinik where kd_poli like ? order by nm_poli");
ps=koneksi.prepareStatement("select registrasi, registrasilama "+
" from poliklinik where kd_poli=? order by nm_poli");
try{
ps.setString(1,"%"+KdPoli.getText().trim()+"%");
ps.setString(1,kdpoli.getText().trim());
rs=ps.executeQuery();
if(rs.next()){
kdpoli.setText(rs.getString("kd_poli"));
TPoli.setText(rs.getString("nm_poli"));
if(statuspasien.equals("Lama")){
TBiaya.setText(rs.getString("registrasilama"));
}else if(statuspasien.equals("Baru")){
TBiaya.setText(rs.getString("registrasi"));
}
}else{
if(Sequel.menyimpantf2("poliklinik","?,?,?,?","Poli",4,new String[]{KdPoli.getText(),NmPoli.getText(),"0","0"})==true){
kdpoli.setText(KdPoli.getText());
TPoli.setText(NmPoli.getText());
TBiaya.setText("0");
}
}
}catch(Exception e){
System.out.println("Notifikasi : "+e);