1 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="#"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:data="urn:asip-sante:ci-sis" xmlns:c="urn:hl7-org:v3" xmlns:lab="urn:oid:1.3.6.1.4.1.19376.1.3.2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xad="http://uri.etsi.org/01903/v1.2.2#"><data:Contenu><c:ClinicalDocument xmlns:c="urn:hl7-org:v3" xmlns:lab="urn:oid:1.3.6.1.4.1.19376.1.3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 infrastructure/cda/CDA_extended.xsd"><c:realmCode code="FR"></c:realmCode><c:typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"></c:typeId><c:templateId root="2.16.840.1.113883.2.9.10.1.1" extension="1.1"></c:templateId><c:templateId root="1.2.250.1.213.1.1.1.1" extension="1.1"></c:templateId><c:templateId root="1.3.6.1.4.1.19376.1.3.3" extension="1.1"></c:templateId><c:id root="1.2.250.1.312.9400.1" extension="1211.2.0"></c:id><c:code code="11502-2" codeSystem="2.16.840.1.113883.6.1" displayName="CR d'examens biologiques" codeSystemName="LOINC"></c:code><c:title>Compte-rendu d'examens biologiques - Demande A20220912009</c:title><c:effectiveTime value="20220913085918+0200"></c:effectiveTime><c:confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" displayName="Normal"></c:confidentialityCode><c:languageCode code="it"></c:languageCode><c:setId root="1.2.250.1.312.9400.1" extension="1211.2"></c:setId><c:versionNumber value="0"></c:versionNumber><c:recordTarget><c:patientRole><c:id root="2.16.840.1.113883.2.9.4.3.2" extension="200111111" assigningAuthorityName="Ministero Economia e Finanze"></c:id><c:id root="1.2.250.1.312.9400.2" extension="250"></c:id><c:addr nullFlavor="UNK"></c:addr><c:telecom nullFlavor="UNK"></c:telecom><c:patient><c:name><c:given>Julio</c:given><c:family qualifier="SP">MATEO</c:family><c:prefix>M</c:prefix></c:name><c:administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1" displayName="Masculin"></c:administrativeGenderCode><c:birthTime value="20010101"></c:birthTime><c:guardian><c:addr><c:streetAddressLine>VIA DE LA ROMA</c:streetAddressLine><c:streetAddressLine>10019 STRAMBINO</c:streetAddressLine></c:addr><c:telecom value="tel:3901234567890" use="PUB"></c:telecom><c:telecom value="tel:3961234567890" use="MC"></c:telecom><c:guardianPerson><c:name><c:given>Kele</c:given><c:family>MATINDA</c:family><c:prefix>Sig.ra</c:prefix></c:name></c:guardianPerson></c:guardian></c:patient></c:patientRole></c:recordTarget><c:author><c:functionCode code="ATTPHYS" codeSystem="2.16.840.1.113883.5.88" displayName="Référent - Responsable du patient dans la structure de soins"><c:originalText>biologiste</c:originalText></c:functionCode><c:time value="20220913085834+0200"></c:time><c:assignedAuthor><c:id root="2.16.840.1.113883.2.9.4.3.2" extension="41111111111"></c:id><c:addr nullFlavor="UNK"></c:addr><c:assignedPerson><c:name><c:given>DU JOUR</c:given><c:family>MMD</c:family></c:name></c:assignedPerson><c:representedOrganization><c:id root="1.2.250.1.71.4.2.2" extension="1823456789"></c:id><c:name>Laboratorio A</c:name><c:telecom value="tel:3905542471" use="PUB"></c:telecom><c:telecom value="mailto:info@dedalus.eu"></c:telecom><c:telecom value="fax:39055451660"></c:telecom><c:addr><c:streetAddressLine>via Odorico da Pordenone, 32</c:streetAddressLine><c:streetAddressLine>50127 Firenze</c:streetAddressLine></c:addr><c:standardIndustryClassCode code="ETABLISSEMENT" codeSystem="1.2.250.1.213.1.1.4.9" displayName="Etablissement de santé"></c:standardIndustryClassCode></c:representedOrganization></c:assignedAuthor></c:author><c:custodian><c:assignedCustodian><c:representedCustodianOrganization><c:id root="1.2.250.1.71.4.2.2" extension="823456789"></c:id><c:name>Laboratorio A</c:name><c:telecom value="tel:3905542471" use="PUB"></c:telecom><c:addr><c:streetAddressLine>via Odorico da Pordenone, 32</c:streetAddressLine><c:streetAddressLine>50127 Firenze</c:streetAddressLine></c:addr></c:representedCustodianOrganization></c:assignedCustodian></c:custodian><c:informationRecipient><c:intendedRecipient><c:id root="1.2.250.1.71.4.2.1" extension=""></c:id><c:informationRecipient><c:name><c:given>DE REFERENCE</c:given><c:family>MEDECIN </c:family><c:suffix>Dr</c:suffix></c:name></c:informationRecipient></c:intendedRecipient></c:informationRecipient><c:legalAuthenticator><c:time value="20220913085834+0200"></c:time><c:signatureCode code="S"></c:signatureCode><c:assignedEntity><c:id root="1.2.250.1.71.4.2.1" extension="73"></c:id><c:code code="DISPOSITIF" codeSystem="1.2.250.1.213.1.1.4.6" displayName="Dispositif médical"></c:code><c:addr nullFlavor="UNK"></c:addr><c:telecom nullFlavor="UNK"></c:telecom><c:assignedPerson><c:name><c:given>DU JOUR</c:given><c:family>MMD</c:family></c:name></c:assignedPerson><c:representedOrganization><c:id root="1.2.250.1.71.4.2.2" extension="1823456789"></c:id><c:name>Laboratorio A</c:name><c:telecom value="tel:3905542471" use="PUB"></c:telecom><c:telecom value="mailto:info@dedalus.eu"></c:telecom><c:telecom value="fax:39055451660"></c:telecom><c:addr><c:streetAddressLine>via Odorico da Pordenone, 32</c:streetAddressLine><c:streetAddressLine>50127 Firenze</c:streetAddressLine></c:addr><c:standardIndustryClassCode code="ETABLISSEMENT" codeSystem="1.2.250.1.213.1.1.4.9" displayName="Etablissement de santé"></c:standardIndustryClassCode></c:representedOrganization></c:assignedEntity></c:legalAuthenticator><c:authenticator><c:templateId root="1.3.6.1.4.1.19376.1.3.3.1.5" extension="1.1"></c:templateId><c:time value="20220913085834+0200"></c:time><c:signatureCode code="S"></c:signatureCode><c:assignedEntity><c:id root="1.2.250.1.71.4.2.1" extension="41111111111"></c:id><c:addr nullFlavor="UNK"></c:addr><c:telecom nullFlavor="UNK"></c:telecom><c:assignedPerson><c:name><c:given>DU JOUR</c:given><c:family>MMD</c:family></c:name></c:assignedPerson><c:representedOrganization><c:id root="1.2.250.1.71.4.2.2" extension="1823456789"></c:id><c:name>Laboratorio A</c:name><c:telecom value="tel:3905542471" use="PUB"></c:telecom><c:telecom value="mailto:info@dedalus.eu"></c:telecom><c:telecom value="fax:39055451660"></c:telecom><c:addr><c:streetAddressLine>via Odorico da Pordenone, 32</c:streetAddressLine><c:streetAddressLine>50127 Firenze</c:streetAddressLine></c:addr><c:standardIndustryClassCode code="ETABLISSEMENT" codeSystem="1.2.250.1.213.1.1.4.9" displayName="Etablissement de santé"></c:standardIndustryClassCode></c:representedOrganization></c:assignedEntity></c:authenticator><c:inFulfillmentOf><c:order><c:id root="2.16.840.1.113883.2.9.4.3.8" extension="1211"></c:id><c:priorityCode code="R" codeSystem="2.16.840.1.113883.5.7" codeSystemName="HL7 ActPriority" displayName="Routine"></c:priorityCode></c:order></c:inFulfillmentOf><c:documentationOf typeCode="DOC"><c:serviceEvent><c:id root="1.2.250.1.213.1.1.9" extension="A20220912009"></c:id><c:code nullFlavor="UNK"></c:code><lab:statusCode code="completed"></lab:statusCode><c:effectiveTime><c:low value="20220912114944+0200"></c:low><c:high value="20220913085834+0200"></c:high></c:effectiveTime><c:performer typeCode="PRF"><c:templateId root="1.3.6.1.4.1.19376.1.3.3.1.7" extension="1.1"></c:templateId><c:time xsi:type="c:IVL_TS"><c:low value="20220912114944+0200"></c:low><c:high value="20220913085834+0200"></c:high></c:time><c:assignedEntity><c:id root="1.2.250.1.71.4.2.1" extension="73"></c:id><c:code code="DISPOSITIF" codeSystem="1.2.250.1.213.1.1.4.6" displayName="Dispositif médical"></c:code><c:addr><c:streetAddressLine>via Odorico da Pordenone, 32</c:streetAddressLine><c:streetAddressLine>50127 Firenze</c:streetAddressLine></c:addr><c:telecom value="tel:3905542471" use="PUB"></c:telecom><c:telecom value="mailto:info@dedalus.eu"></c:telecom><c:telecom value="fax:39055451660"></c:telecom><c:assignedPerson><c:name><c:family>MMD</c:family></c:name></c:assignedPerson><c:representedOrganization><c:id root="1.2.250.1.71.4.2.2" extension="1823456789"></c:id><c:name>Laboratorio A</c:name><c:telecom value="tel:3905542471" use="PUB"></c:telecom><c:telecom value="mailto:info@dedalus.eu"></c:telecom><c:telecom value="fax:39055451660"></c:telecom><c:addr><c:streetAddressLine>via Odorico da Pordenone, 32</c:streetAddressLine><c:streetAddressLine>50127 Firenze</c:streetAddressLine></c:addr><c:standardIndustryClassCode code="ETABLISSEMENT" codeSystem="1.2.250.1.213.1.1.4.9" displayName="Etablissement de santé"></c:standardIndustryClassCode></c:representedOrganization></c:assignedEntity></c:performer></c:serviceEvent></c:documentationOf><c:componentOf><c:encompassingEncounter><c:code code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatoire"></c:code><c:effectiveTime><c:low value="20220912114944+0200"></c:low><c:high value="20220913085834+0200"></c:high></c:effectiveTime><c:responsibleParty><c:assignedEntity><c:id root="1.2.250.1.71.4.2.1" extension="73"></c:id><c:code code="DISPOSITIF" codeSystem="1.2.250.1.213.1.1.4.6" displayName="Dispositif médical"></c:code><c:addr nullFlavor="UNK"></c:addr><c:telecom nullFlavor="UNK"></c:telecom><c:assignedPerson><c:name><c:given>DU JOUR</c:given><c:family>MMD</c:family></c:name></c:assignedPerson><c:representedOrganization><c:id root="1.2.250.1.71.4.2.2" extension="1823456789"></c:id><c:name>Laboratorio A</c:name><c:telecom value="tel:3905542471" use="PUB"></c:telecom><c:telecom value="mailto:info@dedalus.eu"></c:telecom><c:telecom value="fax:39055451660"></c:telecom><c:addr><c:streetAddressLine>via Odorico da Pordenone, 32</c:streetAddressLine><c:streetAddressLine>50127 Firenze</c:streetAddressLine></c:addr><c:standardIndustryClassCode code="ETABLISSEMENT" codeSystem="1.2.250.1.213.1.1.4.9" displayName="Etablissement de santé"></c:standardIndustryClassCode></c:representedOrganization></c:assignedEntity></c:responsibleParty><c:location><c:healthCareFacility><c:code code="SA25" codeSystem="1.2.250.1.71.4.2.4" displayName="Laboratoire de biologie médicale"></c:code><c:location><c:name>Laboratorio A</c:name><c:addr><c:streetAddressLine>via Odorico da Pordenone, 32</c:streetAddressLine><c:streetAddressLine>50127 Firenze</c:streetAddressLine></c:addr></c:location></c:healthCareFacility></c:location></c:encompassingEncounter></c:componentOf><c:component><c:structuredBody><c:component><c:section><c:templateId root="1.3.6.1.4.1.19376.1.3.3.2.1" extension="1.1"></c:templateId><c:templateId root="1.2.250.1.213.1.1.2.70" extension="1.1"></c:templateId><c:code nullFlavor="UNK"></c:code><c:title></c:title><c:text><c:table><c:tbody><c:tr><c:th></c:th><c:th>Résultats</c:th><c:th>Intervalles de référence</c:th><c:th>Antériorités</c:th></c:tr><c:tr><c:td></c:td><c:td></c:td><c:td></c:td><c:td styleCode="Italics">09-09-2022</c:td></c:tr><c:tr><c:td align="left" styleCode="Bold BG_8 FG_1"><c:content ID="CA1">Calcio Totale (1)</c:content></c:td><c:td>9.0 mg/dL</c:td><c:td>(8.6-10.2)</c:td><c:td>En cours</c:td></c:tr><c:tr><c:td styleCode="Italics SmallFont"><c:content ID="TEC_CA_0100">(Abbott, Architect)</c:content></c:td><c:td styleCode="SmallFont">0.900 mg/L</c:td><c:td styleCode="SmallFont">(0.860-1.020)</c:td><c:td></c:td></c:tr></c:tbody></c:table><c:paragraph styleCode="bottom"><c:br/> (1) Laboratorio C - Piazza Santissima Trinità, 6 20154 Milano</c:paragraph></c:text><c:entry typeCode="DRIV"><c:templateId root="1.3.6.1.4.1.19376.1.3.1" extension="1.1"></c:templateId><c:act classCode="ACT" moodCode="EVN"><c:code nullFlavor="UNK"></c:code><c:statusCode code="completed"></c:statusCode><c:participant typeCode="AUTHEN"><c:templateId root="1.3.6.1.4.1.19376.1.3.3.1.5" extension="1.1"></c:templateId><c:participantRole><c:id root="1.2.250.1.71.4.2.1" extension="73"></c:id><c:addr nullFlavor="UNK"></c:addr><c:playingEntity><c:name><c:given>DU JOUR</c:given><c:family>MMD</c:family></c:name></c:playingEntity></c:participantRole></c:participant><c:entryRelationship typeCode="COMP"><c:organizer classCode="BATTERY" moodCode="EVN"><c:templateId root="1.3.6.1.4.1.19376.1.3.1.4" extension="1.1"></c:templateId><c:statusCode code="completed"></c:statusCode><c:performer typeCode="PRF"><c:templateId root="1.3.6.1.4.1.19376.1.3.3.1.7" extension="1.1"></c:templateId><c:templateId root="1.2.250.1.213.1.1.3.23" extension="1.1"></c:templateId><c:time xsi:type="c:IVL_TS"><c:high value="20220913085832+0200"></c:high></c:time><c:assignedEntity><c:id root="1.2.250.1.71.4.2.1" extension=""></c:id><c:addr nullFlavor="UNK"></c:addr><c:assignedPerson><c:name><c:family>Laboratorio C</c:family></c:name></c:assignedPerson><c:representedOrganization><c:id root="1.2.250.1.71.4.2.2" extension=""></c:id><c:name> Laboratorio C</c:name><c:addr nullFlavor="UNK"></c:addr><c:standardIndustryClassCode code="ETABLISSEMENT" codeSystem="1.2.250.1.213.1.1.4.9" displayName="Etablissement de santé"></c:standardIndustryClassCode></c:representedOrganization></c:assignedEntity></c:performer><c:component><c:observation classCode="OBS" moodCode="EVN"><c:templateId root="1.3.6.1.4.1.19376.1.3.1.6" extension="1.1"></c:templateId><c:code code="CA[1]" codeSystem="1.2.250.1.312.9400.8" codeSystemName="KALISIL_9400" displayName="Calcio Totale"></c:code><c:statusCode code="completed"></c:statusCode><c:effectiveTime value="20220912000000+0200"></c:effectiveTime><c:value xsi:type="c:PQ" value="9.0" unit="mg/dL"><c:translation value="0.900" code="mg/L"></c:translation></c:value><c:interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83" displayName="Normal"></c:interpretationCode><c:methodCode><c:originalText><c:reference value="#TEC_CA_0100"></c:reference></c:originalText></c:methodCode><c:participant typeCode="RESP"><c:templateId root="1.3.6.1.4.1.19376.1.3.3.1.5" extension="1.1"></c:templateId><c:participantRole><c:id root="1.2.250.1.71.4.2.1" extension="73"></c:id><c:addr nullFlavor="UNK"></c:addr><c:playingEntity><c:name><c:given>DU JOUR</c:given><c:family>MMD</c:family></c:name></c:playingEntity></c:participantRole></c:participant><c:referenceRange typeCode="REFV"><c:observationRange classCode="OBS" moodCode="EVN.CRT"><c:value xsi:type="c:IVL_PQ"><c:low value="8.6" unit="mg/dL"><c:translation value="0.860" code="mg/L"></c:translation></c:low><c:high value="10.2" unit="mg/dL"><c:translation value="1.020" code="mg/L"></c:translation></c:high></c:value><c:interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83" displayName="Normal"></c:interpretationCode></c:observationRange></c:referenceRange></c:observation></c:component></c:organizer></c:entryRelationship></c:act></c:entry></c:section></c:component></c:structuredBody></c:component></c:ClinicalDocument></data:Contenu><xsl:template match="xsl:stylesheet"><xsl:apply-templates select="data:Contenu/c:ClinicalDocument" /></xsl:template><xsl:template match="c:ClinicalDocument"><html>
|
2 |
<head><style>
|
3 |
body {
|
4 |
font-family : Calibri, sans-serif;
|
5 |
}
|
6 |
h1 {
|
7 |
font-size : 2em;
|
8 |
}
|
9 |
h2 {
|
10 |
margin : 10px 0;
|
11 |
}
|
12 |
h3 {
|
13 |
margin-top : 30px;
|
14 |
text-align : center;
|
15 |
font-size : 1.8em;
|
16 |
width : 88%;
|
17 |
}
|
18 |
h4 {
|
19 |
text-align : center;
|
20 |
}
|
21 |
table {
|
22 |
border-collapse : collapse;
|
23 |
table-layout:fixed;
|
24 |
}
|
25 |
th {
|
26 |
padding : 0px 5px 0px 5px;
|
27 |
}
|
28 |
tr {
|
29 |
font-weight : normal;
|
30 |
}
|
31 |
.tr-empty {
|
32 |
height : 5px;
|
33 |
}
|
34 |
td {
|
35 |
padding : 0px 5px 0px 5px;
|
36 |
}
|
37 |
p {
|
38 |
margin : 5px;
|
39 |
}
|
40 |
#header img,
|
41 |
#header p {
|
42 |
margin : 0px 25px 0px 25px;
|
43 |
}
|
44 |
#header h2 {
|
45 |
text-align: left;
|
46 |
margin : 0px 25px 0px 25px;
|
47 |
}
|
48 |
#juridique {
|
49 |
margin-top:0;
|
50 |
}
|
51 |
.dataBold, .dataBoldItalic {
|
52 |
font-weight : bold;
|
53 |
}
|
54 |
.dataBoldItalic {
|
55 |
font-style : italic;
|
56 |
}
|
57 |
.alignCenter {
|
58 |
text-align:center;
|
59 |
}
|
60 |
.marginDataMatrix {
|
61 |
margin-left: 190px;
|
62 |
}
|
63 |
</style>
|
64 |
<title>
|
65 |
<xsl:value-of select="c:title"/>
|
66 |
</title></head>
|
67 |
<body><table id="header" width="90%">
|
68 |
<tr>
|
69 |
<td width="10%" rowspan="2">
|
70 |
<xsl:call-template name="printLogo"/>
|
71 |
</td>
|
72 |
<td width="50%" rowspan="2">
|
73 |
<h2>
|
74 |
<xsl:value-of select="c:authenticator/c:assignedEntity/c:representedOrganization//c:name"/>
|
75 |
</h2>
|
76 |
<p>
|
77 |
<xsl:call-template name="show-address">
|
78 |
<xsl:with-param name="address" select="c:legalAuthenticator/c:assignedEntity/c:representedOrganization//c:addr"/>
|
79 |
</xsl:call-template>
|
80 |
<xsl:for-each select="c:legalAuthenticator/c:assignedEntity/c:representedOrganization//c:telecom[@use='PUB']">
|
81 |
<xsl:call-template name="show-telecom">
|
82 |
<xsl:with-param name="telecom" select="."/>
|
83 |
</xsl:call-template>
|
84 |
<br/>
|
85 |
</xsl:for-each>
|
86 |
</p>
|
87 |
</td>
|
88 |
<td width="20%" align="center"></td>
|
89 |
</tr>
|
90 |
<tr>
|
91 |
<td align="center" style="font-size: 6pt;"></td>
|
92 |
</tr>
|
93 |
</table><h1>
|
94 |
<xsl:value-of select="//c:title"/>
|
95 |
</h1>
|
96 |
<xsl:for-each select="//c:paragraph[@styleCode='entete']">
|
97 |
<h4><xsl:apply-templates/></h4>
|
98 |
</xsl:for-each>
|
99 |
|
100 |
<table id="headerInfoPatient">
|
101 |
<tr>
|
102 |
<td>Produit le</td>
|
103 |
<td>
|
104 |
<xsl:call-template name="printDate">
|
105 |
<xsl:with-param name="date" select="c:effectiveTime/@value"/>
|
106 |
</xsl:call-template>
|
107 |
   <xsl:if test="c:documentationOf/c:serviceEvent/lab:statusCode/@code='completed'">
