<?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="144" pageHeight="165" columnWidth="134" leftMargin="5" rightMargin="5" topMargin="5" bottomMargin="5" uuid="6a03bcef-cde7-4861-8117-d67a8948b929">
	<property name="ireport.zoom" value="3.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="4"/>
	<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.defaultdataadapter" value="koneksi"/>
	<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
	<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"/>
	<parameter name="waktu" class="java.lang.String"/>
	<queryString>
		<![CDATA[select stok_obat_pasien.tanggal,stok_obat_pasien.jam, stok_obat_pasien.no_rawat,reg_periksa.no_rkm_medis,pasien.nm_pasien,
                                            stok_obat_pasien.kode_brng,databarang.nama_brng, stok_obat_pasien.jumlah,stok_obat_pasien.kd_bangsal,
                                            stok_obat_pasien.no_batch,stok_obat_pasien.no_faktur,stok_obat_pasien.aturan_pakai 
                                            from stok_obat_pasien inner join reg_periksa on stok_obat_pasien.no_rawat=reg_periksa.no_rawat 
                                            inner join pasien on reg_periksa.no_rkm_medis=pasien.no_rkm_medis 
                                            inner join databarang on stok_obat_pasien.kode_brng=databarang.kode_brng]]>
	</queryString>
	<field name="tanggal" class="java.sql.Date">
		<property name="com.jaspersoft.studio.field.label" value="tanggal"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<field name="jam" class="java.sql.Time">
		<property name="com.jaspersoft.studio.field.label" value="jam"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<field name="no_rawat" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.label" value="no_rawat"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<field name="no_rkm_medis" class="java.lang.String">
		<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.label" value="nm_pasien"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="pasien"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="kode_brng" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.label" value="kode_brng"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<field name="nama_brng" class="java.lang.String">
		<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="jumlah" class="java.lang.Double">
		<property name="com.jaspersoft.studio.field.label" value="jumlah"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<field name="kd_bangsal" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.label" value="kd_bangsal"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<field name="no_batch" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.label" value="no_batch"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<field name="no_faktur" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.label" value="no_faktur"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<field name="aturan_pakai" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.label" value="aturan_pakai"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="stok_obat_pasien"/>
	</field>
	<background>
		<band splitType="Stretch"/>
	</background>
	<detail>
		<band height="155" splitType="Stretch">
			<componentElement>
				<reportElement x="2" y="54" width="130" height="15" uuid="eea1bdc5-b910-464c-8516-ad933782faaf">
					<property name="com.jaspersoft.studio.unit.height" 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="0">
					<jr:codeExpression><![CDATA[$F{no_rawat}]]></jr:codeExpression>
				</jr:barbecue>
			</componentElement>
			<line>
				<reportElement x="1" y="0" width="132" height="1" forecolor="#006666" uuid="04fef8e0-e12d-4ea5-8c49-dcea4a60cd41"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<line>
				<reportElement x="1" y="36" width="132" height="1" forecolor="#006666" uuid="d2c3aec1-3707-41ef-9adc-1fa4122fbd3c"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement x="2" y="45" width="130" height="9" uuid="91e17ca2-6d01-41c9-98c5-a09e263c516b"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA["Tgl. "+$F{tanggal}]]></textFieldExpression>
			</textField>
			<line direction="BottomUp">
				<reportElement x="0" y="1" width="1" height="153" forecolor="#006666" uuid="e54f2acb-4ad3-4356-8d83-661228db9026"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<line>
				<reportElement x="1" y="154" width="132" height="1" forecolor="#006666" uuid="e4d7f6aa-ce22-40cc-8e88-d1434fc8967b"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement x="26" y="13" width="107" height="14" uuid="2c9802cf-1ecb-45ec-ba2e-7a078bb2469a"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{alamatrs}+", "+$P{kotars}+", "+$P{propinsirs}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="26" y="1" width="107" height="12" uuid="04ee7bba-0764-441e-b12e-9bc9570a0c47"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{namars}]]></textFieldExpression>
			</textField>
			<image scaleImage="FillFrame" onErrorType="Blank">
				<reportElement x="2" y="2" width="24" height="26" uuid="72950034-efed-4d2a-ba26-fb7c12bedce1"/>
				<imageExpression><![CDATA[$P{logo}]]></imageExpression>
			</image>
			<staticText>
				<reportElement x="2" y="37" width="130" height="9" uuid="d1582da2-a8c4-4769-8d51-ef340401a9d4"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[INSTALASI FARMASI]]></text>
			</staticText>
			<staticText>
				<reportElement x="27" y="80" width="4" height="9" uuid="fb4775fd-b645-4461-b668-ec23329a09b1"/>
				<textElement textAlignment="Left">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<textField>
				<reportElement x="30" y="80" width="102" height="15" uuid="cad5f77b-99f0-4c62-8927-25d037b8a513"/>
				<textElement>
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nm_pasien}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="2" y="96" width="131" height="1" forecolor="#006666" uuid="5c5adf66-319b-48c8-9ff6-30ab4812d1a4"/>
				<graphicElement>
					<pen lineWidth="0.25" lineStyle="Solid"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement x="2" y="130" width="130" height="23" uuid="bd2ddf42-612b-4934-a9c5-413fb78f18f2"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="9" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{aturan_pakai}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="2" y="108" width="130" height="22" uuid="f80f2466-a283-4309-a671-085d315304b9"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nama_brng}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="3" y="80" width="25" height="9" uuid="b037dafb-90f6-4088-8d94-ed6c658f3cee"/>
				<textElement textAlignment="Left">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[Nama]]></text>
			</staticText>
			<textField>
				<reportElement x="26" y="27" width="107" height="9" uuid="4761653c-c4d4-45fe-9276-190baac2c9af"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{kontakrs}]]></textFieldExpression>
			</textField>
			<line direction="BottomUp">
				<reportElement x="133" y="1" width="1" height="153" forecolor="#006666" uuid="ff9aaab5-6688-4a4b-89ef-6119e0ce6dee"/>
				<graphicElement>
					<pen lineStyle="Solid"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement x="27" y="71" width="4" height="9" uuid="b88b20ce-2544-43cd-a456-8f3a6ccc3b61"/>
				<textElement textAlignment="Left">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[:]]></text>
			</staticText>
			<textField>
				<reportElement x="30" y="71" width="102" height="9" uuid="be7d15fa-41e6-4cdb-ac06-f692a416f134"/>
				<textElement>
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{no_rkm_medis}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="3" y="71" width="25" height="9" uuid="057115c5-dc58-4723-8a1e-2c53e8811921"/>
				<textElement textAlignment="Left">
					<font fontName="Tahoma" size="6" isBold="false"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<text><![CDATA[No.RM]]></text>
			</staticText>
			<textField>
				<reportElement x="3" y="98" width="129" height="9" uuid="26affe58-96fd-4145-a142-7c629777330d"/>
				<textElement textAlignment="Center">
					<font fontName="Tahoma" size="7"/>
					<paragraph lineSpacing="Single"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{waktu}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>
