Subversion Repositories Integrator Subversion

Rev

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

Rev Author Line No. Line
1 espaco 1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
3
	<property name="ireport.zoom" value="1.331000000000001"/>
4
	<property name="ireport.x" value="0"/>
5
	<property name="ireport.y" value="0"/>
6
	<parameter name="pSequencialAtendimento" class="java.lang.Integer">
7
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
8
	</parameter>
9
	<queryString>
10
		<![CDATA[select
11
at.dsc_texto,
12
(case when at.tip_texto = 'M' then 'MEDICAMENTO'
13
when at.tip_texto = 'A' then 'ATESTADO'
14
when at.tip_texto = 'M' then 'PROCEDIMENTO' end) as tipo_texto
15
from sc_cln.cln_atendimento_texto at
16
where at.seq_atendimento = $P{pSequencialAtendimento}]]>
17
	</queryString>
18
	<field name="dsc_texto" class="java.lang.String"/>
19
	<field name="tipo_texto" class="java.lang.String"/>
20
	<background>
21
		<band splitType="Stretch"/>
22
	</background>
23
	<detail>
24
		<band height="41" splitType="Stretch">
25
			<staticText>
26
				<reportElement uuid="cab952cb-5993-424f-a8a4-5fb3a82f43cc" x="0" y="0" width="100" height="20"/>
27
				<textElement>
28
					<font fontName="Arial"/>
29
				</textElement>
30
				<text><![CDATA[PRESCRIÇÃO:]]></text>
31
			</staticText>
32
			<textField>
33
				<reportElement uuid="46c977f5-c0f8-4adf-81f8-26bf323fdc4a" x="100" y="0" width="455" height="20"/>
34
				<textElement>
35
					<font fontName="Arial"/>
36
				</textElement>
37
				<textFieldExpression><![CDATA[$F{tipo_texto}]]></textFieldExpression>
38
			</textField>
39
			<staticText>
40
				<reportElement uuid="e3bacde1-b719-426f-876b-10e65057a169" x="0" y="20" width="100" height="20"/>
41
				<textElement>
42
					<font fontName="Arial"/>
43
				</textElement>
44
				<text><![CDATA[DESCRIÇÃO:]]></text>
45
			</staticText>
46
			<textField isStretchWithOverflow="true">
47
				<reportElement uuid="3444f011-49fd-4639-a245-34a2962868ea" positionType="Float" x="100" y="20" width="455" height="20" isPrintWhenDetailOverflows="true"/>
48
				<textElement>
49
					<font fontName="Arial"/>
50
				</textElement>
51
				<textFieldExpression><![CDATA[$F{dsc_texto}]]></textFieldExpression>
52
			</textField>
53
			<line>
54
				<reportElement uuid="b570f509-2e8c-4868-8c6f-142b34490236" positionType="Float" x="0" y="40" width="555" height="1"/>
55
				<graphicElement>
56
					<pen lineWidth="0.5" lineStyle="Dashed"/>
57
				</graphicElement>
58
			</line>
59
		</band>
60
	</detail>
61
</jasperReport>