<?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="agendamentoporunidade" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="d4a1d5eb-82dd-412f-a620-202e4bdf9dba">
	<property name="template.engine" value="tabular_template"/>
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
	<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>
	<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"/>
	<parameter name="AGR_SOLICITANTE" class="java.lang.Boolean"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="prestador" class="java.lang.String"/>
	<field name="solicitante" class="java.lang.String"/>
	<field name="paciente" class="java.lang.String"/>
	<field name="data" class="java.util.Date"/>
	<field name="total" class="java.lang.Integer"/>
	<field name="procedimento" class="java.lang.String"/>
	<field name="apelido" class="java.lang.String"/>
	<field name="codigoSus" class="java.lang.String"/>
	<field name="valorUnitario" class="java.lang.Double"/>
	<field name="valorTotal" class="java.lang.Double"/>
	<field name="situacao" 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="tipoConvenio" class="java.lang.String"/>
	<field name="dataRealizacao" class="java.util.Date"/>
	<variable name="total_geral_sintetico" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[$F{total}]]></variableExpression>
		<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
	</variable>
	<variable name="quantidade_exames" class="java.lang.Integer" resetType="Group" resetGroup="grupo_prestador" calculation="Sum">
		<variableExpression><![CDATA[$F{total}]]></variableExpression>
	</variable>
	<variable name="valor_total" class="java.lang.Double" resetType="Group" resetGroup="grupo_prestador" calculation="Sum">
		<variableExpression><![CDATA[$F{valorTotal}]]></variableExpression>
	</variable>
	<variable name="total_valor_sintetico" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{valorTotal}]]></variableExpression>
	</variable>
	<variable name="total_procedimento" class="java.lang.Integer" resetType="Group" resetGroup="grupo_procedimento" calculation="Count">
		<variableExpression><![CDATA[$F{paciente}]]></variableExpression>
	</variable>
	<variable name="total_prestador" class="java.lang.Integer" resetType="Group" resetGroup="grupo_prestador" calculation="Count">
		<variableExpression><![CDATA[$F{paciente}]]></variableExpression>
	</variable>
	<variable name="total_procedimento_analitico" class="java.lang.Double" resetType="Group" resetGroup="grupo_procedimento">
		<variableExpression><![CDATA[$V{total_procedimento}*$F{valorUnitario}]]></variableExpression>
	</variable>
	<variable name="total_prestador_analitico" class="java.lang.Double" resetType="Group" resetGroup="grupo_prestador" calculation="Sum">
		<variableExpression><![CDATA[$V{total_procedimento_analitico}]]></variableExpression>
	</variable>
	<variable name="total_geral_analitico" class="java.lang.Double" calculation="Sum">
		<variableExpression><![CDATA[$F{valorUnitario}]]></variableExpression>
	</variable>
	<variable name="total_procedimento_geral_analitico" class="java.lang.Integer" calculation="Count">
		<variableExpression><![CDATA[$F{paciente}]]></variableExpression>
	</variable>
	<variable name="total_procedimentos_agendados" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[($F{situacao}.matches("AGENDADO")) 
? 
	($P{TP_REL}.equalsIgnoreCase( "analitico" )) 
	? 
		1  
	:
		$F{total}
: 
0]]></variableExpression>
	</variable>
	<variable name="total_procedimentos_realizados" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[($F{situacao}.matches("REALIZADO")) 
? 
	($P{TP_REL}.equalsIgnoreCase( "analitico" )) 
	? 
		1  
	:
		$F{total}
: 
0]]></variableExpression>
	</variable>
	<variable name="total_procedimentos_cancelados" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[($F{situacao}.matches("CANCELADO")) 
? 
	($P{TP_REL}.equalsIgnoreCase( "analitico" )) 
	? 
		1  
	:
		$F{total}
: 
0]]></variableExpression>
	</variable>
	<variable name="total_procedimentos_faltosos" class="java.lang.Integer" calculation="Sum">
		<variableExpression><![CDATA[($F{situacao}.matches("FALTA")) 
? 
	($P{TP_REL}.equalsIgnoreCase( "analitico" )) 
	? 
		1  
	:
		$F{total}
: 
0]]></variableExpression>
	</variable>
	<group name="grupo_prestador" isReprintHeaderOnEachPage="true">
		<groupExpression><![CDATA[$F{prestador}]]></groupExpression>
		<groupHeader>
			<band height="18">
				<staticText>
					<reportElement x="0" y="3" width="70" height="15" uuid="dbd45a87-dbe4-4e79-8878-6497ed00b45f">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement verticalAlignment="Middle">
						<font size="10" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Prestador:]]></text>
				</staticText>
				<textField>
					<reportElement x="70" y="3" width="485" height="15" uuid="777787c6-dcc1-4c1b-8a57-50c1df4efbf1">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<textElement verticalAlignment="Middle">
						<font size="10"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{prestador} + " - " + $F{tipoConvenio}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="15">
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "sintetico")]]></printWhenExpression>
				<staticText>
					<reportElement x="180" y="0" width="170" height="15" uuid="62ab8f4e-2065-47b2-a04a-f216df0a285b">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0" rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Total por Prestador:]]></text>
				</staticText>
				<textField pattern="R$ #,##0.00" isBlankWhenNull="true">
					<reportElement x="485" y="0" width="69" height="15" uuid="f46c576b-f084-46c5-a5ba-4095c7de13aa">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{valor_total}]]></textFieldExpression>
				</textField>
				<textField isBlankWhenNull="true">
					<reportElement x="350" y="0" width="65" height="15" uuid="b3ed63aa-86b0-43c1-be4f-e3d5f80da245">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{quantidade_exames}]]></textFieldExpression>
				</textField>
			</band>
			<band height="30">
				<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico" )]]></printWhenExpression>
				<staticText>
					<reportElement x="317" y="0" width="170" height="15" uuid="830d5485-bbba-4030-9765-128577efe4ca">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0" rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Total de Procedimentos por Prestador:]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement x="490" y="0" width="65" height="15" uuid="317013da-e10f-4e2f-ab2e-36583090e1de">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_prestador}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="317" y="15" width="170" height="15" uuid="cb0a9f72-3571-4108-88c3-d57cf24d157e">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0" rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Valor Total por Prestador:]]></text>
				</staticText>
				<textField pattern="R$ #,##0.00" isBlankWhenNull="true">
					<reportElement x="490" y="15" width="65" height="15" uuid="23c5ca80-e37d-43e0-b935-31a0d047f4ee">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_prestador_analitico}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="grupo_solicitante" isReprintHeaderOnEachPage="true">
		<groupExpression><![CDATA[$F{solicitante}]]></groupExpression>
		<groupHeader>
			<band height="15">
				<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				<textField>
					<reportElement x="60" y="0" width="493" height="15" uuid="12b75fab-d6a8-47f9-8592-5b0f15e533e1">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{solicitante}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="0" width="60" height="15" uuid="d46788b9-dfa4-4930-a96c-dac0688de7b7">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Solicitante:]]></text>
				</staticText>
			</band>
		</groupHeader>
	</group>
	<group name="grupo_procedimento_sintetico">
		<groupExpression><![CDATA[$F{solicitante}]]></groupExpression>
		<groupHeader>
			<band height="15">
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "sintetico" )]]></printWhenExpression>
				<staticText>
					<reportElement positionType="Float" mode="Opaque" x="0" y="0" width="200" height="15" backcolor="#C4C4C4" uuid="bd7b5c0a-e079-4ed3-a3d1-ce6abb2c7e84">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Procedimento / Apelido]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="485" y="0" width="70" height="15" backcolor="#C4C4C4" uuid="1f9b0496-702c-4156-af60-16ee0467348c">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Valor Total]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="270" y="0" width="80" height="15" backcolor="#C4C4C4" uuid="250b4f2c-b7da-49f5-bede-5e70b0511e8a">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Situação]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="200" y="0" width="70" height="15" backcolor="#C4C4C4" uuid="bf2705a1-4976-4dba-8cc3-a1a59307a449">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Cód.SUS]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="350" y="0" width="65" height="15" backcolor="#C4C4C4" uuid="38fa5c84-e687-4b37-913c-39cff77108cd">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Quantidade]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="415" y="0" width="70" height="15" backcolor="#C4C4C4" uuid="c3c4e992-4989-458c-a243-7468454d1c39">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Valor Unitário]]></text>
				</staticText>
			</band>
		</groupHeader>
	</group>
	<group name="grupo_procedimento" isReprintHeaderOnEachPage="true">
		<groupExpression><![CDATA[$F{procedimento}]]></groupExpression>
		<groupHeader>
			<band height="15">
				<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico" )]]></printWhenExpression>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true">
					<reportElement x="75" y="0" width="474" height="15" uuid="73956eba-01bc-4ee3-920f-d1613c445304">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[($F{codigoSus}!= null ? $F{codigoSus}+" - ":"")+$F{procedimento}.trim() + ($F{apelido}!=null ? " / "+$F{apelido}: "")]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="0" width="75" height="15" uuid="01f217be-6a1f-4428-8242-4e5d5b58a08f">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Procedimento:]]></text>
				</staticText>
			</band>
			<band height="15">
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico" )]]></printWhenExpression>
				<staticText>
					<reportElement mode="Opaque" x="295" y="0" width="60" height="15" backcolor="#C4C4C4" uuid="a0465bcc-b102-47ef-9efa-c07523ed51ff">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[CNS]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="480" y="0" width="75" height="15" backcolor="#C4C4C4" uuid="bdf822ae-4c81-4789-8cbd-461e6934fa6c">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Situação]]></text>
				</staticText>
				<staticText>
					<reportElement positionType="Float" mode="Opaque" x="115" y="0" width="180" height="15" backcolor="#C4C4C4" uuid="6c933d62-65ea-4551-91cd-b26be340f0cb">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Paciente]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="0" width="60" height="15" backcolor="#C4C4C4" uuid="4a8a6e3b-ec37-4073-82b7-1d3458d0005b">
						<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"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="6" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Data Atend.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="420" y="0" width="60" height="15" backcolor="#C4C4C4" uuid="cdf7c00a-febf-4c67-a257-23bbe1d4f9bb">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Idade]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="355" y="0" width="65" height="15" backcolor="#C4C4C4" uuid="1106ed2d-dcb5-41d4-93e3-7449d2bf4916">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Data Nasc.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="60" y="0" width="60" height="15" backcolor="#C4C4C4" uuid="9a52ee9e-6668-4f9f-9974-4106d866aa56">
						<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"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="6" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Data Realização]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="39">
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico" )]]></printWhenExpression>
				<staticText>
					<reportElement x="318" y="0" width="170" height="13" uuid="3b2fbefd-7578-4979-8667-edc5eb6548cc">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0" rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Total Procedimentos:]]></text>
				</staticText>
				<textField isBlankWhenNull="true">
					<reportElement x="488" y="0" width="65" height="13" uuid="542a0403-455b-4308-8c08-bacdafb53c48">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="6" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_procedimento}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="318" y="13" width="170" height="13" uuid="f9ef4e8a-b12f-4afe-91f7-efe82cac0e1a">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="0" rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Valor Unitário:]]></text>
				</staticText>
				<textField pattern="R$ #,##0.00" isBlankWhenNull="true">
					<reportElement x="488" y="13" width="65" height="13" uuid="c072aace-94cc-4a06-a51c-fb770cea5490">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="6" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{valorUnitario}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="318" y="26" width="170" height="13" uuid="a4bff1ef-33d2-4b1c-8c60-7f2f6c75517e">
						<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"/>
					</reportElement>
					<box leftPadding="0" rightPadding="0"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="6" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Valor Total:]]></text>
				</staticText>
				<textField pattern="R$ #,##0.00" isBlankWhenNull="true">
					<reportElement x="488" y="26" width="65" height="13" uuid="7e3ba792-c15d-476e-b803-bd1508fb4a9a">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="6" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_procedimento_analitico}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<pageHeader>
		<band height="103" splitType="Stretch">
			<frame>
				<reportElement mode="Opaque" x="0" y="0" width="555" height="70" backcolor="#FFFFFF" uuid="6321f5e3-86eb-444f-acc1-8daaaa0d6c60">
					<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="100" y="7" width="455" height="20" forecolor="#000000" uuid="555240c1-0443-419c-8bf0-7a4f388e4155">
						<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="100" y="27" width="455" height="15" forecolor="#000000" uuid="502aeaee-ee33-429f-a820-6d44c1a2501e">
						<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="5090998c-dbda-4473-beeb-6e51ecea41eb">
						<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="100" y="42" width="455" height="20" forecolor="#000000" uuid="793b703b-ee2c-4fa2-af62-98d51b646058">
						<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 isStretchWithOverflow="true" isBlankWhenNull="false">
				<reportElement x="32" y="90" width="418" height="13" uuid="f0949da5-5f04-4ec0-9fd5-7cc56c1bf05f">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="0" rightPadding="5">
					<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 verticalAlignment="Middle">
					<font size="7"/>
				</textElement>
				<textFieldExpression><![CDATA[($P{FILTRO} != null ? $P{FILTRO} : "Nenhum filtro informado")]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="90" width="32" height="13" uuid="423c9862-62b2-4868-93e3-a5ba1c5289ff">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="5" rightPadding="2">
					<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="Left" verticalAlignment="Middle">
					<font size="7" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Filtros:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement mode="Opaque" x="0" y="70" width="555" height="20" forecolor="#FFFFFF" backcolor="#066990" uuid="27c7256f-d960-4b5c-b965-b9b267c275f8">
					<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>
			<textField isBlankWhenNull="true">
				<reportElement mode="Transparent" x="480" y="90" width="75" height="13" forecolor="#000000" uuid="15f8e6f5-1952-4279-9465-8ddc652962e5">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box padding="2"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font fontName="SansSerif" size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{DADOS_BASICOS}.getUsuario()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="450" y="90" width="30" height="13" forecolor="#000000" uuid="ab59e678-17c8-4678-96a6-423307baa582">
					<printWhenExpression><![CDATA[$P{DADOS_BASICOS}.getUsuario().isEmpty()]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Usuário:]]></text>
			</staticText>
			<textField>
				<reportElement x="555" y="0" width="8" height="90" uuid="b1a2ca58-02c7-4db7-a8d1-7418ca190778">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement rotation="Left">
					<font size="5"/>
				</textElement>
				<textFieldExpression><![CDATA[($P{VERSION} != null && $P{VERSION} != "" ? "v."+$P{VERSION} : "")]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<detail>
		<band height="13">
			<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
			<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico" )]]></printWhenExpression>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="0" y="0" width="59" height="13" printWhenGroupChanges="grupo_solicitante" uuid="2cb6196b-1c0d-46c0-991a-bb01176a0a77">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{data}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="120" y="0" width="175" height="13" printWhenGroupChanges="grupo_solicitante" uuid="0f73a240-38fe-4b47-a384-231c951aff12">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{paciente}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="420" y="0" width="60" height="13" printWhenGroupChanges="grupo_solicitante" uuid="7e1ff774-abe2-4886-913d-d575d75b0770">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{idade} + " ano(s)"]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="480" y="0" width="75" height="13" printWhenGroupChanges="grupo_solicitante" uuid="36e071f0-5da3-42ec-87e8-80ba67897bb7">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{situacao}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="295" y="0" width="60" height="13" uuid="3b761afc-7d70-4775-b12a-fb0e61dd34cf">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{cns}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="355" y="0" width="65" height="13" uuid="65ac66a2-b517-4b7b-8363-cdaaae7eb504">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataNascimento}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="61" y="0" width="59" height="13" printWhenGroupChanges="grupo_solicitante" uuid="5c456903-bc94-4281-9dc4-9df124555b6f">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataRealizacao}]]></textFieldExpression>
			</textField>
		</band>
		<band height="13">
			<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "sintetico" )]]></printWhenExpression>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="0" y="0" width="200" height="13" uuid="7641d52f-280f-4ee8-a5ef-42318c9baaab">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{procedimento}.trim() + ($F{apelido}!=null ? " / "+$F{apelido}: "")]]></textFieldExpression>
			</textField>
			<textField pattern="R$ #,##0.00" isBlankWhenNull="true">
				<reportElement x="485" y="0" width="69" height="13" uuid="7f871c77-2243-45da-a5bf-af7eee0c8af1">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorTotal}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="200" y="0" width="70" height="13" uuid="3ccc4db3-93ae-4a45-af15-be053aba0a99">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{codigoSus}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="270" y="0" width="80" height="13" uuid="4bf3c64d-725a-499e-aaa0-f6f163abadc9">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{situacao}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="350" y="0" width="65" height="13" uuid="a799e593-9b6d-4c2e-81ef-18c85c5eb546">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
			</textField>
			<textField pattern="R$ #,##0.00" isBlankWhenNull="true">
				<reportElement x="415" y="0" width="70" height="13" uuid="6bd0385e-098e-42c4-b6c0-a9b3b4f35b81">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="5"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{valorUnitario}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="13">
			<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
			<textField pattern="dd/MM/yyyy">
				<reportElement mode="Opaque" x="0" y="0" width="60" height="13" backcolor="#FFFFFF" uuid="fc593335-5cbf-4caf-97b3-ff897c676bde"/>
				<box padding="2">
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Left">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement mode="Opaque" x="60" y="0" width="420" height="13" backcolor="#FFFFFF" uuid="8c2f09c6-c33b-4843-8073-d7317eb5fec7"/>
				<box topPadding="2" leftPadding="5">
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Top">
					<font size="6" isBold="true"/>
				</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 evaluationTime="Report">
				<reportElement mode="Opaque" x="520" y="0" width="34" height="13" backcolor="#FFFFFF" uuid="e23172c0-b031-4149-a7c8-2f392fce1b01">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box topPadding="2" leftPadding="2" rightPadding="5">
					<topPen lineWidth="1.0"/>
				</box>
				<textElement>
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Opaque" x="480" y="0" width="40" height="13" backcolor="#FFFFFF" uuid="e0cdfef1-7c64-44ee-8eb7-a5c3e96d98e4"/>
				<box topPadding="2">
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Right">
					<font size="6" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA["Pág. "+$V{PAGE_NUMBER}+" de "]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band height="100">
			<staticText>
				<reportElement x="0" y="85" width="490" height="15" uuid="b0fc6836-c4f6-431e-b136-c0d81cc303e7">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "sintetico") && $P{FILTRO}.endsWith("TODOS")]]></printWhenExpression>
				</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="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Total de Procedimentos:]]></text>
			</staticText>
			<textField>
				<reportElement x="490" y="85" width="65" height="15" isPrintWhenDetailOverflows="true" uuid="6e0b8f88-113a-4ae0-9e9f-393e926e2499">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "sintetico") && $P{FILTRO}.endsWith("TODOS")]]></printWhenExpression>
				</reportElement>
				<box rightPadding="0">
					<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="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_geral_sintetico}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="85" width="490" height="15" uuid="2b73755e-5e61-42e1-bdc0-5f609cce75f7">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico") && $P{FILTRO}.endsWith("TODOS")]]></printWhenExpression>
				</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="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Total de Procedimentos:]]></text>
			</staticText>
			<textField>
				<reportElement x="490" y="85" width="65" height="15" isPrintWhenDetailOverflows="true" uuid="94a7aefa-7a53-4f10-8363-0735c8398550">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico") && $P{FILTRO}.endsWith("TODOS")]]></printWhenExpression>
				</reportElement>
				<box rightPadding="0">
					<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="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_procedimento_geral_analitico}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="0" width="490" height="15" uuid="aaeaa1d0-43e7-403f-89c9-910894ec621b">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "sintetico")]]></printWhenExpression>
				</reportElement>
				<box>
					<topPen lineWidth="1.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="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Valor Total de Todos os Procedimentos:]]></text>
			</staticText>
			<textField isStretchWithOverflow="true" pattern="R$ #,##0.00" isBlankWhenNull="true">
				<reportElement x="490" y="0" width="66" height="15" isPrintWhenDetailOverflows="true" uuid="e9b9fb48-52e5-4ab0-9999-1f7ae40ff075">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "sintetico")]]></printWhenExpression>
				</reportElement>
				<box rightPadding="0">
					<topPen lineWidth="1.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="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_valor_sintetico}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="0" y="0" width="490" height="15" uuid="e7aeef43-589b-431e-a25f-d709e2cb8db1">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico")]]></printWhenExpression>
				</reportElement>
				<box>
					<topPen lineWidth="1.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="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Valor Total de Todos os Procedimentos:]]></text>
			</staticText>
			<textField pattern="R$ #,##0.00" isBlankWhenNull="true">
				<reportElement x="490" y="0" width="66" height="15" isPrintWhenDetailOverflows="true" uuid="7f57dcfc-6ec4-4dc8-b8ac-97f4e12e4123">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "analitico")]]></printWhenExpression>
				</reportElement>
				<box rightPadding="0">
					<topPen lineWidth="1.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="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_geral_analitico}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="138" y="25" width="352" height="15" isRemoveLineWhenBlank="true" uuid="47c104e6-2d1c-4318-b7fe-77cf425b344e">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{FILTRO}.endsWith("TODOS") || $P{FILTRO}.endsWith("CANCELADO")]]></printWhenExpression>
				</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="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Total de Procedimentos Cancelados:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="490" y="25" width="66" height="15" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="10a3efbd-cef4-481a-92d9-29ec397894e0">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{FILTRO}.endsWith("TODOS") || $P{FILTRO}.endsWith("CANCELADO")]]></printWhenExpression>
				</reportElement>
				<box rightPadding="0">
					<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="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_procedimentos_cancelados}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="138" y="40" width="352" height="15" isRemoveLineWhenBlank="true" uuid="5cfc9673-d603-407f-8225-033cf50ec9fd">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{FILTRO}.endsWith("TODOS") || $P{FILTRO}.endsWith("REALIZADO")]]></printWhenExpression>
				</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="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Total de Procedimentos Realizados:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="490" y="40" width="66" height="15" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="f8015590-56d0-42d7-be67-d8abfc44d231">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{FILTRO}.endsWith("TODOS") || $P{FILTRO}.endsWith("REALIZADO")]]></printWhenExpression>
				</reportElement>
				<box rightPadding="0">
					<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="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_procedimentos_realizados}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="138" y="55" width="352" height="15" isRemoveLineWhenBlank="true" uuid="4647faa2-195b-4123-a40e-dae662e5c1d1">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{FILTRO}.endsWith("TODOS") || $P{FILTRO}.endsWith("AGENDADO")]]></printWhenExpression>
				</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="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Total de Procedimentos Agendados:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="490" y="55" width="66" height="15" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="5255bbfb-2095-4170-9b8f-622ed070f23b">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{FILTRO}.endsWith("TODOS") || $P{FILTRO}.endsWith("AGENDADO")]]></printWhenExpression>
				</reportElement>
				<box rightPadding="0">
					<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="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_procedimentos_agendados}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="138" y="70" width="352" height="15" isRemoveLineWhenBlank="true" uuid="147443c2-017e-4141-ac46-832020bd629b">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{FILTRO}.endsWith("TODOS") || $P{FILTRO}.endsWith("FALTA")]]></printWhenExpression>
				</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="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Total de Procedimentos Faltosos:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="490" y="70" width="66" height="15" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true" uuid="f9aa144f-4b3b-41c3-9db6-e0c9918226a1">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<printWhenExpression><![CDATA[$P{FILTRO}.endsWith("TODOS") || $P{FILTRO}.endsWith("FALTA")]]></printWhenExpression>
				</reportElement>
				<box rightPadding="0">
					<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="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_procedimentos_faltosos}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
</jasperReport>
