<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.5.1  -->
<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="184" pageHeight="113" columnWidth="174" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5" uuid="0215df48-fc9e-4cec-965a-b946cd41d2b9">
	<property name="ireport.zoom" value="4.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="com.jaspersoft.studio.data.sql.SQLQueryDesigner.sash.w1" value="0"/>
	<property name="com.jaspersoft.studio.data.sql.SQLQueryDesigner.sash.w2" value="1000"/>
	<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="lokal"/>
	<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="logo" class="java.io.InputStream"/>
	<queryString>
		<![CDATA[select resep_pulang.no_rawat,resep_pulang.tanggal,jenis.nama,
reg_periksa.no_rkm_medis,pasien.nm_pasien,databarang.nama_brng,
resep_pulang.dosis,resep_pulang.jml_barang,kodesatuan.satuan 
from resep_pulang inner join reg_periksa on resep_pulang.no_rawat=reg_periksa.no_rawat 
inner join databarang on resep_pulang.kode_brng=databarang.kode_brng 
inner join kodesatuan on databarang.kode_sat=kodesatuan.kode_sat 
inner join jenis on databarang.kdjns= jenis.kdjns 
inner join pasien on reg_periksa.no_rkm_medis=pasien.no_rkm_medis]]>
	</queryString>
	<field name="no_rawat" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="no_rawat"/>
		<property name="com.jaspersoft.studio.field.label" value="no_rawat"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="resep_pulang"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="tanggal" class="java.sql.Date">
		<property name="com.jaspersoft.studio.field.name" value="tanggal"/>
		<property name="com.jaspersoft.studio.field.label" value="tanggal"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="resep_pulang"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nama" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nama"/>
		<property name="com.jaspersoft.studio.field.label" value="nama"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="jenis"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="no_rkm_medis" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="no_rkm_medis"/>
		<property name="com.jaspersoft.studio.field.label" value="no_rkm_medis"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="reg_periksa"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nm_pasien" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nm_pasien"/>
		<property name="com.jaspersoft.studio.field.label" value="nm_pasien"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="pasien"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="nama_brng" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nama_brng"/>
		<property name="com.jaspersoft.studio.field.label" value="nama_brng"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="databarang"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="dosis" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="dosis"/>
		<property name="com.jaspersoft.studio.field.label" value="dosis"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="resep_pulang"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="jml_barang" class="java.lang.Double">
		<property name="com.jaspersoft.studio.field.name" value="jml_barang"/>
		<property name="com.jaspersoft.studio.field.label" value="jml_barang"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="resep_pulang"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="satuan" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="satuan"/>
		<property name="com.jaspersoft.studio.field.label" value="satuan"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="kodesatuan"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<detail>
		<band height="103" splitType="Stretch">
			<rectangle>
				<reportElement mode="Opaque" x="0" y="0" width="174" height="103" forecolor="#9999FF" backcolor="#9999FF" uuid="6d6908a5-d802-4091-b350-205f5577a8bd">
					<printWhenExpression><![CDATA[($F{nama}.toLowerCase().equals("obat luar")||$F{nama}.toLowerCase().equals("suntik") ? 
  Boolean.TRUE:Boolean.FALSE)]]></printWhenExpression>
				</reportElement>
				<graphicElement>
					<pen lineWidth="0.0"/>
				</graphicElement>
			</rectangle>
			<line>
				<reportElement x="1" y="0" width="172" height="1" forecolor="#006666" uuid="8bfb5a19-f416-40b3-9561-036cd71b8927"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<line>
				<reportElement x="1" y="26" width="172" height="1" forecolor="#006666" uuid="48b620bf-79f0-42b6-830d-aaf55dcad313"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<line direction="BottomUp">
				<reportElement x="0" y="0" width="1" height="103" forecolor="#006666" uuid="6c61e895-0edc-4a02-8532-95b20486a2c2"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<line>
				<reportElement x="1" y="102" width="172" height="1" forecolor="#006666" uuid="30a0fecb-32c6-4b63-a0c0-cb449f3a2afb"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<line direction="BottomUp">
				<reportElement x="173" y="0" width="1" height="103" forecolor="#006666" uuid="603f8545-dd7e-467c-bad1-fe8de9d24c2d"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement x="26" y="17" width="147" height="9" uuid="e47dfa4c-58f7-4750-81ea-6a9fbdbf0d67"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{kontakrs}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="26" y="9" width="147" height="9" uuid="ea93e3d2-64e8-4e87-b2c5-e0208d02ef82"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{alamatrs}+", "+$P{kotars}+", "+$P{propinsirs}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="26" y="1" width="147" height="9" uuid="04481677-2911-4578-8ee0-1fc7faefdfbe"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{namars}]]></textFieldExpression>
			</textField>
			<image scaleImage="FillFrame" onErrorType="Blank">
				<reportElement x="1" y="1" width="25" height="25" uuid="7460d397-f304-48a9-a11d-3f9980805ee3"/>
				<imageExpression><![CDATA[$P{logo}]]></imageExpression>
			</image>
			<line>
				<reportElement x="2" y="71" width="171" height="1" forecolor="#006666" uuid="e828714f-7255-43a8-860d-963caf3de062"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement x="3" y="82" width="169" height="20" uuid="69622ccb-f1fe-43bb-a5d1-92154dccc969"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dosis}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="3" y="72" width="132" height="9" uuid="404df43b-cfdf-4067-887a-7252fb8a80f6"/>
				<textElement>
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nama_brng}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement isPrintRepeatedValues="false" x="134" y="72" width="38" height="9" uuid="7fe44575-5bf5-4f4a-89ad-809f30c48d48"/>
				<textElement textAlignment="Right">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{jml_barang}+" "+$F{satuan}]]></textFieldExpression>
			</textField>
			<componentElement>
				<reportElement x="3" y="27" width="27" height="44" uuid="2dfdac85-ce75-4bda-8c31-cfb743e1af30">
					<property name="com.jaspersoft.studio.unit.x" value="px"/>
					<property name="com.jaspersoft.studio.unit.barHeight" value="px"/>
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
				</reportElement>
				<jr:barbecue xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" type="Code128" drawText="true" checksumRequired="false" barWidth="1" barHeight="60" rotation="Left">
					<jr:codeExpression><![CDATA[$F{no_rawat}]]></jr:codeExpression>
				</jr:barbecue>
			</componentElement>
			<staticText>
				<reportElement x="34" y="44" width="24" height="9" uuid="17bd15cb-9398-4b15-bdb8-85c7b8c8b8a2">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[No.RM]]></text>
			</staticText>
			<staticText>
				<reportElement x="34" y="54" width="24" height="9" uuid="1f399c08-3944-492a-af9b-9440255c0481">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Nama]]></text>
			</staticText>
			<staticText>
				<reportElement x="3" y="27" width="169" height="9" uuid="1235ae29-56b8-4f98-9d9b-80079d14b545"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[INSTALASI FARMASI]]></text>
			</staticText>
			<staticText>
				<reportElement x="57" y="44" width="4" height="9" uuid="9cdb9728-f9b5-4db6-891d-abe41d85b328"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<staticText>
				<reportElement x="57" y="54" width="4" height="9" uuid="65423f9d-8fb8-4b35-b61c-adf8234ceb22"/>
				<textElement textAlignment="Left" verticalAlignment="Top">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<textField>
				<reportElement x="62" y="44" width="110" height="9" uuid="7c341994-dcf9-4c07-9d30-8d70a1189ec9"/>
				<textElement verticalAlignment="Top">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{no_rkm_medis}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="62" y="54" width="110" height="17" uuid="31d443cf-a72c-40e5-a8c3-441c0155662d"/>
				<textElement verticalAlignment="Top">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nm_pasien}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="24" y="36" width="126" height="8" uuid="3f5b7062-1ae5-471d-a255-d8aef69bfcc2">
					<property name="com.jaspersoft.studio.unit.width" value="px"/>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font fontName="Tahoma" size="6"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{tanggal}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>
