<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.4.0.final using JasperReports Library version 6.4.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="encaminhamentoExterno" columnCount="2" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="401" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" whenResourceMissingType="Error" uuid="d4a1d5eb-82dd-412f-a620-202e4bdf9dba">
	<property name="template.engine" value="tabular_template"/>
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
	<property name="com.jaspersoft.studio.unit." value="pixel"/>
	<style name="Table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
			<topPen lineWidth="1.0" lineColor="#000000"/>
			<leftPen lineWidth="1.0" lineColor="#000000"/>
			<bottomPen lineWidth="1.0" lineColor="#000000"/>
			<rightPen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<subDataset name="tableDataset" uuid="4031641a-afc1-4188-9f59-7f3321292adb">
		<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
		<queryString>
			<![CDATA[]]>
		</queryString>
		<field name="medico" class="java.lang.String"/>
		<field name="paciente" class="java.lang.String"/>
		<field name="telefone" class="java.lang.String"/>
		<field name="data" class="java.lang.String"/>
		<field name="hora" class="java.lang.String"/>
	</subDataset>
	<subDataset name="dsVacinasAprazadas" uuid="339e9fc9-83ae-4946-aa06-98cc8aa1b700">
		<queryString>
			<![CDATA[]]>
		</queryString>
		<field name="vacina" class="java.lang.String"/>
		<field name="data" class="java.util.Date"/>
	</subDataset>
	<parameter name="FILTRO" class="java.lang.String"/>
	<parameter name="DADOS_BASICOS" class="br.com.elotech.config.DadosBasicos"/>
	<parameter name="LOGO" class="java.lang.Object"/>
	<parameter name="TITULO" class="java.lang.String"/>
	<parameter name="TP_REL" class="java.lang.String"/>
	<parameter name="VERSION" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="nome" class="java.lang.String"/>
	<field name="prontuario" class="java.lang.String"/>
	<field name="cns" class="java.lang.String"/>
	<field name="dataNascimento" class="java.util.Date"/>
	<field name="idade" class="java.lang.Integer"/>
	<field name="sexo" class="java.lang.String"/>
	<field name="profissional" class="java.lang.String"/>
	<field name="conselho" class="java.lang.String"/>
	<field name="estado" class="java.lang.String"/>
	<field name="numeroConselho" class="java.lang.String"/>
	<field name="nomeMae" class="java.lang.String"/>
	<field name="dataCadastro" class="java.util.Date"/>
	<field name="agendadoPara" class="java.lang.String"/>
	<field name="contato" class="java.lang.String"/>
	<field name="dataAgendamento" class="java.util.Date"/>
	<field name="horaAgendamento" class="java.lang.String"/>
	<field name="internacao" class="java.lang.Boolean"/>
	<field name="urgencia" class="java.lang.Boolean"/>
	<field name="unidade" class="java.lang.String"/>
	<field name="cnes" class="java.lang.String"/>
	<field name="celular" class="java.lang.String"/>
	<field name="municipioNascimento" class="java.lang.String"/>
	<field name="estadoNascimento" class="java.lang.String"/>
	<field name="descricao" class="java.lang.String"/>
	<field name="contraReferencia" class="java.lang.String"/>
	<field name="especialidade" class="java.lang.String"/>
	<field name="rg" class="java.lang.String"/>
	<field name="dataEmissao" class="java.util.Date"/>
	<field name="cpf" class="java.lang.String"/>
	<pageHeader>
		<band height="95" splitType="Stretch">
			<frame>
				<reportElement mode="Opaque" x="-4" y="0" width="398" height="70" backcolor="#FFFFFF" uuid="6321f5e3-86eb-444f-acc1-8daaaa0d6c60">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="ShowOutOfBoundContent" value="false"/>
					<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
				</reportElement>
				<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
					<topPen lineWidth="2.0" lineColor="#066990"/>
					<leftPen lineWidth="2.0" lineColor="#066990"/>
					<rightPen lineWidth="2.0" lineColor="#066990"/>
				</box>
				<textField isBlankWhenNull="true">
					<reportElement mode="Transparent" x="100" y="7" width="290" height="20" forecolor="#000000" uuid="555240c1-0443-419c-8bf0-7a4f388e4155">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
					</reportElement>
					<box topPadding="0" leftPadding="10" bottomPadding="0" rightPadding="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="SansSerif" size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$P{DADOS_BASICOS}.getPrefeitura()]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement mode="Transparent" x="100" y="27" width="290" height="15" forecolor="#000000" uuid="502aeaee-ee33-429f-a820-6d44c1a2501e">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
					</reportElement>
					<box topPadding="0" leftPadding="10" bottomPadding="0" rightPadding="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="SansSerif" size="11" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$P{DADOS_BASICOS}.getSecretaria()]]></textFieldExpression>
				</textField>
				<image hAlign="Center" vAlign="Middle" isUsingCache="true" onErrorType="Blank">
					<reportElement mode="Opaque" x="10" y="7" width="90" height="55" backcolor="#FFFFFF" uuid="5090998c-dbda-4473-beeb-6e51ecea41eb">
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
					</reportElement>
					<box padding="5"/>
					<imageExpression><![CDATA[$P{LOGO}]]></imageExpression>
				</image>
				<textField isBlankWhenNull="true">
					<reportElement mode="Transparent" x="100" y="42" width="290" height="20" forecolor="#000000" uuid="793b703b-ee2c-4fa2-af62-98d51b646058">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
					</reportElement>
					<box topPadding="0" leftPadding="10" bottomPadding="0" rightPadding="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="SansSerif" size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$P{DADOS_BASICOS}.getUnidade()]]></textFieldExpression>
				</textField>
			</frame>
			<textField isBlankWhenNull="true">
				<reportElement mode="Opaque" x="-4" y="70" width="398" height="20" forecolor="#FFFFFF" backcolor="#066990" uuid="27c7256f-d960-4b5c-b965-b9b267c275f8">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="0" rightPadding="0">
					<pen lineWidth="2.0" lineColor="#066990"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
			</textField>
			<frame>
				<reportElement mode="Opaque" x="405" y="0" width="398" height="70" backcolor="#FFFFFF" uuid="df5f65cc-e22f-4012-94f8-c1b26473e127">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="ShowOutOfBoundContent" value="false"/>
				</reportElement>
				<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
					<topPen lineWidth="2.0" lineColor="#066990"/>
					<leftPen lineWidth="2.0" lineColor="#066990"/>
					<rightPen lineWidth="2.0" lineColor="#066990"/>
				</box>
				<textField isBlankWhenNull="true">
					<reportElement mode="Transparent" x="95" y="7" width="295" height="20" forecolor="#000000" uuid="31931475-3df8-423c-92cc-9d0d07e1e26d">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box topPadding="0" leftPadding="10" bottomPadding="0" rightPadding="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="SansSerif" size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$P{DADOS_BASICOS}.getPrefeitura()]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement mode="Transparent" x="95" y="27" width="295" height="15" forecolor="#000000" uuid="615a0694-ca67-470b-965f-9f16f51a26ec">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box topPadding="0" leftPadding="10" bottomPadding="0" rightPadding="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="SansSerif" size="11" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$P{DADOS_BASICOS}.getSecretaria()]]></textFieldExpression>
				</textField>
				<image hAlign="Center" vAlign="Middle" isUsingCache="true" onErrorType="Blank">
					<reportElement mode="Opaque" x="10" y="7" width="90" height="55" backcolor="#FFFFFF" uuid="60535dec-a4b7-454e-a93a-b7bcc442a467">
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box padding="5"/>
					<imageExpression><![CDATA[$P{LOGO}]]></imageExpression>
				</image>
				<textField isBlankWhenNull="true">
					<reportElement mode="Transparent" x="95" y="42" width="295" height="20" forecolor="#000000" uuid="64ed8865-0f1f-47ef-82e9-649a36aa5036">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box topPadding="0" leftPadding="10" bottomPadding="0" rightPadding="10"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font fontName="SansSerif" size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$P{DADOS_BASICOS}.getUnidade()]]></textFieldExpression>
				</textField>
			</frame>
			<textField isBlankWhenNull="true">
				<reportElement mode="Opaque" x="405" y="70" width="398" height="20" forecolor="#FFFFFF" backcolor="#066990" uuid="9cc41229-7d05-4059-b7ba-aa0fad636d20">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="0" rightPadding="0">
					<pen lineWidth="2.0" lineColor="#066990"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<detail>
		<band height="425">
			<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
			<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
			<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "sintetico" )]]></printWhenExpression>
			<rectangle radius="8">
				<reportElement x="-4" y="30" width="290" height="50" uuid="b6a1cb5d-72d9-4739-843d-9034bf583449">
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="288" y="30" width="104" height="50" uuid="51cc65c1-0cb3-401e-af7d-4cc013ec1abf">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="-4" y="86" width="397" height="20" uuid="72f59dbc-58d3-4236-8ae6-01ecf4fa6b9d">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="-4" y="111" width="398" height="160" uuid="7dc079e2-be86-40f2-b6eb-e622cb82e383">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement x="-4" y="0" width="398" height="30" uuid="ff9f2e67-35e8-42bb-9343-442e5a81af41">
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[CONTRA - REFERÊNCIA]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="-4" y="276" width="398" height="89" uuid="2a9d4238-606c-4fb0-930f-b5226aada8c3">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="6" y="26" width="90" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="1e00d894-718a-461b-86a2-e9b965827ecf">
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Unidade de especialidade]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="30" width="275" height="25" uuid="a4f3e3b6-630f-431b-a552-34fb0eb7de5b">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="292" y="30" width="91" height="25" uuid="9f67c9e5-b7ab-49d9-b5ce-c71d45959616">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<textElement verticalAlignment="Bottom">
					<font size="12"/>
				</textElement>
				<text><![CDATA[       /        /]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="52" width="275" height="25" uuid="f6aa34cc-de70-4523-840b-a24bbfaeb32b">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.y" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="292" y="55" width="91" height="25" uuid="4f5f4095-1252-4e2d-a15a-79ec562bb39f">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<textElement verticalAlignment="Bottom">
					<font size="16"/>
				</textElement>
				<text><![CDATA[          :]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="292" y="26" width="70" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="75989277-7b8c-49e0-bed1-143bcff13d2f">
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Agenda: Data e Hora]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="1" y="82" width="68" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="3d65fad7-c589-407d-873a-096aa8694e77">
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Diagnóstico (CID 10)]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="1" y="107" width="118" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="93ca0078-37d4-4e02-9f7f-55427279f567">
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Parecer / conduta da especialidade]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="1" y="272" width="44" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="a1f9bf12-3079-4271-9f5b-1b47a84d793f">
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Observações]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="111" width="385" height="25" uuid="890e0186-d101-42de-856b-5f32b2f6614a">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="137" width="385" height="25" uuid="6da2c96f-ab0a-40db-9013-19deccbe5012">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="162" width="385" height="25" uuid="85b4f8de-4ce1-47d2-aa34-83b16b2a96db">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="187" width="385" height="25" uuid="8ca8cd3b-ac64-4fb7-8a42-1d77d0c1c2a6">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="212" width="385" height="25" uuid="ef7a18bc-6268-496f-ae50-7e7f27dc4e21">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="238" width="385" height="25" uuid="c34a05b0-84bb-4928-a76e-c6c78a69790d">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="277" width="385" height="25" uuid="6677159f-c4f6-470d-9d22-b6cd13ac38c5">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="303" width="385" height="25" uuid="39f6c17b-4830-4f26-9700-06442bd4235f">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="1" y="329" width="385" height="25" uuid="fe360cf5-bfb9-44ed-88db-125f2316e2e5">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia} != null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<text><![CDATA[]]></text>
			</staticText>
			<staticText>
				<reportElement x="404" y="0" width="398" height="30" uuid="7e3ad659-3c61-44f2-bb72-91369f8863aa"/>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[REFERÊNCIA]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="404" y="30" width="239" height="20" uuid="13f46e17-61b5-44fa-82b6-07a07267ddeb">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="643" y="30" width="80" height="20" uuid="460ed10c-12e0-44f8-a0a2-bd5b554e1049">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="411" y="27" width="60" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="b4babc22-55c3-43fd-88aa-385a7b1b19f9"/>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Nome do cidadão]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="650" y="27" width="20" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="a9b3bbcc-226b-4ab0-9a74-f61d867ac1cb">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[CNS]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="725" y="30" width="75" height="20" uuid="22e00912-af10-4532-9238-d0e9e8620a51">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="732" y="27" width="35" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="16850b3e-bec5-4842-aa9c-660933931828">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Prontuário]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="404" y="80" width="239" height="20" uuid="58c4ca7f-6ce6-4133-bd2d-e0db67561f15">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="411" y="76" width="50" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="313b843e-d865-429e-9c5b-10a73a8611b8"/>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Nome da mãe]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="645" y="80" width="157" height="20" uuid="69cf2a9c-54dd-46ae-82cf-0e7e5c5433c6">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="650" y="76" width="78" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="1a6e2b43-6627-41b5-b421-7c31dd3359fc">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Município de Nascimento]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="411" y="35" width="221" height="15" uuid="0ec62b5c-6f85-4733-aec0-bcf138075040">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nome}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="649" y="35" width="73" height="15" uuid="456596bd-6f43-40a8-97ee-2a7794b11069">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{cns}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="728" y="35" width="72" height="15" uuid="9b13ff1d-d7ac-4d1e-b052-94affb0d0ee7">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{prontuario}]]></textFieldExpression>
			</textField>
			<rectangle radius="8">
				<reportElement x="404" y="106" width="100" height="20" uuid="cd967958-08f6-4357-93db-f35cec20d025">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="506" y="106" width="80" height="20" uuid="15da619c-d973-4c4a-b270-08c93ccd5d73">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="588" y="106" width="80" height="20" uuid="d85601e8-a899-4815-8639-b4820276170e">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="411" y="102" width="23" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="63bdd3db-adf3-4e9a-bdcc-34576b01603d">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Sexo]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="512" y="102" width="25" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="867f1607-6b73-4c4b-90af-49d929b18607">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Idade]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="597" y="102" width="53" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="ba4be90b-3c28-426a-98cc-870b529554b3">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Data nascimento]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="670" y="106" width="132" height="20" uuid="e011efc5-70ab-4830-93ec-adfcb9cf8742">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="677" y="102" width="45" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="b998ce50-c368-4f07-a61b-97e3c1c94928">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Telefone(s)]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="404" y="132" width="308" height="20" uuid="f085b3c1-dfc6-4791-843d-6b5f27b5e838">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<textField isBlankWhenNull="true">
				<reportElement x="410" y="110" width="89" height="15" uuid="a95f3561-cab3-4d3d-85a8-9514ca3e53c5">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[($F{sexo} == "M" ? "Masculino": "Feminino")]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="411" y="84" width="221" height="15" uuid="8a8cd224-ae66-40e4-b5d9-373e7a96839a">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{nomeMae}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="650" y="84" width="150" height="15" uuid="547de3f8-29f3-45cf-a529-9a2bf6d6466d">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{municipioNascimento} +"/"+$F{estadoNascimento}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="512" y="110" width="70" height="15" uuid="6b6757d3-167b-4eac-84ca-d91a92476a83">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{idade} + "Ano(s)"]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="593" y="110" width="70" height="15" uuid="8b3a516b-fc3e-450c-9893-d6fe417493d9">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataNascimento}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="677" y="110" width="116" height="15" uuid="a5dbde3d-7234-4d91-b8bb-4a2df848ffa0">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{celular}]]></textFieldExpression>
			</textField>
			<rectangle radius="8">
				<reportElement x="714" y="132" width="88" height="20" uuid="04b2c713-346e-4f7d-add8-e67a41411722">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="404" y="158" width="278" height="20" uuid="d93b6407-abec-41dd-a75c-013509c4f102">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="744" y="158" width="58" height="20" uuid="60255ae7-8427-4cbe-9a53-f8fed68e7823">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="410" y="128" width="72" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="c7951158-4d81-452c-b546-274a35997f7a">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Unidade Solicitante]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="410" y="154" width="72" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="eb12e8a6-4bd9-48f0-9fc4-be3e4ad86ffc">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Profissional Solicitante]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="411" y="136" width="291" height="15" uuid="0d0c9bd4-3088-4578-865e-82c50f081a01">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{unidade}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="410" y="162" width="267" height="15" uuid="d962f3aa-9340-403b-a0e4-eabef062d8ba">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{profissional}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="721" y="136" width="72" height="15" uuid="247bca92-055b-47ca-894a-540a28bbcb77">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{cnes}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="" mode="Opaque" x="721" y="128" width="21" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="60609835-1176-4e07-ac07-b9328f61b3da">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[CNES]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="684" y="158" width="58" height="20" uuid="e4ae7fbd-b3ae-4d06-a895-a5f6213407d3">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="691" y="154" width="31" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="811f53c2-d70d-49e6-b46e-ea3d73c81d8e">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Urgência]]></text>
			</staticText>
			<staticText>
				<reportElement key="" mode="Opaque" x="752" y="154" width="35" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="00e97509-1625-40e4-a35d-6615cbbd2275"/>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Internação]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="693" y="162" width="42" height="15" uuid="5992338c-bce8-4216-99f8-b6f84a5fbec7">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{urgencia} == true ? "Sim" : "Não"]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="753" y="162" width="42" height="15" uuid="6f786473-9a1e-41c7-b813-bc2deed5573b">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{internacao} == true ? "Sim": "Não"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="18" y="370" width="91" height="25" uuid="489b92ac-b47f-49f3-826b-3cfccf21c27f">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
				</reportElement>
				<box>
					<bottomPen lineWidth="0.5"/>
				</box>
				<textElement verticalAlignment="Bottom">
					<font size="12"/>
				</textElement>
				<text><![CDATA[       /        /]]></text>
			</staticText>
			<staticText>
				<reportElement x="18" y="395" width="90" height="30" uuid="d960cd2a-0292-443c-85e8-c820c6b4de81">
					<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Center"/>
				<text><![CDATA[Data da Consulta]]></text>
			</staticText>
			<staticText>
				<reportElement x="180" y="395" width="200" height="30" uuid="2310a2cf-4ba7-4746-9a6b-f490a5e25589">
					<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center"/>
				<text><![CDATA[Assinatura e carimbo do especialista]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="404" y="237" width="398" height="120" uuid="507924bd-92ef-43aa-90b2-bb77ad6adf71">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="410" y="233" width="88" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="bf8c7a2b-3738-4afb-9763-96945bd13b76">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Motivo do encaminhamento]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="411" y="244" width="385" height="106" uuid="7394a85a-3103-4fa2-bbfe-799666ed184f">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Top" markup="none">
					<font fontName="SansSerif" size="8"/>
					<paragraph lineSpacing="1_1_2"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="493" y="385" width="229" height="15" uuid="d5190d51-087a-4a26-88d0-5fe83ca9a972">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Bottom"/>
				<textFieldExpression><![CDATA[$F{profissional}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="494" y="402" width="229" height="15" uuid="ef7cbf42-d3b9-4022-a8a0-fc5d65640490">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Top"/>
				<textFieldExpression><![CDATA[$F{conselho} + " - " + $F{estado} + " " + $F{numeroConselho}]]></textFieldExpression>
			</textField>
			<rectangle radius="8">
				<reportElement x="404" y="211" width="266" height="20" uuid="1ce07b8d-0070-40b4-9dbb-6bbedc152725">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="410" y="207" width="60" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="d041d9f3-2755-4c26-ae95-6b6d9b0f5554">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Agendado para]]></text>
			</staticText>
			<rectangle radius="8">
				<reportElement x="672" y="211" width="68" height="20" uuid="d2b9c38f-2bb1-457b-b08b-1e463e41104a">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="681" y="207" width="22" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="1b832af5-068f-4477-a10e-208f8f60575b"/>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Data]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="677" y="214" width="58" height="15" uuid="6a90284d-45ac-46a7-8656-89c299e32314">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataAgendamento}]]></textFieldExpression>
			</textField>
			<rectangle radius="8">
				<reportElement x="742" y="211" width="60" height="20" uuid="bdac732e-53c3-423d-a993-d0a85ef440a7">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="749" y="207" width="30" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="598bb946-9b90-4afb-aa66-4cf3fe97d5f1">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Horário]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="748" y="215" width="48" height="15" uuid="ff1d561e-ad9c-4409-a6c1-89777b01a808">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{horaAgendamento}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="410" y="215" width="253" height="15" uuid="65419306-281a-4e5f-b9ef-864454b14951">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{agendadoPara}]]></textFieldExpression>
			</textField>
			<rectangle radius="8">
				<reportElement x="404" y="185" width="398" height="20" uuid="f5f33173-4638-4b45-8052-7747856d9132">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="410" y="181" width="50" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="de71e55b-6f49-48ef-afb6-3ed213a01631">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Especialidade]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="410" y="189" width="386" height="15" uuid="6b26bfcd-eed6-496e-89f3-9b5254698e10">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{especialidade}]]></textFieldExpression>
			</textField>
			<rectangle radius="8">
				<reportElement x="404" y="56" width="124" height="20" uuid="d0529df4-abe2-4b9e-ba13-072dd66ba2d3">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="411" y="52" width="23" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="21143a76-d52c-425b-af7f-6bfc098543c9"/>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[RG]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="411" y="60" width="89" height="15" uuid="9dcf6fc0-8b14-4944-be04-79c7a721b8f1">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{rg}]]></textFieldExpression>
			</textField>
			<rectangle radius="8">
				<reportElement x="663" y="56" width="139" height="20" uuid="57b438cf-db73-4b75-ad3f-5bb10fb35d20">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
			</rectangle>
			<rectangle radius="8">
				<reportElement x="530" y="56" width="131" height="20" uuid="bac07f43-e988-416f-8139-89b985a0521d">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
			</rectangle>
			<staticText>
				<reportElement key="" mode="Opaque" x="536" y="52" width="56" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="57a6e7eb-9d21-4ca5-bb46-40c31ff220b0"/>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[Data expedição]]></text>
			</staticText>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="535" y="60" width="89" height="15" uuid="69a22c0a-a739-4aa7-a744-4ec1003439df">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataEmissao}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="669" y="60" width="123" height="15" uuid="268a5444-bd3f-4a55-af05-efc6e54f4f0d">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<textElement verticalAlignment="Middle">
					<font size="8"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{cpf}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement key="" mode="Opaque" x="668" y="52" width="23" height="8" isPrintInFirstWholeBand="true" backcolor="rgba(255, 255, 255, 0.0)" uuid="90ecc123-d7b1-4f2c-9b1a-a2a60812f052"/>
				<box leftPadding="5"/>
				<textElement>
					<font size="6"/>
				</textElement>
				<text><![CDATA[CPF]]></text>
			</staticText>
		</band>
	</detail>
	<pageFooter>
		<band height="34">
			<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
			<textField isBlankWhenNull="true">
				<reportElement x="45" y="0" width="300" height="15" uuid="e337b0ef-478f-45b7-adf6-d22c00871b14">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[(($P{DADOS_BASICOS}.getUnidade() != "" && $P{DADOS_BASICOS}.getUnidade() != null) ? $P{DADOS_BASICOS}.getUnidade() + " - " : "")
+
(($P{DADOS_BASICOS}.getEndereco() != "" && $P{DADOS_BASICOS}.getEndereco() != null) ? $P{DADOS_BASICOS}.getEndereco() : "")]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="450" y="0" width="302" height="15" uuid="5fbde2d8-4969-43f3-b795-f9b94b5b05f7">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[(($P{DADOS_BASICOS}.getUnidade() != "" && $P{DADOS_BASICOS}.getUnidade() != null) ? $P{DADOS_BASICOS}.getUnidade() + " - " : "")
+
(($P{DADOS_BASICOS}.getEndereco() != "" && $P{DADOS_BASICOS}.getEndereco() != null) ? $P{DADOS_BASICOS}.getEndereco() : "")]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="-4" y="0" width="49" height="15" uuid="e6c345ef-a850-4d35-b909-a258f8b47ea2">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$F{contraReferencia}!= null]]></printWhenExpression>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="401" y="0" width="49" height="15" uuid="65f5a47f-1f32-4486-bf13-57ee1d394130">
					<property name="com.jaspersoft.studio.unit.x" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="752" y="0" width="50" height="15" uuid="92c2c244-f87f-4bc5-83c4-6945dc59d074"/>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA["Pág. "+$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="345" y="0" width="50" height="15" uuid="e19fb51b-14ce-4433-81fd-adb09da6811a">
					<printWhenExpression><![CDATA[$F{contraReferencia}!=null]]></printWhenExpression>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA["Pág. "+$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
</jasperReport>
