- <?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="OrdonnanceMedicament" pageWidth="421" pageHeight="595" whenNoDataType="AllSectionsNoDetail" columnWidth="381" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="85dde497-fe02-484d-8092-1da2a0bba1c7">
- <property name="ireport.zoom" value="1.366026910730141"/>
- <property name="ireport.x" value="0"/>
- <property name="ireport.y" value="0"/>
- <property name="net.sf.jasperreports.xpath.executer.factory" value="net.sf.jasperreports.engine.util.xml.JaxenXPathExecuterFactory"/>
- <style name="table">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table_TH" mode="Opaque" backcolor="#7FFFD4">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table_CH" mode="Opaque" backcolor="#BFFFEA">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 1">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 2">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 2_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 2_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 2_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 3">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 3_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 3_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 3_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 4">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 4_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 4_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 4_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 5">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 5_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 5_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 5_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 6">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 6_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 6_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 6_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 7">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 7_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 7_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 7_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 8">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 8_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 8_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 8_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 9">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 9_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 9_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 9_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 10">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 10_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 10_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 10_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 11">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 11_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 11_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 11_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 12">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 12_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 12_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 12_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 13">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 13_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 13_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 13_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- <conditionalStyle>
- <conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
- <style backcolor="#EFF7FF"/>
- </conditionalStyle>
- </style>
- <style name="table 14">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 14_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 14_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 14_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <pen lineWidth="0.5" lineColor="#000000"/>
- </box>
- <conditionalStyle>
- <conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
- <style backcolor="#EFF7FF"/>
- </conditionalStyle>
- </style>
- <style name="table 15">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 15_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 15_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 15_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 17">
- <box>
- <pen lineWidth="1.0" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 17_TH" mode="Opaque" backcolor="#F0F8FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 17_CH" mode="Opaque" backcolor="#BFE1FF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <style name="table 17_TD" mode="Opaque" backcolor="#FFFFFF">
- <box>
- <topPen lineWidth="0.5" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- </box>
- </style>
- <subDataset name="posologiesDataSet" uuid="87da5707-7471-4b99-960b-a2e550dc62a2">
- <parameter name="consigne" class="java.lang.String"/>
- <parameter name="posologies" class="net.sf.jasperreports.engine.JRBeanCollectionDataSource"/>
- <field name="quantiteParPrise" class="java.lang.Double"/>
- <field name="unitePrise" class="java.lang.String"/>
- <field name="nbrPrise" class="java.lang.Integer"/>
- <field name="intervalPrise" class="com.cnam.domain.enums.Periodicity"/>
- <field name="dureeTraitement" class="java.lang.Integer"/>
- <field name="uniteDureeTraitement" class="com.cnam.domain.enums.Periodicity"/>
- <field name="ordonnanceLine" class="com.cnam.domain.entities.OrdonnanceLine"/>
- <field name="pause" class="java.lang.Integer"/>
- <field name="pauseUnit" class="com.cnam.domain.enums.Periodicity"/>
- <group name="Medicament">
- <groupExpression><![CDATA[$F{ordonnanceLine}.getMedicamentCnam().getIdActe()]]></groupExpression>
- </group>
- </subDataset>
- <parameter name="ordonnanceId" class="java.lang.Long">
- <defaultValueExpression><![CDATA[]]></defaultValueExpression>
- </parameter>
- <parameter name="patient" class="com.cnam.dto.consultation.BenificiaireSoinsDto"/>
- <parameter name="medecin" class="com.cnam.domain.entities.ProfessionnelSante"/>
- <parameter name="posologies" class="java.util.Collection"/>
- <parameter name="showHeader" class="java.lang.Boolean">
- <defaultValueExpression><![CDATA[true]]></defaultValueExpression>
- </parameter>
- <parameter name="logoCnam" class="java.io.InputStream"/>
- <parameter name="ordonnance" class="com.cnam.domain.entities.Ordonnance"/>
- <parameter name="qrCode" class="java.io.InputStream"/>
- <parameter name="assure" class="com.cnam.dto.consultation.BenificiaireSoinsDto"/>
- <parameter name="ordonnanceState" class="java.lang.String"/>
- <background>
- <band splitType="Stretch"/>
- </background>
- <pageHeader>
- <band height="132" splitType="Stretch">
- <staticText>
- <reportElement key="staticText-5" mode="Opaque" x="0" y="110" width="381" height="22" forecolor="#FFFFFF" backcolor="#006699" uuid="9f748284-3649-4fe7-ba6b-570596b2ec25">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <box>
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="Arial" size="14" isBold="true" pdfFontName="Times-Bold" isPdfEmbedded="true"/>
- </textElement>
- <text><![CDATA[Ordonnance Medicament]]></text>
- </staticText>
- <textField>
- <reportElement x="262" y="43" width="93" height="15" uuid="4224a395-bbc2-45f2-8c5e-e8bd3599a472">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement verticalAlignment="Middle">
- <font fontName="Arial" size="8"/>
- <paragraph leftIndent="5"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{medecin}.getCodeConventionnel().toString()]]></textFieldExpression>
- </textField>
- <frame>
- <reportElement x="1" y="0" width="380" height="110" uuid="2dd392b5-31d7-4d99-a6df-e263b6724daa">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <box>
- <pen lineWidth="0.5"/>
- <topPen lineWidth="0.5"/>
- <leftPen lineWidth="0.5"/>
- <bottomPen lineWidth="0.5"/>
- <rightPen lineWidth="0.5"/>
- </box>
- <line>
- <reportElement x="0" y="85" width="380" height="1" uuid="94037e75-5fd2-4a76-94bf-d79d79b39806">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- </line>
- <line>
- <reportElement x="0" y="35" width="380" height="1" uuid="2e9214fd-2487-451d-a149-50406d06553e">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- </line>
- <line>
- <reportElement x="184" y="36" width="1" height="74" uuid="aee072ae-8817-42a0-a406-7a3982c89ec1">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- </line>
- <staticText>
- <reportElement x="186" y="6" width="90" height="12" uuid="cf5794d7-6cd6-4d13-b550-82bad9bbf4d7">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement>
- <font size="8"/>
- </textElement>
- <text><![CDATA[Référence Ordonnance:]]></text>
- </staticText>
- <staticText>
- <reportElement x="186" y="18" width="52" height="13" uuid="1b95827f-3eb9-4050-bd92-2674641b8ae4">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement>
- <font fontName="Arial" size="8"/>
- </textElement>
- <text><![CDATA[Date de soin:]]></text>
- </staticText>
- <staticText>
- <reportElement x="198" y="61" width="69" height="11" uuid="1e59eaf8-8575-4e0a-975b-c416fc14c3c5">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement>
- <font fontName="Arial" size="8"/>
- </textElement>
- <text><![CDATA[Matricule Fiscale :]]></text>
- </staticText>
- <textField>
- <reportElement x="275" y="6" width="60" height="12" uuid="b761cb49-4e06-476f-a7fb-3848ee3f1409">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement>
- <font size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{ordonnance}.getId()]]></textFieldExpression>
- </textField>
- <textField pattern="dd/MM/yyyy">
- <reportElement x="239" y="18" width="81" height="15" uuid="da983a44-2ba5-4e6b-a76f-a0d76284a1db">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement>
- <font size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{ordonnance}.getDate()]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement x="198" y="86" width="47" height="24" uuid="a2d8dfa1-249d-409e-b7b5-b5aefed522fe">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement verticalAlignment="Middle">
- <font fontName="Arial" size="12"/>
- </textElement>
- <text><![CDATA[Patient :]]></text>
- </staticText>
- <textField isBlankWhenNull="true">
- <reportElement key="textField" mode="Transparent" x="2" y="62" width="184" height="25" uuid="d42f1de5-6889-45ff-b15d-08a98db3253a">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <box>
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement>
- <font fontName="Arial" size="10" isBold="false" pdfFontName="Times-Bold" isPdfEmbedded="true"/>
- <paragraph leftIndent="5"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{medecin}.getSpecialite()]]></textFieldExpression>
- </textField>
- <textField isBlankWhenNull="true">
- <reportElement key="textField" mode="Transparent" x="0" y="42" width="184" height="19" uuid="f79e533a-0e78-470a-92cf-b8e51f0ee242">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <box>
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement verticalAlignment="Bottom">
- <font fontName="Arial" size="12" isBold="true" isItalic="false" pdfFontName="Times-Bold" isPdfEmbedded="true"/>
- <paragraph leftIndent="5"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{medecin}.getUser().getFirstName() + " " + $P{medecin}.getUser().getLastName()]]></textFieldExpression>
- </textField>
- <image onErrorType="Blank">
- <reportElement x="340" y="1" width="30" height="30" uuid="b0a4eec4-b7a3-4853-aa2a-a6a1db3b39ff"/>
- <imageExpression><![CDATA[$P{qrCode}]]></imageExpression>
- </image>
- <textField>
- <reportElement x="267" y="61" width="100" height="20" uuid="7ff02963-994f-40c3-8ff0-d5795d0dc52b">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textFieldExpression><![CDATA[$P{medecin}.getMatriculeFiscale()]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement x="1" y="6" width="100" height="20" uuid="b4d90ac6-563f-4ace-8138-83432bcd2358"/>
- <textFieldExpression><![CDATA[$P{ordonnanceState}]]></textFieldExpression>
- </textField>
- </frame>
- <staticText>
- <reportElement key="staticText-2" mode="Transparent" x="199" y="42" width="62" height="16" uuid="e6b6ae50-d8c3-4fe9-a0a4-38a4df3d8efa">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <box>
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement verticalAlignment="Middle">
- <font fontName="Arial" size="8" pdfFontName="Times-Roman" isPdfEmbedded="true"/>
- </textElement>
- <text><![CDATA[Code medecin :]]></text>
- </staticText>
- <textField isBlankWhenNull="true">
- <reportElement key="textField" mode="Transparent" x="246" y="86" width="118" height="25" uuid="1da3539a-e208-4200-9b39-50598dff3297">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <box>
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement verticalAlignment="Middle">
- <font fontName="Arial" size="12" isBold="false" pdfFontName="Times-Roman" isPdfEmbedded="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{patient}.getDisplayName()]]></textFieldExpression>
- </textField>
- <staticText>
- <reportElement key="staticText-3" mode="Transparent" x="2" y="86" width="59" height="24" uuid="863060b9-7cf6-4205-bc9e-1a21d575c6fe">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <box>
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement verticalAlignment="Middle">
- <font fontName="Arial" size="10" pdfFontName="Times-Roman" isPdfEmbedded="true"/>
- <paragraph leftIndent="5"/>
- </textElement>
- <text><![CDATA[Matricule:]]></text>
- </staticText>
- <textField isBlankWhenNull="true">
- <reportElement x="61" y="84" width="86" height="26" uuid="8669760b-025b-4887-a2bb-271442003bf5">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement verticalAlignment="Middle">
- <font fontName="Arial" size="10"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{patient}.getMatriculeAffiliation()]]></textFieldExpression>
- </textField>
- <image hAlign="Center" onErrorType="Blank">
- <reportElement x="1" y="1" width="183" height="33" uuid="8800a88e-fb76-4aca-a38e-18e7305c697c">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <imageExpression><![CDATA[$P{logoCnam}]]></imageExpression>
- </image>
- </band>
- </pageHeader>
- <detail>
- <band height="270" splitType="Stretch">
- <componentElement>
- <reportElement key="table 17" mode="Opaque" x="0" y="0" width="381" height="182" backcolor="#E5EAEE" uuid="78c5705f-7e32-4337-aed6-2ecfd4c1f8f2"/>
- <jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
- <datasetRun subDataset="posologiesDataSet" uuid="191901f7-7176-4cb9-a33e-d329cccc2d74">
- <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{posologies})]]></dataSourceExpression>
- </datasetRun>
- <jr:columnGroup width="381" uuid="8ef959d6-6fb1-4bc7-a00b-4487d8529988">
- <jr:groupHeader groupName="Medicament">
- <jr:cell height="20" rowSpan="1">
- <textField isBlankWhenNull="true">
- <reportElement mode="Opaque" x="0" y="0" width="381" height="20" forecolor="#333333" backcolor="#E5EAEE" uuid="8ac3f901-917d-4070-9136-eab5cdafa3b2"/>
- <textElement verticalAlignment="Middle">
- <font fontName="Arial" size="10" isBold="true"/>
- <paragraph leftIndent="5"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{ordonnanceLine}.getMedicamentCnam().getLibelle()]]></textFieldExpression>
- </textField>
- </jr:cell>
- </jr:groupHeader>
- <jr:column width="106" uuid="55423fc4-aa30-4d88-8304-c39375cc38da">
- <jr:columnHeader style="table 17_CH" height="30" rowSpan="1">
- <staticText>
- <reportElement mode="Opaque" x="0" y="0" width="106" height="30" backcolor="#FFFFFF" uuid="137ae00a-9003-4ebc-930f-fdca60d837d6"/>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="Arial" size="10" isBold="true"/>
- </textElement>
- <text><![CDATA[Consigne]]></text>
- </staticText>
- </jr:columnHeader>
- <jr:detailCell style="table 17_TD" height="20" rowSpan="1">
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement positionType="Float" stretchType="RelativeToTallestObject" mode="Transparent" x="0" y="0" width="106" height="20" backcolor="#FFFFFF" uuid="bf489a0d-039d-44d0-91a1-8e874787bee3"/>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="Arial" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{consigne}]]></textFieldExpression>
- </textField>
- </jr:detailCell>
- </jr:column>
- <jr:column width="75" uuid="f7646989-d753-4d8b-865f-1bcaae891b7a">
- <jr:columnHeader style="table 17_CH" height="30" rowSpan="1">
- <staticText>
- <reportElement mode="Opaque" x="0" y="0" width="75" height="30" backcolor="#FFFFFF" uuid="ab544b63-2356-4c11-b72a-b5b09009c7e4"/>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="Arial" size="10" isBold="true"/>
- </textElement>
- <text><![CDATA[Date début]]></text>
- </staticText>
- </jr:columnHeader>
- <jr:detailCell style="table 17_TD" height="20" rowSpan="1">
- <textField isStretchWithOverflow="true" pattern="MM/dd/yyyy" isBlankWhenNull="true">
- <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="75" height="20" uuid="c4ff0a10-45f0-415d-beb4-e6cf21188a99"/>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="Arial" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{ordonnanceLine}.getDateDebut()]]></textFieldExpression>
- </textField>
- </jr:detailCell>
- </jr:column>
- <jr:column width="200" uuid="3a998246-b675-4d83-b419-912aea775802">
- <jr:columnHeader style="table 17_CH" height="30" rowSpan="1">
- <staticText>
- <reportElement mode="Opaque" x="0" y="0" width="200" height="30" backcolor="#FFFFFF" uuid="7738fc95-1652-481d-a8e1-636831e14ad9"/>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="Arial" size="10" isBold="true"/>
- </textElement>
- <text><![CDATA[Posologie]]></text>
- </staticText>
- </jr:columnHeader>
- <jr:detailCell style="table 17_TD" height="20" rowSpan="1">
- <textField isStretchWithOverflow="true" pattern="MM/dd/yyyy" isBlankWhenNull="true">
- <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="0" y="0" width="200" height="20" uuid="bcf2fd89-8d14-4d2c-848b-dc0ae2df95bf"/>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="Arial" size="8"/>
- </textElement>
- <textFieldExpression><![CDATA[$F{pause} > 0 ?
- $F{quantiteParPrise}.toString() + " "
- + $F{unitePrise}+ " "
- + $F{nbrPrise}.toString() + " fois par " + $F{intervalPrise}.getName() + " "
- + "pendant " + $F{dureeTraitement} + " " + $F{uniteDureeTraitement}.getName()
- +" puis pause de " + $F{pause}.toString() + " " + $F{pauseUnit}.getName()
- : $F{quantiteParPrise}.toString() + " "
- + $F{unitePrise} + " "
- + $F{nbrPrise}.toString() + " fois par " + $F{intervalPrise}.getName() + " "
- + "pendant " + $F{dureeTraitement} + " " + $F{uniteDureeTraitement}.getName()]]></textFieldExpression>
- </textField>
- </jr:detailCell>
- </jr:column>
- </jr:columnGroup>
- </jr:table>
- </componentElement>
- <staticText>
- <reportElement key="staticText-8" positionType="FixRelativeToBottom" mode="Transparent" x="268" y="250" width="86" height="20" uuid="a50dd2f2-7925-4bdc-b76d-300a1b20927f"/>
- <box>
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement>
- <font fontName="Arial" size="12" isBold="true" pdfFontName="Times-Bold" isPdfEmbedded="true"/>
- </textElement>
- <text><![CDATA[................................]]></text>
- </staticText>
- <staticText>
- <reportElement key="staticText-9" positionType="FixRelativeToBottom" mode="Transparent" x="268" y="231" width="86" height="14" uuid="c141b0de-47cd-437f-b8f1-4e6af7476768"/>
- <box>
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement textAlignment="Center">
- <font fontName="Arial" size="8" pdfFontName="Times-Roman" isPdfEmbedded="true"/>
- </textElement>
- <text><![CDATA[Signature]]></text>
- </staticText>
- </band>
- </detail>
- <pageFooter>
- <band height="54" splitType="Stretch">
- <staticText>
- <reportElement key="staticText-1" positionType="FixRelativeToBottom" mode="Transparent" x="0" y="30" width="381" height="24" uuid="2f6e1183-86f1-4086-aed1-aa50c42e568b">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <box>
- <topPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.5" lineColor="#000000"/>
- <rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement textAlignment="Right" verticalAlignment="Middle">
- <font fontName="Arial" pdfFontName="Times-Roman" isPdfEmbedded="true"/>
- <paragraph rightIndent="10"/>
- </textElement>
- <text><![CDATA[]]></text>
- </staticText>
- <textField evaluationTime="Report">
- <reportElement mode="Transparent" x="333" y="37" width="30" height="15" uuid="a15b4892-2507-4a68-b9df-5d9f6890e249">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement>
- <font fontName="Arial" size="8" pdfFontName="Times-Roman" isPdfEmbedded="true"/>
- </textElement>
- <textFieldExpression><![CDATA[" de " + $V{PAGE_NUMBER}]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement mode="Transparent" x="302" y="37" width="30" height="15" uuid="442c1728-f8c4-4c5e-a77e-b4ba4924cfbb">
- <printWhenExpression><![CDATA[$P{showHeader}]]></printWhenExpression>
- </reportElement>
- <textElement>
- <font fontName="Arial" size="8" pdfFontName="Times-Roman" isPdfEmbedded="true"/>
- </textElement>
- <textFieldExpression><![CDATA["Page " + $V{PAGE_NUMBER}]]></textFieldExpression>
- </textField>
- </band>
- </pageFooter>
- </jasperReport>
jrxml
Posted by Anonymous on Tue 12th Jan 2021 07:53
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.