text: <?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" language="groovy" pageWidth="708" pageHeight="56" columnWidth="702" leftMargin="3" rightMargin="3" topMargin="3" bottomMargin="3">
  	<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"/>
  	<parameter name="tanggal" class="java.lang.String"/>
  	<parameter name="kamar" class="java.lang.String"/>
  	<queryString>
  		<![CDATA[select pasien.no_rkm_medis, pasien.nm_pasien, pasien.no_ktp, pasien.jk, 
  pasien.tmp_lahir, pasien.tgl_lahir,pasien.nm_ibu, concat(pasien.alamat,', ',kelurahan.nm_kel,', ',kecamatan.nm_kec,', ',kabupaten.nm_kab) as alamat, pasien.gol_darah, pasien.pekerjaan,
  pasien.stts_nikah,pasien.agama,pasien.tgl_daftar,pasien.no_tlp,pasien.umur,
  pasien.pnd, pasien.keluarga, pasien.namakeluarga,penjab.png_jawab,pasien.pekerjaanpj,
  concat(pasien.alamatpj,', ',pasien.kelurahanpj,', ',pasien.kecamatanpj,', ',pasien.kabupatenpj) as alamatpj from pasien 
  inner join kelurahan inner join kecamatan inner join kabupaten 
  inner join penjab on pasien.kd_pj=penjab.kd_pj and pasien.kd_kel=kelurahan.kd_kel 
  and pasien.kd_kec=kecamatan.kd_kec and pasien.kd_kab=kabupaten.kd_kab]]>
  	</queryString>
  	<field name="no_rkm_medis" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="nm_pasien" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="no_ktp" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="jk" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="tmp_lahir" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="tgl_lahir" class="java.sql.Date">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="nm_ibu" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="alamat" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="gol_darah" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="pekerjaan" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="stts_nikah" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="agama" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="tgl_daftar" class="java.sql.Date">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="no_tlp" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="umur" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="pnd" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="keluarga" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="namakeluarga" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="png_jawab" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="pekerjaanpj" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<field name="alamatpj" class="java.lang.String">
  		<fieldDescription><![CDATA[]]></fieldDescription>
  	</field>
  	<background>
  		<band/>
  	</background>
  	<title>
  		<band height="50">
  			<textField pattern="">
  				<reportElement mode="Opaque" x="118" y="37" width="108" height="13"/>
  				<textElement verticalAlignment="Middle" lineSpacing="Single">
  					<font fontName="Tahoma" size="8" isBold="false"/>
  				</textElement>
  				<textFieldExpression class="java.lang.String"><![CDATA["No. RM : "+$F{no_rkm_medis}]]></textFieldExpression>
  			</textField>
  			<textField pattern="">
  				<reportElement mode="Opaque" x="118" y="12" width="141" height="13"/>
  				<textElement verticalAlignment="Middle" lineSpacing="Single">
  					<font fontName="Tahoma" size="8" isBold="true"/>
  				</textElement>
  				<textFieldExpression class="java.lang.String"><![CDATA[$F{nm_pasien}]]></textFieldExpression>
  			</textField>
  			<textField pattern="">
  				<reportElement mode="Opaque" x="118" y="25" width="141" height="13"/>
  				<textElement verticalAlignment="Middle" lineSpacing="Single">
  					<font fontName="Tahoma" size="8" isBold="false"/>
  				</textElement>
  				<textFieldExpression class="java.lang.String"><![CDATA["Tgl Lahir : "+$F{tgl_lahir}]]></textFieldExpression>
  			</textField>
  			<textField pattern="">
  				<reportElement mode="Opaque" x="116" y="2" width="278" height="13"/>
  				<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">
  					<font fontName="Tahoma" size="8" isBold="true"/>
  				</textElement>
  				<textFieldExpression class="java.lang.String"><![CDATA[$P{namars}]]></textFieldExpression>
  			</textField>
  			<textField pattern="">
  				<reportElement mode="Opaque" x="259" y="12" width="135" height="13"/>
  				<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">
  					<font fontName="Tahoma" size="8" isBold="true"/>
  				</textElement>
  				<textFieldExpression class="java.lang.String"><![CDATA["Ruang : "+$P{kamar}]]></textFieldExpression>
  			</textField>
  			<textField pattern="">
  				<reportElement mode="Opaque" x="271" y="24" width="123" height="13"/>
  				<textElement verticalAlignment="Middle" lineSpacing="Single">
  					<font fontName="Tahoma" size="8" isBold="false"/>
  				</textElement>
  				<textFieldExpression class="java.lang.String"><![CDATA["Tanggal Dirawat :"]]></textFieldExpression>
  			</textField>
  			<textField pattern="">
  				<reportElement mode="Opaque" x="271" y="35" width="123" height="13"/>
  				<textElement verticalAlignment="Middle" lineSpacing="Single">
  					<font fontName="Tahoma" size="8" isBold="false"/>
  				</textElement>
  				<textFieldExpression class="java.lang.String"><![CDATA[$P{tanggal}]]></textFieldExpression>
  			</textField>
  		</band>
  	</title>
  </jasperReport>
  