<?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="842" pageHeight="595" orientation="Landscape" columnWidth="802" 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"/>
	<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.columnSpacing" 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>
	<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">
		<parameterDescription><![CDATA[]]></parameterDescription>
	</parameter>
	<parameter name="VERSION" class="java.lang.String"/>
	<parameter name="AGRUPAMENTO" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="fila" class="java.lang.String"/>
	<field name="ordem" class="java.lang.Integer"/>
	<field name="usuario" class="java.lang.String"/>
	<field name="cartaoSus" class="java.lang.String"/>
	<field name="atendimento" class="java.lang.String"/>
	<field name="prioridade" class="java.lang.String"/>
	<field name="dataEntrada" class="java.util.Date"/>
	<field name="status" class="java.lang.String"/>
	<field name="procedimento" class="java.lang.String"/>
	<field name="especialidade" class="java.lang.String"/>
	<field name="celular" class="java.lang.String"/>
	<field name="telefone" class="java.lang.String"/>
	<field name="medicoSolicitante" class="java.lang.String"/>
	<variable name="total_geral" class="java.lang.Integer" calculation="Count">
		<variableExpression><![CDATA[$V{grupo_fila_COUNT}]]></variableExpression>
		<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
	</variable>
	<variable name="total_fila" class="java.lang.Integer" resetType="Group" resetGroup="grupo_fila" calculation="Count">
		<variableExpression><![CDATA[$V{grupo_fila_COUNT}]]></variableExpression>
		<initialValueExpression><![CDATA[new Integer(0)]]></initialValueExpression>
	</variable>
	<variable name="total_procedimento" class="java.lang.Integer" resetType="Group" resetGroup="gp_procedimento" calculation="Count">
		<variableExpression><![CDATA[$F{usuario}]]></variableExpression>
	</variable>
	<variable name="total_especialidade" class="java.lang.Integer" resetType="Group" resetGroup="grupo_especialidade" calculation="Count">
		<variableExpression><![CDATA[$F{usuario}]]></variableExpression>
	</variable>
	<group name="grupo_fila" isReprintHeaderOnEachPage="true">
		<groupExpression><![CDATA[$F{fila}]]></groupExpression>
		<groupHeader>
			<band height="30">
				<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "nome_cns" ) && $P{AGRUPAMENTO}.equalsIgnoreCase( "N" )]]></printWhenExpression>
				<staticText>
					<reportElement x="0" y="2" width="80" 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[Fila de Espera:]]></text>
				</staticText>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" x="80" y="2" width="475" height="15" uuid="c4f1ab82-1748-4a1a-8ce9-584c448ba1ad">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{fila}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="0" y="17" width="45" height="13" backcolor="#C4C4C4" uuid="2260235a-e819-4b67-8dd3-6cb0e1e6b03c">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Ordem]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="45" y="17" width="60" height="13" backcolor="#C4C4C4" uuid="807a2579-2834-4998-a242-14c8e0467859">
						<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="105" y="17" width="150" height="13" backcolor="#C4C4C4" uuid="1de6b97c-913f-4078-a084-72ece084abcc">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Paciente]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="255" y="17" width="97" height="13" backcolor="#C4C4C4" uuid="c35fa431-3628-4530-892b-dd2a5ad5f8e2">
						<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[Telefone(s)]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="352" y="17" width="140" height="13" backcolor="#C4C4C4" uuid="e761e061-50ae-41a9-ba66-09f1b60a326d">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Médico Solicitante]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="492" y="17" width="70" height="13" backcolor="#C4C4C4" uuid="f1f5a8d6-dc2c-49f8-99de-778278a5582f">
						<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[Prioridade]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="562" y="17" width="80" height="13" backcolor="#C4C4C4" uuid="917bda8c-f558-424c-8f11-a4ab6fc881d9">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Tipo de Atend.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="642" y="17" width="70" height="13" backcolor="#C4C4C4" uuid="398725c9-09c6-4e71-8f35-2ba3e125575a">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Dt. Solicitação]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="712" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="45e1aa74-0b6e-4882-b344-0e7e7b804a0c">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Status]]></text>
				</staticText>
			</band>
			<band height="30">
				<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				<printWhenExpression><![CDATA[!$P{TP_REL}.equalsIgnoreCase( "nome_cns" ) && $P{AGRUPAMENTO}.equalsIgnoreCase( "N" )]]></printWhenExpression>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" x="80" y="2" width="475" height="15" uuid="6af30781-9a35-4853-9e9f-b13801673d6c">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{fila}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="0" y="2" width="80" height="15" uuid="60749777-5064-4a9f-bd83-ba218e41a990">
						<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[Fila de Espera:]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="702" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="bc7799b1-b0bd-40f1-b9fa-212e7f8d41cb">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Status]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="612" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="e0585448-f5f5-4ebf-b73d-e0942715e649">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Data Solicitação]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="512" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="83a2fb47-47ac-4ed5-a6e3-6a3882366095">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Tipo de Atend.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="412" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="3178ebc4-18d9-4037-89ff-2a66b54fa723">
						<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[Prioridade]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="269" y="17" width="143" height="13" backcolor="#C4C4C4" uuid="bf6e14c2-6a84-4422-9c34-6d257d1ad573">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Médico Solicitante]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="150" y="17" width="119" height="13" backcolor="#C4C4C4" uuid="be25ac69-4804-48d5-a495-a90cebe59e3a">
						<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[Telefone(s)]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="17" width="60" height="13" backcolor="#C4C4C4" uuid="5f7825f3-a14c-4609-a215-784b7bd8cb99">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Ordem]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="60" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="49992e69-05ef-4830-936d-500277f61336">
						<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>
			</band>
			<band height="17">
				<printWhenExpression><![CDATA[!$P{AGRUPAMENTO}.equalsIgnoreCase( "N" )]]></printWhenExpression>
				<staticText>
					<reportElement x="0" y="2" width="80" height="15" uuid="f625bf66-c09b-4e12-b156-335232982f5d">
						<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[Fila de Espera:]]></text>
				</staticText>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" x="80" y="2" width="475" height="15" uuid="ce2781df-29c2-46e3-a0d0-19470c37a145">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<textElement verticalAlignment="Middle">
						<font size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{fila}]]></textFieldExpression>
				</textField>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="15">
				<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				<staticText>
					<reportElement x="370" y="0" width="376" height="13" printWhenGroupChanges="grupo_fila" uuid="f5ede3d7-8033-43a5-a98d-cb4ccab0744f"/>
					<box rightPadding="2"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Total de Solicitações Fila:]]></text>
				</staticText>
				<textField>
					<reportElement x="747" y="0" width="55" height="13" printWhenGroupChanges="grupo_fila" uuid="b5df2e44-af9e-4288-bd8e-0ed7ce16b740">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box rightPadding="5"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_fila}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<group name="gp_procedimento" isReprintHeaderOnEachPage="true">
		<groupExpression><![CDATA[$F{procedimento}]]></groupExpression>
		<groupHeader>
			<band height="30">
				<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "nome_cns" ) && $P{AGRUPAMENTO}.equalsIgnoreCase( "P" )]]></printWhenExpression>
				<staticText>
					<reportElement x="5" y="0" width="75" height="15" uuid="ce633919-c55d-4990-9c83-9d5ab4a86b11">
						<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>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" x="80" y="0" width="475" height="15" uuid="9e3d2bd3-3d26-4ede-a7b8-c93385d14f56">
						<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{procedimento}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="562" y="17" width="80" height="13" backcolor="#C4C4C4" uuid="01673f5d-83ce-4b14-acf8-26e3bb272ecc">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Tipo de Atend.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="642" y="17" width="70" height="13" backcolor="#C4C4C4" uuid="e39b7853-2091-4742-b2df-d9fc1dcbb614">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Dt. Solicitação]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="492" y="17" width="70" height="13" backcolor="#C4C4C4" uuid="6da42d03-3ceb-4889-961d-4bda36c32e08">
						<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[Prioridade]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="0" y="17" width="45" height="13" backcolor="#C4C4C4" uuid="d4632b16-6cfb-4647-8bb4-f75d7cffdeba">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Ordem]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="712" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="57721bce-dec6-4645-9cbe-ec58774790c4">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Status]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="45" y="17" width="60" height="13" backcolor="#C4C4C4" uuid="d6e190c0-9d80-4a81-9a5b-521505ef3c9b">
						<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="105" y="17" width="150" height="13" backcolor="#C4C4C4" uuid="cc659dd3-bd90-4672-b4a3-9477941e6f1f">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Paciente]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="352" y="17" width="140" height="13" backcolor="#C4C4C4" uuid="0073620a-0889-4dc4-a482-5e89ab9e973a">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Médico Solicitante]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="255" y="17" width="97" height="13" backcolor="#C4C4C4" uuid="53071d8c-93be-46f5-b75f-b2aad95cde8b">
						<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[Telefone(s)]]></text>
				</staticText>
			</band>
			<band height="30">
				<printWhenExpression><![CDATA[!$P{TP_REL}.equalsIgnoreCase( "nome_cns" ) && $P{AGRUPAMENTO}.equalsIgnoreCase( "P" )]]></printWhenExpression>
				<staticText>
					<reportElement x="5" y="0" width="75" height="15" uuid="20ea8c84-5aeb-433c-a6f1-3f461287f05a">
						<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>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" x="80" y="0" width="475" height="15" uuid="d109e9d1-657e-4c5c-ae92-dc9d030681e4">
						<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{procedimento}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="702" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="65b706ba-58d3-4c9f-ac18-ba00061d181f">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Status]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="612" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="931b14ec-1534-4606-be4a-8a1b1cf6fe18">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Data Solicitação]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="512" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="ed5d41a4-42a8-4b55-9b17-f83a992041bd">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Tipo de Atend.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="412" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="83dac4da-7998-4b37-9990-bf8266c94562">
						<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[Prioridade]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="269" y="17" width="143" height="13" backcolor="#C4C4C4" uuid="7b066f36-3770-48c1-9501-00f8067afd93">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Médico Solicitante]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="150" y="17" width="119" height="13" backcolor="#C4C4C4" uuid="5ad97a10-e806-450c-b5bd-26c68de638d8">
						<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[Telefone(s)]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="60" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="dab5f180-3a21-43c7-9776-fef6fd78584b">
						<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="0" y="17" width="60" height="13" backcolor="#C4C4C4" uuid="3b839f2b-f900-4fb4-aebf-2ff97756b1fa">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Ordem]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="13">
				<printWhenExpression><![CDATA[$P{AGRUPAMENTO}.equalsIgnoreCase( "P" )]]></printWhenExpression>
				<textField>
					<reportElement x="747" y="0" width="55" height="13" printWhenGroupChanges="grupo_fila" uuid="bb10b5fb-c001-4891-b279-80dc74082087">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box rightPadding="5"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_procedimento}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement x="280" y="0" width="466" height="13" printWhenGroupChanges="grupo_fila" uuid="cf429b69-3c84-4089-8b46-2efa1e886ded"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Total de Solicitações Procedimento:]]></text>
				</staticText>
			</band>
		</groupFooter>
	</group>
	<group name="grupo_especialidade" isReprintHeaderOnEachPage="true">
		<groupExpression><![CDATA[$F{especialidade}]]></groupExpression>
		<groupHeader>
			<band height="30">
				<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "nome_cns" ) && $P{AGRUPAMENTO}.equalsIgnoreCase( "E" )]]></printWhenExpression>
				<staticText>
					<reportElement x="5" y="0" width="75" height="15" uuid="971601f1-1f74-4e0a-967a-c130829030a0">
						<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[Especialidade:]]></text>
				</staticText>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" x="80" y="0" width="475" height="15" uuid="82ad55d4-a7d8-4f1d-964d-82dff70efe3e">
						<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{especialidade}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="0" y="17" width="45" height="13" backcolor="#C4C4C4" uuid="da7a8ef0-d093-44e3-97b2-5c5b85fde72e">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Ordem]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="45" y="17" width="60" height="13" backcolor="#C4C4C4" uuid="72029415-2833-4f9a-bc38-c016032e2162">
						<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="105" y="17" width="150" height="13" backcolor="#C4C4C4" uuid="9ca6db66-0821-4d0e-b3b2-75c8e5b929bd">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
						<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Paciente]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="255" y="17" width="97" height="13" backcolor="#C4C4C4" uuid="6f70ed43-2672-42b3-b802-d48c64b42d64">
						<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[Telefone(s)]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="352" y="17" width="140" height="13" backcolor="#C4C4C4" uuid="68d15a14-aecc-4c88-ba5f-e75b84e70266">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Médico Solicitante]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="492" y="17" width="70" height="13" backcolor="#C4C4C4" uuid="2e0a4590-0783-49cc-b28a-f27d149d2051">
						<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[Prioridade]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="562" y="17" width="80" height="13" backcolor="#C4C4C4" uuid="1e9c7cf5-6c7c-4c84-9681-337239cb61b1">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Tipo de Atend.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="642" y="17" width="70" height="13" backcolor="#C4C4C4" uuid="d958bbea-abda-4273-a052-c436a6e0ef93">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Dt. Solicitação]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="712" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="8dc51ee2-946a-496e-94ef-86e8e379541a">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Status]]></text>
				</staticText>
			</band>
			<band height="30">
				<printWhenExpression><![CDATA[!$P{TP_REL}.equalsIgnoreCase( "nome_cns" ) && $P{AGRUPAMENTO}.equalsIgnoreCase( "E" )]]></printWhenExpression>
				<staticText>
					<reportElement x="5" y="0" width="75" height="15" uuid="745a91fc-618c-41e9-89cc-096341ff11b5">
						<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[Especialidade:]]></text>
				</staticText>
				<textField>
					<reportElement stretchType="RelativeToTallestObject" x="80" y="0" width="475" height="15" uuid="7a81eb72-e855-4bdf-a134-5a70142df8ba">
						<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{especialidade}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement mode="Opaque" x="0" y="17" width="60" height="13" backcolor="#C4C4C4" uuid="cf7e1413-fa38-4021-bcd9-c0decbd3ac25">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="5"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Ordem]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="60" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="b624308c-f834-46cf-a799-fa07b0029fb0">
						<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="150" y="17" width="119" height="13" backcolor="#C4C4C4" uuid="ec9e57b3-e0ef-442f-a379-71782411b179">
						<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[Telefone(s)]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="269" y="17" width="143" height="13" backcolor="#C4C4C4" uuid="f068e834-1879-44d0-9dd5-fad84de00960">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="2"/>
					<textElement textAlignment="Left" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Médico Solicitante]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="412" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="2d4843f3-5416-46b1-bc6c-5595223dad95">
						<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[Prioridade]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="512" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="94203a07-51d6-4198-b865-07727b515d61">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Tipo de Atend.]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="612" y="17" width="90" height="13" backcolor="#C4C4C4" uuid="103a7813-b2a0-4506-abc4-04e98f7622ab">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Data Solicitação]]></text>
				</staticText>
				<staticText>
					<reportElement mode="Opaque" x="702" y="17" width="100" height="13" backcolor="#C4C4C4" uuid="8eb24df7-c210-4676-924d-f351f0080a11">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box leftPadding="0"/>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Status]]></text>
				</staticText>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="13">
				<printWhenExpression><![CDATA[$P{AGRUPAMENTO}.equalsIgnoreCase( "E" )]]></printWhenExpression>
				<staticText>
					<reportElement x="280" y="0" width="466" height="13" printWhenGroupChanges="grupo_fila" uuid="b0030035-2ca1-4b44-aee2-53620f9f76d6"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
					</textElement>
					<text><![CDATA[Total de Solicitações Especialidade:]]></text>
				</staticText>
				<textField>
					<reportElement x="747" y="0" width="55" height="13" printWhenGroupChanges="grupo_fila" uuid="2e0b723d-2b2d-4ab1-a8d3-30672f0c3b1f">
						<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					</reportElement>
					<box rightPadding="5"/>
					<textElement textAlignment="Right" verticalAlignment="Middle">
						<font size="8" isBold="true"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{total_especialidade}]]></textFieldExpression>
				</textField>
			</band>
		</groupFooter>
	</group>
	<pageHeader>
		<band height="103" splitType="Stretch">
			<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="Transparent" x="679" y="90" width="123" 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="649" y="90" width="30" height="13" forecolor="#000000" uuid="ab59e678-17c8-4678-96a6-423307baa582"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="6" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Usuário:]]></text>
			</staticText>
			<frame>
				<reportElement mode="Opaque" x="0" y="0" width="802" height="70" backcolor="#FFFFFF" uuid="745d563b-5cea-4094-bfed-a9a50169b041">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
					<property name="ShowOutOfBoundContent" value="false"/>
				</reportElement>
				<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
					<pen lineColor="#066990"/>
					<topPen lineWidth="2.0"/>
					<leftPen lineWidth="2.0"/>
					<rightPen lineWidth="2.0"/>
				</box>
				<textField isBlankWhenNull="true">
					<reportElement mode="Transparent" x="174" y="7" width="455" height="20" forecolor="#000000" uuid="01b87b21-4139-49fe-8b76-4b92c0f2460a">
						<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="174" y="27" width="455" height="15" forecolor="#000000" uuid="1b492bf0-b92b-48a4-91d5-ac9e6dee9917">
						<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="75" y="7" width="90" height="55" backcolor="#FFFFFF" uuid="da6e2b11-651d-4ea7-b22b-79b0539d871c">
						<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="174" y="42" width="455" height="20" forecolor="#000000" uuid="dc520693-d66c-4dc2-84a4-cce5a866e18f">
						<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="0" y="70" width="802" height="20" forecolor="#FFFFFF" backcolor="#066990" uuid="7994e884-d39f-4957-a313-8ac42f728cd5">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box leftPadding="0" rightPadding="0">
					<pen lineColor="#066990"/>
					<leftPen lineWidth="2.0"/>
					<rightPen lineWidth="2.0"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="9" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="802" y="0" width="8" height="90" uuid="f9813ae8-bd29-4613-9035-24e95b34081f">
					<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="15">
			<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
			<printWhenExpression><![CDATA[$P{TP_REL}.equalsIgnoreCase( "nome_cns" )]]></printWhenExpression>
			<textField isBlankWhenNull="true">
				<reportElement x="0" y="0" width="45" height="13" printWhenGroupChanges="grupo_fila" uuid="2cb6196b-1c0d-46c0-991a-bb01176a0a77">
					<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="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{ordem}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="45" y="0" width="60" height="13" printWhenGroupChanges="grupo_fila" uuid="0f73a240-38fe-4b47-a384-231c951aff12">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<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{cartaoSus}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="492" y="0" width="70" height="13" printWhenGroupChanges="grupo_fila" uuid="7e1ff774-abe2-4886-913d-d575d75b0770">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{prioridade}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="562" y="0" width="80" height="13" printWhenGroupChanges="grupo_fila" uuid="36e071f0-5da3-42ec-87e8-80ba67897bb7">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{atendimento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="105" y="0" width="150" height="13" printWhenGroupChanges="grupo_fila" uuid="8c66e473-01ee-4935-b613-3457b4d5dbf5"/>
				<box leftPadding="2"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{usuario}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="true">
				<reportElement x="642" y="0" width="70" height="13" printWhenGroupChanges="grupo_fila" uuid="d313316a-da89-47ac-ae9a-83254f0e0236">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{dataEntrada}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="712" y="0" width="90" height="13" printWhenGroupChanges="grupo_fila" uuid="aea1fde1-251e-4cb6-bc44-4b4f16abe5ac">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="352" y="0" width="140" height="13" printWhenGroupChanges="grupo_fila" uuid="22cd5120-7f7c-4760-9801-bf32ed2cb750">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{medicoSolicitante}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="255" y="0" width="97" height="13" printWhenGroupChanges="grupo_fila" uuid="03073635-72db-4bce-abd6-6d65982d4680">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[($F{telefone}!=null ? $F{telefone}: "")+ " "+($F{celular}!=null ? $F{celular}: "")]]></textFieldExpression>
			</textField>
		</band>
		<band height="15">
			<printWhenExpression><![CDATA[!$P{TP_REL}.equalsIgnoreCase( "nome_cns" )]]></printWhenExpression>
			<textField isBlankWhenNull="true">
				<reportElement x="0" y="0" width="60" height="13" printWhenGroupChanges="grupo_fila" uuid="2103e942-0688-4acc-86e1-bbadfea41dc2">
					<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{ordem}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="60" y="0" width="90" height="13" printWhenGroupChanges="grupo_fila" uuid="57055cf7-d313-453a-9bdb-e4c23b9edcfa">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{cartaoSus}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="412" y="0" width="100" height="13" printWhenGroupChanges="grupo_fila" uuid="19daa137-cc66-447b-b602-83dc5a8d23bc">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<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{prioridade}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="512" y="0" width="100" height="13" printWhenGroupChanges="grupo_fila" uuid="11284634-f47d-40f5-96a1-393a39e4d170">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{atendimento}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="true">
				<reportElement x="612" y="0" width="90" height="13" printWhenGroupChanges="grupo_fila" uuid="b49a7fe7-5492-4048-aff5-62ed766a07a7">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
					<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{dataEntrada}]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement x="702" y="0" width="100" height="13" printWhenGroupChanges="grupo_fila" uuid="48f59e54-fbef-4098-bf35-869735a6471b">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{status}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="268" y="0" width="144" height="13" printWhenGroupChanges="grupo_fila" uuid="9374fe2e-42b7-4580-bee9-a13cbc35e7c5">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="2"/>
				<textElement textAlignment="Left" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{medicoSolicitante}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="150" y="0" width="118" height="13" printWhenGroupChanges="grupo_fila" uuid="d7a00b0b-3d76-493a-baa9-766fdc21f500">
					<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
				</reportElement>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="6"/>
				</textElement>
				<textFieldExpression><![CDATA[($F{telefone}!=null ? $F{telefone}: "")+ " "+($F{celular}!=null ? $F{celular}: "")]]></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="668" 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="768" y="0" width="34" height="13" backcolor="#FFFFFF" uuid="ecc1b2cb-b8a5-404e-9abb-bda9131afb0d">
					<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="728" y="0" width="40" height="13" backcolor="#FFFFFF" uuid="ddacae81-04c3-49d7-bbfd-3ba53424fe16"/>
				<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="13">
			<staticText>
				<reportElement x="0" y="0" width="748" height="13" uuid="552139af-0780-404f-b70f-9795b79365ed">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box>
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8" isBold="true" pdfFontName="Helvetica-Bold"/>
				</textElement>
				<text><![CDATA[Total de Solicitações:]]></text>
			</staticText>
			<textField isBlankWhenNull="true">
				<reportElement x="748" y="0" width="54" height="13" uuid="253422c9-c600-42cf-9ff4-0bc75c5fd1f2">
					<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
				</reportElement>
				<box rightPadding="5">
					<topPen lineWidth="1.0"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font size="8" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$V{total_geral}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
</jasperReport>
