Subversion Repositories Integrator Subversion

Rev

Rev 182 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

<?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="prontuario_prescricao_subreport" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="b455f557-c3c0-455d-8264-e5bc229866e2">
        <property name="ireport.zoom" value="1.331000000000001"/>
        <property name="ireport.x" value="0"/>
        <property name="ireport.y" value="0"/>
        <parameter name="pSequencialAtendimento" class="java.lang.Integer">
                <defaultValueExpression><![CDATA[]]></defaultValueExpression>
        </parameter>
        <queryString>
                <![CDATA[select
at.dsc_texto,
(case when at.tip_texto = 'M' then 'MEDICAMENTO'
when at.tip_texto = 'A' then 'ATESTADO'
when at.tip_texto = 'M' then 'PROCEDIMENTO' end) as tipo_texto
from sc_cln.cln_atendimento_texto at
where at.seq_atendimento = $P{pSequencialAtendimento}]]>
        </queryString>
        <field name="dsc_texto" class="java.lang.String"/>
        <field name="tipo_texto" class="java.lang.String"/>
        <background>
                <band splitType="Stretch"/>
        </background>
        <detail>
                <band height="41" splitType="Stretch">
                        <staticText>
                                <reportElement uuid="cab952cb-5993-424f-a8a4-5fb3a82f43cc" x="0" y="0" width="100" height="20"/>
                                <textElement>
                                        <font fontName="Arial"/>
                                </textElement>
                                <text><![CDATA[PRESCRIÇÃO:]]></text>
                        </staticText>
                        <textField>
                                <reportElement uuid="46c977f5-c0f8-4adf-81f8-26bf323fdc4a" x="100" y="0" width="455" height="20"/>
                                <textElement>
                                        <font fontName="Arial"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{tipo_texto}]]></textFieldExpression>
                        </textField>
                        <staticText>
                                <reportElement uuid="e3bacde1-b719-426f-876b-10e65057a169" x="0" y="20" width="100" height="20"/>
                                <textElement>
                                        <font fontName="Arial"/>
                                </textElement>
                                <text><![CDATA[DESCRIÇÃO:]]></text>
                        </staticText>
                        <textField isStretchWithOverflow="true">
                                <reportElement uuid="3444f011-49fd-4639-a245-34a2962868ea" positionType="Float" x="100" y="20" width="455" height="20" isPrintWhenDetailOverflows="true"/>
                                <textElement>
                                        <font fontName="Arial"/>
                                </textElement>
                                <textFieldExpression><![CDATA[$F{dsc_texto}]]></textFieldExpression>
                        </textField>
                        <line>
                                <reportElement uuid="b570f509-2e8c-4868-8c6f-142b34490236" positionType="Float" x="0" y="40" width="555" height="1"/>
                                <graphicElement>
                                        <pen lineWidth="0.5" lineStyle="Dashed"/>
                                </graphicElement>
                        </line>
                </band>
        </detail>
</jasperReport>