<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="hanseniase" pageWidth="870" pageHeight="595" columnWidth="860" leftMargin="10" rightMargin="0" topMargin="20" bottomMargin="0">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="201"/>
	<property name="ireport.y" value="0"/>
	<parameter name="parNomeMunicipio" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="parUf" class="java.lang.String">
		<defaultValueExpression><![CDATA["23"]]></defaultValueExpression>
	</parameter>
	<parameter name="parConfig" class="java.lang.String"/>
	<parameter name="parPeriodo" class="java.lang.String"/>
	<parameter name="parTipo" class="java.lang.String"/>
	<parameter name="parDataInicio" class="java.lang.String">
		<defaultValueExpression><![CDATA["2007-01-01"]]></defaultValueExpression>
	</parameter>
	<parameter name="parDataFim" class="java.lang.String">
		<defaultValueExpression><![CDATA["2007-01-31"]]></defaultValueExpression>
	</parameter>
	<parameter name="parSgUf" class="java.lang.String">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["C:\\Users\\Geraldo\\Documents\\NetBeansProjects\\sinan_relatrorios\\src\\com\\org\\relatorios\\postgres\\dengue\\"]]></defaultValueExpression>
	</parameter>
	<parameter name="parCompletitude" class="java.lang.String">
		<defaultValueExpression><![CDATA[""]]></defaultValueExpression>
	</parameter>
	<parameter name="parTitulo1" class="java.lang.String"/>
	<parameter name="parRodape" class="java.lang.String"/>
	<parameter name="parVersao" class="java.lang.String"/>
	<parameter name="parDataAtual" class="java.lang.String"/>
	<parameter name="parArquivos" class="java.lang.String"/>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="cura" class="java.lang.String"/>
	<field name="nomeMunicipio" class="java.lang.String"/>
	<field name="denominador" class="java.lang.String"/>
	<field name="transfMesmoMunicipio" class="java.lang.String"/>
	<field name="transfOutroMunicipio" class="java.lang.String"/>
	<field name="transfOutroUf" class="java.lang.String"/>
	<field name="naoPreenchido" class="java.lang.String"/>
	<field name="erroDiagnostico" class="java.lang.String"/>
	<field name="perNaoPreenchido" class="java.lang.String"/>
	<field name="subTotal" class="java.lang.String"/>
	<field name="total" class="java.lang.String"/>
	<field name="perAbandono" class="java.lang.String"/>
	<field name="perCura" class="java.lang.String"/>
	<field name="transfOutroPais" class="java.lang.String"/>
	<field name="obito" class="java.lang.String"/>
	<field name="abandono" class="java.lang.String"/>
	<field name="transfNaoEspecificada" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="116" splitType="Stretch">
			<staticText>
				<reportElement x="435" y="0" width="302" height="22" forecolor="#000000"/>
				<textElement>
					<font fontName="Arial" size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Sistema de Informação de Agravos de Notificação - Sinan]]></text>
			</staticText>
			<textField>
				<reportElement x="1" y="2" width="434" height="20"/>
				<textElement>
					<font fontName="Arial Black" size="8" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["República Federativa do Brasil - Ministério da Saúde\n"+$P{parConfig}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="774" y="-1" width="19" height="20"/>
				<textElement>
					<font fontName="SansSerif"/>
				</textElement>
				<textFieldExpression class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="740" y="0" width="43" height="20"/>
				<textElement>
					<font fontName="Arial"/>
				</textElement>
				<text><![CDATA[Página: ]]></text>
			</staticText>
			<textField>
				<reportElement x="1" y="22" width="800" height="22"/>
				<textElement>
					<font size="12" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{parTitulo1}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="338" y="45" width="463" height="69"/>
				<box leftPadding="1">
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement>
					<font fontName="SansSerif" size="9"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{parPeriodo}+$P{parArquivos}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="1" y="45" width="337" height="69"/>
				<box leftPadding="1">
					<pen lineWidth="1.0"/>
					<topPen lineWidth="1.0"/>
					<leftPen lineWidth="1.0"/>
					<bottomPen lineWidth="1.0"/>
					<rightPen lineWidth="1.0"/>
				</box>
				<textElement>
					<font fontName="SansSerif"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{parNomeMunicipio}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="37" splitType="Stretch">
			<textField>
				<reportElement x="771" y="6" width="32" height="14"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Total"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="194" y="3" width="34" height="33"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7" isBold="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["% de \nCura"]]></textFieldExpression>
			</textField>
			<line direction="BottomUp">
				<reportElement x="622" y="2" width="1" height="35"/>
			</line>
			<line>
				<reportElement x="0" y="0" width="802" height="2"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="662" y="2" width="1" height="35"/>
			</line>
			<textField>
				<reportElement x="687" y="3" width="51" height="32"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Sub Total \n100%"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="228" y="2" width="46" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Abandono"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="274" y="3" width="46" height="32"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["% de \nAbandono"]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="34" width="803" height="3"/>
			</line>
			<textField>
				<reportElement x="168" y="4" width="26" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Cura"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="322" y="2" width="48" height="33"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Transf. mesmo \n município"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="368" y="4" width="60" height="31"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Transf. outro \n município, \nmesma UF"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="471" y="3" width="47" height="32"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Transf. \npara \noutro país"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="520" y="4" width="47" height="22"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Não\n Preenchido"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="732" y="6" width="38" height="29"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Erro \nDiagnóstico"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="663" y="6" width="24" height="20"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Óbito"]]></textFieldExpression>
			</textField>
			<line direction="BottomUp">
				<reportElement x="194" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="693" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="567" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="473" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="427" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="366" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="320" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="227" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="273" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="163" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="731" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="770" y="2" width="1" height="35"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="802" y="2" width="1" height="35"/>
			</line>
			<textField>
				<reportElement x="567" y="4" width="54" height="31"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["% de não \n preenchido"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="623" y="1" width="35" height="34"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Transf. \nnão especif."]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="427" y="3" width="47" height="32"/>
				<textElement textAlignment="Center">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Transf. \noutra UF"]]></textFieldExpression>
			</textField>
			<line direction="BottomUp">
				<reportElement x="517" y="2" width="1" height="35"/>
			</line>
			<textField>
				<reportElement x="0" y="0" width="163" height="20"/>
				<textElement>
					<font fontName="SansSerif" size="12" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Local de residência atual"]]></textFieldExpression>
			</textField>
		</band>
	</columnHeader>
	<detail>
		<band height="19" splitType="Stretch">
			<textField>
				<reportElement x="437" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{transfOutroUf}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="17" width="803" height="1"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="194" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="693" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="567" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="473" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="427" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="366" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="320" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="227" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="273" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="163" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="662" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="622" y="2" width="1" height="15"/>
			</line>
			<textField>
				<reportElement x="0" y="3" width="163" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{nomeMunicipio}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="202" y="2" width="25" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{perCura}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="486" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{transfOutroPais}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="379" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{transfOutroMunicipio}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="330" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{transfMesmoMunicipio}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="285" y="2" width="30" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{perAbandono}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="528" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{naoPreenchido}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="668" y="2" width="26" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{obito}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="698" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{subTotal}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="738" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{erroDiagnostico}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="173" y="2" width="25" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{cura}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="241" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{abandono}]]></textFieldExpression>
			</textField>
			<line direction="BottomUp">
				<reportElement x="731" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="770" y="2" width="1" height="15"/>
			</line>
			<line direction="BottomUp">
				<reportElement x="802" y="2" width="1" height="15"/>
			</line>
			<textField>
				<reportElement x="584" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{perNaoPreenchido}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="632" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{transfNaoEspecificada}]]></textFieldExpression>
			</textField>
			<line direction="BottomUp">
				<reportElement x="517" y="2" width="1" height="15"/>
			</line>
			<textField>
				<reportElement x="773" y="2" width="32" height="15"/>
				<textElement>
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{total}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="29" splitType="Stretch">
			<textField>
				<reportElement x="606" y="4" width="195" height="20"/>
				<textElement>
					<font fontName="SansSerif"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["SINAN Relatórios - Versão "+$P{parVersao}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="6" y="4" width="115" height="20"/>
				<textElement>
					<font fontName="SansSerif"/>
				</textElement>
				<text><![CDATA[Relatório obtido no dia ]]></text>
			</staticText>
			<textField>
				<reportElement isPrintRepeatedValues="false" x="119" y="4" width="242" height="20" forecolor="#000000"/>
				<textElement>
					<font fontName="SansSerif"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{parDataAtual}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band height="177" splitType="Stretch">
			<line>
				<reportElement x="0" y="10" width="802" height="1"/>
			</line>
			<textField isBlankWhenNull="true">
				<reportElement x="0" y="10" width="802" height="167"/>
				<textElement>
					<font fontName="SansSerif"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{parRodape}+"\n\n"+$P{parCompletitude}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
</jasperReport>