|
108 |
<xsl:text>Compte-rendu complet</xsl:text>
|
109 |
</xsl:if>
|
110 |
<xsl:if test="c:documentationOf/c:serviceEvent/lab:statusCode/@code='active'">
|
111 |
<xsl:text>Compte-rendu partiel</xsl:text>
|
112 |
</xsl:if>
|
113 |
</td>
|
114 |
<td rowspan="12">
|
115 |
<span class="marginDataMatrix">
|
116 |
<xsl:call-template name="printDatamatrix"/>
|
117 |
</span>
|
118 |
</td>
|
119 |
</tr>
|
120 |
<tr>
|
121 |
<td>Nom de naissance</td>
|
122 |
<td>
|
123 |
<span class="dataBold">
|
124 |
<xsl:if test="string-length(c:recordTarget//c:patient/c:name/c:family[@qualifier='BR'])>0">
|
125 |
<xsl:value-of select="c:recordTarget//c:patient/c:name/c:family[@qualifier='BR']"/>
|
126 |
</xsl:if>
|
127 |
</span>
|
128 |
</td>
|
129 |
</tr>
|
130 |
<tr>
|
131 |
<td>Prénoms de naissance</td>
|
132 |
<td>
|
133 |
<span class="dataBold">
|
134 |
<xsl:if test="string-length(c:recordTarget//c:patient/c:name/c:given[@qualifier='BR'])>0">
|
135 |
<xsl:value-of select="c:recordTarget//c:patient/c:name/c:given[@qualifier='BR']"/>
|
136 |
</xsl:if>
|
137 |
</span>
|
138 |
[<xsl:for-each select="c:recordTarget//c:patient/c:name/c:given[count(@*) = 0]">
|
139 |
<xsl:if test="position() > 1">, </xsl:if>
|
140 |
<xsl:value-of select="."/>
|
141 |
</xsl:for-each>]
|
142 |
|
143 |
</td>
|
144 |
</tr>
|
145 |
<tr>
|
146 |
<td>Date de naissance</td>
|
147 |
<td>
|
148 |
<span class="dataBold">
|
149 |
<xsl:call-template name="printDate">
|
150 |
<xsl:with-param name="date" select="c:recordTarget//c:patient/c:birthTime/@value"/>
|
151 |
</xsl:call-template>
|
152 |
</span>
|
153 |
<xsl:if test="(string-length(c:recordTarget//c:patient/c:birthplace/c:place/c:addr/c:postalCode)>0) or (string-length(c:recordTarget//c:patient/c:birthplace/c:place/c:addr/c:county)>0)">
|
154 |
<xsl:if test="string-length(c:recordTarget//c:patient/c:birthplace/c:place/c:name)>0">
|
155 |
<xsl:text> à </xsl:text>
|
156 |
<xsl:value-of select="c:recordTarget//c:patient/c:birthplace/c:place/c:name"/>
|
157 |
</xsl:if>
|
158 |
<xsl:text> (INSEE : </xsl:text>
|
159 |
<xsl:value-of select="c:recordTarget//c:patient/c:birthplace/c:place/c:addr/c:postalCode"/>
|
160 |
<xsl:text>) </xsl:text>
|
161 |
</xsl:if>
|
162 |
</td>
|
163 |
</tr>
|
164 |
<tr>
|
165 |
<td>Sexe </td>
|
166 |
<td>
|
167 |
<xsl:value-of select="c:recordTarget//c:patient/c:administrativeGenderCode/@code"/>
|
168 |
</td>
|
169 |
</tr>
|
170 |
<tr>
|
171 |
<td>Nom et prénom utilisés </td>
|
172 |
<td>
|
173 |
<span class="data dataBoldItalic">
|
174 |
<xsl:if test="string-length(c:recordTarget//c:patient/c:name/c:family[@qualifier='CL'])>0">
|
175 |
<xsl:value-of select="c:recordTarget//c:patient/c:name/c:family[@qualifier='CL']"/>
|
176 |
</xsl:if>
|
177 |
<xsl:if test="string-length(c:recordTarget//c:patient/c:name/c:given[@qualifier='CL'])>0">
|
178 |
<xsl:text> </xsl:text>
|
179 |
<xsl:value-of select="c:recordTarget//c:patient/c:name/c:given[@qualifier='CL']"/>
|
180 |
</xsl:if>
|
181 |
</span>
|
182 |
</td>
|
183 |
</tr>
|
184 |
<tr>
|
185 |
<td>Adresse</td>
|
186 |
<td>
|
187 |
<xsl:for-each select="c:recordTarget//c:patientRole/c:addr/c:streetAddressLine">
|
188 |
<xsl:value-of select="."/>
|
189 |
<xsl:text> </xsl:text>
|
190 |
</xsl:for-each>
|
191 |
</td>
|
192 |
</tr>
|
193 |
<tr>
|
194 |
<td>Téléphone</td>
|
195 |
<td>
|
196 |
<xsl:for-each select="c:recordTarget//c:patientRole/c:telecom/@value">
|
197 |
<xsl:if test="substring-before(.,':')='tel'">
|
198 |
<xsl:if test="position() > 1">, </xsl:if>
|
199 |
<xsl:value-of select="substring-after(.,':')"/>
|
200 |
</xsl:if>
|
201 |
</xsl:for-each>
|
202 |
</td>
|
203 |
</tr>
|
204 |
<tr>
|
205 |
<td>Adresse MSS</td>
|
206 |
<td><xsl:for-each select="c:recordTarget//c:telecom">
|
207 |
<xsl:variable name="telecom" select="@value"/>
|
208 |
<xsl:if test="contains($telecom,'patient.mssante.fr')">
|
209 |
<xsl:value-of select="substring-after($telecom,'mailto:')"/>
|
210 |
</xsl:if>
|
211 |
</xsl:for-each></td>
|
212 |
</tr>
|
213 |
<tr>
|
214 |
<td>N° INS</td>
|
215 |
<td>
|
216 |
<xsl:for-each select="c:recordTarget//c:id">
|
217 |
<xsl:if test="contains('',@root)">
|
218 |
<xsl:value-of select="@extension"/>
|
219 |
<xsl:if test="@root='1.2.250.1.213.1.4.8'">
|
220 |
(NIR)
|
221 |
</xsl:if>
|
222 |
<xsl:if test="@root='1.2.250.1.213.1.4.9'">
|
223 |
(NIA)
|
224 |
</xsl:if>
|
225 |
<xsl:if test="@root='1.2.250.1.213.1.4.10'">
|
226 |
(NIR de test)
|
227 |
</xsl:if>
|
228 |
<xsl:if test="@root='1.2.250.1.213.1.4.11'">
|
229 |
(NIR de démo)
|
230 |
</xsl:if>
|
231 |
</xsl:if>
|
232 |
</xsl:for-each>
|
233 |
</td>
|
234 |
</tr>
|
235 |
<xsl:if test="string-length(c:recordTarget//c:guardian/c:guardianPerson/c:name/c:family)>0">
|
236 |
<tr class="tr-empty"><td></td></tr>
|
237 |
<tr>
|
238 |
<td>Représentant du patient</td>
|
239 |
<td>
|
240 |
<xsl:if test="string-length(c:recordTarget//c:guardian/c:guardianPerson/c:name/c:family)>0">
|
241 |
<xsl:value-of select="c:recordTarget//c:guardian/c:guardianPerson/c:name/c:family"/>
|
242 |
</xsl:if>
|
243 |
<xsl:text> </xsl:text>
|
244 |
<xsl:if test="string-length(c:recordTarget//c:guardian/c:guardianPerson/c:name/c:given)>0">
|
245 |
<xsl:value-of select="c:recordTarget//c:guardian/c:guardianPerson/c:name/c:given"/>
|
246 |
</xsl:if>
|
247 |
</td>
|
248 |
</tr>
|
249 |
<xsl:if test="string-length(c:recordTarget//c:guardian/c:addr/c:streetAddressLine)>0">
|
250 |
<tr>
|
251 |
<td></td>
|
252 |
<td>
|
253 |
<xsl:for-each select="c:recordTarget//c:guardian/c:addr/c:streetAddressLine">
|
254 |
<xsl:value-of select="."/>
|
255 |
<xsl:text> </xsl:text>
|
256 |
</xsl:for-each>
|
257 |
</td>
|
258 |
</tr>
|
259 |
</xsl:if>
|
260 |
<xsl:if test="string-length(c:recordTarget//c:guardian/c:telecom/@value)>0">
|
261 |
<tr>
|
262 |
<td></td>
|
263 |
<td>
|
264 |
Tél:
|
265 |
<xsl:for-each select="c:recordTarget//c:guardian/c:telecom/@value">
|
266 |
<xsl:if test="substring-before(.,':')='tel'">
|
267 |
<xsl:if test="position() > 1">, </xsl:if>
|
268 |
<xsl:value-of select="substring-after(.,':')"/>
|
269 |
</xsl:if>
|
270 |
</xsl:for-each>
|
271 |
</td>
|
272 |
</tr>
|
273 |
</xsl:if>
|
274 |
</xsl:if>
|
275 |
<xsl:if test="string-length(c:recordTarget//c:id[@root='1.2.250.1.312.9400.1.1211.2.0']/@extension)>0">
|
276 |
<tr>
|
277 |
<td>IPP</td>
|
278 |
<td>
|
279 |
<xsl:value-of select="c:recordTarget//c:id[@root='1.2.250.1.312.9400.1.1211.2.0']/@extension"/>
|
280 |
<xsl:if test="string-length(c:participant[@typeCode='REFB']/c:associatedEntity/c:associatedPerson/c:name/c:family)>0">
|
281 |
<xsl:text> - </xsl:text>
|
282 |
<xsl:value-of select="c:participant[@typeCode='REFB']/c:associatedEntity[@classCode='PROV']/c:associatedPerson/c:name/c:family"/>
|
283 |
<xsl:if test="string-length(c:participant[@typeCode='REFB']/c:associatedEntity/c:id/@root)>0">
|
284 |
<xsl:text> [</xsl:text>
|
285 |
<xsl:value-of select="c:participant[@typeCode='REFB']/c:associatedEntity/c:id/@root"/>
|
286 |
<xsl:text>]</xsl:text>
|
287 |
</xsl:if>
|
288 |
</xsl:if>
|
289 |
</td>
|
290 |
</tr>
|
291 |
</xsl:if>
|
292 |
</table><br /><p>Demande d'examens
|
293 |
<xsl:value-of select="c:documentationOf/c:serviceEvent/c:id/@extension"/>
|
294 |
prescrite le
|
295 |
<xsl:call-template name="printDate">
|
296 |
<xsl:with-param name="date"
|
297 |
select="c:documentationOf/c:serviceEvent/c:effectiveTime/c:low/@value"/>
|
298 |
</xsl:call-template>
|
299 |
<xsl:if test="string-length(c:participant[@typeCode='REF']/c:associatedEntity/c:associatedPerson/c:name/c:family)>0">
|
300 |
par
|
301 |
<xsl:call-template name="printPrescripteur">
|
302 |
<xsl:with-param name="ref"
|
303 |
select="c:participant[@typeCode='REF']/c:associatedEntity"/>
|
304 |
</xsl:call-template>
|
305 |
</xsl:if>
|
306 |
<xsl:if test="string-length(c:participant[@typeCode='REFB']/c:associatedEntity/c:associatedPerson/c:name/c:family)>0">
|
307 |
-
|
308 |
<xsl:call-template name="printDemandeur">
|
309 |
<xsl:with-param name="ref"
|
310 |
select="c:participant[@typeCode='REFB']/c:associatedEntity"/>
|
311 |
</xsl:call-template>
|
312 |
</xsl:if>
|
313 |
<xsl:if test="string-length(c:participant[@typeCode='PRF']/c:time/c:high/@value)>0">
|
314 |
<br/>
|
315 |
<xsl:for-each select="c:component/c:structuredBody/c:component/c:section/c:entry/c:act/c:entryRelationship/c:procedure[@classCode='PROC'][@moodCode='EVN']">
|
316 |
<xsl:if test="position() = 1">
|
317 |
<xsl:value-of select="./c:code/@displayName"/>
|
318 |
<xsl:if test="string-length(./c:participant/c:participantRole/c:playingEntity/c:code/@displayName)>0">
|
319 |
<xsl:text> (</xsl:text><xsl:value-of select="./c:participant/c:participantRole/c:playingEntity/c:code/@displayName"/><xsl:text>)</xsl:text>
|
320 |
</xsl:if>
|
321 |
</xsl:if>
|
322 |
</xsl:for-each>
|
323 |
<xsl:call-template name="printDateAndTime">
|
324 |
<xsl:with-param name="date" select="c:participant[@typeCode='PRF']/c:time/c:high/@value"/>
|
325 |
</xsl:call-template>
|
326 |
<xsl:if test="string-length(c:participant[@typeCode='PRF']/c:associatedEntity/c:associatedPerson/c:name/c:family)>0">
|
327 |
<xsl:text> par </xsl:text>
|
328 |
<xsl:call-template name="printNameAndId">
|
329 |
<xsl:with-param name="ref" select="c:participant[@typeCode='PRF']/c:associatedEntity"/>
|
330 |
</xsl:call-template>
|
331 |
</xsl:if>
|
332 |
</xsl:if>
|
333 |
<br/>
|
334 |
<xsl:if test="string-length(c:informationRecipient/c:intendedRecipient/c:informationRecipient/c:name/c:family)>0 and string-length(c:informationRecipient/c:intendedRecipient/c:informationRecipient/c:name/c:given)>0">
|
335 |
<xsl:text>Destinataires en copie : </xsl:text>
|
336 |
<xsl:for-each select="c:informationRecipient/c:intendedRecipient">
|
337 |
<xsl:variable name="suffix" select="c:informationRecipient/c:name/c:suffix"/>
|
338 |
<xsl:if test="string-length($suffix)>0">
|
339 |
<xsl:value-of select="$suffix"/>
|
340 |
<xsl:text> </xsl:text>
|
341 |
</xsl:if>
|
342 |
<xsl:variable name="familyName" select="c:informationRecipient/c:name/c:family"/>
|
343 |
<xsl:if test="string-length($familyName)>0">
|
344 |
<xsl:value-of select="$familyName"/>
|
345 |
<xsl:text> </xsl:text>
|
346 |
</xsl:if>
|
347 |
<xsl:variable name="givenName" select="c:informationRecipient/c:name/c:given"/>
|
348 |
<xsl:if test="string-length($givenName)>0">
|
349 |
<xsl:value-of select="$givenName"/>
|
350 |
<xsl:text> </xsl:text>
|
351 |
</xsl:if>
|
352 |
<xsl:variable name="rpps" select="c:id/@extension"/>
|
353 |
<xsl:if test="string-length($rpps)>0">
|
354 |
<xsl:text> (RPPS </xsl:text>
|
355 |
<xsl:value-of select="$rpps"/>
|
356 |
</xsl:if>
|
357 |
<xsl:for-each select="c:telecom">
|
358 |
<xsl:variable name="telecom" select="@value"/>
|
359 |
<xsl:variable name="domainName" select="substring-after($telecom,'@')"/>
|
360 |
<xsl:if test="contains($domainName,'mssante')">
|
361 |
<xsl:variable name="mssante" select="substring-after($telecom,'mailto:')"/>
|
362 |
<xsl:choose>
|
363 |
<xsl:when test="string-length($rpps)>0">
|
364 |
<xsl:if test="string-length($mssante)>0">
|
365 |
<xsl:text> - </xsl:text>
|
366 |
<xsl:value-of select="$mssante"/>
|
367 |
</xsl:if>
|
368 |
</xsl:when>
|
369 |
<xsl:otherwise>
|
370 |
<xsl:if test="string-length($mssante)>0">
|
371 |
<xsl:text> (</xsl:text>
|
372 |
<xsl:value-of select="$mssante"/>
|
373 |
<xsl:text>)</xsl:text>
|
374 |
</xsl:if>
|
375 |
</xsl:otherwise>
|
376 |
</xsl:choose>
|
377 |
</xsl:if>
|
378 |
<xsl:if test="position() = last()">
|
379 |
<xsl:if test="string-length($rpps)>0">
|
380 |
<xsl:text>)</xsl:text>
|
381 |
</xsl:if>
|
382 |
</xsl:if>
|
383 |
</xsl:for-each>
|
384 |
<xsl:if test="position() != last()">, </xsl:if>
|
385 |
</xsl:for-each>
|
386 |
<br/>
|
387 |
</xsl:if>
|
388 |
Examens réalisés du
|
389 |
<xsl:call-template name="printDate">
|
390 |
<xsl:with-param name="date" select="c:documentationOf/c:serviceEvent/c:effectiveTime/c:low/@value"/>
|
391 |
</xsl:call-template>
|
392 |
au
|
393 |
<xsl:call-template name="printDate">
|
394 |
<xsl:with-param name="date" select="c:documentationOf/c:serviceEvent/c:effectiveTime/c:high/@value"/>
|
395 |
</xsl:call-template>
|
396 |
</p><xsl:apply-templates select="c:component/c:structuredBody" /><br/><p id="juridique">
|
397 |
<b>Validé par : </b>
|
398 |
<xsl:call-template name="printNameAndId">
|
399 |
<xsl:with-param name="ref" select="c:legalAuthenticator/c:assignedEntity"/>
|
400 |
</xsl:call-template>
|
401 |
<xsl:call-template name="printDateAndTime">
|
402 |
<xsl:with-param name="date" select="c:legalAuthenticator/c:time/@value"/>
|
403 |
</xsl:call-template>
|
404 |
</p></body>
|
405 |
</html></xsl:template><xsl:template name="show-address"><xsl:param name="address"/>
|
406 |
<xsl:choose>
|
407 |
<xsl:when test="$address">
|
408 |
<xsl:for-each select="$address/c:streetAddressLine">
|
409 |
<xsl:value-of select="."/>
|
410 |
<br/>
|
411 |
</xsl:for-each>
|
412 |
<xsl:if test="$address/c:streetName">
|
413 |
<xsl:value-of select="$address/c:streetName"/>
|
414 |
<xsl:text> </xsl:text>
|
415 |
<xsl:value-of select="$address/c:houseNumber"/>
|
416 |
<br/>
|
417 |
</xsl:if>
|
418 |
<xsl:if test="string-length($address/c:postalCode)>0">
|
419 |
<xsl:value-of select="$address/c:postalCode"/>
|
420 |
</xsl:if>
|
421 |
<xsl:if test="string-length($address/c:city)>0">
|
422 |
<xsl:text>, </xsl:text>
|
423 |
<xsl:value-of select="$address/c:city"/>
|
424 |
<br/>
|
425 |
</xsl:if>
|
426 |
<xsl:if test="string-length($address/c:state)>0">
|
427 |
<xsl:text>, </xsl:text>
|
428 |
<xsl:value-of select="$address/c:state"/>
|
429 |
<br/>
|
430 |
</xsl:if>
|
431 |
<xsl:if test="string-length($address/c:country)>0">
|
432 |
<xsl:text>, </xsl:text>
|
433 |
<xsl:value-of select="$address/c:country"/>
|
434 |
<br/>
|
435 |
</xsl:if>
|
436 |
</xsl:when>
|
437 |
<xsl:otherwise>
|
438 |
<xsl:text>addresse non renseignée</xsl:text>
|
439 |
</xsl:otherwise>
|
440 |
</xsl:choose></xsl:template><xsl:template name="show-address-inline"><xsl:param name="address"/>
|
441 |
<xsl:choose>
|
442 |
<xsl:when test="$address">
|
443 |
<xsl:for-each select="$address/c:streetAddressLine">
|
444 |
<xsl:value-of select="."/>
|
445 |
<xsl:text> </xsl:text>
|
446 |
</xsl:for-each>
|
447 |
<xsl:if test="$address/c:streetName">
|
448 |
<xsl:value-of select="$address/c:streetName"/>
|
449 |
<xsl:text> </xsl:text>
|
450 |
<xsl:value-of select="$address/c:houseNumber"/>
|
451 |
</xsl:if>
|
452 |
<xsl:if test="string-length($address/c:postalCode)>0">
|
453 |
<xsl:value-of select="$address/c:postalCode"/>
|
454 |
</xsl:if>
|
455 |
<xsl:if test="string-length($address/c:city)>0">
|
456 |
<xsl:text>, </xsl:text>
|
457 |
<xsl:value-of select="$address/c:city"/>
|
458 |
<br/>
|
459 |
</xsl:if>
|
460 |
<xsl:if test="string-length($address/c:state)>0">
|
461 |
<xsl:text>, </xsl:text>
|
462 |
<xsl:value-of select="$address/c:state"/>
|
463 |
<br/>
|
464 |
</xsl:if>
|
465 |
<xsl:if test="string-length($address/c:country)>0">
|
466 |
<xsl:text>, </xsl:text>
|
467 |
<xsl:value-of select="$address/c:country"/>
|
468 |
<br/>
|
469 |
</xsl:if>
|
470 |
</xsl:when>
|
471 |
<xsl:otherwise>
|
472 |
<xsl:text>addresse non renseignée</xsl:text>
|
473 |
</xsl:otherwise>
|
474 |
</xsl:choose></xsl:template><xsl:template name="show-telecom"><xsl:param name="telecom"/>
|
475 |
<xsl:choose>
|
476 |
<xsl:when test="$telecom">
|
477 |
<xsl:variable name="type" select="substring-before($telecom/@value, ':')"/>
|
478 |
<xsl:variable name="value" select="substring-after($telecom/@value, ':')"/>
|
479 |
<xsl:if test="$type">
|
480 |
<xsl:call-template name="translateTelecomCode">
|
481 |
<xsl:with-param name="code" select="$type"/>
|
482 |
</xsl:call-template>
|
483 |
<xsl:text> : </xsl:text>
|
484 |
<xsl:text> </xsl:text>
|
485 |
<xsl:value-of select="$value"/>
|
486 |
</xsl:if>
|
487 |
</xsl:when>
|
488 |
<xsl:otherwise>
|
489 |
<xsl:text>Coordonnées téléphoniques non renseignées</xsl:text>
|
490 |
</xsl:otherwise>
|
491 |
</xsl:choose></xsl:template><xsl:template name="translateTelecomCode"><xsl:param name="code"/>
|
492 |
<xsl:choose>
|
493 |
<xsl:when test="$code='tel'">
|
494 |
<xsl:text>Tél</xsl:text>
|
495 |
</xsl:when>
|
496 |
<xsl:when test="$code='fax'">
|
497 |
<xsl:text>Fax</xsl:text>
|
498 |
</xsl:when>
|
499 |
<xsl:when test="$code='http'">
|
500 |
<xsl:text>Page Web</xsl:text>
|
501 |
</xsl:when>
|
502 |
<xsl:when test="$code='mailto'">
|
503 |
<xsl:text>E-mail</xsl:text>
|
504 |
</xsl:when>
|
505 |
<xsl:otherwise>
|
506 |
<xsl:text>{$code='</xsl:text>
|
507 |
<xsl:value-of select="$code"/>
|
508 |
<xsl:text>'?}</xsl:text>
|
509 |
</xsl:otherwise>
|
510 |
</xsl:choose></xsl:template><xsl:template name="printDateAndTime"><xsl:param name="date"/>
|
511 |
<xsl:if test="string-length($date)>0">
|
512 |
<xsl:text> le </xsl:text>
|
513 |
<xsl:call-template name="printDate">
|
514 |
<xsl:with-param name="date" select="$date"/>
|
515 |
</xsl:call-template>
|
516 |
</xsl:if>
|
517 |
<xsl:if test="string-length(substring($date, 9, 2))>0">
|
518 |
<xsl:text> à </xsl:text>
|
519 |
<xsl:value-of select="substring($date, 9, 2)"/>
|
520 |
<xsl:text>:</xsl:text>
|
521 |
<xsl:value-of select="substring($date, 11, 2)"/>
|
522 |
</xsl:if></xsl:template><xsl:template name="printDate"><xsl:param name="date"/>
|
523 |
<xsl:value-of select="substring($date, 7, 2)"/>
|
524 |
<xsl:text>/</xsl:text>
|
525 |
<xsl:value-of select="substring($date, 5, 2)"/>
|
526 |
<xsl:text>/</xsl:text>
|
527 |
<xsl:value-of select="substring($date, 1, 4)"/></xsl:template><xsl:template name="printNameAndId"><xsl:param name="ref"/>
|
528 |
<xsl:if test="string-length($ref/c:assignedPerson/c:name/c:prefix|$ref/c:associatedPerson/c:name/c:prefix)>0">
|
529 |
<xsl:value-of select="$ref/c:assignedPerson/c:name/c:prefix|$ref/c:associatedPerson/c:name/c:prefix"/>
|
530 |
<xsl:text> </xsl:text>
|
531 |
</xsl:if>
|
532 |
<xsl:if test="string-length($ref/c:assignedPerson/c:name/c:given|$ref/c:associatedPerson/c:name/c:given)>0">
|
533 |
<xsl:value-of select="$ref/c:assignedPerson/c:name/c:given|$ref/c:associatedPerson/c:name/c:given"/>
|
534 |
<xsl:text> </xsl:text>
|
535 |
</xsl:if>
|
536 |
<xsl:if test="string-length($ref/c:assignedPerson/c:name/c:family|$ref/c:associatedPerson/c:name/c:family)>0">
|
537 |
<xsl:value-of select="$ref/c:assignedPerson/c:name/c:family|$ref/c:associatedPerson/c:name/c:family"/>
|
538 |
<xsl:text> </xsl:text>
|
539 |
</xsl:if>
|
540 |
<xsl:if test="string-length($ref//c:id/@extension)>0">
|
541 |
<xsl:text> (</xsl:text>
|
542 |
<xsl:value-of select="$ref//c:id/@extension"/>
|
543 |
<xsl:text>)</xsl:text>
|
544 |
</xsl:if></xsl:template><xsl:template name="printLogo"></xsl:template><xsl:template name="printDatamatrix"></xsl:template><xsl:template name="directeur_signe"></xsl:template><xsl:template match="c:component/c:structuredBody"><xsl:for-each select="c:component/c:section">
|
545 |
<xsl:comment>Début body structure</xsl:comment>
|
546 |
<xsl:call-template name="section"/>
|
547 |
<xsl:comment>Fin body structure</xsl:comment>
|
548 |
</xsl:for-each></xsl:template><xsl:template name="section"><xsl:call-template name="section-title">
|
549 |
<xsl:with-param name="title" select="c:title"/>
|
550 |
</xsl:call-template>
|
551 |
<xsl:call-template name="section-paragraph">
|
552 |
<xsl:with-param name="paragraph" select="c:paragraph"/>
|
553 |
</xsl:call-template>
|
554 |
<xsl:call-template name="section-text"/>
|
555 |
<xsl:for-each select="c:component/c:section">
|
556 |
<xsl:call-template name="nestedSection">
|
557 |
<xsl:with-param name="margin" select="2"/>
|
558 |
</xsl:call-template>
|
559 |
</xsl:for-each></xsl:template><xsl:template name="section-title"><xsl:param name="title"/>
|
560 |
<h3>
|
561 |
<xsl:value-of select="$title"/>
|
562 |
</h3></xsl:template><xsl:template name="section-paragraph"><xsl:param name="paragraph"/>
|
563 |
<div>
|
564 |
<xsl:value-of select="$paragraph"/>
|
565 |
</div></xsl:template><xsl:template name="section-text"><div><xsl:apply-templates select="c:text" /></div></xsl:template><xsl:template name="nestedSection"><xsl:param name="margin"/>
|
566 |
<h4 style="margin-left : {$margin}em;">
|
567 |
<xsl:value-of select="c:title"/>
|
568 |
</h4>
|
569 |
<div style="margin-left : {$margin}em;"><xsl:apply-templates select="c:text" /></div>
|
570 |
<xsl:for-each select="c:component/c:section">
|
571 |
<xsl:call-template name="nestedSection">
|
572 |
<xsl:with-param name="margin" select="2*$margin"/>
|
573 |
</xsl:call-template>
|
574 |
</xsl:for-each></xsl:template><xsl:template match="c:table/@*|c:thead/@*|c:tfoot/@*|c:tbody/@*|c:colgroup/@*|c:col/@*|c:tr/@*|c:th/@*|c:td/@*"><xsl:copy>
|
575 |
<xsl:copy-of select="@*"/>
|
576 |
<xsl:apply-templates />
|
577 |
</xsl:copy></xsl:template><xsl:template match="c:table">
|
578 |
<xsl:variable name="tableStyle">
|
579 |
<xsl:choose>
|
580 |
<xsl:when test="@styleCode = 'anterio'">
|
581 |
margin-top:25px;
|
582 |
border:0;
|
583 |
</xsl:when>
|
584 |
<xsl:otherwise>
|
585 |
border:0;
|
586 |
</xsl:otherwise>
|
587 |
</xsl:choose>
|
588 |
<xsl:choose>
|
589 |
<xsl:when test="contains(@styleCode,'W_')">
|
590 |
width:<xsl:value-of select="substring-after(@styleCode,'W_')" />px;
|
591 |
</xsl:when>
|
592 |
<xsl:otherwise>
|
593 |
width:88%;
|
594 |
</xsl:otherwise>
|
595 |
</xsl:choose>
|
596 |
</xsl:variable>
|
597 |
<table style="{$tableStyle};">
|
598 |
|
599 |
<xsl:copy-of select="@*"/>
|
600 |
<xsl:apply-templates />
|
601 |
</table></xsl:template><xsl:template match="c:td"><xsl:variable name="colspan" select="./@colspan"/>
|
602 |
<xsl:variable name="position" select="position()"/>
|
603 |
<xsl:variable name="tdStyle">
|
604 |
<xsl:choose>
|
605 |
<xsl:when test="$position = 1">width:20%;border: 0;</xsl:when>
|
606 |
<xsl:otherwise>border-left:0;padding-left:1%;</xsl:otherwise>
|
607 |
</xsl:choose>
|
608 |
</xsl:variable>
|
609 |
<xsl:variable name="tdWidth">
|
610 |
<xsl:choose>
|
611 |
<xsl:when test="contains(@styleCode,'ATB')">
|
612 |
<xsl:value-of select="substring-after(@styleCode,'ATB')"/>%
|
613 |
</xsl:when>
|
614 |
<xsl:otherwise>
|
615 |
<xsl:if test="contains(@styleCode,'W_')"><xsl:value-of select="substring-after(@styleCode,'W_')" /></xsl:if>
|
616 |
</xsl:otherwise>
|
617 |
</xsl:choose>
|
618 |
</xsl:variable>
|
619 |
<xsl:variable name="fontStyle">
|
620 |
<xsl:if test="contains(@styleCode,'Bold')">font-weight:bold;</xsl:if>
|
621 |
<xsl:if test="contains(@styleCode,'Italics')">font-style:italic;</xsl:if>
|
622 |
<xsl:if test="contains(@styleCode,'Underline')">text-decoration:underline;</xsl:if>
|
623 |
<xsl:if test="contains(@styleCode,'SmallFont')">font-size:0.85em;</xsl:if>
|
624 |
<xsl:if test="contains(@styleCode,'BG_1')">background-color:#000000;</xsl:if>
|
625 |
<xsl:if test="contains(@styleCode,'BG_2')">background-color:#0066FF;</xsl:if>
|
626 |
<xsl:if test="contains(@styleCode,'BG_3')">background-color:#66FFFF;</xsl:if>
|
627 |
<xsl:if test="contains(@styleCode,'BG_4')">background-color:#00FF66;</xsl:if>
|
628 |
<xsl:if test="contains(@styleCode,'BG_5')">background-color:#FF66FF;</xsl:if>
|
629 |
<xsl:if test="contains(@styleCode,'BG_6')">background-color:#FF3333;</xsl:if>
|
630 |
<xsl:if test="contains(@styleCode,'BG_7')">background-color:#FFFF66;</xsl:if>
|
631 |
<xsl:if test="contains(@styleCode,'BG_8')">background-color:#FFFFFF;</xsl:if>
|
632 |
<xsl:if test="contains(@styleCode,'BG_9')">background-color:#808080;</xsl:if>
|
633 |
<xsl:if test="contains(@styleCode,'BG_10')">background-color:#000080;</xsl:if>
|
634 |
<xsl:if test="contains(@styleCode,'BG_11')">background-color:#008080;</xsl:if>
|
635 |
<xsl:if test="contains(@styleCode,'BG_12')">background-color:#008000;</xsl:if>
|
636 |
<xsl:if test="contains(@styleCode,'BG_13')">background-color:#800080;</xsl:if>
|
637 |
<xsl:if test="contains(@styleCode,'BG_14')">background-color:#800000;</xsl:if>
|
638 |
<xsl:if test="contains(@styleCode,'BG_15')">background-color:#808000;</xsl:if>
|
639 |
<xsl:if test="contains(@styleCode,'BG_16')">background-color:#C0C0C0;</xsl:if>
|
640 |
<xsl:if test="contains(@styleCode,'FG_1')">color:#000000;</xsl:if>
|
641 |
<xsl:if test="contains(@styleCode,'FG_2')">color:#0066FF;</xsl:if>
|
642 |
<xsl:if test="contains(@styleCode,'FG_3')">color:#66FFFF;</xsl:if>
|
643 |
<xsl:if test="contains(@styleCode,'FG_4')">color:#00FF66;</xsl:if>
|
644 |
<xsl:if test="contains(@styleCode,'FG_5')">color:#FF66FF;</xsl:if>
|
645 |
<xsl:if test="contains(@styleCode,'FG_6')">color:#FF3333;</xsl:if>
|
646 |
<xsl:if test="contains(@styleCode,'FG_7')">color:#FFFF66;</xsl:if>
|
647 |
<xsl:if test="contains(@styleCode,'FG_8')">color:#FFFFFF;</xsl:if>
|
648 |
<xsl:if test="contains(@styleCode,'FG_9')">color:#808080;</xsl:if>
|
649 |
<xsl:if test="contains(@styleCode,'FG_10')">color:#000080;</xsl:if>
|
650 |
<xsl:if test="contains(@styleCode,'FG_11')">color:#008080;</xsl:if>
|
651 |
<xsl:if test="contains(@styleCode,'FG_12')">color:#008000;</xsl:if>
|
652 |
<xsl:if test="contains(@styleCode,'FG_13')">color:#800080;</xsl:if>
|
653 |
<xsl:if test="contains(@styleCode,'FG_14')">color:#800000;</xsl:if>
|
654 |
<xsl:if test="contains(@styleCode,'FG_15')">color:#808000;</xsl:if>
|
655 |
<xsl:if test="contains(@styleCode,'FG_16')">color:#C0C0C0;</xsl:if>
|
656 |
</xsl:variable>
|
657 |
<td width="{$tdWidth}" style="{$tdStyle}" colspan="{$colspan}">
|
658 |
<span style="{$fontStyle}">
|
659 |
<xsl:apply-templates />
|
660 |
</span>
|
661 |
</td></xsl:template><xsl:template match="c:th"><xsl:variable name="position" select="position()"/>
|
662 |
<xsl:variable name="style">
|
663 |
<xsl:choose>
|
664 |
<xsl:when test="$position = 1">border: 0;width:20%;</xsl:when>
|
665 |
<xsl:otherwise>border-left: 0;</xsl:otherwise>
|
666 |
</xsl:choose>
|
667 |
</xsl:variable>
|
668 |
<th class="th" style="background:lightgrey;{$style}">
|
669 |
<xsl:copy-of select="@*"/>
|
670 |
<xsl:apply-templates />
|
671 |
</th></xsl:template><xsl:template match="c:tr"><tr class="tr">
|
672 |
<xsl:copy-of select="@*"/>
|
673 |
<xsl:apply-templates />
|
674 |
</tr></xsl:template><xsl:template match="c:col"><col>
|
675 |
<xsl:copy-of select="@*"/>
|
676 |
<xsl:apply-templates />
|
677 |
</col></xsl:template><xsl:template match="c:colgroup"><colgroup>
|
678 |
<xsl:copy-of select="@*"/>
|
679 |
<xsl:apply-templates />
|
680 |
</colgroup></xsl:template><xsl:template match="c:tbody"><tbody>
|
681 |
<xsl:copy-of select="@*"/>
|
682 |
<xsl:apply-templates />
|
683 |
</tbody></xsl:template><xsl:template match="c:tfoot"><tfoot>
|
684 |
<xsl:copy-of select="@*"/>
|
685 |
<xsl:apply-templates />
|
686 |
</tfoot></xsl:template><xsl:template match="c:thead"><thead style="border-bottom: 0">
|
687 |
<xsl:copy-of select="@*"/>
|
688 |
<xsl:apply-templates />
|
689 |
</thead></xsl:template><xsl:template match="c:table/c:caption"><span style="font-weight:bold;">
|
690 |
<xsl:apply-templates />
|
691 |
</span></xsl:template><xsl:template match="c:content"><xsl:apply-templates /></xsl:template><xsl:template match="c:content[@revised='delete']"></xsl:template><xsl:template match="c:paragraph"><xsl:variable name="style">
|
692 |
<xsl:choose>
|
693 |
<xsl:when test="@styleCode='entete'">display:none;</xsl:when>
|
694 |
<xsl:when test="@styleCode='bottom'">margin-top:0;margin-bottom:30px;</xsl:when>
|
695 |
<xsl:otherwise>margin : 8px 0;</xsl:otherwise>
|
696 |
</xsl:choose>
|
697 |
</xsl:variable>
|
698 |
<xsl:variable name="fontStyle">
|
699 |
<xsl:if test="contains(@styleCode,'Bold')">font-weight:bold;</xsl:if>
|
700 |
<xsl:if test="contains(@styleCode,'Italics')">font-style:italic;</xsl:if>
|
701 |
<xsl:if test="contains(@styleCode,'Underline')">text-decoration:underline;</xsl:if>
|
702 |
<xsl:if test="contains(@styleCode,'SmallFont')">font-size:0.85em;</xsl:if>
|
703 |
<xsl:if test="contains(@styleCode,'BG_1')">background-color:#000000;</xsl:if>
|
704 |
<xsl:if test="contains(@styleCode,'BG_2')">background-color:#0066FF;</xsl:if>
|
705 |
<xsl:if test="contains(@styleCode,'BG_3')">background-color:#66FFFF;</xsl:if>
|
706 |
<xsl:if test="contains(@styleCode,'BG_4')">background-color:#00FF66;</xsl:if>
|
707 |
<xsl:if test="contains(@styleCode,'BG_5')">background-color:#FF66FF;</xsl:if>
|
708 |
<xsl:if test="contains(@styleCode,'BG_6')">background-color:#FF3333;</xsl:if>
|
709 |
<xsl:if test="contains(@styleCode,'BG_7')">background-color:#FFFF66;</xsl:if>
|
710 |
<xsl:if test="contains(@styleCode,'BG_8')">background-color:#FFFFFF;</xsl:if>
|
711 |
<xsl:if test="contains(@styleCode,'BG_9')">background-color:#808080;</xsl:if>
|
712 |
<xsl:if test="contains(@styleCode,'BG_10')">background-color:#000080;</xsl:if>
|
713 |
<xsl:if test="contains(@styleCode,'BG_11')">background-color:#008080;</xsl:if>
|
714 |
<xsl:if test="contains(@styleCode,'BG_12')">background-color:#008000;</xsl:if>
|
715 |
<xsl:if test="contains(@styleCode,'BG_13')">background-color:#800080;</xsl:if>
|
716 |
<xsl:if test="contains(@styleCode,'BG_14')">background-color:#800000;</xsl:if>
|
717 |
<xsl:if test="contains(@styleCode,'BG_15')">background-color:#808000;</xsl:if>
|
718 |
<xsl:if test="contains(@styleCode,'BG_16')">background-color:#C0C0C0;</xsl:if>
|
719 |
<xsl:if test="contains(@styleCode,'FG_1')">color:#000000;</xsl:if>
|
720 |
<xsl:if test="contains(@styleCode,'FG_2')">color:#0066FF;</xsl:if>
|
721 |
<xsl:if test="contains(@styleCode,'FG_3')">color:#66FFFF;</xsl:if>
|
722 |
<xsl:if test="contains(@styleCode,'FG_4')">color:#00FF66;</xsl:if>
|
723 |
<xsl:if test="contains(@styleCode,'FG_5')">color:#FF66FF;</xsl:if>
|
724 |
<xsl:if test="contains(@styleCode,'FG_6')">color:#FF3333;</xsl:if>
|
725 |
<xsl:if test="contains(@styleCode,'FG_7')">color:#FFFF66;</xsl:if>
|
726 |
<xsl:if test="contains(@styleCode,'FG_8')">color:#FFFFFF;</xsl:if>
|
727 |
<xsl:if test="contains(@styleCode,'FG_9')">color:#808080;</xsl:if>
|
728 |
<xsl:if test="contains(@styleCode,'FG_10')">color:#000080;</xsl:if>
|
729 |
<xsl:if test="contains(@styleCode,'FG_11')">color:#008080;</xsl:if>
|
730 |
<xsl:if test="contains(@styleCode,'FG_12')">color:#008000;</xsl:if>
|
731 |
<xsl:if test="contains(@styleCode,'FG_13')">color:#800080;</xsl:if>
|
732 |
<xsl:if test="contains(@styleCode,'FG_14')">color:#800000;</xsl:if>
|
733 |
<xsl:if test="contains(@styleCode,'FG_15')">color:#808000;</xsl:if>
|
734 |
<xsl:if test="contains(@styleCode,'FG_16')">color:#C0C0C0;</xsl:if>
|
735 |
</xsl:variable>
|
736 |
<p style="font-size:0.9em;{$style};{$fontStyle}">
|
737 |
<xsl:apply-templates/>
|
738 |
</p></xsl:template><xsl:template match="c:caption"><xsl:variable name="fontStyle">
|
739 |
<xsl:if test="contains(@styleCode,'Bold')">font-weight:bold;</xsl:if>
|
740 |
<xsl:if test="contains(@styleCode,'Italics')">font-style:italic;</xsl:if>
|
741 |
<xsl:if test="contains(@styleCode,'Underline')">text-decoration:underline;</xsl:if>
|
742 |
<xsl:if test="contains(@styleCode,'SmallFont')">font-size:0.85em;</xsl:if>
|
743 |
<xsl:if test="contains(@styleCode,'BG_1')">background-color:#000000;</xsl:if>
|
744 |
<xsl:if test="contains(@styleCode,'BG_2')">background-color:#0066FF;</xsl:if>
|
745 |
<xsl:if test="contains(@styleCode,'BG_3')">background-color:#66FFFF;</xsl:if>
|
746 |
<xsl:if test="contains(@styleCode,'BG_4')">background-color:#00FF66;</xsl:if>
|
747 |
<xsl:if test="contains(@styleCode,'BG_5')">background-color:#FF66FF;</xsl:if>
|
748 |
<xsl:if test="contains(@styleCode,'BG_6')">background-color:#FF3333;</xsl:if>
|
749 |
<xsl:if test="contains(@styleCode,'BG_7')">background-color:#FFFF66;</xsl:if>
|
750 |
<xsl:if test="contains(@styleCode,'BG_8')">background-color:#FFFFFF;</xsl:if>
|
751 |
<xsl:if test="contains(@styleCode,'BG_9')">background-color:#808080;</xsl:if>
|
752 |
<xsl:if test="contains(@styleCode,'BG_10')">background-color:#000080;</xsl:if>
|
753 |
<xsl:if test="contains(@styleCode,'BG_11')">background-color:#008080;</xsl:if>
|
754 |
<xsl:if test="contains(@styleCode,'BG_12')">background-color:#008000;</xsl:if>
|
755 |
<xsl:if test="contains(@styleCode,'BG_13')">background-color:#800080;</xsl:if>
|
756 |
<xsl:if test="contains(@styleCode,'BG_14')">background-color:#800000;</xsl:if>
|
757 |
<xsl:if test="contains(@styleCode,'BG_15')">background-color:#808000;</xsl:if>
|
758 |
<xsl:if test="contains(@styleCode,'BG_16')">background-color:#C0C0C0;</xsl:if>
|
759 |
<xsl:if test="contains(@styleCode,'FG_1')">color:#000000;</xsl:if>
|
760 |
<xsl:if test="contains(@styleCode,'FG_2')">color:#0066FF;</xsl:if>
|
761 |
<xsl:if test="contains(@styleCode,'FG_3')">color:#66FFFF;</xsl:if>
|
762 |
<xsl:if test="contains(@styleCode,'FG_4')">color:#00FF66;</xsl:if>
|
763 |
<xsl:if test="contains(@styleCode,'FG_5')">color:#FF66FF;</xsl:if>
|
764 |
<xsl:if test="contains(@styleCode,'FG_6')">color:#FF3333;</xsl:if>
|
765 |
<xsl:if test="contains(@styleCode,'FG_7')">color:#FFFF66;</xsl:if>
|
766 |
<xsl:if test="contains(@styleCode,'FG_8')">color:#FFFFFF;</xsl:if>
|
767 |
<xsl:if test="contains(@styleCode,'FG_9')">color:#808080;</xsl:if>
|
768 |
<xsl:if test="contains(@styleCode,'FG_10')">color:#000080;</xsl:if>
|
769 |
<xsl:if test="contains(@styleCode,'FG_11')">color:#008080;</xsl:if>
|
770 |
<xsl:if test="contains(@styleCode,'FG_12')">color:#008000;</xsl:if>
|
771 |
<xsl:if test="contains(@styleCode,'FG_13')">color:#800080;</xsl:if>
|
772 |
<xsl:if test="contains(@styleCode,'FG_14')">color:#800000;</xsl:if>
|
773 |
<xsl:if test="contains(@styleCode,'FG_15')">color:#808000;</xsl:if>
|
774 |
<xsl:if test="contains(@styleCode,'FG_16')">color:#C0C0C0;</xsl:if>
|
775 |
</xsl:variable>
|
776 |
<h2 style="{$fontStyle}"><xsl:apply-templates/></h2></xsl:template><xsl:template match="c:pre"><pre>
|
777 |
<xsl:apply-templates/>
|
778 |
</pre></xsl:template><xsl:template match="c:br"><xsl:element name="br">
|
779 |
<xsl:apply-templates/>
|
780 |
</xsl:element></xsl:template><xsl:template match="c:list"><xsl:if test="c:caption">
|
781 |
<p>
|
782 |
<b>
|
783 |
<xsl:apply-templates select="c:caption"/>
|
784 |
</b>
|
785 |
</p>
|
786 |
</xsl:if>
|
787 |
<div class="alignCenter">
|
788 |
<xsl:for-each select="c:item">
|
789 |
<xsl:apply-templates/>
|
790 |
</xsl:for-each>
|
791 |
</div>
|
792 |
</xsl:template><xsl:template match="c:renderMultiMedia"><xsl:variable name="imageRef" select="@referencedObject"/>
|
793 |
<xsl:variable name="divClass">
|
794 |
<xsl:if test="contains($imageRef,'GRAPH')">
|
795 |
alignCenter
|
796 |
</xsl:if>
|
797 |
</xsl:variable>
|
798 |
<div class="{$divClass}">
|
799 |
<xsl:choose>
|
800 |
<xsl:when test="//c:regionOfInterest[@ID=$imageRef]">
|
801 |
|
802 |
<xsl:if test="//c:regionOfInterest[@ID=$imageRef]//c:observationMedia/c:value[@mediaType='image/gif' or @mediaType='image/jpeg' or @mediaType='image/png']">
|
803 |
<br clear="all"/>
|
804 |
<xsl:element name="img">
|
805 |
<xsl:attribute name="src">
|
806 |
<xsl:value-of
|
807 |
select="//c:regionOfInterest[@ID=$imageRef]//c:observationMedia/c:value/c:reference/@value"/>
|
808 |
</xsl:attribute>
|
809 |
</xsl:element>
|
810 |
</xsl:if>
|
811 |
|
812 |
<xsl:if test="//c:regionOfInterest[@ID=$imageRef]//c:observationMedia/c:value[@mediaType='text/xml' or @mediaType='application/pdf']">
|
813 |
<br clear="all"/>
|
814 |
<xsl:element name="p">
|
815 |
<xsl:value-of select="//c:regionOfInterest[@ID=$imageRef]//c:observationMedia/c:value/c:reference/@value"/>
|
816 |
</xsl:element>
|
817 |
</xsl:if>
|
818 |
</xsl:when>
|
819 |
<xsl:otherwise>
|
820 |
<xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
|
821 |
<xsl:variable name="node-set" select="function-available('exsl:node-set')"/>
|
822 |
|
823 |
<xsl:if test="//c:observationMedia[@ID=$imageRef]/c:value[@mediaType='image/gif' or @mediaType='image/jpeg' or @mediaType='image/png']">
|
824 |
<br clear="all"/>
|
825 |
<xsl:element name="IMG">
|
826 |
|
827 |
|
828 |
|
829 |
<xsl:attribute name="id">
|
830 |
<xsl:value-of select="$imageRef"/>
|
831 |
</xsl:attribute>
|
832 |
<xsl:attribute name="src">
|
833 |
data:<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"/>;base64,
|
834 |
<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value"/>
|
835 |
</xsl:attribute>
|
836 |
</xsl:element>
|
837 |
</xsl:if>
|
838 |
|
839 |
<xsl:if test="//c:observationMedia[@ID=$imageRef]/c:value[@mediaType='text/xml']">
|
840 |
<br clear="all"/>
|
841 |
<xsl:choose>
|
842 |
<xsl:when test="$vendor='libxslt' and $node-set">
|
843 |
|
844 |
|
845 |
|
846 |
<xsl:element name="object">
|
847 |
<xsl:attribute name="type">
|
848 |
<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"/>
|
849 |
</xsl:attribute>
|
850 |
|
851 |
<xsl:attribute name="id">
|
852 |
<xsl:value-of select="$imageRef"/>
|
853 |
</xsl:attribute>
|
854 |
<xsl:attribute name="data">data:<xsl:value-of
|
855 |
select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"/>;base64,
|
856 |
<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value"/>
|
857 |
</xsl:attribute>
|
858 |
</xsl:element>
|
859 |
</xsl:when>
|
860 |
|
861 |
<xsl:when test="$vendor='Transformiix' and $node-set">
|
862 |
|
863 |
|
864 |
<xsl:element name="object">
|
865 |
<xsl:attribute name="type">
|
866 |
<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"/>
|
867 |
</xsl:attribute>
|
868 |
|
869 |
<xsl:attribute name="id">
|
870 |
<xsl:value-of select="$imageRef"/>
|
871 |
</xsl:attribute>
|
872 |
<xsl:attribute name="data">data:<xsl:value-of
|
873 |
select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"/>;base64,
|
874 |
<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value"/>
|
875 |
</xsl:attribute>
|
876 |
</xsl:element>
|
877 |
</xsl:when>
|
878 |
<xsl:otherwise>
|
879 |
<xsl:text>Ce document contient des données (SESAM vitale) qui ne peuvent être affichées par ce navigateur.</xsl:text>
|
880 |
</xsl:otherwise>
|
881 |
</xsl:choose>
|
882 |
</xsl:if>
|
883 |
|
884 |
<xsl:if test="//c:observationMedia[@ID=$imageRef]/c:value[@mediaType='application/pdf']">
|
885 |
<xsl:choose>
|
886 |
<xsl:when test="$vendor='libxslt' and $node-set">
|
887 |
|
888 |
|
889 |
|
890 |
<xsl:element name="object">
|
891 |
<xsl:attribute name="id">
|
892 |
<xsl:value-of select="$imageRef"/>
|
893 |
</xsl:attribute>
|
894 |
<xsl:attribute name="type">
|
895 |
<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"/>
|
896 |
</xsl:attribute>
|
897 |
<xsl:attribute name="width">100%</xsl:attribute>
|
898 |
<xsl:attribute name="height">600px</xsl:attribute>
|
899 |
<xsl:attribute name="data">data:<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"
|
900 |
/>;base64,<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value"/>
|
901 |
</xsl:attribute>
|
902 |
</xsl:element>
|
903 |
</xsl:when>
|
904 |
<xsl:when test="$vendor='Transformiix' and $node-set">
|
905 |
|
906 |
|
907 |
<xsl:element name="object">
|
908 |
<xsl:attribute name="id">
|
909 |
<xsl:value-of select="$imageRef"/>
|
910 |
</xsl:attribute>
|
911 |
<xsl:attribute name="type">
|
912 |
<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"/>
|
913 |
</xsl:attribute>
|
914 |
<xsl:attribute name="width">800px></xsl:attribute>
|
915 |
<xsl:attribute name="height">600px</xsl:attribute>
|
916 |
<xsl:attribute name="data">data:<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value/@mediaType"
|
917 |
/>;base64,<xsl:value-of select="//c:observationMedia[@ID=$imageRef]/c:value"/>
|
918 |
</xsl:attribute>
|
919 |
</xsl:element>
|
920 |
</xsl:when>
|
921 |
<xsl:otherwise>
|
922 |
|
923 |
<xsl:text>Ce document contient un fichier PDF qui ne peut être affiché par ce navigateur.</xsl:text>
|
924 |
</xsl:otherwise>
|
925 |
</xsl:choose>
|
926 |
</xsl:if>
|
927 |
</xsl:otherwise>
|
928 |
</xsl:choose>
|
929 |
</div></xsl:template><xsl:template name="renderTextB64"><xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
|
930 |
<xsl:variable name="node-set" select="function-available('exsl:node-set')"/>
|
931 |
<xsl:choose>
|
932 |
<xsl:when test="$vendor='libxslt' and $node-set">
|
933 |
|
934 |
|
935 |
<xsl:element name="object">
|
936 |
<xsl:attribute name="type">
|
937 |
<xsl:value-of select="c:text/@mediaType"/>
|
938 |
</xsl:attribute>
|
939 |
<xsl:attribute name="width">800px</xsl:attribute>
|
940 |
<xsl:attribute name="height">600px</xsl:attribute>
|
941 |
<xsl:attribute name="data">data:<xsl:value-of select="c:text/@mediaType"
|
942 |
/>;base64,<xsl:value-of select="c:text"/>
|
943 |
</xsl:attribute>
|
944 |
</xsl:element>
|
945 |
</xsl:when>
|
946 |
<xsl:when test="$vendor='Opera' and $node-set">
|
947 |
|
948 |
|
949 |
<xsl:element name="object">
|
950 |
<xsl:attribute name="type">
|
951 |
<xsl:value-of select="c:text/@mediaType"/>
|
952 |
</xsl:attribute>
|
953 |
<xsl:attribute name="width">800px</xsl:attribute>
|
954 |
<xsl:attribute name="height">600px</xsl:attribute>
|
955 |
<xsl:attribute name="data">data:<xsl:value-of select="c:text/@mediaType"
|
956 |
/>;base64,<xsl:value-of select="c:text"/>
|
957 |
</xsl:attribute>
|
958 |
</xsl:element>
|
959 |
</xsl:when>
|
960 |
<xsl:when test="$vendor='Transformiix' and $node-set">
|
961 |
|
962 |
|
963 |
<xsl:text>Enregistrer le document PDF (clic droit "puis enregistrer sous") : </xsl:text>
|
964 |
<xsl:element name="a">
|
965 |
<xsl:attribute name="href">data:<xsl:value-of select="c:text/@mediaType"
|
966 |
/>;base64,<xsl:value-of select="c:text"/>
|
967 |
</xsl:attribute>
|
968 |
<xsl:text>ici</xsl:text>
|
969 |
</xsl:element>
|
970 |
</xsl:when>
|
971 |
<xsl:otherwise>
|
972 |
|
973 |
<CENTER>Ce document contient un fichier PDF qui ne peut être affiché par ce
|
974 |
navigateur</CENTER>
|
975 |
</xsl:otherwise>
|
976 |
</xsl:choose></xsl:template><xsl:template name="printPrescripteur"><xsl:param name="ref"/>
|
977 |
<xsl:if test="string-length($ref/c:assignedPerson/c:name/c:prefix|$ref/c:associatedPerson/c:name/c:prefix)>0">
|
978 |
<xsl:value-of select="$ref/c:assignedPerson/c:name/c:prefix|$ref/c:associatedPerson/c:name/c:prefix"/>
|
979 |
<xsl:text> </xsl:text>
|
980 |
</xsl:if>
|
981 |
<xsl:if test="string-length($ref/c:assignedPerson/c:name/c:given|$ref/c:associatedPerson/c:name/c:given)>0">
|
982 |
<xsl:value-of select="$ref/c:assignedPerson/c:name/c:given|$ref/c:associatedPerson/c:name/c:given"/>
|
983 |
<xsl:text> </xsl:text>
|
984 |
</xsl:if>
|
985 |
<xsl:if test="string-length($ref/c:assignedPerson/c:name/c:family|$ref/c:associatedPerson/c:name/c:family)>0">
|
986 |
<xsl:value-of select="$ref/c:assignedPerson/c:name/c:family|$ref/c:associatedPerson/c:name/c:family"/>
|
987 |
<xsl:text> </xsl:text>
|
988 |
</xsl:if>
|
989 |
<xsl:if test="string-length($ref//c:id/@extension)>0">
|
990 |
<xsl:text> - RPPS </xsl:text>
|
991 |
<xsl:value-of select="$ref//c:id/@extension"/>
|
992 |
<xsl:text></xsl:text>
|
993 |
</xsl:if>
|
994 |
<xsl:for-each select="$ref/c:telecom">
|
995 |
<xsl:variable name="telecom" select="@value"/>
|
996 |
<xsl:variable name="domainName" select="substring-after($telecom,'@')"/>
|
997 |
<xsl:if test="contains($domainName,'mssante')">
|
998 |
<xsl:text> - </xsl:text>
|
999 |
<xsl:value-of select="substring-after($telecom,'mailto:')"/>
|
1000 |
<xsl:text></xsl:text>
|
1001 |
</xsl:if>
|
1002 |
</xsl:for-each></xsl:template><xsl:template name="printDemandeur"><xsl:param name="ref"/>
|
1003 |
<xsl:if test="string-length($ref/c:assignedPerson/c:name/c:family|$ref/c:associatedPerson/c:name/c:family)>0">
|
1004 |
<xsl:value-of select="$ref/c:assignedPerson/c:name/c:family|$ref/c:associatedPerson/c:name/c:family"/>
|
1005 |
<xsl:text> </xsl:text>
|
1006 |
</xsl:if></xsl:template></xsl:stylesheet>
|