2021-01-07 11:34:56 +07:00

53 lines
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.3.0.final using JasperReports Library version 6.3.0 -->
<!-- 2017-07-26T14:21:19 -->
<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="kartuPasien" pageWidth="240" pageHeight="153" columnWidth="240" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="37d3e422-6ff6-4762-85a0-af0e88100e2c">
<property name="ireport.zoom" value="2.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<property name="com.jaspersoft.studio.unit." value="cm"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
<field name="namaPasien" class="java.lang.String"/>
<field name="umur" class="java.lang.String"/>
<field name="noCm" class="java.lang.String"/>
<field name="namaAyah" class="java.lang.String"/>
<field name="namaSuamiIstri" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<detail>
<band height="153" splitType="Stretch">
<textField>
<reportElement x="129" y="27" width="120" height="68" uuid="bab77a6b-8bb7-4f20-838d-f95c0e1b5b8b">
<property name="com.jaspersoft.studio.unit.height" value="cm"/>
</reportElement>
<textElement verticalAlignment="Bottom">
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[($F{namaSuamiIstri}!=null?$F{namaSuamiIstri}:($F{namaAyah}!=null?$F{namaAyah}:""))+"\n"+($F{namaPasien}!=null?$F{namaPasien}:"")]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="130" width="120" height="20" uuid="2ee91fda-d0c4-4257-aa18-976a6265f311"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="14" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[($F{noCm}!=null?$F{noCm}:"")]]></textFieldExpression>
</textField>
<textField>
<reportElement x="129" y="92" width="120" height="20" uuid="ad558843-c4ab-45ca-a66a-02c30be32e1c"/>
<textElement verticalAlignment="Middle">
<font size="11" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[($F{umur}!=null?$F{umur}:"")]]></textFieldExpression>
</textField>
<image>
<reportElement x="169" y="107" width="71" height="41" uuid="d7f75eba-ab9b-417a-a414-262a0ee1a078"/>
<imageExpression><![CDATA[com.google.zxing.client.j2se.MatrixToImageWriter.toBufferedImage(
new com.google.zxing.qrcode.QRCodeWriter().encode($F{noCm},
com.google.zxing.BarcodeFormat.QR_CODE, 350, 350))]]></imageExpression>
</image>
</band>
</detail>
</jasperReport>