File: /var/www/vhost/disk-apps/dev-telemedicina.teky.com.co/public/FormulaMedica.jrxml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.12.0.final using JasperReports Library version 6.12.1-ac0eebdb29e4c0985457bab279a6db744d661530 -->
<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="FormulaMedica" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b27b6c8e-eef0-4e6c-8660-f78fc994a7ca">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="NombreHospital" class="java.lang.String">
<parameterDescription><![CDATA[Es el nombre del hospital.]]></parameterDescription>
</parameter>
<parameter name="NombrePaciente" class="java.lang.String">
<parameterDescription><![CDATA[Nombre completo del paciente]]></parameterDescription>
</parameter>
<parameter name="DocumentoPaciente" class="java.lang.String">
<parameterDescription><![CDATA[Documento de identificación + Tipo de documento del paciente.]]></parameterDescription>
</parameter>
<parameter name="FechaDocumento" class="java.lang.String">
<parameterDescription><![CDATA[Fecha en que se crea el documento.]]></parameterDescription>
</parameter>
<parameter name="Medico" class="java.lang.String">
<parameterDescription><![CDATA[Nombre del medico]]></parameterDescription>
</parameter>
<parameter name="LabelNombrePaciente" class="java.lang.String">
<parameterDescription><![CDATA[Etiqueta Lavel paciente]]></parameterDescription>
</parameter>
<parameter name="LabelDocumentoPaciente" class="java.lang.String">
<parameterDescription><![CDATA[Etiqueta documento del paciente.]]></parameterDescription>
</parameter>
<parameter name="LabelFecha" class="java.lang.String">
<parameterDescription><![CDATA[Etiqueta Fecha]]></parameterDescription>
</parameter>
<parameter name="LabelMedico" class="java.lang.String">
<parameterDescription><![CDATA[Etiqueta Medico]]></parameterDescription>
</parameter>
<parameter name="Logo" class="java.lang.String">
<parameterDescription><![CDATA[Logo]]></parameterDescription>
</parameter>
<parameter name="LabelFormulacion" class="java.lang.String">
<parameterDescription><![CDATA[Etiqueta Formulacion]]></parameterDescription>
</parameter>
<parameter name="Formulacion" class="java.lang.String">
<parameterDescription><![CDATA[Contenido formulacion]]></parameterDescription>
</parameter>
<queryString>
<![CDATA[]]>
</queryString>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="9" splitType="Stretch"/>
</title>
<pageHeader>
<band height="83" splitType="Stretch">
<image>
<reportElement x="0" y="-1" width="190" height="81" uuid="e5d54fde-0290-4e5a-8233-44af337772fd">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</reportElement>
<imageExpression><![CDATA[new java.io.ByteArrayInputStream(org.apache.commons.codec.binary.Base64.decodeBase64($P{Logo}.getBytes()))]]></imageExpression>
</image>
<textField>
<reportElement x="240" y="30" width="320" height="30" uuid="3fd4b04c-84cf-4b88-b694-5b8e162da8fe"/>
<textElement>
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{NombreHospital}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band height="9" splitType="Stretch"/>
</columnHeader>
<detail>
<band height="234" splitType="Stretch">
<textField>
<reportElement x="-1" y="13" width="70" height="20" uuid="7c5757aa-3ef4-4a47-9384-565783b1ca8d"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{LabelNombrePaciente}]]></textFieldExpression>
</textField>
<textField>
<reportElement positionType="FixRelativeToBottom" x="73" y="7" width="180" height="20" uuid="058d1281-dc31-4627-ac93-f671ddc4f76f">
<property name="com.jaspersoft.studio.element.name" value="Nombre paciene"/>
</reportElement>
<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
<bottomPen lineWidth="1.0"/>
</box>
<textFieldExpression><![CDATA[$P{NombrePaciente}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="-1" y="33" width="70" height="20" uuid="8fc23983-5843-46c6-aff4-818653742b1a"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{LabelFecha}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="73" y="27" width="180" height="20" uuid="f67fcef8-0f72-4acc-b67c-99f75483f5b0"/>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textFieldExpression><![CDATA[$P{FechaDocumento}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="278" y="13" width="70" height="20" uuid="e153f09d-ec5e-41c9-8775-f57ef5ce444e"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{LabelDocumentoPaciente}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="350" y="6" width="180" height="20" uuid="e864f08e-29f4-484e-b1b2-c87a97b1400b"/>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textFieldExpression><![CDATA[$P{DocumentoPaciente}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="350" y="27" width="180" height="20" uuid="eb50cddc-6a98-429d-9f70-22e19e1b6ca4"/>
<box>
<bottomPen lineWidth="1.0"/>
</box>
<textFieldExpression><![CDATA[$P{Medico}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="278" y="33" width="70" height="20" uuid="6e6731c0-bbd1-4de5-99e9-0b1f5990c396"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{LabelMedico}]]></textFieldExpression>
</textField>
<textField textAdjust="StretchHeight">
<reportElement x="0" y="80" width="560" height="154" uuid="8de6eba5-dcf9-469a-8001-f0173413b2a2">
<property name="com.jaspersoft.studio.unit.leftIndent" value="px"/>
<property name="com.jaspersoft.studio.unit.firstLineIndent" value="px"/>
</reportElement>
<box>
<topPen lineWidth="1.0"/>
<leftPen lineWidth="1.0"/>
<bottomPen lineWidth="1.0"/>
<rightPen lineWidth="1.0"/>
</box>
<textElement textAlignment="Justified">
<paragraph firstLineIndent="0" leftIndent="3"/>
</textElement>
<textFieldExpression><![CDATA[$P{Formulacion}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="60" width="150" height="20" uuid="0273039e-0037-4c12-8764-a870f516762a"/>
<textElement>
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{LabelFormulacion}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band height="45" splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="54" splitType="Stretch">
<textField>
<reportElement x="350" y="20" width="130" height="30" uuid="3531b5c7-abd2-42d1-b8dc-9957722119b8"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA["Page " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="480" y="20" width="80" height="30" uuid="e2823184-403f-4cf0-96bb-5dbd0ee21971"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[" of " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
<summary>
<band height="42" splitType="Stretch"/>
</summary>
</jasperReport>