edifact_converter 2.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1180) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +18 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +21 -0
  5. data/README.md +36 -0
  6. data/Rakefile +11 -0
  7. data/bin/edifact_converter +55 -0
  8. data/data/configuration.json +447 -0
  9. data/data/configuration.yaml +284 -0
  10. data/data/remove_grouping.xsl +43 -0
  11. data/data/xml/Schemas/2004/06/01/B.xsd +112 -0
  12. data/data/xml/Schemas/2004/06/01/C1.xsd +121 -0
  13. data/data/xml/Schemas/2004/06/01/C2.xsd +121 -0
  14. data/data/xml/Schemas/2004/06/01/C3.xsd +83 -0
  15. data/data/xml/Schemas/2004/06/01/CCReceiver.xsd +19 -0
  16. data/data/xml/Schemas/2004/06/01/CVR/CVR_CVRNumber.xsd +14 -0
  17. data/data/xml/Schemas/2004/06/01/ClinicalTypes.xsd +64 -0
  18. data/data/xml/Schemas/2004/06/01/Collector.xsd +26 -0
  19. data/data/xml/Schemas/2004/06/01/Contact.xsd +15 -0
  20. data/data/xml/Schemas/2004/06/01/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  21. data/data/xml/Schemas/2004/06/01/Cpr/vssver.scc +0 -0
  22. data/data/xml/Schemas/2004/06/01/DKAddress.xsd +30 -0
  23. data/data/xml/Schemas/2004/06/01/Dkcc/DKCC.xsd +9 -0
  24. data/data/xml/Schemas/2004/06/01/Dkcc/DKCC_PersonGivenName.xsd +16 -0
  25. data/data/xml/Schemas/2004/06/01/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
  26. data/data/xml/Schemas/2004/06/01/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
  27. data/data/xml/Schemas/2004/06/01/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
  28. data/data/xml/Schemas/2004/06/01/Dkcc/vssver.scc +0 -0
  29. data/data/xml/Schemas/2004/06/01/EMessage.xsd +105 -0
  30. data/data/xml/Schemas/2004/06/01/FormattedText.xsd +45 -0
  31. data/data/xml/Schemas/2004/06/01/GeneralElements.xsd +185 -0
  32. data/data/xml/Schemas/2004/06/01/GeneralTypes.xsd +265 -0
  33. data/data/xml/Schemas/2004/06/01/GeneraliseringsForsoeg.xsd +26 -0
  34. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ.xsd +11 -0
  35. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Aarsagstilknytning.xsd +16 -0
  36. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DAarsagRekurs.xsd +16 -0
  37. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DDelRekurs.xsd +16 -0
  38. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DFoelRekurs.xsd +16 -0
  39. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DNotatTilknytning.xsd +16 -0
  40. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DPriorRekurs.xsd +24 -0
  41. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Datatyper.xsd +148 -0
  42. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Diagnose.xsd +15 -0
  43. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Diagnosestatus.xsd +11 -0
  44. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Diagnostiknotat.xsd +15 -0
  45. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Doedsattest.xsd +15 -0
  46. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_EksplicitIndberetning.xsd +23 -0
  47. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_EksternAarsag.xsd +23 -0
  48. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Evalueringsresultat.xsd +17 -0
  49. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_FastMedicinering.xsd +17 -0
  50. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Fokusering.xsd +17 -0
  51. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Forloeb.xsd +19 -0
  52. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_ForloebSymbolisering.xsd +25 -0
  53. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Forloebsansvar.xsd +21 -0
  54. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Formaal.xsd +16 -0
  55. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_GEpjRettelse.xsd +17 -0
  56. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_GEpjRettelse.~xsd +17 -0
  57. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_GEpjStatus.xsd +18 -0
  58. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_GEpjStatus.~xsd +18 -0
  59. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Henvendelse.xsd +16 -0
  60. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_IDelRekurs.xsd +16 -0
  61. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_IFoelRekurs.xsd +16 -0
  62. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_INotatTilknytning.xsd +16 -0
  63. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_IPriorRekurs.xsd +20 -0
  64. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Indberetningsstatus.xsd +15 -0
  65. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Indikationstilknytning.xsd +16 -0
  66. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Ingrediens.xsd +17 -0
  67. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Intervention.xsd +25 -0
  68. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Interventionsnotat.xsd +16 -0
  69. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Interventionsresultat.xsd +27 -0
  70. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Interventionsstatus.xsd +19 -0
  71. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Journalfoeringskontekst.xsd +15 -0
  72. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Komplikationstilknytning.xsd +16 -0
  73. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Kontaktprioritet.xsd +17 -0
  74. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Kontekst.xsd +15 -0
  75. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_MaalTilknytning.xsd +16 -0
  76. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Medicinblanding.xsd +15 -0
  77. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Medicinering.xsd +26 -0
  78. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Medicinudlevering.xsd +22 -0
  79. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_OperationeltMaal.xsd +28 -0
  80. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Paaroerende.xsd +43 -0
  81. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Package.xsd +61 -0
  82. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Patient.xsd +15 -0
  83. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_PersonaleKontakt.xsd +16 -0
  84. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_PladsRessource.xsd +17 -0
  85. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Plejeansvar.xsd +16 -0
  86. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Skadesanmeldelse.xsd +20 -0
  87. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_SkemaMedicinering.xsd +15 -0
  88. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_SpontanHenvendelse.xsd +11 -0
  89. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_SpontantOpstaaetOplysning.xsd +24 -0
  90. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_StatusRettelse.xsd +17 -0
  91. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_StatusRettelse.~xsd +17 -0
  92. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Tilstedevaerelse.xsd +11 -0
  93. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_UdfoerendePersonale.xsd +17 -0
  94. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_VariabelMedicinering.xsd +19 -0
  95. data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Vejledning.xsd +17 -0
  96. data/data/xml/Schemas/2004/06/01/Gepka/Journalen/GEPJ_Interface_ordnet_status.xml +1018 -0
  97. data/data/xml/Schemas/2004/06/01/Gepka/Journalen/GEPJ_Interface_ordnet_status.xsd +1018 -0
  98. data/data/xml/Schemas/2004/06/01/Gepka/Journalen/vssver.scc +0 -0
  99. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/GEPJ_includer.xsd +34 -0
  100. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/GEPJ_journal_package.xsd +1034 -0
  101. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/RequestDatatyper.xsd +19 -0
  102. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentAktuelleForloebsdiagnoser.xsd +77 -0
  103. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentAktuelleInterventionsHierarkiroedder.xsd +196 -0
  104. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentDiagnoseNetvaerk.xsd +147 -0
  105. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentDiagnoseliste.xsd +53 -0
  106. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentDiagnostiknotater.xsd +72 -0
  107. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentDiagnostiskvejledning.xsd +49 -0
  108. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentEksplicitindberetninger.xsd +107 -0
  109. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentEksterneAarsager.xsd +72 -0
  110. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentEvalueringsresultater.xsd +92 -0
  111. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentFokuseredeOplysninger.xsd +16 -0
  112. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentForloeb.xsd +115 -0
  113. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentFormaal.xsd +46 -0
  114. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentGEpjObjekt.xsd +16 -0
  115. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentIndikationer.xsd +87 -0
  116. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentIndikeretIntervention.xsd +227 -0
  117. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsNetvaerk.xsd +260 -0
  118. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsliste.xsd +285 -0
  119. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsnotater.xsd +70 -0
  120. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsresultater.xsd +47 -0
  121. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsvejledninger.xsd +49 -0
  122. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentJournal.xsd +15 -0
  123. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentKomplicerendeInterventioner.xsd +227 -0
  124. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentKomplikationer.xsd +87 -0
  125. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentMaal.xsd +70 -0
  126. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentPaaroerende.xsd +70 -0
  127. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentPatientId.xsd +47 -0
  128. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentSOO.xsd +70 -0
  129. data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/vssver.scc +0 -0
  130. data/data/xml/Schemas/2004/06/01/Gepka/vssver.scc +0 -0
  131. data/data/xml/Schemas/2004/06/01/KL/KL_SENumberType.xsd +15 -0
  132. data/data/xml/Schemas/2004/06/01/LA121.xsd +96 -0
  133. data/data/xml/Schemas/2004/06/01/LA125.xsd +84 -0
  134. data/data/xml/Schemas/2004/06/01/LA141.xsd +96 -0
  135. data/data/xml/Schemas/2004/06/01/LA145.xsd +108 -0
  136. data/data/xml/Schemas/2004/06/01/LA165.xsd +101 -0
  137. data/data/xml/Schemas/2004/06/01/LA201.xsd +83 -0
  138. data/data/xml/Schemas/2004/06/01/LA205.xsd +113 -0
  139. data/data/xml/Schemas/2004/06/01/LA211.xsd +83 -0
  140. data/data/xml/Schemas/2004/06/01/LA215.xsd +102 -0
  141. data/data/xml/Schemas/2004/06/01/LA_Contact.xsd +22 -0
  142. data/data/xml/Schemas/2004/06/01/LA_MunicipalitySender.xsd +31 -0
  143. data/data/xml/Schemas/2004/06/01/LA_Patient.xsd +27 -0
  144. data/data/xml/Schemas/2004/06/01/LA_Sender.xsd +35 -0
  145. data/data/xml/Schemas/2004/06/01/LaboratoryRequest.xml +100 -0
  146. data/data/xml/Schemas/2004/06/01/LetterType.xsd +45 -0
  147. data/data/xml/Schemas/2004/06/01/M.xsd +405 -0
  148. data/data/xml/Schemas/2004/06/01/MicroBiologyTypes.xsd +79 -0
  149. data/data/xml/Schemas/2004/06/01/O.xsd +387 -0
  150. data/data/xml/Schemas/2004/06/01/P1.xsd +244 -0
  151. data/data/xml/Schemas/2004/06/01/P2.xsd +467 -0
  152. data/data/xml/Schemas/2004/06/01/P3.xsd +259 -0
  153. data/data/xml/Schemas/2004/06/01/P4.xsd +289 -0
  154. data/data/xml/Schemas/2004/06/01/Patient.xsd +22 -0
  155. data/data/xml/Schemas/2004/06/01/PatientAnalysisInfo.xsd +1 -0
  156. data/data/xml/Schemas/2004/06/01/Payer.xsd +28 -0
  157. data/data/xml/Schemas/2004/06/01/PaymentInformation.xsd +1 -0
  158. data/data/xml/Schemas/2004/06/01/Q1.xsd +238 -0
  159. data/data/xml/Schemas/2004/06/01/Q2.xsd +160 -0
  160. data/data/xml/Schemas/2004/06/01/Q3.xsd +252 -0
  161. data/data/xml/Schemas/2004/06/01/Q4.xsd +161 -0
  162. data/data/xml/Schemas/2004/06/01/R1.xsd +168 -0
  163. data/data/xml/Schemas/2004/06/01/R2.xsd +169 -0
  164. data/data/xml/Schemas/2004/06/01/Receiver.xsd +25 -0
  165. data/data/xml/Schemas/2004/06/01/Reference.xsd +32 -0
  166. data/data/xml/Schemas/2004/06/01/Referral.xsd +14 -0
  167. data/data/xml/Schemas/2004/06/01/Relative.xsd +18 -0
  168. data/data/xml/Schemas/2004/06/01/Sender.xsd +29 -0
  169. data/data/xml/Schemas/2004/06/01/ValueLists.xsd +459 -0
  170. data/data/xml/Schemas/2004/06/01/X1.xsd +71 -0
  171. data/data/xml/Schemas/2004/06/01/X13.xsd +81 -0
  172. data/data/xml/Schemas/2004/06/01/X14.xsd +94 -0
  173. data/data/xml/Schemas/2004/06/01/X17.xsd +89 -0
  174. data/data/xml/Schemas/2004/06/01/X19.xsd +135 -0
  175. data/data/xml/Schemas/2004/06/01/X2.xsd +71 -0
  176. data/data/xml/Schemas/2004/06/01/X20.xsd +89 -0
  177. data/data/xml/Schemas/2004/06/01/X3.xsd +71 -0
  178. data/data/xml/Schemas/2004/06/01/X5.xsd +71 -0
  179. data/data/xml/Schemas/2004/06/01/X91.xsd +94 -0
  180. data/data/xml/Schemas/2004/06/01/gen.html +7 -0
  181. data/data/xml/Schemas/2004/06/01/genhtml.xslt +25 -0
  182. data/data/xml/Schemas/2004/06/01/sletmig.xsd +21 -0
  183. data/data/xml/Schemas/2004/06/LA_Sender.xsd +36 -0
  184. data/data/xml/Schemas/2005/08/07/AnswerOfAdmission.xsd +94 -0
  185. data/data/xml/Schemas/2005/08/07/BinaryLetter.xsd +112 -0
  186. data/data/xml/Schemas/2005/08/07/BookingConfirmation.xsd +81 -0
  187. data/data/xml/Schemas/2005/08/07/CCReceiver.xsd +19 -0
  188. data/data/xml/Schemas/2005/08/07/CVR/CVR_CVRNumber.xsd +14 -0
  189. data/data/xml/Schemas/2005/08/07/CasualtyWardLetter.xsd +71 -0
  190. data/data/xml/Schemas/2005/08/07/CervixcytologyReport.xsd +259 -0
  191. data/data/xml/Schemas/2005/08/07/ClinicalEmail.xsd +94 -0
  192. data/data/xml/Schemas/2005/08/07/ClinicalTypes.xsd +64 -0
  193. data/data/xml/Schemas/2005/08/07/Collector.xsd +26 -0
  194. data/data/xml/Schemas/2005/08/07/Contact.xsd +15 -0
  195. data/data/xml/Schemas/2005/08/07/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  196. data/data/xml/Schemas/2005/08/07/Cpr/vssver.scc +0 -0
  197. data/data/xml/Schemas/2005/08/07/DKAddress.xsd +30 -0
  198. data/data/xml/Schemas/2005/08/07/DiabetesReport.xsd +483 -0
  199. data/data/xml/Schemas/2005/08/07/DischargeLetter.xsd +70 -0
  200. data/data/xml/Schemas/2005/08/07/Dkcc/DKCC.xsd +9 -0
  201. data/data/xml/Schemas/2005/08/07/Dkcc/DKCC_PersonGivenName.xsd +16 -0
  202. data/data/xml/Schemas/2005/08/07/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
  203. data/data/xml/Schemas/2005/08/07/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
  204. data/data/xml/Schemas/2005/08/07/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
  205. data/data/xml/Schemas/2005/08/07/Dkcc/vssver.scc +0 -0
  206. data/data/xml/Schemas/2005/08/07/EMessage.xsd +39 -0
  207. data/data/xml/Schemas/2005/08/07/FormattedText.xsd +45 -0
  208. data/data/xml/Schemas/2005/08/07/GeneralElements.xsd +195 -0
  209. data/data/xml/Schemas/2005/08/07/GeneralTypes.xsd +274 -0
  210. data/data/xml/Schemas/2005/08/07/GeneraliseringsForsoeg.xsd +25 -0
  211. data/data/xml/Schemas/2005/08/07/HistopathologyReport.xsd +347 -0
  212. data/data/xml/Schemas/2005/08/07/HospitalReferral.xsd +171 -0
  213. data/data/xml/Schemas/2005/08/07/KL/KL_SENumberType.xsd +15 -0
  214. data/data/xml/Schemas/2005/08/07/LA121.xsd +96 -0
  215. data/data/xml/Schemas/2005/08/07/LA125.xsd +84 -0
  216. data/data/xml/Schemas/2005/08/07/LA141.xsd +96 -0
  217. data/data/xml/Schemas/2005/08/07/LA145.xsd +108 -0
  218. data/data/xml/Schemas/2005/08/07/LA165.xsd +101 -0
  219. data/data/xml/Schemas/2005/08/07/LA201.xsd +83 -0
  220. data/data/xml/Schemas/2005/08/07/LA205.xsd +113 -0
  221. data/data/xml/Schemas/2005/08/07/LA211.xsd +83 -0
  222. data/data/xml/Schemas/2005/08/07/LA215.xsd +102 -0
  223. data/data/xml/Schemas/2005/08/07/LA_Contact.xsd +22 -0
  224. data/data/xml/Schemas/2005/08/07/LA_MunicipalitySender.xsd +31 -0
  225. data/data/xml/Schemas/2005/08/07/LA_Patient.xsd +27 -0
  226. data/data/xml/Schemas/2005/08/07/LA_Sender.xsd +35 -0
  227. data/data/xml/Schemas/2005/08/07/LaboratoryAnalysisFile.xsd +387 -0
  228. data/data/xml/Schemas/2005/08/07/LaboratoryReport.xsd +244 -0
  229. data/data/xml/Schemas/2005/08/07/LaboratoryRequest.xsd +238 -0
  230. data/data/xml/Schemas/2005/08/07/LetterType.xsd +45 -0
  231. data/data/xml/Schemas/2005/08/07/Letters.xsd +85 -0
  232. data/data/xml/Schemas/2005/08/07/MicroBiologyTypes.xsd +80 -0
  233. data/data/xml/Schemas/2005/08/07/MicrobiologyReport.xsd +471 -0
  234. data/data/xml/Schemas/2005/08/07/MicrobiologyRequest.xsd +161 -0
  235. data/data/xml/Schemas/2005/08/07/MultiSampleMicrobiologyRequest.xsd +162 -0
  236. data/data/xml/Schemas/2005/08/07/NegativeReceipt.xsd +117 -0
  237. data/data/xml/Schemas/2005/08/07/NegativeVansReceipt.xsd +117 -0
  238. data/data/xml/Schemas/2005/08/07/NotificationOfAdmission.xsd +89 -0
  239. data/data/xml/Schemas/2005/08/07/NotificationOfDischarge.xsd +89 -0
  240. data/data/xml/Schemas/2005/08/07/OutPatientDischargeLetter.xsd +71 -0
  241. data/data/xml/Schemas/2005/08/07/PathologyRequest.xsd +253 -0
  242. data/data/xml/Schemas/2005/08/07/Patient.xsd +22 -0
  243. data/data/xml/Schemas/2005/08/07/PatientAnalysisInfo.xsd +26 -0
  244. data/data/xml/Schemas/2005/08/07/Payer.xsd +28 -0
  245. data/data/xml/Schemas/2005/08/07/PaymentInformation.xsd +1 -0
  246. data/data/xml/Schemas/2005/08/07/PositiveReceipt.xsd +78 -0
  247. data/data/xml/Schemas/2005/08/07/Prescription.xsd +397 -0
  248. data/data/xml/Schemas/2005/08/07/PrescriptionRequest.xsd +123 -0
  249. data/data/xml/Schemas/2005/08/07/PrescriptionXX.xsd +122 -0
  250. data/data/xml/Schemas/2005/08/07/RadiologyReport.xsd +71 -0
  251. data/data/xml/Schemas/2005/08/07/Receiver.xsd +25 -0
  252. data/data/xml/Schemas/2005/08/07/Reference.xsd +32 -0
  253. data/data/xml/Schemas/2005/08/07/Referral.xsd +14 -0
  254. data/data/xml/Schemas/2005/08/07/Relative.xsd +18 -0
  255. data/data/xml/Schemas/2005/08/07/Sender.xsd +29 -0
  256. data/data/xml/Schemas/2005/08/07/ValueLists.xsd +391 -0
  257. data/data/xml/Schemas/2005/08/07/WarningOfDischarge.xsd +135 -0
  258. data/data/xml/Schemas/2005/08/07/XRayRequest.xsd +174 -0
  259. data/data/xml/Schemas/2005/08/07/sletmig.xsd +21 -0
  260. data/data/xml/Schemas/2006/07/01/BookingConfirmation.xsd +80 -0
  261. data/data/xml/Schemas/2006/07/01/CCReceiver.xsd +19 -0
  262. data/data/xml/Schemas/2006/07/01/CVRold/CVR_CVRNumber.xsd +14 -0
  263. data/data/xml/Schemas/2006/07/01/ClinicalEmail.xsd +108 -0
  264. data/data/xml/Schemas/2006/07/01/ClinicalTypes.xsd +64 -0
  265. data/data/xml/Schemas/2006/07/01/Collector.xsd +26 -0
  266. data/data/xml/Schemas/2006/07/01/Contact.xsd +15 -0
  267. data/data/xml/Schemas/2006/07/01/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  268. data/data/xml/Schemas/2006/07/01/DKAddress.xsd +30 -0
  269. data/data/xml/Schemas/2006/07/01/Dkcc/DKCC_PersonGivenName.xsd +16 -0
  270. data/data/xml/Schemas/2006/07/01/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
  271. data/data/xml/Schemas/2006/07/01/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
  272. data/data/xml/Schemas/2006/07/01/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
  273. data/data/xml/Schemas/2006/07/01/EMessage.xsd +34 -0
  274. data/data/xml/Schemas/2006/07/01/FormattedText.xsd +45 -0
  275. data/data/xml/Schemas/2006/07/01/GeneralElements.xsd +182 -0
  276. data/data/xml/Schemas/2006/07/01/GeneralTypes.xsd +274 -0
  277. data/data/xml/Schemas/2006/07/01/KL/KL_SENumberType.xsd +15 -0
  278. data/data/xml/Schemas/2006/07/01/LaboratoryAnalysisFile.xsd +416 -0
  279. data/data/xml/Schemas/2006/07/01/LaboratoryRequest.xsd +329 -0
  280. data/data/xml/Schemas/2006/07/01/LetterType.xsd +45 -0
  281. data/data/xml/Schemas/2006/07/01/Letters.xsd +18 -0
  282. data/data/xml/Schemas/2006/07/01/Patient.xsd +22 -0
  283. data/data/xml/Schemas/2006/07/01/Payer.xsd +33 -0
  284. data/data/xml/Schemas/2006/07/01/Receiver.xsd +25 -0
  285. data/data/xml/Schemas/2006/07/01/Reference.xsd +32 -0
  286. data/data/xml/Schemas/2006/07/01/Referral.xsd +13 -0
  287. data/data/xml/Schemas/2006/07/01/Relative.xsd +18 -0
  288. data/data/xml/Schemas/2006/07/01/Sender.xsd +29 -0
  289. data/data/xml/Schemas/2006/07/01/ValueLists.xsd +393 -0
  290. data/data/xml/Schemas/2007/02/01/CCReceiver.xsd +18 -0
  291. data/data/xml/Schemas/2007/02/01/ClinicalTypes.xsd +63 -0
  292. data/data/xml/Schemas/2007/02/01/Contact.xsd +14 -0
  293. data/data/xml/Schemas/2007/02/01/DiabetesReport.xsd +570 -0
  294. data/data/xml/Schemas/2007/02/01/Dkcc/DKCC_PersonGivenName.xsd +16 -0
  295. data/data/xml/Schemas/2007/02/01/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
  296. data/data/xml/Schemas/2007/02/01/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
  297. data/data/xml/Schemas/2007/02/01/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
  298. data/data/xml/Schemas/2007/02/01/DoctorsCallCenterLetter.xsd +70 -0
  299. data/data/xml/Schemas/2007/02/01/EMessage.xsd +34 -0
  300. data/data/xml/Schemas/2007/02/01/FormattedText.xsd +44 -0
  301. data/data/xml/Schemas/2007/02/01/GeneralElements.xsd +203 -0
  302. data/data/xml/Schemas/2007/02/01/GeneralTypes.xsd +295 -0
  303. data/data/xml/Schemas/2007/02/01/LaboratoryAnalysisFile.xsd +492 -0
  304. data/data/xml/Schemas/2007/02/01/LaboratoryReport.xsd +261 -0
  305. data/data/xml/Schemas/2007/02/01/LetterType.xsd +44 -0
  306. data/data/xml/Schemas/2007/02/01/Letters.xsd +45 -0
  307. data/data/xml/Schemas/2007/02/01/MicrobiologyReport.xsd +478 -0
  308. data/data/xml/Schemas/2007/02/01/MicrobiologyWebReport.xsd +552 -0
  309. data/data/xml/Schemas/2007/02/01/ParagraphedText.xsd +33 -0
  310. data/data/xml/Schemas/2007/02/01/Patient.xsd +21 -0
  311. data/data/xml/Schemas/2007/02/01/PhysiotherapyLetter.xsd +70 -0
  312. data/data/xml/Schemas/2007/02/01/PhysiotherapyReferral.xsd +168 -0
  313. data/data/xml/Schemas/2007/02/01/PrivateSpecialistLetter.xsd +70 -0
  314. data/data/xml/Schemas/2007/02/01/PrivateSpecialistReferral.xsd +194 -0
  315. data/data/xml/Schemas/2007/02/01/PsychologistLetter.xsd +70 -0
  316. data/data/xml/Schemas/2007/02/01/PsychologistReferral.xsd +160 -0
  317. data/data/xml/Schemas/2007/02/01/Receiver.xsd +24 -0
  318. data/data/xml/Schemas/2007/02/01/Reference.xsd +31 -0
  319. data/data/xml/Schemas/2007/02/01/Referral.xsd +13 -0
  320. data/data/xml/Schemas/2007/02/01/Relative.xsd +17 -0
  321. data/data/xml/Schemas/2007/02/01/ReportOfAdmission.xsd +205 -0
  322. data/data/xml/Schemas/2007/02/01/ReportOfDischarge.xsd +213 -0
  323. data/data/xml/Schemas/2007/02/01/Sender.xsd +28 -0
  324. data/data/xml/Schemas/2007/02/01/SpecialistLetter.xsd +70 -0
  325. data/data/xml/Schemas/2007/02/01/TeddyLetter.xsd +73 -0
  326. data/data/xml/Schemas/2007/02/01/TeddyReferral.xsd +175 -0
  327. data/data/xml/Schemas/2007/02/01/ValueLists.xsd +292 -0
  328. data/data/xml/Schemas/2007/02/01/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  329. data/data/xml/Schemas/2007/02/01/cvr/CVR_CVRNumber.xsd +14 -0
  330. data/data/xml/Schemas/2007/02/01/kl/KL_SENumberType.xsd +15 -0
  331. data/data/xml/Schemas/2008/09/17/CCReceiver.xsd +18 -0
  332. data/data/xml/Schemas/2008/09/17/ClinicalTypes.xsd +63 -0
  333. data/data/xml/Schemas/2008/09/17/Contact.xsd +14 -0
  334. data/data/xml/Schemas/2008/09/17/EMessage.xsd +34 -0
  335. data/data/xml/Schemas/2008/09/17/FormattedText.xsd +44 -0
  336. data/data/xml/Schemas/2008/09/17/GeneralElements.xsd +95 -0
  337. data/data/xml/Schemas/2008/09/17/GeneralTypes.xsd +295 -0
  338. data/data/xml/Schemas/2008/09/17/LaboratoryAnalysisFile.xsd +495 -0
  339. data/data/xml/Schemas/2008/09/17/LetterType.xsd +44 -0
  340. data/data/xml/Schemas/2008/09/17/Letters.xsd +14 -0
  341. data/data/xml/Schemas/2008/09/17/Patient.xsd +21 -0
  342. data/data/xml/Schemas/2008/09/17/PsychologistLetter.xsd +70 -0
  343. data/data/xml/Schemas/2008/09/17/Receiver.xsd +24 -0
  344. data/data/xml/Schemas/2008/09/17/Reference.xsd +31 -0
  345. data/data/xml/Schemas/2008/09/17/Referral.xsd +13 -0
  346. data/data/xml/Schemas/2008/09/17/Relative.xsd +17 -0
  347. data/data/xml/Schemas/2008/09/17/Sender.xsd +28 -0
  348. data/data/xml/Schemas/2008/09/17/ValueLists.xsd +264 -0
  349. data/data/xml/Schemas/2008/09/17/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  350. data/data/xml/Schemas/2009/08/01/AdministrativeEmail.xsd +108 -0
  351. data/data/xml/Schemas/2009/08/01/CCReceiver.xsd +19 -0
  352. data/data/xml/Schemas/2009/08/01/CVRold/CVR_CVRNumber.xsd +14 -0
  353. data/data/xml/Schemas/2009/08/01/ClinicalTypes.xsd +64 -0
  354. data/data/xml/Schemas/2009/08/01/Collector.xsd +26 -0
  355. data/data/xml/Schemas/2009/08/01/Contact.xsd +15 -0
  356. data/data/xml/Schemas/2009/08/01/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  357. data/data/xml/Schemas/2009/08/01/DKAddress.xsd +30 -0
  358. data/data/xml/Schemas/2009/08/01/Dkcc/DKCC_PersonGivenName.xsd +16 -0
  359. data/data/xml/Schemas/2009/08/01/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
  360. data/data/xml/Schemas/2009/08/01/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
  361. data/data/xml/Schemas/2009/08/01/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
  362. data/data/xml/Schemas/2009/08/01/EMessage.xsd +34 -0
  363. data/data/xml/Schemas/2009/08/01/FormattedText.xsd +45 -0
  364. data/data/xml/Schemas/2009/08/01/GeneralElements.xsd +184 -0
  365. data/data/xml/Schemas/2009/08/01/GeneralTypes.xsd +274 -0
  366. data/data/xml/Schemas/2009/08/01/KL/KL_SENumberType.xsd +15 -0
  367. data/data/xml/Schemas/2009/08/01/LetterType.xsd +45 -0
  368. data/data/xml/Schemas/2009/08/01/Letters.xsd +12 -0
  369. data/data/xml/Schemas/2009/08/01/Patient.xsd +22 -0
  370. data/data/xml/Schemas/2009/08/01/Receiver.xsd +25 -0
  371. data/data/xml/Schemas/2009/08/01/Reference.xsd +32 -0
  372. data/data/xml/Schemas/2009/08/01/Referral.xsd +13 -0
  373. data/data/xml/Schemas/2009/08/01/Relative.xsd +18 -0
  374. data/data/xml/Schemas/2009/08/01/Sender.xsd +29 -0
  375. data/data/xml/Schemas/2009/08/01/ValueLists.xsd +321 -0
  376. data/data/xml/Schemas/2010/07/01/CCReceiver.xsd +18 -0
  377. data/data/xml/Schemas/2010/07/01/ChiropodyInvoice.xsd +245 -0
  378. data/data/xml/Schemas/2010/07/01/ChiropractorInvoice.xsd +205 -0
  379. data/data/xml/Schemas/2010/07/01/ClinicalTypes.xsd +63 -0
  380. data/data/xml/Schemas/2010/07/01/Contact.xsd +14 -0
  381. data/data/xml/Schemas/2010/07/01/DentistInvoice.xsd +217 -0
  382. data/data/xml/Schemas/2010/07/01/EMessage.xsd +34 -0
  383. data/data/xml/Schemas/2010/07/01/EmergencyServicePractitionerInvoice.xsd +231 -0
  384. data/data/xml/Schemas/2010/07/01/FormattedText.xsd +44 -0
  385. data/data/xml/Schemas/2010/07/01/GeneralElements.xsd +105 -0
  386. data/data/xml/Schemas/2010/07/01/GeneralPractitionerBilling.xsd +222 -0
  387. data/data/xml/Schemas/2010/07/01/GeneralTypes.xsd +415 -0
  388. data/data/xml/Schemas/2010/07/01/LaboratoryAnalysisFile.xsd +495 -0
  389. data/data/xml/Schemas/2010/07/01/LaboratoryInvoice.xsd +195 -0
  390. data/data/xml/Schemas/2010/07/01/LetterType.xsd +44 -0
  391. data/data/xml/Schemas/2010/07/01/Letters.xsd +33 -0
  392. data/data/xml/Schemas/2010/07/01/Patient.xsd +21 -0
  393. data/data/xml/Schemas/2010/07/01/PhysiotherapyInvoice.xsd +232 -0
  394. data/data/xml/Schemas/2010/07/01/PrivateSpecialistInvoice.xsd +244 -0
  395. data/data/xml/Schemas/2010/07/01/PsychologistInvoice.xsd +223 -0
  396. data/data/xml/Schemas/2010/07/01/Receiver.xsd +24 -0
  397. data/data/xml/Schemas/2010/07/01/Reference.xsd +31 -0
  398. data/data/xml/Schemas/2010/07/01/Referral.xsd +13 -0
  399. data/data/xml/Schemas/2010/07/01/Relative.xsd +17 -0
  400. data/data/xml/Schemas/2010/07/01/Sender.xsd +28 -0
  401. data/data/xml/Schemas/2010/07/01/ValueLists.xsd +320 -0
  402. data/data/xml/Schemas/2010/07/01/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  403. data/data/xml/Schemas/2011/02/17/Birth.xsd +54 -0
  404. data/data/xml/Schemas/2011/02/17/BirthNotification.xsd +80 -0
  405. data/data/xml/Schemas/2011/02/17/CPR_CivilRegistrationNumber.xsd +42 -0
  406. data/data/xml/Schemas/2011/02/17/ChildInfo.xsd +63 -0
  407. data/data/xml/Schemas/2011/02/17/ChildRelation.xsd +45 -0
  408. data/data/xml/Schemas/2011/02/17/ClinicalTypes.xsd +63 -0
  409. data/data/xml/Schemas/2011/02/17/EMessage.xsd +34 -0
  410. data/data/xml/Schemas/2011/02/17/FormattedText.xsd +44 -0
  411. data/data/xml/Schemas/2011/02/17/GeneralElements.xsd +55 -0
  412. data/data/xml/Schemas/2011/02/17/GeneralTypes.xsd +330 -0
  413. data/data/xml/Schemas/2011/02/17/LetterType.xsd +44 -0
  414. data/data/xml/Schemas/2011/02/17/Letters.xsd +12 -0
  415. data/data/xml/Schemas/2011/02/17/MaternityMother.xsd +26 -0
  416. data/data/xml/Schemas/2011/02/17/Patient.xsd +41 -0
  417. data/data/xml/Schemas/2011/02/17/Practitioner.xsd +26 -0
  418. data/data/xml/Schemas/2011/02/17/Pregnancy.xsd +48 -0
  419. data/data/xml/Schemas/2011/02/17/Receiver.xsd +24 -0
  420. data/data/xml/Schemas/2011/02/17/Relative.xsd +18 -0
  421. data/data/xml/Schemas/2011/02/17/Sender.xsd +22 -0
  422. data/data/xml/Schemas/2011/02/17/TelephoneSubscriber.xsd +24 -0
  423. data/data/xml/Schemas/2011/02/17/ValueLists.xsd +354 -0
  424. data/data/xml/Schemas/2011/06/15/CCReceiver.xsd +18 -0
  425. data/data/xml/Schemas/2011/06/15/ClinicalTypes.xsd +63 -0
  426. data/data/xml/Schemas/2011/06/15/Contact.xsd +14 -0
  427. data/data/xml/Schemas/2011/06/15/EMessage.xsd +33 -0
  428. data/data/xml/Schemas/2011/06/15/FormattedText.xsd +44 -0
  429. data/data/xml/Schemas/2011/06/15/GeneralElements.xsd +184 -0
  430. data/data/xml/Schemas/2011/06/15/GeneralTypes.xsd +295 -0
  431. data/data/xml/Schemas/2011/06/15/LaboratoryAnalysisFile.xsd +610 -0
  432. data/data/xml/Schemas/2011/06/15/LetterType.xsd +44 -0
  433. data/data/xml/Schemas/2011/06/15/Letters.xsd +15 -0
  434. data/data/xml/Schemas/2011/06/15/MDSRepertoire.xsd +248 -0
  435. data/data/xml/Schemas/2011/06/15/MicrobiologyWebReport.xsd +561 -0
  436. data/data/xml/Schemas/2011/06/15/Patient.xsd +21 -0
  437. data/data/xml/Schemas/2011/06/15/Receiver.xsd +24 -0
  438. data/data/xml/Schemas/2011/06/15/Reference.xsd +31 -0
  439. data/data/xml/Schemas/2011/06/15/Referral.xsd +13 -0
  440. data/data/xml/Schemas/2011/06/15/Relative.xsd +17 -0
  441. data/data/xml/Schemas/2011/06/15/Sender.xsd +28 -0
  442. data/data/xml/Schemas/2011/06/15/ValueLists.xsd +266 -0
  443. data/data/xml/Schemas/2011/06/15/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  444. data/data/xml/Schemas/2011/06/20/AktuelMedicin.xsd +32 -0
  445. data/data/xml/Schemas/2011/06/20/Borger.xsd +26 -0
  446. data/data/xml/Schemas/2011/06/20/CPR_CivilRegistrationNumber.xsd +42 -0
  447. data/data/xml/Schemas/2011/06/20/Calender.xsd +43 -0
  448. data/data/xml/Schemas/2011/06/20/Citizen.xsd +25 -0
  449. data/data/xml/Schemas/2011/06/20/CitizensOwnData.xsd +31 -0
  450. data/data/xml/Schemas/2011/06/20/ClinicalTypes.xsd +63 -0
  451. data/data/xml/Schemas/2011/06/20/Contacts.xsd +24 -0
  452. data/data/xml/Schemas/2011/06/20/DoctorsElucidation.xsd +20 -0
  453. data/data/xml/Schemas/2011/06/20/EMessage.xsd +37 -0
  454. data/data/xml/Schemas/2011/06/20/EgenLaege.xsd +22 -0
  455. data/data/xml/Schemas/2011/06/20/FormattedText.xsd +44 -0
  456. data/data/xml/Schemas/2011/06/20/GeneralElements.xsd +183 -0
  457. data/data/xml/Schemas/2011/06/20/GeneralTypes.xsd +339 -0
  458. data/data/xml/Schemas/2011/06/20/HCPNotes.xsd +34 -0
  459. data/data/xml/Schemas/2011/06/20/Kalender.xsd +26 -0
  460. data/data/xml/Schemas/2011/06/20/Kontakter.xsd +28 -0
  461. data/data/xml/Schemas/2011/06/20/LaegensUdredning.xsd +29 -0
  462. data/data/xml/Schemas/2011/06/20/LetterType.xsd +44 -0
  463. data/data/xml/Schemas/2011/06/20/Letters.xsd +12 -0
  464. data/data/xml/Schemas/2011/06/20/MedComCDSet.xsd +85 -0
  465. data/data/xml/Schemas/2011/06/20/MedComKD Fuldt testeksempel 1 Ver 0.6.xml +632 -0
  466. data/data/xml/Schemas/2011/06/20/MedComKD Fuldt testeksempel 4 Ver 0.1.xml +585 -0
  467. data/data/xml/Schemas/2011/06/20/MedComKD Fuldt testeksempel 4 Ver 0.2.xml +592 -0
  468. data/data/xml/Schemas/2011/06/20/MedComKD Fuldt testeksempel 4 Ver 0.xml +569 -0
  469. data/data/xml/Schemas/2011/06/20/MedComKD.xsd +89 -0
  470. data/data/xml/Schemas/2011/06/20/MedComKD_V0.1.xsd +498 -0
  471. data/data/xml/Schemas/2011/06/20/MedComKD_V0.2.xsd +510 -0
  472. data/data/xml/Schemas/2011/06/20/MedComKD_V0.6.xsd +627 -0
  473. data/data/xml/Schemas/2011/06/20/MedComKD_V0.xsd +497 -0
  474. data/data/xml/Schemas/2011/06/20/MinDagbog.xsd +25 -0
  475. data/data/xml/Schemas/2011/06/20/MonitoreringOgMaal.xsd +87 -0
  476. data/data/xml/Schemas/2011/06/20/Monitoring.xsd +82 -0
  477. data/data/xml/Schemas/2011/06/20/Paaroerende.xsd +22 -0
  478. data/data/xml/Schemas/2011/06/20/Patient.xsd +38 -0
  479. data/data/xml/Schemas/2011/06/20/Practitioner.xsd +23 -0
  480. data/data/xml/Schemas/2011/06/20/PresentMedication.xsd +44 -0
  481. data/data/xml/Schemas/2011/06/20/Receiver.xsd +24 -0
  482. data/data/xml/Schemas/2011/06/20/Relative.xsd +21 -0
  483. data/data/xml/Schemas/2011/06/20/RelevantDiagnoses.xsd +23 -0
  484. data/data/xml/Schemas/2011/06/20/RelevantLabReports.xsd +38 -0
  485. data/data/xml/Schemas/2011/06/20/RelevanteDiagnoser.xsd +27 -0
  486. data/data/xml/Schemas/2011/06/20/RelevanteLabsvar.xsd +32 -0
  487. data/data/xml/Schemas/2011/06/20/SKLNoter.xsd +26 -0
  488. data/data/xml/Schemas/2011/06/20/Samtykke.xsd +17 -0
  489. data/data/xml/Schemas/2011/06/20/Sender.xsd +25 -0
  490. data/data/xml/Schemas/2011/06/20/ValueLists.xsd +357 -0
  491. data/data/xml/Schemas/2012/03/28/BinaryLetter.xsd +112 -0
  492. data/data/xml/Schemas/2012/03/28/CCReceiver.xsd +19 -0
  493. data/data/xml/Schemas/2012/03/28/ClinicalTypes.xsd +64 -0
  494. data/data/xml/Schemas/2012/03/28/Contact.xsd +15 -0
  495. data/data/xml/Schemas/2012/03/28/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  496. data/data/xml/Schemas/2012/03/28/Cpr/vssver.scc +0 -0
  497. data/data/xml/Schemas/2012/03/28/EMessage.xsd +33 -0
  498. data/data/xml/Schemas/2012/03/28/FormattedText.xsd +45 -0
  499. data/data/xml/Schemas/2012/03/28/GeneralElements.xsd +204 -0
  500. data/data/xml/Schemas/2012/03/28/GeneralTypes.xsd +275 -0
  501. data/data/xml/Schemas/2012/03/28/HistopathologyReport.xsd +367 -0
  502. data/data/xml/Schemas/2012/03/28/LetterType.xsd +45 -0
  503. data/data/xml/Schemas/2012/03/28/Letters.xsd +13 -0
  504. data/data/xml/Schemas/2012/03/28/MC_UniversallyUniqueIdentifier_20080406.xsd +9 -0
  505. data/data/xml/Schemas/2012/03/28/Patient.xsd +22 -0
  506. data/data/xml/Schemas/2012/03/28/Receiver.xsd +25 -0
  507. data/data/xml/Schemas/2012/03/28/Reference.xsd +32 -0
  508. data/data/xml/Schemas/2012/03/28/Referral.xsd +14 -0
  509. data/data/xml/Schemas/2012/03/28/Relative.xsd +18 -0
  510. data/data/xml/Schemas/2012/03/28/Sender.xsd +29 -0
  511. data/data/xml/Schemas/2012/03/28/ValueLists.xsd +251 -0
  512. data/data/xml/Schemas/2013/09/02/CCReceiver.xsd +18 -0
  513. data/data/xml/Schemas/2013/09/02/ClinicalTypes.xsd +63 -0
  514. data/data/xml/Schemas/2013/09/02/Contact.xsd +14 -0
  515. data/data/xml/Schemas/2013/09/02/Dkcc/DKCC_PersonGivenName.xsd +16 -0
  516. data/data/xml/Schemas/2013/09/02/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
  517. data/data/xml/Schemas/2013/09/02/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
  518. data/data/xml/Schemas/2013/09/02/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
  519. data/data/xml/Schemas/2013/09/02/EMessage.xsd +34 -0
  520. data/data/xml/Schemas/2013/09/02/FormattedText.xsd +44 -0
  521. data/data/xml/Schemas/2013/09/02/GeneralElements.xsd +203 -0
  522. data/data/xml/Schemas/2013/09/02/GeneralTypes.xsd +295 -0
  523. data/data/xml/Schemas/2013/09/02/LetterType.xsd +44 -0
  524. data/data/xml/Schemas/2013/09/02/Letters.xsd +17 -0
  525. data/data/xml/Schemas/2013/09/02/ParagraphedText.xsd +33 -0
  526. data/data/xml/Schemas/2013/09/02/Patient.xsd +22 -0
  527. data/data/xml/Schemas/2013/09/02/PhysiotherapyReferral.xsd +168 -0
  528. data/data/xml/Schemas/2013/09/02/Receiver.xsd +24 -0
  529. data/data/xml/Schemas/2013/09/02/Reference.xsd +31 -0
  530. data/data/xml/Schemas/2013/09/02/Referral.xsd +13 -0
  531. data/data/xml/Schemas/2013/09/02/Relative.xsd +17 -0
  532. data/data/xml/Schemas/2013/09/02/Sender.xsd +28 -0
  533. data/data/xml/Schemas/2013/09/02/ValueLists.xsd +262 -0
  534. data/data/xml/Schemas/2013/09/02/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  535. data/data/xml/Schemas/2013/09/02/cvr/CVR_CVRNumber.xsd +14 -0
  536. data/data/xml/Schemas/2013/09/02/kl/KL_SENumberType.xsd +15 -0
  537. data/data/xml/Schemas/2013/11/26/ClinicalTypes.xsd +63 -0
  538. data/data/xml/Schemas/2013/11/26/EMessage.xsd +36 -0
  539. data/data/xml/Schemas/2013/11/26/Eksempler/Dyrkning med stemproperties.xml +494 -0
  540. data/data/xml/Schemas/2013/11/26/Eksempler/Dyrkning1.xml +428 -0
  541. data/data/xml/Schemas/2013/11/26/Eksempler/Dyrkning2.xml +501 -0
  542. data/data/xml/Schemas/2013/11/26/Eksempler/Eksempel_Dyrkning_1.xml +819 -0
  543. data/data/xml/Schemas/2013/11/26/FormattedText.xsd +44 -0
  544. data/data/xml/Schemas/2013/11/26/GeneralElements.xsd +184 -0
  545. data/data/xml/Schemas/2013/11/26/GeneralTypes.xsd +255 -0
  546. data/data/xml/Schemas/2013/11/26/LetterType.xsd +44 -0
  547. data/data/xml/Schemas/2013/11/26/Letters.xsd +16 -0
  548. data/data/xml/Schemas/2013/11/26/MiBaReport.xsd +780 -0
  549. data/data/xml/Schemas/2013/11/26/Readme.txt +16 -0
  550. data/data/xml/Schemas/2013/11/26/ValueLists.xsd +262 -0
  551. data/data/xml/Schemas/2014/10/08/CCReceiver.xsd +19 -0
  552. data/data/xml/Schemas/2014/10/08/CervixcytologyReport.xsd +277 -0
  553. data/data/xml/Schemas/2014/10/08/ClinicalTypes.xsd +64 -0
  554. data/data/xml/Schemas/2014/10/08/Collector.xsd +26 -0
  555. data/data/xml/Schemas/2014/10/08/Contact.xsd +15 -0
  556. data/data/xml/Schemas/2014/10/08/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
  557. data/data/xml/Schemas/2014/10/08/DiabeticFootStatus.xsd +207 -0
  558. data/data/xml/Schemas/2014/10/08/EMessage.xsd +33 -0
  559. data/data/xml/Schemas/2014/10/08/FormattedText.xsd +45 -0
  560. data/data/xml/Schemas/2014/10/08/GeneralElements.xsd +208 -0
  561. data/data/xml/Schemas/2014/10/08/GeneralTypes.xsd +276 -0
  562. data/data/xml/Schemas/2014/10/08/GeneticsReport.xsd +293 -0
  563. data/data/xml/Schemas/2014/10/08/HistopathologyReport.xsd +386 -0
  564. data/data/xml/Schemas/2014/10/08/LaboratoryAnalysisFile.xsd +610 -0
  565. data/data/xml/Schemas/2014/10/08/LaboratoryReport.xsd +279 -0
  566. data/data/xml/Schemas/2014/10/08/LetterType.xsd +45 -0
  567. data/data/xml/Schemas/2014/10/08/Letters.xsd +27 -0
  568. data/data/xml/Schemas/2014/10/08/MC_UniversallyUniqueIdentifier_20080406.xsd +9 -0
  569. data/data/xml/Schemas/2014/10/08/MicrobiologyReport.xsd +484 -0
  570. data/data/xml/Schemas/2014/10/08/MicrobiologyWebReport.xsd +564 -0
  571. data/data/xml/Schemas/2014/10/08/ParagraphedText.xsd +33 -0
  572. data/data/xml/Schemas/2014/10/08/PathologyRequest.xsd +324 -0
  573. data/data/xml/Schemas/2014/10/08/Patient.xsd +22 -0
  574. data/data/xml/Schemas/2014/10/08/Payer.xsd +33 -0
  575. data/data/xml/Schemas/2014/10/08/Receiver.xsd +25 -0
  576. data/data/xml/Schemas/2014/10/08/Reference.xsd +32 -0
  577. data/data/xml/Schemas/2014/10/08/Referral.xsd +14 -0
  578. data/data/xml/Schemas/2014/10/08/Relative.xsd +18 -0
  579. data/data/xml/Schemas/2014/10/08/Sender.xsd +29 -0
  580. data/data/xml/Schemas/2014/10/08/ValueLists.xsd +287 -0
  581. data/data/xml/Schemas/2015/02/16/ChiropodyInvoice.xsd +245 -0
  582. data/data/xml/Schemas/2015/02/16/ChiropractorInvoice.xsd +205 -0
  583. data/data/xml/Schemas/2015/02/16/ClinicalTypes.xsd +63 -0
  584. data/data/xml/Schemas/2015/02/16/Contact.xsd +14 -0
  585. data/data/xml/Schemas/2015/02/16/DentistInvoice.xsd +224 -0
  586. data/data/xml/Schemas/2015/02/16/EMessage.xsd +34 -0
  587. data/data/xml/Schemas/2015/02/16/EmergencyServicePractitionerInvoice.xsd +231 -0
  588. data/data/xml/Schemas/2015/02/16/GeneralElements.xsd +105 -0
  589. data/data/xml/Schemas/2015/02/16/GeneralPractitionerBilling.xsd +222 -0
  590. data/data/xml/Schemas/2015/02/16/GeneralTypes.xsd +415 -0
  591. data/data/xml/Schemas/2015/02/16/LaboratoryInvoice.xsd +195 -0
  592. data/data/xml/Schemas/2015/02/16/LetterType.xsd +44 -0
  593. data/data/xml/Schemas/2015/02/16/Letters.xsd +31 -0
  594. data/data/xml/Schemas/2015/02/16/Patient.xsd +21 -0
  595. data/data/xml/Schemas/2015/02/16/PhysiotherapyInvoice.xsd +232 -0
  596. data/data/xml/Schemas/2015/02/16/PrivateSpecialistInvoice.xsd +244 -0
  597. data/data/xml/Schemas/2015/02/16/PsychologistInvoice.xsd +223 -0
  598. data/data/xml/Schemas/2015/02/16/Receiver.xsd +24 -0
  599. data/data/xml/Schemas/2015/02/16/Sender.xsd +28 -0
  600. data/data/xml/Schemas/2015/02/16/ValueLists.xsd +338 -0
  601. data/data/xml/ShowEmessage.xslt +202 -0
  602. data/data/xml/XSLTs/2004/06/01/EDI2XML/A0132Z.xslt +346 -0
  603. data/data/xml/XSLTs/2004/06/01/EDI2XML/B0130X.xslt +214 -0
  604. data/data/xml/XSLTs/2004/06/01/EDI2XML/Breve.xslt +29 -0
  605. data/data/xml/XSLTs/2004/06/01/EDI2XML/C0130Q.xslt +111 -0
  606. data/data/xml/XSLTs/2004/06/01/EDI2XML/C0230Q.xslt +111 -0
  607. data/data/xml/XSLTs/2004/06/01/EDI2XML/C0330Q.xslt +77 -0
  608. data/data/xml/XSLTs/2004/06/01/EDI2XML/D0133L.xslt +404 -0
  609. data/data/xml/XSLTs/2004/06/01/EDI2XML/D0233L.xslt +436 -0
  610. data/data/xml/XSLTs/2004/06/01/EDI2XML/D0333L.xslt +778 -0
  611. data/data/xml/XSLTs/2004/06/01/EDI2XML/D0533L.xslt +523 -0
  612. data/data/xml/XSLTs/2004/06/01/EDI2XML/D1333L.xslt +343 -0
  613. data/data/xml/XSLTs/2004/06/01/EDI2XML/D1430C.xslt +135 -0
  614. data/data/xml/XSLTs/2004/06/01/EDI2XML/D1431C.xslt +135 -0
  615. data/data/xml/XSLTs/2004/06/01/EDI2XML/D1730C.xslt +151 -0
  616. data/data/xml/XSLTs/2004/06/01/EDI2XML/D1930C.xslt +380 -0
  617. data/data/xml/XSLTs/2004/06/01/EDI2XML/D2030C.xslt +151 -0
  618. data/data/xml/XSLTs/2004/06/01/EDI2XML/D9133L.xslt +212 -0
  619. data/data/xml/XSLTs/2004/06/01/EDI2XML/GeneralTemplates.xslt +1003 -0
  620. data/data/xml/XSLTs/2004/06/01/EDI2XML/H0130R.xslt +408 -0
  621. data/data/xml/XSLTs/2004/06/01/EDI2XML/H0230R.xslt +403 -0
  622. data/data/xml/XSLTs/2004/06/01/EDI2XML/LMS015.xslt +423 -0
  623. data/data/xml/XSLTs/2004/06/01/EDI2XML/LMS016.xslt +416 -0
  624. data/data/xml/XSLTs/2004/06/01/EDI2XML/Q0130K.xslt +344 -0
  625. data/data/xml/XSLTs/2004/06/01/EDI2XML/Q0230M.xslt +386 -0
  626. data/data/xml/XSLTs/2004/06/01/EDI2XML/Q0330P.xslt +451 -0
  627. data/data/xml/XSLTs/2004/06/01/EDI2XML/R0130K.xslt +407 -0
  628. data/data/xml/XSLTs/2004/06/01/EDI2XML/R0230M.xslt +625 -0
  629. data/data/xml/XSLTs/2004/06/01/EDI2XML/R0330P.xslt +468 -0
  630. data/data/xml/XSLTs/2004/06/01/EDI2XML/R0430P.xslt +483 -0
  631. data/data/xml/XSLTs/2004/06/01/EDI2XML/XML11_2_Emessage.xslt +74 -0
  632. data/data/xml/XSLTs/2004/06/01/EDI2XML/tmp0000.xslt +618 -0
  633. data/data/xml/XSLTs/2004/06/01/XML2EDI/B.xslt +504 -0
  634. data/data/xml/XSLTs/2004/06/01/XML2EDI/C1.xslt +153 -0
  635. data/data/xml/XSLTs/2004/06/01/XML2EDI/C2.xslt +153 -0
  636. data/data/xml/XSLTs/2004/06/01/XML2EDI/C3.xslt +147 -0
  637. data/data/xml/XSLTs/2004/06/01/XML2EDI/ConvertMedicalSpecialityCode.xslt +86 -0
  638. data/data/xml/XSLTs/2004/06/01/XML2EDI/Emessage_2_XML11.xslt +94 -0
  639. data/data/xml/XSLTs/2004/06/01/XML2EDI/GeneralTemplates.xslt +244 -0
  640. data/data/xml/XSLTs/2004/06/01/XML2EDI/Letters.xslt +39 -0
  641. data/data/xml/XSLTs/2004/06/01/XML2EDI/O.xslt +556 -0
  642. data/data/xml/XSLTs/2004/06/01/XML2EDI/O1.xslt +573 -0
  643. data/data/xml/XSLTs/2004/06/01/XML2EDI/Q0430M.xslt +8 -0
  644. data/data/xml/XSLTs/2004/06/01/XML2EDI/TranslateMedicalSpecialityCode.txt +78 -0
  645. data/data/xml/XSLTs/2004/06/01/XML2EDI/X0430M.xslt +8 -0
  646. data/data/xml/XSLTs/2004/06/01/XML2EDI/XD0133L.xslt +1081 -0
  647. data/data/xml/XSLTs/2004/06/01/XML2EDI/XD0233L.xslt +1082 -0
  648. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1211203A.xslt +8 -0
  649. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1251001A.xslt +8 -0
  650. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1411001A.xslt +8 -0
  651. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1451001A.xslt +8 -0
  652. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1651001A.xslt +8 -0
  653. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA2011001A.xslt +8 -0
  654. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA2051001A.xslt +18 -0
  655. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA2111001A.xslt +8 -0
  656. data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA2151001A.xslt +16 -0
  657. data/data/xml/XSLTs/2004/06/01/XML2EDI/XQ0430M.xslt +8 -0
  658. data/data/xml/XSLTs/2004/06/01/XML2EDI/m.xslt +1721 -0
  659. data/data/xml/XSLTs/2004/06/01/XML2EDI/m1.xslt +1082 -0
  660. data/data/xml/XSLTs/2004/06/01/XML2EDI/p1.xslt +915 -0
  661. data/data/xml/XSLTs/2004/06/01/XML2EDI/p2.xslt +1521 -0
  662. data/data/xml/XSLTs/2004/06/01/XML2EDI/p3.xslt +1185 -0
  663. data/data/xml/XSLTs/2004/06/01/XML2EDI/p4.xslt +1170 -0
  664. data/data/xml/XSLTs/2004/06/01/XML2EDI/q1.xslt +851 -0
  665. data/data/xml/XSLTs/2004/06/01/XML2EDI/q2.xslt +888 -0
  666. data/data/xml/XSLTs/2004/06/01/XML2EDI/q3.xslt +1215 -0
  667. data/data/xml/XSLTs/2004/06/01/XML2EDI/r1.xslt +1001 -0
  668. data/data/xml/XSLTs/2004/06/01/XML2EDI/r2.xslt +1004 -0
  669. data/data/xml/XSLTs/2004/06/01/XML2EDI/ref01.xml +1289 -0
  670. data/data/xml/XSLTs/2004/06/01/XML2EDI/x13.xslt +678 -0
  671. data/data/xml/XSLTs/2004/06/01/XML2EDI/x14.xslt +380 -0
  672. data/data/xml/XSLTs/2004/06/01/XML2EDI/x17.xslt +363 -0
  673. data/data/xml/XSLTs/2004/06/01/XML2EDI/x19.xslt +995 -0
  674. data/data/xml/XSLTs/2004/06/01/XML2EDI/x20.xslt +365 -0
  675. data/data/xml/XSLTs/2004/06/01/XML2EDI/x3.xslt +1198 -0
  676. data/data/xml/XSLTs/2004/06/01/XML2EDI/x5.xslt +1198 -0
  677. data/data/xml/XSLTs/2004/06/01/XML2EDI/x91.xslt +628 -0
  678. data/data/xml/XSLTs/2005/08/07/EDI2XML/A0132Z.xslt +346 -0
  679. data/data/xml/XSLTs/2005/08/07/EDI2XML/B0130X.xslt +235 -0
  680. data/data/xml/XSLTs/2005/08/07/EDI2XML/Breve.xslt +30 -0
  681. data/data/xml/XSLTs/2005/08/07/EDI2XML/C0130Q.xslt +111 -0
  682. data/data/xml/XSLTs/2005/08/07/EDI2XML/C0230Q.xslt +111 -0
  683. data/data/xml/XSLTs/2005/08/07/EDI2XML/C0330Q.xslt +77 -0
  684. data/data/xml/XSLTs/2005/08/07/EDI2XML/D0133L.xslt +404 -0
  685. data/data/xml/XSLTs/2005/08/07/EDI2XML/D0233L.xslt +436 -0
  686. data/data/xml/XSLTs/2005/08/07/EDI2XML/D0333L.xslt +776 -0
  687. data/data/xml/XSLTs/2005/08/07/EDI2XML/D0533L.xslt +523 -0
  688. data/data/xml/XSLTs/2005/08/07/EDI2XML/D1333L.xslt +343 -0
  689. data/data/xml/XSLTs/2005/08/07/EDI2XML/D1430C.xslt +135 -0
  690. data/data/xml/XSLTs/2005/08/07/EDI2XML/D1431C.xslt +135 -0
  691. data/data/xml/XSLTs/2005/08/07/EDI2XML/D1730C.xslt +151 -0
  692. data/data/xml/XSLTs/2005/08/07/EDI2XML/D1930C.xslt +370 -0
  693. data/data/xml/XSLTs/2005/08/07/EDI2XML/D2030C.xslt +151 -0
  694. data/data/xml/XSLTs/2005/08/07/EDI2XML/D9133L.xslt +203 -0
  695. data/data/xml/XSLTs/2005/08/07/EDI2XML/GeneralTemplates.xslt +1043 -0
  696. data/data/xml/XSLTs/2005/08/07/EDI2XML/H0130R.xslt +420 -0
  697. data/data/xml/XSLTs/2005/08/07/EDI2XML/H0230R.xslt +415 -0
  698. data/data/xml/XSLTs/2005/08/07/EDI2XML/LMS016.xslt +411 -0
  699. data/data/xml/XSLTs/2005/08/07/EDI2XML/Q0130K.xslt +351 -0
  700. data/data/xml/XSLTs/2005/08/07/EDI2XML/Q0230M.xslt +398 -0
  701. data/data/xml/XSLTs/2005/08/07/EDI2XML/Q0330P.xslt +466 -0
  702. data/data/xml/XSLTs/2005/08/07/EDI2XML/R0130K.xslt +412 -0
  703. data/data/xml/XSLTs/2005/08/07/EDI2XML/R0230M.xslt +636 -0
  704. data/data/xml/XSLTs/2005/08/07/EDI2XML/R0330P.xslt +470 -0
  705. data/data/xml/XSLTs/2005/08/07/EDI2XML/R0430P.xslt +507 -0
  706. data/data/xml/XSLTs/2005/08/07/EDI2XML/R6031W.xslt +460 -0
  707. data/data/xml/XSLTs/2005/08/07/EDI2XML/XML11_2_Emessage.xslt +74 -0
  708. data/data/xml/XSLTs/2005/08/07/EDI2XML/XR0130K.xslt +919 -0
  709. data/data/xml/XSLTs/2005/08/07/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
  710. data/data/xml/XSLTs/2005/08/07/XML2EDI/Emessage_2_XML11.xslt +94 -0
  711. data/data/xml/XSLTs/2005/08/07/XML2EDI/GeneralTemplates.xslt +275 -0
  712. data/data/xml/XSLTs/2005/08/07/XML2EDI/Letters.xslt +41 -0
  713. data/data/xml/XSLTs/2005/08/07/XML2EDI/X0430M.xslt +8 -0
  714. data/data/xml/XSLTs/2005/08/07/XML2EDI/XA0132Z.xslt +529 -0
  715. data/data/xml/XSLTs/2005/08/07/XML2EDI/XB0130X.xslt +453 -0
  716. data/data/xml/XSLTs/2005/08/07/XML2EDI/XC0130Q.xslt +147 -0
  717. data/data/xml/XSLTs/2005/08/07/XML2EDI/XC0230Q.xslt +147 -0
  718. data/data/xml/XSLTs/2005/08/07/XML2EDI/XC0330Q.xslt +147 -0
  719. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD0133L.xslt +1029 -0
  720. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD0233L.xslt +1030 -0
  721. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD0333L.xslt +1118 -0
  722. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD0533L.xslt +1090 -0
  723. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD1333L.xslt +596 -0
  724. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD1431C.xslt +325 -0
  725. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD1730C.xslt +308 -0
  726. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD1930C.xslt +915 -0
  727. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD2030C.xslt +310 -0
  728. data/data/xml/XSLTs/2005/08/07/XML2EDI/XD9133L.xslt +575 -0
  729. data/data/xml/XSLTs/2005/08/07/XML2EDI/XH0130R.xslt +971 -0
  730. data/data/xml/XSLTs/2005/08/07/XML2EDI/XH0230R.xslt +972 -0
  731. data/data/xml/XSLTs/2005/08/07/XML2EDI/XI0001D.xslt +176 -0
  732. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1211203A.xslt +8 -0
  733. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1251001A.xslt +8 -0
  734. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1411001A.xslt +8 -0
  735. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1451001A.xslt +8 -0
  736. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1651001A.xslt +8 -0
  737. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA2011001A.xslt +8 -0
  738. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA2051001A.xslt +18 -0
  739. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA2111001A.xslt +8 -0
  740. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA2151001A.xslt +16 -0
  741. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLMS016.xslt +1676 -0
  742. data/data/xml/XSLTs/2005/08/07/XML2EDI/XLMS0XX.xslt +1676 -0
  743. data/data/xml/XSLTs/2005/08/07/XML2EDI/XQ0130K.xslt +797 -0
  744. data/data/xml/XSLTs/2005/08/07/XML2EDI/XQ0230M.xslt +834 -0
  745. data/data/xml/XSLTs/2005/08/07/XML2EDI/XQ0330P.xslt +1161 -0
  746. data/data/xml/XSLTs/2005/08/07/XML2EDI/XQ0430M.xslt +8 -0
  747. data/data/xml/XSLTs/2005/08/07/XML2EDI/XR0130K.xslt +862 -0
  748. data/data/xml/XSLTs/2005/08/07/XML2EDI/XR0230M.xslt +1463 -0
  749. data/data/xml/XSLTs/2005/08/07/XML2EDI/XR0330P.xslt +1104 -0
  750. data/data/xml/XSLTs/2005/08/07/XML2EDI/XR0430P.xslt +1226 -0
  751. data/data/xml/XSLTs/2005/08/07/XML2EDI/XR6031W.xslt +1727 -0
  752. data/data/xml/XSLTs/2005/08/07/stylesheet/viewEmessage.xsl +4817 -0
  753. data/data/xml/XSLTs/2006/07/01/EDI2XML/A0135Z.xslt +396 -0
  754. data/data/xml/XSLTs/2006/07/01/EDI2XML/Breve.xslt +30 -0
  755. data/data/xml/XSLTs/2006/07/01/EDI2XML/D9134L.xslt +235 -0
  756. data/data/xml/XSLTs/2006/07/01/EDI2XML/GeneralTemplates.xslt +1016 -0
  757. data/data/xml/XSLTs/2006/07/01/EDI2XML/Q0131K.xslt +501 -0
  758. data/data/xml/XSLTs/2006/07/01/EDI2XML/XML11_2_Emessage.xslt +78 -0
  759. data/data/xml/XSLTs/2006/07/01/EDI2XML/req01.xml +101 -0
  760. data/data/xml/XSLTs/2006/07/01/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
  761. data/data/xml/XSLTs/2006/07/01/XML2EDI/Emessage_2_XML11.xslt +94 -0
  762. data/data/xml/XSLTs/2006/07/01/XML2EDI/GeneralTemplates.xslt +242 -0
  763. data/data/xml/XSLTs/2006/07/01/XML2EDI/Letters.xslt +7 -0
  764. data/data/xml/XSLTs/2006/07/01/XML2EDI/XA0135Z.xslt +630 -0
  765. data/data/xml/XSLTs/2006/07/01/XML2EDI/XD9134L.xslt +716 -0
  766. data/data/xml/XSLTs/2006/07/01/XML2EDI/XQ0131K.xslt +1132 -0
  767. data/data/xml/XSLTs/2006/07/01/stylesheet/viewEmessage.xsl +589 -0
  768. data/data/xml/XSLTs/2007/02/01/EDI2XML/A0132Z.xslt +346 -0
  769. data/data/xml/XSLTs/2007/02/01/EDI2XML/A0137Z.xslt +468 -0
  770. data/data/xml/XSLTs/2007/02/01/EDI2XML/B0130X.xslt +214 -0
  771. data/data/xml/XSLTs/2007/02/01/EDI2XML/Breve.xslt +17 -0
  772. data/data/xml/XSLTs/2007/02/01/EDI2XML/C0130Q.xslt +111 -0
  773. data/data/xml/XSLTs/2007/02/01/EDI2XML/C0230Q.xslt +111 -0
  774. data/data/xml/XSLTs/2007/02/01/EDI2XML/C0330Q.xslt +77 -0
  775. data/data/xml/XSLTs/2007/02/01/EDI2XML/D0133L.xslt +404 -0
  776. data/data/xml/XSLTs/2007/02/01/EDI2XML/D0233L.xslt +436 -0
  777. data/data/xml/XSLTs/2007/02/01/EDI2XML/D0333L.xslt +776 -0
  778. data/data/xml/XSLTs/2007/02/01/EDI2XML/D0533L.xslt +523 -0
  779. data/data/xml/XSLTs/2007/02/01/EDI2XML/D0633L.xslt +404 -0
  780. data/data/xml/XSLTs/2007/02/01/EDI2XML/D0733L.xslt +404 -0
  781. data/data/xml/XSLTs/2007/02/01/EDI2XML/D0833L.xslt +404 -0
  782. data/data/xml/XSLTs/2007/02/01/EDI2XML/D1033L.xslt +404 -0
  783. data/data/xml/XSLTs/2007/02/01/EDI2XML/D1333L.xslt +343 -0
  784. data/data/xml/XSLTs/2007/02/01/EDI2XML/D1430C.xslt +135 -0
  785. data/data/xml/XSLTs/2007/02/01/EDI2XML/D1431C.xslt +135 -0
  786. data/data/xml/XSLTs/2007/02/01/EDI2XML/D1630C.xslt +462 -0
  787. data/data/xml/XSLTs/2007/02/01/EDI2XML/D1730C.xslt +151 -0
  788. data/data/xml/XSLTs/2007/02/01/EDI2XML/D1830C.xslt +443 -0
  789. data/data/xml/XSLTs/2007/02/01/EDI2XML/D1930C.xslt +370 -0
  790. data/data/xml/XSLTs/2007/02/01/EDI2XML/D2030C.xslt +151 -0
  791. data/data/xml/XSLTs/2007/02/01/EDI2XML/D9133L.xslt +203 -0
  792. data/data/xml/XSLTs/2007/02/01/EDI2XML/GeneralTemplates.xslt +1045 -0
  793. data/data/xml/XSLTs/2007/02/01/EDI2XML/H0130R.xslt +415 -0
  794. data/data/xml/XSLTs/2007/02/01/EDI2XML/H0230R.xslt +408 -0
  795. data/data/xml/XSLTs/2007/02/01/EDI2XML/H0630R.xslt +424 -0
  796. data/data/xml/XSLTs/2007/02/01/EDI2XML/H0730R.xslt +518 -0
  797. data/data/xml/XSLTs/2007/02/01/EDI2XML/H1030R.xslt +473 -0
  798. data/data/xml/XSLTs/2007/02/01/EDI2XML/H1230R.xslt +518 -0
  799. data/data/xml/XSLTs/2007/02/01/EDI2XML/LMS016.xslt +411 -0
  800. data/data/xml/XSLTs/2007/02/01/EDI2XML/LMS0XX.xslt +411 -0
  801. data/data/xml/XSLTs/2007/02/01/EDI2XML/Q0130K.xslt +352 -0
  802. data/data/xml/XSLTs/2007/02/01/EDI2XML/Q0230M.xslt +398 -0
  803. data/data/xml/XSLTs/2007/02/01/EDI2XML/Q0330P.xslt +459 -0
  804. data/data/xml/XSLTs/2007/02/01/EDI2XML/R0130K.xslt +419 -0
  805. data/data/xml/XSLTs/2007/02/01/EDI2XML/R0230M.xslt +645 -0
  806. data/data/xml/XSLTs/2007/02/01/EDI2XML/R0330P.xslt +470 -0
  807. data/data/xml/XSLTs/2007/02/01/EDI2XML/R0430P.xslt +485 -0
  808. data/data/xml/XSLTs/2007/02/01/EDI2XML/R6031W.xslt +452 -0
  809. data/data/xml/XSLTs/2007/02/01/EDI2XML/XML11_2_Emessage.xslt +74 -0
  810. data/data/xml/XSLTs/2007/02/01/EDI2XML/xr0130k.xslt +919 -0
  811. data/data/xml/XSLTs/2007/02/01/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
  812. data/data/xml/XSLTs/2007/02/01/XML2EDI/Emessage_2_XML11.xslt +94 -0
  813. data/data/xml/XSLTs/2007/02/01/XML2EDI/GeneralTemplates.xslt +176 -0
  814. data/data/xml/XSLTs/2007/02/01/XML2EDI/Letters.xslt +17 -0
  815. data/data/xml/XSLTs/2007/02/01/XML2EDI/X0430M.xslt +8 -0
  816. data/data/xml/XSLTs/2007/02/01/XML2EDI/XA0137Z.xslt +708 -0
  817. data/data/xml/XSLTs/2007/02/01/XML2EDI/XC0130Q.xslt +154 -0
  818. data/data/xml/XSLTs/2007/02/01/XML2EDI/XC0230Q.xslt +153 -0
  819. data/data/xml/XSLTs/2007/02/01/XML2EDI/XC0330Q.xslt +147 -0
  820. data/data/xml/XSLTs/2007/02/01/XML2EDI/XD0633L.xslt +1091 -0
  821. data/data/xml/XSLTs/2007/02/01/XML2EDI/XD0733L.xslt +1091 -0
  822. data/data/xml/XSLTs/2007/02/01/XML2EDI/XD0833L.xslt +1091 -0
  823. data/data/xml/XSLTs/2007/02/01/XML2EDI/XD1033L.xslt +1091 -0
  824. data/data/xml/XSLTs/2007/02/01/XML2EDI/XD1630C.xslt +1072 -0
  825. data/data/xml/XSLTs/2007/02/01/XML2EDI/XD1830C.xslt +1069 -0
  826. data/data/xml/XSLTs/2007/02/01/XML2EDI/XH0630R.xslt +1079 -0
  827. data/data/xml/XSLTs/2007/02/01/XML2EDI/XH0730R.xslt +1165 -0
  828. data/data/xml/XSLTs/2007/02/01/XML2EDI/XH1030R.xslt +1136 -0
  829. data/data/xml/XSLTs/2007/02/01/XML2EDI/XH1230R.xslt +1169 -0
  830. data/data/xml/XSLTs/2007/02/01/XML2EDI/XI0001D.xslt +80 -0
  831. data/data/xml/XSLTs/2007/02/01/XML2EDI/XI0002D.xslt +100 -0
  832. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1211203A.xslt +8 -0
  833. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1251001A.xslt +8 -0
  834. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1411001A.xslt +8 -0
  835. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1451001A.xslt +8 -0
  836. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1651001A.xslt +8 -0
  837. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA2011001A.xslt +8 -0
  838. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA2051001A.xslt +18 -0
  839. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA2111001A.xslt +8 -0
  840. data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA2151001A.xslt +16 -0
  841. data/data/xml/XSLTs/2007/02/01/XML2EDI/XQ0130K.xslt +878 -0
  842. data/data/xml/XSLTs/2007/02/01/XML2EDI/XQ0430M.xslt +8 -0
  843. data/data/xml/XSLTs/2007/02/01/XML2EDI/XR0130K.xslt +906 -0
  844. data/data/xml/XSLTs/2007/02/01/XML2EDI/XR0230M.xslt +1541 -0
  845. data/data/xml/XSLTs/2007/02/01/XML2EDI/XR0530M.xslt +11 -0
  846. data/data/xml/XSLTs/2007/02/01/XML2EDI/m1.xslt +1082 -0
  847. data/data/xml/XSLTs/2007/02/01/XML2EDI/o1.xslt +573 -0
  848. data/data/xml/XSLTs/2007/02/01/XML2EDI/xa0132z.xslt +556 -0
  849. data/data/xml/XSLTs/2007/02/01/XML2EDI/xb0130x.xslt +504 -0
  850. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd0133l.xslt +1081 -0
  851. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd0233l.xslt +1082 -0
  852. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd0333l.xslt +1197 -0
  853. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd0533l.xslt +1197 -0
  854. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd1333l.xslt +678 -0
  855. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd1431c.xslt +380 -0
  856. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd1730c.xslt +363 -0
  857. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd1930c.xslt +996 -0
  858. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd2030c.xslt +365 -0
  859. data/data/xml/XSLTs/2007/02/01/XML2EDI/xd9133l.xslt +628 -0
  860. data/data/xml/XSLTs/2007/02/01/XML2EDI/xh0130r.xslt +1036 -0
  861. data/data/xml/XSLTs/2007/02/01/XML2EDI/xh0230r.xslt +1042 -0
  862. data/data/xml/XSLTs/2007/02/01/XML2EDI/xlms016.xslt +1703 -0
  863. data/data/xml/XSLTs/2007/02/01/XML2EDI/xlms0xx.xslt +1703 -0
  864. data/data/xml/XSLTs/2007/02/01/XML2EDI/xq0230m.xslt +915 -0
  865. data/data/xml/XSLTs/2007/02/01/XML2EDI/xq0330p.xslt +1242 -0
  866. data/data/xml/XSLTs/2007/02/01/XML2EDI/xr0330p.xslt +1185 -0
  867. data/data/xml/XSLTs/2007/02/01/XML2EDI/xr0430p.xslt +1170 -0
  868. data/data/xml/XSLTs/2007/02/01/XML2EDI/xr6031w.xslt +1770 -0
  869. data/data/xml/XSLTs/2007/02/01/stylesheet/ParagraphedText.xsl +39 -0
  870. data/data/xml/XSLTs/2007/02/01/stylesheet/WebReport.xsl +607 -0
  871. data/data/xml/XSLTs/2007/02/01/stylesheet/viewEmessage.xsl +3765 -0
  872. data/data/xml/XSLTs/2008/09/17/EDI2XML/A0138Z.xslt +471 -0
  873. data/data/xml/XSLTs/2008/09/17/EDI2XML/Breve.xslt +6 -0
  874. data/data/xml/XSLTs/2008/09/17/EDI2XML/D1034L.xslt +404 -0
  875. data/data/xml/XSLTs/2008/09/17/EDI2XML/GeneralTemplates.xslt +1017 -0
  876. data/data/xml/XSLTs/2008/09/17/EDI2XML/XML11_2_Emessage.xslt +74 -0
  877. data/data/xml/XSLTs/2008/09/17/XML2EDI/Emessage_2_XML11.xslt +94 -0
  878. data/data/xml/XSLTs/2008/09/17/XML2EDI/GeneralTemplates.xslt +176 -0
  879. data/data/xml/XSLTs/2008/09/17/XML2EDI/Letters.xslt +6 -0
  880. data/data/xml/XSLTs/2008/09/17/XML2EDI/XA0138Z.xslt +711 -0
  881. data/data/xml/XSLTs/2008/09/17/XML2EDI/XD1034L.xslt +1082 -0
  882. data/data/xml/XSLTs/2008/09/17/XML2EDI/crap/m1.xslt +1072 -0
  883. data/data/xml/XSLTs/2008/09/17/XML2EDI/crap/o1.xslt +571 -0
  884. data/data/xml/XSLTs/2008/09/17/stylesheet/ParagraphedText.xsl +39 -0
  885. data/data/xml/XSLTs/2008/09/17/stylesheet/WebReport.xsl +607 -0
  886. data/data/xml/XSLTs/2008/09/17/stylesheet/viewEmessage.xsl +163 -0
  887. data/data/xml/XSLTs/2008/09/17/stylesheet/viewEmessage.xslt +2325 -0
  888. data/data/xml/XSLTs/2009/08/01/EDI2XML/Breve.xslt +5 -0
  889. data/data/xml/XSLTs/2009/08/01/EDI2XML/D9034L.xslt +235 -0
  890. data/data/xml/XSLTs/2009/08/01/EDI2XML/GeneralTemplates.xslt +1015 -0
  891. data/data/xml/XSLTs/2009/08/01/EDI2XML/XML11_2_Emessage.xslt +78 -0
  892. data/data/xml/XSLTs/2009/08/01/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
  893. data/data/xml/XSLTs/2009/08/01/XML2EDI/Emessage_2_XML11.xslt +94 -0
  894. data/data/xml/XSLTs/2009/08/01/XML2EDI/GeneralTemplates.xslt +241 -0
  895. data/data/xml/XSLTs/2009/08/01/XML2EDI/Letters.xslt +5 -0
  896. data/data/xml/XSLTs/2009/08/01/XML2EDI/XD9034L.xslt +714 -0
  897. data/data/xml/XSLTs/2009/08/01/stylesheet/viewEmessage.xsl +90 -0
  898. data/data/xml/XSLTs/2010/07/01/EDI2XML/A0139Z.xslt +471 -0
  899. data/data/xml/XSLTs/2010/07/01/EDI2XML/Breve.xslt +6 -0
  900. data/data/xml/XSLTs/2010/07/01/EDI2XML/GeneralTemplates.xslt +1057 -0
  901. data/data/xml/XSLTs/2010/07/01/EDI2XML/U0131U.xslt +606 -0
  902. data/data/xml/XSLTs/2010/07/01/EDI2XML/XML11_2_Emessage.xslt +74 -0
  903. data/data/xml/XSLTs/2010/07/01/XML2EDI/Emessage_2_XML11.xslt +93 -0
  904. data/data/xml/XSLTs/2010/07/01/XML2EDI/GeneralTemplates.xslt +220 -0
  905. data/data/xml/XSLTs/2010/07/01/XML2EDI/Letters.xslt +6 -0
  906. data/data/xml/XSLTs/2010/07/01/XML2EDI/XA0139Z.xslt +711 -0
  907. data/data/xml/XSLTs/2010/07/01/XML2EDI/XU0131U.xslt +1259 -0
  908. data/data/xml/XSLTs/2010/07/01/stylesheet/ParagraphedText.xsl +39 -0
  909. data/data/xml/XSLTs/2010/07/01/stylesheet/WebReport.xsl +607 -0
  910. data/data/xml/XSLTs/2010/07/01/stylesheet/viewEmessage.xsl +163 -0
  911. data/data/xml/XSLTs/2010/07/01/stylesheet/viewEmessage.xslt +2325 -0
  912. data/data/xml/XSLTs/2011/02/17/EDI2XML/Breve.xslt +5 -0
  913. data/data/xml/XSLTs/2011/02/17/EDI2XML/D3234L.xslt +591 -0
  914. data/data/xml/XSLTs/2011/02/17/EDI2XML/GeneralTemplates.xslt +1350 -0
  915. data/data/xml/XSLTs/2011/02/17/EDI2XML/XML11_2_Emessage.xslt +74 -0
  916. data/data/xml/XSLTs/2011/02/17/XML2EDI/Emessage_2_XML11.xslt +93 -0
  917. data/data/xml/XSLTs/2011/02/17/XML2EDI/GeneralTemplates.xslt +220 -0
  918. data/data/xml/XSLTs/2011/02/17/XML2EDI/Letters.xslt +5 -0
  919. data/data/xml/XSLTs/2011/02/17/XML2EDI/XD3234L.xslt +1978 -0
  920. data/data/xml/XSLTs/2011/02/17/stylesheet/BirthNotification2html.xsl +599 -0
  921. data/data/xml/XSLTs/2011/02/17/stylesheet/common.xsl +524 -0
  922. data/data/xml/XSLTs/2011/02/17/stylesheet/viewEmessage.xsl +175 -0
  923. data/data/xml/XSLTs/2012/03/28/EDI2XML/B0131X.xslt +236 -0
  924. data/data/xml/XSLTs/2012/03/28/EDI2XML/Breve.xslt +6 -0
  925. data/data/xml/XSLTs/2012/03/28/EDI2XML/GeneralTemplates.xslt +1043 -0
  926. data/data/xml/XSLTs/2012/03/28/EDI2XML/R0431P.xslt +507 -0
  927. data/data/xml/XSLTs/2012/03/28/EDI2XML/XML11_2_Emessage.xslt +74 -0
  928. data/data/xml/XSLTs/2012/03/28/XML2EDI/Emessage_2_XML11.xslt +98 -0
  929. data/data/xml/XSLTs/2012/03/28/XML2EDI/GeneralTemplates.xslt +203 -0
  930. data/data/xml/XSLTs/2012/03/28/XML2EDI/Letters.xslt +6 -0
  931. data/data/xml/XSLTs/2012/03/28/XML2EDI/XB0131X.xslt +455 -0
  932. data/data/xml/XSLTs/2012/03/28/XML2EDI/XR0431P.xslt +1226 -0
  933. data/data/xml/XSLTs/2012/03/28/stylesheet/viewEmessage.xsl +565 -0
  934. data/data/xml/XSLTs/2013/09/02/EDI2XML/Breve.xslt +5 -0
  935. data/data/xml/XSLTs/2013/09/02/EDI2XML/GeneralTemplates.xslt +1045 -0
  936. data/data/xml/XSLTs/2013/09/02/EDI2XML/H0731R.xslt +524 -0
  937. data/data/xml/XSLTs/2013/09/02/EDI2XML/XML11_2_Emessage.xslt +74 -0
  938. data/data/xml/XSLTs/2013/09/02/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
  939. data/data/xml/XSLTs/2013/09/02/XML2EDI/Emessage_2_XML11.xslt +94 -0
  940. data/data/xml/XSLTs/2013/09/02/XML2EDI/GeneralTemplates.xslt +176 -0
  941. data/data/xml/XSLTs/2013/09/02/XML2EDI/Letters.xslt +5 -0
  942. data/data/xml/XSLTs/2013/09/02/XML2EDI/XH0731R.xslt +1171 -0
  943. data/data/xml/XSLTs/2013/09/02/stylesheet/ParagraphedText.xsl +39 -0
  944. data/data/xml/XSLTs/2013/09/02/stylesheet/WebReport.xsl +607 -0
  945. data/data/xml/XSLTs/2013/09/02/stylesheet/viewEmessage.xsl +300 -0
  946. data/data/xml/XSLTs/2014/10/08/EDI2XML/A0140Z.xslt +474 -0
  947. data/data/xml/XSLTs/2014/10/08/EDI2XML/Breve.xslt +12 -0
  948. data/data/xml/XSLTs/2014/10/08/EDI2XML/GeneralTemplates.xslt +1066 -0
  949. data/data/xml/XSLTs/2014/10/08/EDI2XML/Q0331P.xslt +494 -0
  950. data/data/xml/XSLTs/2014/10/08/EDI2XML/R0130F.xslt +338 -0
  951. data/data/xml/XSLTs/2014/10/08/EDI2XML/R0131K.xslt +449 -0
  952. data/data/xml/XSLTs/2014/10/08/EDI2XML/R0231M.xslt +663 -0
  953. data/data/xml/XSLTs/2014/10/08/EDI2XML/R0331P.xslt +517 -0
  954. data/data/xml/XSLTs/2014/10/08/EDI2XML/R0432P.xslt +554 -0
  955. data/data/xml/XSLTs/2014/10/08/EDI2XML/R0730G.xslt +469 -0
  956. data/data/xml/XSLTs/2014/10/08/EDI2XML/XML11_2_Emessage.xslt +74 -0
  957. data/data/xml/XSLTs/2014/10/08/XML2EDI/Emessage_2_XML11.xslt +98 -0
  958. data/data/xml/XSLTs/2014/10/08/XML2EDI/GeneralTemplates.xslt +328 -0
  959. data/data/xml/XSLTs/2014/10/08/XML2EDI/Letters.xslt +13 -0
  960. data/data/xml/XSLTs/2014/10/08/XML2EDI/XA0140Z.xslt +728 -0
  961. data/data/xml/XSLTs/2014/10/08/XML2EDI/XQ0331P.xslt +1081 -0
  962. data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0130F.xslt +660 -0
  963. data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0131K.xslt +900 -0
  964. data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0231M.xslt +1555 -0
  965. data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0331P.xslt +1228 -0
  966. data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0432P.xslt +1220 -0
  967. data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0532M.xslt +11 -0
  968. data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0730G.xslt +1035 -0
  969. data/data/xml/XSLTs/2014/10/08/stylesheet/WebReport.xsl +565 -0
  970. data/data/xml/XSLTs/2014/10/08/stylesheet/viewEmessage.xsl +2951 -0
  971. data/data/xml/XSLTs/2015/02/16/EDI2XML/Breve.xslt +5 -0
  972. data/data/xml/XSLTs/2015/02/16/EDI2XML/GeneralTemplates.xslt +1079 -0
  973. data/data/xml/XSLTs/2015/02/16/EDI2XML/U0131U.xslt +606 -0
  974. data/data/xml/XSLTs/2015/02/16/EDI2XML/XML11_2_Emessage.xslt +74 -0
  975. data/data/xml/XSLTs/2015/02/16/XML2EDI/Emessage_2_XML11.xslt +93 -0
  976. data/data/xml/XSLTs/2015/02/16/XML2EDI/GeneralTemplates.xslt +242 -0
  977. data/data/xml/XSLTs/2015/02/16/XML2EDI/Letters.xslt +5 -0
  978. data/data/xml/XSLTs/2015/02/16/XML2EDI/XU0131U.xslt +1259 -0
  979. data/data/xml/XSLTs/2015/02/16/stylesheet/viewEmessage.xsl +8 -0
  980. data/data/xml/examples/xrpt05/6092035412.xml +223 -0
  981. data/data/xml/examples/xrpt05/6092035418.xml +136 -0
  982. data/data/xml/examples/xrpt05/6092035422.xml +230 -0
  983. data/data/xml/examples/xrpt05/6092035424.xml +95 -0
  984. data/data/xml/examples/xrpt05/TekstEksempel.xml +13 -0
  985. data/data/xml/namespaces.xls +0 -0
  986. data/data/xml/viewCommon.xsl +32 -0
  987. data/data/xml/viewEmessage.xslt +1229 -0
  988. data/data/xml/xmledi.properties +171 -0
  989. data/edifact_converter.gemspec +27 -0
  990. data/lib/edifact_converter/abstract_syntax_tree.rb +97 -0
  991. data/lib/edifact_converter/binary.rb +69 -0
  992. data/lib/edifact_converter/command_line_parser.rb +72 -0
  993. data/lib/edifact_converter/comparator.rb +194 -0
  994. data/lib/edifact_converter/configuration/edifact_rule.rb +38 -0
  995. data/lib/edifact_converter/configuration/json_configurator.rb +91 -0
  996. data/lib/edifact_converter/configuration/xml_rule.rb +74 -0
  997. data/lib/edifact_converter/configuration/yaml_configurator.rb +91 -0
  998. data/lib/edifact_converter/configuration.rb +42 -0
  999. data/lib/edifact_converter/converter.rb +50 -0
  1000. data/lib/edifact_converter/converter_methods.rb +137 -0
  1001. data/lib/edifact_converter/debug_handler.rb +50 -0
  1002. data/lib/edifact_converter/difference.rb +36 -0
  1003. data/lib/edifact_converter/edi2xml11/brev_handler.rb +51 -0
  1004. data/lib/edifact_converter/edi2xml11/edi_reader.rb +185 -0
  1005. data/lib/edifact_converter/edi2xml11/hidden_group_handler.rb +47 -0
  1006. data/lib/edifact_converter/edi2xml11/locator.rb +28 -0
  1007. data/lib/edifact_converter/edi2xml11/parent_group_handler.rb +43 -0
  1008. data/lib/edifact_converter/edi2xml11/pipeline.rb +38 -0
  1009. data/lib/edifact_converter/edi2xml11/position.rb +20 -0
  1010. data/lib/edifact_converter/edi2xml11/position_io.rb +75 -0
  1011. data/lib/edifact_converter/edi2xml11/properties_handler.rb +101 -0
  1012. data/lib/edifact_converter/edi2xml11/segment_group_handler.rb +49 -0
  1013. data/lib/edifact_converter/edi2xml11/settings_handler.rb +31 -0
  1014. data/lib/edifact_converter/edi2xml11/xml_handler.rb +108 -0
  1015. data/lib/edifact_converter/edi2xml11.rb +19 -0
  1016. data/lib/edifact_converter/edifact.rb +110 -0
  1017. data/lib/edifact_converter/edifact_error.rb +19 -0
  1018. data/lib/edifact_converter/empty_handler.rb +28 -0
  1019. data/lib/edifact_converter/ftx_text.rb +153 -0
  1020. data/lib/edifact_converter/message.rb +30 -0
  1021. data/lib/edifact_converter/result.rb +39 -0
  1022. data/lib/edifact_converter/version.rb +3 -0
  1023. data/lib/edifact_converter/xml/paragraph.rb +183 -0
  1024. data/lib/edifact_converter/xml/xftx_parser.rb +153 -0
  1025. data/lib/edifact_converter/xml.rb +137 -0
  1026. data/lib/edifact_converter/xml112edi/checksum_handler.rb +42 -0
  1027. data/lib/edifact_converter/xml112edi/edi_handler.rb +86 -0
  1028. data/lib/edifact_converter/xml112edi/segment_checks.rb +42 -0
  1029. data/lib/edifact_converter/xml112edi/xml_reader.rb +88 -0
  1030. data/lib/edifact_converter/xml112edi.rb +10 -0
  1031. data/lib/edifact_converter.rb +62 -0
  1032. data/test/abstract_syntax_tree_test.rb +68 -0
  1033. data/test/comparator_test.rb +126 -0
  1034. data/test/complete/edifact_converter_test.rb +57 -0
  1035. data/test/complete/files/edifact/BIN01_1.edi +1403 -0
  1036. data/test/complete/files/edifact/BIN01_2.edi +917 -3
  1037. data/test/complete/files/edifact/BIN01_3.edi +1583 -3
  1038. data/test/complete/files/edifact/BIN01_4.edi +66 -0
  1039. data/test/complete/files/edifact/BIN01_5.edi +93 -0
  1040. data/test/complete/files/edifact/BIN01_6.edi +4819 -6
  1041. data/test/complete/files/edifact/CTL01_1.edi +10 -0
  1042. data/test/complete/files/edifact/CTL02_1.edi +9 -0
  1043. data/test/complete/files/edifact/CTL03_1.edi +8 -0
  1044. data/test/complete/files/edifact/DIS01_1.edi +55 -0
  1045. data/test/complete/files/edifact/DIS02_1.edi +44 -0
  1046. data/test/complete/files/edifact/DIS03_1.edi +1 -0
  1047. data/test/complete/files/edifact/DIS05_1.edi +41 -0
  1048. data/test/complete/files/edifact/DIS06_1.edi +37 -0
  1049. data/test/complete/files/edifact/DIS07_1.edi +39 -0
  1050. data/test/complete/files/edifact/DIS08_1.edi +40 -0
  1051. data/test/complete/files/edifact/DIS08_2.edi +1 -0
  1052. data/test/complete/files/edifact/DIS13_1.edi +1 -0
  1053. data/test/complete/files/edifact/DIS14_1.edi +50 -0
  1054. data/test/complete/files/edifact/DIS17_1.edi +29 -0
  1055. data/test/complete/files/edifact/DIS20_1.edi +29 -0
  1056. data/test/complete/files/edifact/DIS91_1.edi +33 -0
  1057. data/test/complete/files/edifact/DIS91_2.edi +32 -0
  1058. data/test/complete/files/edifact/DIS91_3.edi +37 -0
  1059. data/test/complete/files/edifact/PRE01_1.edi +1 -0
  1060. data/test/complete/files/edifact/PRE01_2.edi +1 -0
  1061. data/test/complete/files/edifact/PRE01_3.edi +1 -0
  1062. data/test/complete/files/edifact/PRE60_1.edi +1 -0
  1063. data/test/complete/files/edifact/PRE60_2.edi +1 -0
  1064. data/test/complete/files/edifact/PRE60_3.edi +1 -0
  1065. data/test/complete/files/edifact/REF01_1.edi +1 -0
  1066. data/test/complete/files/edifact/REF02_1.edi +54 -0
  1067. data/test/complete/files/edifact/REF06_1.edi +43 -0
  1068. data/test/complete/files/edifact/REF06_2.edi +45 -0
  1069. data/test/complete/files/edifact/REF06_3.edi +46 -0
  1070. data/test/complete/files/edifact/REF07_1.edi +46 -0
  1071. data/test/complete/files/edifact/REF07_2.edi +47 -0
  1072. data/test/complete/files/edifact/REF07_3.edi +48 -0
  1073. data/test/complete/files/edifact/REQ01_1.edi +1 -0
  1074. data/test/complete/files/edifact/REQ02_1.edi +57 -0
  1075. data/test/complete/files/edifact/REQ03_1.edi +65 -0
  1076. data/test/complete/files/edifact/REQ03_2.edi +64 -0
  1077. data/test/complete/files/edifact/RPT01_1.edi +146 -0
  1078. data/test/complete/files/edifact/RPT01_2.edi +41 -0
  1079. data/test/complete/files/edifact/RPT01_3.edi +42 -0
  1080. data/test/complete/files/edifact/RPT03_1.edi +63 -0
  1081. data/test/complete/files/edifact/RPT04_1.edi +76 -0
  1082. data/test/complete/files/edifact/RPT04_2.edi +81 -0
  1083. data/test/complete/files/xml/BIN01_1.xml +23295 -0
  1084. data/test/complete/files/xml/BIN01_2.xml +3372 -0
  1085. data/test/complete/files/xml/BIN01_3.xml +2061 -0
  1086. data/test/complete/files/xml/BIN01_4.xml +3327 -0
  1087. data/test/complete/files/xml/BIN01_5.xml +212 -0
  1088. data/test/complete/files/xml/BIN01_6.xml +21487 -0
  1089. data/test/complete/files/xml/CTL01_1.xml +2 -0
  1090. data/test/complete/files/xml/CTL02_1.xml +2 -0
  1091. data/test/complete/files/xml/CTL03_1.xml +2 -0
  1092. data/test/complete/files/xml/DIS01_1.xml +2 -0
  1093. data/test/complete/files/xml/DIS02_1.xml +2 -0
  1094. data/test/complete/files/xml/DIS03_1.xml +2 -0
  1095. data/test/complete/files/xml/DIS05_1.xml +2 -0
  1096. data/test/complete/files/xml/DIS06_1.xml +2 -0
  1097. data/test/complete/files/xml/DIS07_1.xml +2 -0
  1098. data/test/complete/files/xml/DIS08_1.xml +2 -0
  1099. data/test/complete/files/xml/DIS08_2.xml +2 -0
  1100. data/test/complete/files/xml/DIS13_1.xml +2 -0
  1101. data/test/complete/files/xml/DIS14_1.xml +2 -0
  1102. data/test/complete/files/xml/DIS17_1.xml +2 -0
  1103. data/test/complete/files/xml/DIS20_1.xml +2 -0
  1104. data/test/complete/files/xml/DIS91_1.xml +2 -0
  1105. data/test/complete/files/xml/DIS91_2.xml +2 -0
  1106. data/test/complete/files/xml/DIS91_3.xml +2 -0
  1107. data/test/complete/files/xml/PRE01_1.xml +2 -0
  1108. data/test/complete/files/xml/PRE01_2.xml +2 -0
  1109. data/test/complete/files/xml/PRE01_3.xml +2 -0
  1110. data/test/complete/files/xml/PRE60_1.xml +2 -0
  1111. data/test/complete/files/xml/PRE60_2.xml +2 -0
  1112. data/test/complete/files/xml/PRE60_3.xml +2 -0
  1113. data/test/complete/files/xml/REF01_1.xml +108 -0
  1114. data/test/complete/files/xml/REF02_1.xml +2 -0
  1115. data/test/complete/files/xml/REF06_1.xml +2 -0
  1116. data/test/complete/files/xml/REF06_2.xml +2 -0
  1117. data/test/complete/files/xml/REF06_3.xml +2 -0
  1118. data/test/complete/files/xml/REF07_1.xml +2 -0
  1119. data/test/complete/files/xml/REF07_2.xml +2 -0
  1120. data/test/complete/files/xml/REF07_3.xml +2 -0
  1121. data/test/complete/files/xml/REQ01_1.xml +2 -0
  1122. data/test/complete/files/xml/REQ02_1.xml +2 -0
  1123. data/test/complete/files/xml/REQ03_1.xml +2 -0
  1124. data/test/complete/files/xml/REQ03_2.xml +2 -0
  1125. data/test/complete/files/xml/RPT01_1.xml +2 -0
  1126. data/test/complete/files/xml/RPT01_2.xml +2 -0
  1127. data/test/complete/files/xml/RPT01_3.xml +2 -0
  1128. data/test/complete/files/xml/RPT03_1.xml +2 -0
  1129. data/test/complete/files/xml/RPT04_1.xml +2 -0
  1130. data/test/complete/files/xml/RPT04_2.xml +2 -0
  1131. data/test/converter_methods_test.rb +110 -0
  1132. data/test/edi2xml11/brev_handler_test.rb +84 -0
  1133. data/test/edi2xml11/edi_reader_test.rb +287 -0
  1134. data/test/edi2xml11/log_reader_handler.rb +109 -0
  1135. data/test/edi2xml11/postion_io_test.rb +87 -0
  1136. data/test/edi2xml11/postion_test.rb +19 -0
  1137. data/test/edi2xml11/segment_group_handler_test.rb +88 -0
  1138. data/test/edi2xml11/xml_handler_test.rb +76 -0
  1139. data/test/edifact_test.rb +235 -0
  1140. data/test/empty_handler_test.rb +34 -0
  1141. data/test/files/DIS14_ok.edi +50 -0
  1142. data/test/files/DIS14_ok.xml +460 -0
  1143. data/test/files/DIS17_ok.edi +29 -0
  1144. data/test/files/DIS20_ERROR_ENC0.edi +29 -0
  1145. data/test/files/DIS20_ERROR_UNB0.edi +29 -0
  1146. data/test/files/DIS20_ERROR_UNB1.edi +28 -0
  1147. data/test/files/DIS20_ERROR_UNB2.edi +30 -0
  1148. data/test/files/DIS20_ERROR_UNB3.edi +57 -0
  1149. data/test/files/DIS20_ERROR_UNH0.edi +29 -0
  1150. data/test/files/DIS20_ERROR_UNH1.edi +28 -0
  1151. data/test/files/DIS20_ERROR_UNH2.edi +29 -0
  1152. data/test/files/DIS20_ERROR_UNT0.edi +29 -0
  1153. data/test/files/DIS20_ERROR_UNT1.edi +28 -0
  1154. data/test/files/DIS20_ERROR_UNT2.edi +29 -0
  1155. data/test/files/DIS20_ERROR_UNZ0.edi +29 -0
  1156. data/test/files/DIS20_ERROR_UNZ1.edi +29 -0
  1157. data/test/files/DIS20_ERROR_UNZ2.edi +29 -0
  1158. data/test/files/DIS20_ERROR_UNZ3.edi +28 -0
  1159. data/test/files/DIS20_ERROR_XSL0.edi +29 -0
  1160. data/test/files/DIS20_ERROR_XSL1.edi +29 -0
  1161. data/test/files/DIS20_ERROR_XSL2.edi +29 -0
  1162. data/test/files/DIS20_ok.edi +29 -0
  1163. data/test/files/DIS20_ok_UNA.edi +28 -0
  1164. data/test/files/DIS91_ERROR_XSL0.edi +29 -0
  1165. data/test/files/DIS91_XFTX.xml +2 -0
  1166. data/test/files/DIS91_ok.edi +33 -0
  1167. data/test/files/PRE60_ok.edi +1 -0
  1168. data/test/files/UNA.xml +2 -0
  1169. data/test/files/XBIN_hello_World.edi +26 -0
  1170. data/test/files/XBIN_hello_World.xml +59 -0
  1171. data/test/files/XBIN_hofte.xml +2119 -0
  1172. data/test/files/korr_x9134.xml +61 -0
  1173. data/test/files/sygehushenv_ver30.edi +60 -0
  1174. data/test/files/test.edi +50 -0
  1175. data/test/files/test.xml +1039 -0
  1176. data/test/files/test.xsl +41 -0
  1177. data/test/files/text.edi +50 -0
  1178. data/test/xml/paragraph_test.rb +165 -0
  1179. data/test/xml/xftx_parser_test.rb +200 -0
  1180. metadata +1479 -0
@@ -0,0 +1,4817 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/" xmlns:gepj="http://medinfo.dk/epj/proj/gepka/20030701/xml/schema" xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2002/06/28/" xmlns:dkcc="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
+ <xsl:output media-type="text/html"/>
4
+
5
+ <!-- DISCHARGELETTER -->
6
+ <xsl:template match="m:Emessage[m:DischargeLetter]">
7
+ <xsl:for-each select="m:DischargeLetter">
8
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
9
+ <table width="100%">
10
+ <tbody>
11
+ <tr>
12
+ <xsl:call-template name="ShowMessageHeader">
13
+ <xsl:with-param name="MessageName" select="'Udskrivningsepikrise'"/>
14
+ </xsl:call-template>
15
+ </tr>
16
+ <tr>
17
+ <td valign="top" width="100%">
18
+ <table>
19
+ <tbody>
20
+ <tr>
21
+ <td valign="top">
22
+ <b>Indl�ggelse<!--stidspunkt-->:</b>
23
+ </td>
24
+ <td valign="top">
25
+ <xsl:for-each select="m:Admission">
26
+ <xsl:call-template name="FormatDateTime"/>
27
+ </xsl:for-each>
28
+ </td>
29
+ <td valign="top">
30
+ <b>Udskrivning<!--stidspunkt-->:</b>
31
+ </td>
32
+ <td valign="top">
33
+ <xsl:for-each select="m:Discharge">
34
+ <xsl:call-template name="FormatDateTime"/>
35
+ </xsl:for-each>
36
+ </td>
37
+ </tr>
38
+ </tbody>
39
+ </table>
40
+ </td>
41
+ </tr>
42
+ <xsl:if test="count(m:Diagnose)>0">
43
+ <tr>
44
+ <td valign="top" width="100%">
45
+ <table>
46
+ <tbody>
47
+ <tr>
48
+ <td valign="top">
49
+ <b>
50
+ Diagnoser/unders�gelser
51
+ </b>
52
+ </td>
53
+ </tr>
54
+ <tr>
55
+ <td>
56
+ <table>
57
+ <tbody>
58
+ <xsl:for-each select="m:Diagnose/m:Main">
59
+ <tr>
60
+ <td valign="top">
61
+ <b>Hoveddiagnose:</b>
62
+ </td>
63
+ <td valign="top">
64
+ <xsl:value-of select="m:DiagnoseCode"/>
65
+ </td>
66
+ <td valign="top">
67
+ <xsl:value-of select="m:DiagnoseText"/>
68
+ </td>
69
+ </tr>
70
+ </xsl:for-each>
71
+ <xsl:for-each select="m:Diagnose/m:MainAdditional">
72
+ <tr>
73
+ <td valign="top">
74
+ <b>Bidiagnose:</b>
75
+ </td>
76
+ <td valign="top">
77
+ <xsl:value-of select="m:DiagnoseCode"/>
78
+ </td>
79
+ <td valign="top">
80
+ <xsl:value-of select="m:DiagnoseText"/>
81
+ </td>
82
+ </tr>
83
+ </xsl:for-each>
84
+ <xsl:for-each select="m:Diagnose/m:Other">
85
+ <tr>
86
+ <td valign="top">
87
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>:
88
+ </td>
89
+ <td valign="top">
90
+ <xsl:value-of select="m:DiagnoseCode"/>
91
+ </td>
92
+ <td valign="top">
93
+ <xsl:value-of select="m:DiagnoseText"/>
94
+ </td>
95
+ <td valign="top">
96
+ <xsl:for-each select="m:DiagnoseDateTime">
97
+ <xsl:call-template name="FormatDateTime"/>
98
+ </xsl:for-each>
99
+ </td>
100
+ </tr>
101
+ </xsl:for-each>
102
+ </tbody>
103
+ </table>
104
+ </td>
105
+ </tr>
106
+ </tbody>
107
+ </table>
108
+ </td>
109
+ </tr>
110
+ </xsl:if>
111
+ <tr>
112
+ <td valign="top" width="100%">
113
+ <table>
114
+ <tbody>
115
+ <tr>
116
+ <td valign="top">
117
+ <b>
118
+ Epikrise
119
+ </b>
120
+ </td>
121
+ </tr>
122
+ <tr>
123
+ <td valign="top">
124
+ <table>
125
+ <tbody>
126
+ <xsl:for-each select="m:ClinicalInformation">
127
+ <tr>
128
+ <td valign="top">
129
+ <xsl:for-each select="m:Signed">
130
+ <xsl:call-template name="FormatDateTime"/>
131
+ </xsl:for-each>
132
+ </td>
133
+ <td valign="top">
134
+ <xsl:for-each select="m:Text01">
135
+ <xsl:apply-templates/>
136
+ </xsl:for-each>
137
+ </td>
138
+ </tr>
139
+ </xsl:for-each>
140
+ </tbody>
141
+ </table>
142
+ </td>
143
+ </tr>
144
+ </tbody>
145
+ </table>
146
+ </td>
147
+ </tr>
148
+ <tr>
149
+ <xsl:call-template name="showReferences">
150
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
151
+ </xsl:call-template>
152
+ </tr>
153
+ <tr>
154
+ <xsl:call-template name="ShowPatientAndRelatives"/>
155
+ </tr>
156
+ <tr>
157
+ <xsl:call-template name="ShowParticipants"/>
158
+ </tr>
159
+ </tbody>
160
+ </table>
161
+ </td>
162
+ </xsl:for-each>
163
+ </xsl:template>
164
+ <!-- OUTPATIENTDISCHARGELETTER -->
165
+ <xsl:template match="m:Emessage[m:OutPatientDischargeLetter]">
166
+ <xsl:for-each select="m:OutPatientDischargeLetter">
167
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
168
+ <table width="100%">
169
+ <tbody>
170
+ <tr>
171
+ <xsl:call-template name="ShowMessageHeader">
172
+ <xsl:with-param name="MessageName" select="'Ambulantepikrise'"/>
173
+ </xsl:call-template>
174
+ </tr>
175
+ <tr>
176
+ <td valign="top" width="100%">
177
+ <table>
178
+ <tbody>
179
+ <tr>
180
+ <td valign="top">
181
+ <b>F�rste bes�g<!--stidspunkt-->:</b>
182
+ </td>
183
+ <td valign="top">
184
+ <xsl:for-each select="m:OutPatientFirstVisit">
185
+ <xsl:call-template name="FormatDateTime"/>
186
+ </xsl:for-each>
187
+ </td>
188
+ <td valign="top">
189
+ <b>Sidste bes�g<!--stidspunkt-->:</b>
190
+ </td>
191
+ <td valign="top">
192
+ <xsl:for-each select="m:OutPatientLastVisit">
193
+ <xsl:call-template name="FormatDateTime"/>
194
+ </xsl:for-each>
195
+ </td>
196
+ </tr>
197
+ </tbody>
198
+ </table>
199
+ </td>
200
+ </tr>
201
+ <xsl:if test="count(m:Diagnose)>0">
202
+ <tr>
203
+ <td valign="top" width="100%">
204
+ <table>
205
+ <tbody>
206
+ <tr>
207
+ <td valign="top">
208
+ <b>
209
+ Diagnoser/unders�gelser
210
+ </b>
211
+ </td>
212
+ </tr>
213
+ <tr>
214
+ <td>
215
+ <table>
216
+ <tbody>
217
+ <xsl:for-each select="m:Diagnose/m:Main">
218
+ <tr>
219
+ <td valign="top">
220
+ <b>Hoveddiagnose:</b>
221
+ </td>
222
+ <td valign="top">
223
+ <xsl:value-of select="m:DiagnoseCode"/>
224
+ </td>
225
+ <td valign="top">
226
+ <xsl:value-of select="m:DiagnoseText"/>
227
+ </td>
228
+ </tr>
229
+ </xsl:for-each>
230
+ <xsl:for-each select="m:Diagnose/m:MainAdditional">
231
+ <tr>
232
+ <td valign="top">
233
+ <b>Bidiagnose:</b>
234
+ </td>
235
+ <td valign="top">
236
+ <xsl:value-of select="m:DiagnoseCode"/>
237
+ </td>
238
+ <td valign="top">
239
+ <xsl:value-of select="m:DiagnoseText"/>
240
+ </td>
241
+ </tr>
242
+ </xsl:for-each>
243
+ <xsl:for-each select="m:Diagnose/m:Other">
244
+ <tr>
245
+ <td valign="top">
246
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>:
247
+ </td>
248
+ <td valign="top">
249
+ <xsl:value-of select="m:DiagnoseCode"/>
250
+ </td>
251
+ <td valign="top">
252
+ <xsl:value-of select="m:DiagnoseText"/>
253
+ </td>
254
+ <td valign="top">
255
+ <xsl:for-each select="m:DiagnoseDateTime">
256
+ <xsl:call-template name="FormatDateTime"/>
257
+ </xsl:for-each>
258
+ </td>
259
+ </tr>
260
+ </xsl:for-each>
261
+ </tbody>
262
+ </table>
263
+ </td>
264
+ </tr>
265
+ </tbody>
266
+ </table>
267
+ </td>
268
+ </tr>
269
+ </xsl:if>
270
+ <tr>
271
+ <td valign="top" width="100%">
272
+ <table>
273
+ <tbody>
274
+ <tr>
275
+ <td valign="top">
276
+ <b>
277
+ Epikrise
278
+ </b>
279
+ </td>
280
+ </tr>
281
+ <tr>
282
+ <td valign="top">
283
+ <table>
284
+ <tbody>
285
+ <xsl:for-each select="m:ClinicalInformation">
286
+ <tr>
287
+ <td valign="top">
288
+ <xsl:for-each select="m:Signed">
289
+ <xsl:call-template name="FormatDateTime"/>
290
+ </xsl:for-each>
291
+ </td>
292
+ <td valign="top">
293
+ <xsl:for-each select="m:Text01">
294
+ <xsl:apply-templates/>
295
+ </xsl:for-each>
296
+ </td>
297
+ </tr>
298
+ </xsl:for-each>
299
+ </tbody>
300
+ </table>
301
+ </td>
302
+ </tr>
303
+ </tbody>
304
+ </table>
305
+ </td>
306
+ </tr>
307
+ <tr>
308
+ <xsl:call-template name="showReferences">
309
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
310
+ </xsl:call-template>
311
+ </tr>
312
+ <tr>
313
+ <xsl:call-template name="ShowPatientAndRelatives"/>
314
+ </tr>
315
+ <tr>
316
+ <xsl:call-template name="ShowParticipants"/>
317
+ </tr>
318
+ </tbody>
319
+ </table>
320
+ </td>
321
+ </xsl:for-each>
322
+ </xsl:template>
323
+ <!-- CASUALTYWARDLETTER -->
324
+ <xsl:template match="m:Emessage[m:CasualtyWardLetter]">
325
+ <xsl:for-each select="m:CasualtyWardLetter">
326
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
327
+ <table width="100%">
328
+ <tbody>
329
+ <tr>
330
+ <xsl:call-template name="ShowMessageHeader">
331
+ <xsl:with-param name="MessageName" select="'Skadestueepikrise'"/>
332
+ </xsl:call-template>
333
+ </tr>
334
+ <tr>
335
+ <td valign="top" width="100%">
336
+ <table>
337
+ <tbody>
338
+ <tr>
339
+ <td valign="top">
340
+ <b>F�rste bes�g<!--stidspunkt-->:</b>
341
+ </td>
342
+ <td valign="top">
343
+ <xsl:for-each select="m:CasualtyWardFirstVisit">
344
+ <xsl:call-template name="FormatDateTime"/>
345
+ </xsl:for-each>
346
+ </td>
347
+ <td valign="top">
348
+ <b>Sidste bes�g<!--stidspunkt-->:</b>
349
+ </td>
350
+ <td valign="top">
351
+ <xsl:for-each select="m:CasualtyWardLastVisit">
352
+ <xsl:call-template name="FormatDateTime"/>
353
+ </xsl:for-each>
354
+ </td>
355
+ </tr>
356
+ </tbody>
357
+ </table>
358
+ </td>
359
+ </tr>
360
+ <xsl:if test="count(m:Diagnose)>0">
361
+ <tr>
362
+ <td valign="top" width="100%">
363
+ <table>
364
+ <tbody>
365
+ <tr>
366
+ <td valign="top">
367
+ <b>
368
+ Diagnoser/unders�gelser
369
+ </b>
370
+ </td>
371
+ </tr>
372
+ <tr>
373
+ <td>
374
+ <table>
375
+ <tbody>
376
+ <xsl:for-each select="m:Diagnose/m:Main">
377
+ <tr>
378
+ <td valign="top">
379
+ <b>Hoveddiagnose:</b>
380
+ </td>
381
+ <td valign="top">
382
+ <xsl:value-of select="m:DiagnoseCode"/>
383
+ </td>
384
+ <td valign="top">
385
+ <xsl:value-of select="m:DiagnoseText"/>
386
+ </td>
387
+ </tr>
388
+ </xsl:for-each>
389
+ <xsl:for-each select="m:Diagnose/m:MainAdditional">
390
+ <tr>
391
+ <td valign="top">
392
+ <b>Bidiagnose:</b>
393
+ </td>
394
+ <td valign="top">
395
+ <xsl:value-of select="m:DiagnoseCode"/>
396
+ </td>
397
+ <td valign="top">
398
+ <xsl:value-of select="m:DiagnoseText"/>
399
+ </td>
400
+ </tr>
401
+ </xsl:for-each>
402
+ <xsl:for-each select="m:Diagnose/m:Other">
403
+ <tr>
404
+ <td valign="top">
405
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>:
406
+ </td>
407
+ <td valign="top">
408
+ <xsl:value-of select="m:DiagnoseCode"/>
409
+ </td>
410
+ <td valign="top">
411
+ <xsl:value-of select="m:DiagnoseText"/>
412
+ </td>
413
+ <td valign="top">
414
+ <xsl:for-each select="m:DiagnoseDateTime">
415
+ <xsl:call-template name="FormatDateTime"/>
416
+ </xsl:for-each>
417
+ </td>
418
+ </tr>
419
+ </xsl:for-each>
420
+ </tbody>
421
+ </table>
422
+ </td>
423
+ </tr>
424
+ </tbody>
425
+ </table>
426
+ </td>
427
+ </tr>
428
+ </xsl:if>
429
+ <tr>
430
+ <td valign="top" width="100%">
431
+ <table>
432
+ <tbody>
433
+ <tr>
434
+ <td valign="top">
435
+ <b>
436
+ Epikrise
437
+ </b>
438
+ </td>
439
+ </tr>
440
+ <tr>
441
+ <td valign="top">
442
+ <table>
443
+ <tbody>
444
+ <xsl:for-each select="m:ClinicalInformation">
445
+ <tr>
446
+ <td valign="top">
447
+ <xsl:for-each select="m:Signed">
448
+ <xsl:call-template name="FormatDateTime"/>
449
+ </xsl:for-each>
450
+ </td>
451
+ <td valign="top">
452
+ <xsl:for-each select="m:Text01">
453
+ <xsl:apply-templates/>
454
+ </xsl:for-each>
455
+ </td>
456
+ </tr>
457
+ </xsl:for-each>
458
+ </tbody>
459
+ </table>
460
+ </td>
461
+ </tr>
462
+ </tbody>
463
+ </table>
464
+ </td>
465
+ </tr>
466
+ <tr>
467
+ <xsl:call-template name="showReferences">
468
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
469
+ </xsl:call-template>
470
+ </tr>
471
+ <tr>
472
+ <xsl:call-template name="ShowPatientAndRelatives"/>
473
+ </tr>
474
+ <tr>
475
+ <xsl:call-template name="ShowParticipants"/>
476
+ </tr>
477
+ </tbody>
478
+ </table>
479
+ </td>
480
+ </xsl:for-each>
481
+ </xsl:template>
482
+ <!-- BOOKINGCONFIRMATION -->
483
+ <xsl:template match="m:Emessage[m:BookingConfirmation]">
484
+ <xsl:for-each select="m:BookingConfirmation">
485
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
486
+ <table width="100%">
487
+ <tbody>
488
+ <tr>
489
+ <xsl:call-template name="ShowMessageHeader">
490
+ <xsl:with-param name="MessageName" select="'Bookingsvar'"/>
491
+ </xsl:call-template>
492
+ </tr>
493
+ <tr>
494
+ <td valign="top" width="100%">
495
+ <table>
496
+ <tbody>
497
+ <tr>
498
+ <td valign="top">
499
+ <b>Anmodning</b>
500
+ </td>
501
+ <td valign="top">
502
+ <xsl:value-of select="m:Referral/m:Identifier"/>
503
+ </td>
504
+ <td valign="top">
505
+ <b>modtaget</b>
506
+ </td>
507
+ <td valign="top">
508
+ <xsl:for-each select="m:Referral/m:Received">
509
+ <xsl:call-template name="FormatDateTime"/>
510
+ </xsl:for-each>
511
+ </td>
512
+ </tr>
513
+ </tbody>
514
+ </table>
515
+ </td>
516
+ </tr>
517
+ <xsl:if test="count(m:Confirmation)>0">
518
+
519
+ </xsl:if>
520
+ <xsl:for-each select="m:Confirmation">
521
+ <tr>
522
+ <td valign="top" width="100%">
523
+ <table>
524
+ <tbody>
525
+ <tr>
526
+ <td valign="top">
527
+ <b>og er booket til</b>
528
+ </td>
529
+ <td valign="top">
530
+ <xsl:for-each select=".">
531
+ <xsl:call-template name="FormatDateTime"/>
532
+ </xsl:for-each>
533
+ </td>
534
+ </tr>
535
+ </tbody>
536
+ </table>
537
+ </td>
538
+ </tr>
539
+ </xsl:for-each>
540
+ <xsl:for-each select="m:ClinicalInformation">
541
+ <tr>
542
+ <td valign="top" width="100%">
543
+ <table>
544
+ <tbody>
545
+ <tr>
546
+ <td valign="top">
547
+ <xsl:value-of select="."/>
548
+ </td>
549
+ </tr>
550
+ </tbody>
551
+ </table>
552
+ </td>
553
+ </tr>
554
+ </xsl:for-each>
555
+ <tr>
556
+ <xsl:call-template name="showReferences">
557
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
558
+ </xsl:call-template>
559
+ </tr>
560
+ <tr>
561
+ <xsl:call-template name="ShowPatientAndRelatives"/>
562
+ </tr>
563
+ <tr>
564
+ <xsl:call-template name="ShowParticipants"/>
565
+ </tr>
566
+ </tbody>
567
+ </table>
568
+ </td>
569
+ </xsl:for-each>
570
+ </xsl:template>
571
+ <!-- CLINICALEMAIL -->
572
+ <xsl:template match="m:Emessage[m:ClinicalEmail]">
573
+ <xsl:for-each select="m:ClinicalEmail">
574
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
575
+ <table width="100%">
576
+ <tbody>
577
+ <tr>
578
+ <xsl:call-template name="ShowMessageHeader">
579
+ <xsl:with-param name="MessageName" select="'Korrespondance'"/>
580
+ </xsl:call-template>
581
+ </tr>
582
+ <tr>
583
+ <td valign="top" width="100%">
584
+ <table>
585
+ <tbody>
586
+ <tr>
587
+ <td valign="top">
588
+ <b>
589
+ Brevtekst
590
+ </b>
591
+ </td>
592
+ </tr>
593
+ <tr>
594
+ <td valign="top">
595
+ <table>
596
+ <tbody>
597
+ <xsl:for-each select="m:ClinicalInformation">
598
+ <tr>
599
+ <td valign="top">
600
+ <xsl:for-each select="m:Text01">
601
+ <xsl:apply-templates/>
602
+ </xsl:for-each>
603
+ </td>
604
+ </tr>
605
+ </xsl:for-each>
606
+ </tbody>
607
+ </table>
608
+ </td>
609
+ </tr>
610
+ </tbody>
611
+ </table>
612
+ </td>
613
+ </tr>
614
+ <tr>
615
+ <xsl:call-template name="showReferences">
616
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
617
+ </xsl:call-template>
618
+ </tr>
619
+ <tr>
620
+ <xsl:call-template name="ShowPatientAndRelatives"/>
621
+ </tr>
622
+ <tr>
623
+ <xsl:call-template name="ShowParticipants"/>
624
+ </tr>
625
+ </tbody>
626
+ </table>
627
+ </td>
628
+ </xsl:for-each>
629
+ </xsl:template>
630
+ <!-- NOTIFICATIONOFADMISSION -->
631
+ <xsl:template match="m:Emessage[m:NotificationOfAdmission]">
632
+ <xsl:for-each select="m:NotificationOfAdmission">
633
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
634
+ <table width="100%">
635
+ <tbody>
636
+ <tr>
637
+ <xsl:call-template name="ShowMessageHeader">
638
+ <xsl:with-param name="MessageName" select="'Indl�ggelsessadvis'"/>
639
+ </xsl:call-template>
640
+ </tr>
641
+ <tr>
642
+ <td valign="top" width="100%">
643
+ <table>
644
+ <tbody>
645
+ <tr>
646
+ <td valign="top">
647
+ <b>Indl�ggelse<!--stidspunkt-->:</b>
648
+ </td>
649
+ <td valign="top">
650
+ <xsl:for-each select="m:Admission">
651
+ <xsl:call-template name="FormatDateTime"/>
652
+ </xsl:for-each>
653
+ </td>
654
+ </tr>
655
+ </tbody>
656
+ </table>
657
+ </td>
658
+ </tr>
659
+ <tr>
660
+ <xsl:call-template name="showReferences">
661
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
662
+ </xsl:call-template>
663
+ </tr>
664
+ <tr>
665
+ <xsl:call-template name="ShowPatientAndRelatives"/>
666
+ </tr>
667
+ <tr>
668
+ <xsl:call-template name="ShowParticipants"/>
669
+ </tr>
670
+ </tbody>
671
+ </table>
672
+ </td>
673
+ </xsl:for-each>
674
+ </xsl:template>
675
+ <!-- NOTIFICATIONOFDISCHARGE -->
676
+ <xsl:template match="m:Emessage[m:NotificationOfDischarge]">
677
+ <xsl:for-each select="m:NotificationOfDischarge">
678
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
679
+ <table width="100%">
680
+ <tbody>
681
+ <tr>
682
+ <xsl:call-template name="ShowMessageHeader">
683
+ <xsl:with-param name="MessageName" select="'Udskrivningsadvis'"/>
684
+ </xsl:call-template>
685
+ </tr>
686
+ <tr>
687
+ <td valign="top" width="100%">
688
+ <table>
689
+ <tbody>
690
+ <tr>
691
+ <td valign="top">
692
+ <b>Udskrivning<!--stidspunkt-->:</b>
693
+ </td>
694
+ <td valign="top">
695
+ <xsl:for-each select="m:Discharge">
696
+ <xsl:call-template name="FormatDateTime"/>
697
+ </xsl:for-each>
698
+ </td>
699
+ </tr>
700
+ </tbody>
701
+ </table>
702
+ </td>
703
+ </tr>
704
+ <tr>
705
+ <xsl:call-template name="showReferences">
706
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
707
+ </xsl:call-template>
708
+ </tr>
709
+ <tr>
710
+ <xsl:call-template name="ShowPatientAndRelatives"/>
711
+ </tr>
712
+ <tr>
713
+ <xsl:call-template name="ShowParticipants"/>
714
+ </tr>
715
+ </tbody>
716
+ </table>
717
+ </td>
718
+ </xsl:for-each>
719
+ </xsl:template>
720
+ <!-- ANSWEROFADMISSION -->
721
+ <xsl:template match="m:Emessage[m:AnswerOfAdmission]">
722
+ <xsl:for-each select="m:AnswerOfAdmission">
723
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
724
+ <table width="100%">
725
+ <tbody>
726
+ <tr>
727
+ <xsl:call-template name="ShowMessageHeader">
728
+ <xsl:with-param name="MessageName" select="'Indl�ggelsessvar'"/>
729
+ </xsl:call-template>
730
+ </tr>
731
+ <tr>
732
+ <td valign="top" width="100%">
733
+ <table>
734
+ <tbody>
735
+ <xsl:for-each select="m:Sender/m:ContactInformation">
736
+ <tr>
737
+ <td valign="top">
738
+ <b>Kontaktinformation:</b>
739
+ </td>
740
+ <td valign="top">
741
+ <xsl:for-each select="m:ContactName">
742
+ <xsl:value-of select="concat(.,' ')"/>
743
+ </xsl:for-each>
744
+ </td>
745
+ <td>
746
+ <xsl:for-each select="m:TelephoneSubscriberIdentifier">
747
+ <xsl:value-of select="concat('Tlf: ',.)"/>
748
+ </xsl:for-each>
749
+ </td>
750
+ <td>
751
+ <xsl:for-each select="m:ContactTimeText">
752
+ <xsl:value-of select="."/>
753
+ </xsl:for-each>
754
+ </td>
755
+ </tr>
756
+ </xsl:for-each>
757
+ </tbody>
758
+ </table>
759
+ </td>
760
+ </tr>
761
+ <tr>
762
+ <xsl:call-template name="showReferences">
763
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
764
+ </xsl:call-template>
765
+ </tr>
766
+ <tr>
767
+ <xsl:call-template name="ShowPatientAndRelatives"/>
768
+ </tr>
769
+ <tr>
770
+ <xsl:call-template name="ShowParticipants"/>
771
+ </tr>
772
+ </tbody>
773
+ </table>
774
+ </td>
775
+ </xsl:for-each>
776
+ </xsl:template>
777
+ <!-- WARNINGOFDISCHARGE -->
778
+ <xsl:template match="m:Emessage[m:WarningOfDischarge]">
779
+ <xsl:for-each select="m:WarningOfDischarge">
780
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
781
+ <table width="100%">
782
+ <tbody>
783
+ <tr>
784
+ <xsl:call-template name="ShowMessageHeader">
785
+ <xsl:with-param name="MessageName" select="'Varsling af f�rdigbehandling'"/>
786
+ </xsl:call-template>
787
+ </tr>
788
+ <tr>
789
+ <td valign="top" width="100%">
790
+ <table>
791
+ <tbody>
792
+ <tr>
793
+ <td valign="top">
794
+ <b>Indl�ggelse<!--stidspunkt-->:</b>
795
+ </td>
796
+ <td valign="top">
797
+ <xsl:for-each select="m:Admission">
798
+ <xsl:call-template name="FormatDateTime"/>
799
+ </xsl:for-each>
800
+ </td>
801
+ <td valign="top">
802
+ <b>Forventet udskrivning<!--stidspunkt-->:</b>
803
+ </td>
804
+ <td valign="top">
805
+ <xsl:for-each select="m:PlannedDischarge">
806
+ <xsl:call-template name="FormatDateTime"/>
807
+ </xsl:for-each>
808
+ </td>
809
+ </tr>
810
+ <tr>
811
+ <td valign="top">
812
+ <b>Plankonference<!--stidspunkt-->:</b>
813
+ </td>
814
+ <td valign="top">
815
+ <xsl:for-each select="m:PlanConfererence">
816
+ <xsl:call-template name="FormatDateTime"/>
817
+ </xsl:for-each>
818
+ </td>
819
+ <td valign="top">
820
+ <b>Behandlingsafslutning<!--stidspunkt-->:</b>
821
+ </td>
822
+ <td valign="top">
823
+ <xsl:for-each select="m:EndOfTreatment">
824
+ <xsl:call-template name="FormatDateTime"/>
825
+ </xsl:for-each>
826
+ </td>
827
+ </tr>
828
+ </tbody>
829
+ </table>
830
+ </td>
831
+ </tr>
832
+ <xsl:for-each select="m:CareDescription">
833
+ <tr>
834
+ <td valign="top" width="100%">
835
+ <table>
836
+ <tbody>
837
+ <tr>
838
+ <td valign="top">
839
+ <b>
840
+ Kommentarer
841
+ </b>
842
+ </td>
843
+ </tr>
844
+ <tr>
845
+ <td valign="top">
846
+ <table>
847
+ <tbody>
848
+ <tr>
849
+ <td valign="top">
850
+ <xsl:for-each select="m:CommentsText">
851
+ <xsl:apply-templates/>
852
+ </xsl:for-each>
853
+ </td>
854
+ </tr>
855
+ </tbody>
856
+ </table>
857
+ </td>
858
+ </tr>
859
+ </tbody>
860
+ </table>
861
+ </td>
862
+ </tr>
863
+ </xsl:for-each>
864
+ <tr>
865
+ <xsl:call-template name="showReferences">
866
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
867
+ </xsl:call-template>
868
+ </tr>
869
+ <tr>
870
+ <xsl:call-template name="ShowPatientAndRelatives"/>
871
+ </tr>
872
+ <tr>
873
+ <xsl:call-template name="ShowFamilyDoctor"/>
874
+ </tr>
875
+ <tr>
876
+ <xsl:call-template name="ShowParticipants"/>
877
+ </tr>
878
+ </tbody>
879
+ </table>
880
+ </td>
881
+ </xsl:for-each>
882
+ </xsl:template>
883
+ <!-- HOSPITALREFERRAL -->
884
+ <xsl:template match="m:Emessage[m:HospitalReferral]">
885
+ <xsl:for-each select="m:HospitalReferral">
886
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
887
+ <table width="100%">
888
+ <tbody>
889
+ <tr>
890
+ <xsl:call-template name="ShowMessageHeader">
891
+ <xsl:with-param name="MessageName" select="'Sygehushenvisning'"/>
892
+ </xsl:call-template>
893
+ </tr>
894
+ <tr>
895
+ <td valign="top" width="100%">
896
+ <table>
897
+ <tbody>
898
+ <tr>
899
+ <xsl:for-each select="m:AdditionalInformation/m:Priority">
900
+ <td valign="top">
901
+ <b>Prioritet:</b>
902
+ </td>
903
+ <td valign="top">
904
+ <xsl:value-of select="."/>
905
+ </td>
906
+ </xsl:for-each>
907
+ <xsl:for-each select="m:AdditionalInformation/m:ReferralStatus">
908
+ <td valign="top">
909
+ <b>Henvisningstype:</b>
910
+ </td>
911
+ <td valign="top">
912
+ <xsl:value-of select="."/>
913
+ </td>
914
+ </xsl:for-each>
915
+ <xsl:for-each select="m:AdditionalInformation/m:Transport">
916
+ <td valign="top">
917
+ <b>Transport:</b>
918
+ </td>
919
+ <td valign="top">
920
+ <xsl:value-of select="."/>
921
+ </td>
922
+ </xsl:for-each>
923
+ <xsl:for-each select="m:AdditionalInformation/m:Supplementary">
924
+ <td valign="top">
925
+ <b>Andet:</b>
926
+ </td>
927
+ <td valign="top">
928
+ <xsl:apply-templates/>
929
+ </td>
930
+ </xsl:for-each>
931
+ </tr>
932
+ </tbody>
933
+ </table>
934
+ </td>
935
+ </tr>
936
+ <xsl:if test="count(m:Referral)>0">
937
+ <tr>
938
+ <td valign="top" width="100%">
939
+ <table>
940
+ <tbody>
941
+ <tr>
942
+ <td valign="top">
943
+ <b>
944
+ Henvisnings diagnoser
945
+ </b>
946
+ </td>
947
+ </tr>
948
+ <tr>
949
+ <td>
950
+ <table>
951
+ <tbody>
952
+ <xsl:for-each select="m:Referral/m:Refer">
953
+ <tr>
954
+ <td valign="top">
955
+ <b>Hoveddiagnose:</b>
956
+ </td>
957
+ <td valign="top">
958
+ <xsl:value-of select="m:DiagnoseCode"/>
959
+ </td>
960
+ <td valign="top">
961
+ <xsl:value-of select="m:DiagnoseText"/>
962
+ </td>
963
+ </tr>
964
+ </xsl:for-each>
965
+ <xsl:for-each select="m:Referral/m:ReferralAdditional">
966
+ <tr>
967
+ <td valign="top">
968
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>:
969
+ </td>
970
+ <td valign="top">
971
+ <xsl:value-of select="m:DiagnoseCode"/>
972
+ </td>
973
+ <td valign="top">
974
+ <xsl:value-of select="m:DiagnoseText"/>
975
+ </td>
976
+ </tr>
977
+ </xsl:for-each>
978
+ </tbody>
979
+ </table>
980
+ </td>
981
+ </tr>
982
+ </tbody>
983
+ </table>
984
+ </td>
985
+ </tr>
986
+ </xsl:if>
987
+ <tr>
988
+ <td valign="top" width="100%">
989
+ <table>
990
+ <tbody>
991
+ <tr>
992
+ <td valign="top">
993
+ <b>
994
+ �nsket unders�gelse/behandling/problemstilling </b>
995
+ </td>
996
+ </tr>
997
+ <tr>
998
+ <td valign="top">
999
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$highlightbgcolor"/></xsl:attribute>
1000
+ <table>
1001
+ <tbody>
1002
+ <xsl:for-each select="m:AdditionalInformation/m:ClinicalReason">
1003
+ <tr>
1004
+ <td valign="top">
1005
+ <xsl:apply-templates/>
1006
+ </td>
1007
+ </tr>
1008
+ </xsl:for-each>
1009
+ </tbody>
1010
+ </table>
1011
+ </td>
1012
+ </tr>
1013
+ </tbody>
1014
+ </table>
1015
+ </td>
1016
+ </tr>
1017
+ <tr>
1018
+ <td valign="top" width="100%">
1019
+ <table width="100%">
1020
+ <tbody>
1021
+ <tr>
1022
+ <td valign="top" width="100%">
1023
+ <b>
1024
+ Kliniske oplysninger
1025
+ </b>
1026
+ </td>
1027
+ </tr>
1028
+ <tr>
1029
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$compoundbgcolor"/></xsl:attribute>
1030
+ <td valign="top" width="100%">
1031
+ <table width="100%">
1032
+ <tbody>
1033
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Cave">
1034
+ <tr>
1035
+ <td>
1036
+ <b>Cave</b>
1037
+ </td>
1038
+ </tr>
1039
+ <tr>
1040
+ <td>
1041
+ <table>
1042
+ <tbody>
1043
+ <tr>
1044
+ <td valign="top">
1045
+ <xsl:apply-templates/>
1046
+ </td>
1047
+ </tr>
1048
+ </tbody>
1049
+ </table>
1050
+ </td>
1051
+ </tr>
1052
+ </xsl:for-each>
1053
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Anamnesis">
1054
+ <tr>
1055
+ <td>
1056
+ <b>Anamnese</b>
1057
+ </td>
1058
+ </tr>
1059
+ <tr>
1060
+ <td>
1061
+ <table>
1062
+ <tbody>
1063
+ <tr>
1064
+ <td valign="top">
1065
+ <xsl:apply-templates/>
1066
+ </td>
1067
+ </tr>
1068
+ </tbody>
1069
+ </table>
1070
+ </td>
1071
+ </tr>
1072
+ </xsl:for-each>
1073
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Examination">
1074
+ <tr>
1075
+ <td>
1076
+ <b>Unders�gelser/behandlinger</b>
1077
+ </td>
1078
+ </tr>
1079
+ <tr>
1080
+ <td>
1081
+ <table>
1082
+ <tbody>
1083
+ <tr>
1084
+ <td valign="top">
1085
+ <xsl:apply-templates/>
1086
+ </td>
1087
+ </tr>
1088
+ </tbody>
1089
+ </table>
1090
+ </td>
1091
+ </tr>
1092
+ </xsl:for-each>
1093
+ <xsl:for-each select="m:RelevantClinicalInformation/m:ActualMedicine">
1094
+ <tr>
1095
+ <td>
1096
+ <b>Aktuel medicin</b>
1097
+ </td>
1098
+ </tr>
1099
+ <tr>
1100
+ <td>
1101
+ <table>
1102
+ <tbody>
1103
+ <tr>
1104
+ <td valign="top">
1105
+ <xsl:apply-templates/>
1106
+ </td>
1107
+ </tr>
1108
+ </tbody>
1109
+ </table>
1110
+ </td>
1111
+ </tr>
1112
+ </xsl:for-each>
1113
+ </tbody>
1114
+ </table>
1115
+ </td>
1116
+ </tr>
1117
+ </tbody>
1118
+ </table>
1119
+ </td>
1120
+ </tr>
1121
+ <tr>
1122
+ <xsl:call-template name="showReferences">
1123
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
1124
+ </xsl:call-template>
1125
+ </tr>
1126
+ <xsl:if test="count(m:HospitalVisitation)>0">
1127
+ <tr>
1128
+ <td valign="top" width="100%">
1129
+ <table>
1130
+ <tbody>
1131
+ <tr>
1132
+ <td valign="top">
1133
+ <b>Visitation (udfyldt af modtager)</b>
1134
+ </td>
1135
+ </tr>
1136
+ <tr>
1137
+ <td valign="top">
1138
+ <table>
1139
+ <tbody>
1140
+ <xsl:for-each select="m:HospitalVisitation">
1141
+ <tr>
1142
+ <td valign="top">
1143
+ <xsl:value-of select="m:InformationCode"/>
1144
+ </td>
1145
+ <td valign="top">
1146
+ <xsl:for-each select="m:Information">
1147
+ <xsl:apply-templates/>
1148
+ </xsl:for-each>
1149
+ </td>
1150
+ </tr>
1151
+ </xsl:for-each>
1152
+ </tbody>
1153
+ </table>
1154
+ </td>
1155
+ </tr>
1156
+ </tbody>
1157
+ </table>
1158
+ </td>
1159
+ </tr>
1160
+ </xsl:if>
1161
+ <tr>
1162
+ <xsl:call-template name="ShowPatientAndRelatives"/>
1163
+ </tr>
1164
+ <tr>
1165
+ <xsl:call-template name="ShowParticipants"/>
1166
+ </tr>
1167
+ </tbody>
1168
+ </table>
1169
+ </td>
1170
+ </xsl:for-each>
1171
+ </xsl:template>
1172
+ <!-- XRAYREQUEST -->
1173
+ <xsl:template match="m:Emessage[m:XrayRequest]">
1174
+ <xsl:for-each select="m:XrayRequest">
1175
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1176
+ <table width="100%">
1177
+ <tbody>
1178
+ <tr>
1179
+ <xsl:call-template name="ShowMessageHeader">
1180
+ <xsl:with-param name="MessageName" select="'R�ntgenhenvisning'"/>
1181
+ </xsl:call-template>
1182
+ </tr>
1183
+ <tr>
1184
+ <td valign="top" width="100%">
1185
+ <table>
1186
+ <tbody>
1187
+ <tr>
1188
+ <xsl:for-each select="m:AdditionalInformation/m:Priority">
1189
+ <td valign="top">
1190
+ <b>Prioritet:</b>
1191
+ </td>
1192
+ <td valign="top">
1193
+ <xsl:value-of select="."/>
1194
+ </td>
1195
+ </xsl:for-each>
1196
+ <xsl:for-each select="m:AdditionalInformation/m:ReferralStatus">
1197
+ <td valign="top">
1198
+ <b>Henvisningstype:</b>
1199
+ </td>
1200
+ <td valign="top">
1201
+ <xsl:value-of select="."/>
1202
+ </td>
1203
+ </xsl:for-each>
1204
+ <xsl:for-each select="m:AdditionalInformation/m:Transport">
1205
+ <td valign="top">
1206
+ <b>Transport:</b>
1207
+ </td>
1208
+ <td valign="top">
1209
+ <xsl:value-of select="."/>
1210
+ </td>
1211
+ </xsl:for-each>
1212
+ <xsl:for-each select="m:AdditionalInformation/m:Supplementary">
1213
+ <td valign="top">
1214
+ <b>Andet:</b>
1215
+ </td>
1216
+ <td valign="top">
1217
+ <xsl:apply-templates/>
1218
+ </td>
1219
+ </xsl:for-each>
1220
+ </tr>
1221
+ </tbody>
1222
+ </table>
1223
+ </td>
1224
+ </tr>
1225
+ <xsl:if test="count(m:Referral)>0">
1226
+ <tr>
1227
+ <td valign="top" width="100%">
1228
+ <table>
1229
+ <tbody>
1230
+ <tr>
1231
+ <td valign="top">
1232
+ <b>
1233
+ Henvisnings diagnoser
1234
+ </b>
1235
+ </td>
1236
+ </tr>
1237
+ <tr>
1238
+ <td>
1239
+ <table>
1240
+ <tbody>
1241
+ <xsl:for-each select="m:Referral/m:Refer">
1242
+ <tr>
1243
+ <td valign="top">
1244
+ <b>Hoveddiagnose:</b>
1245
+ </td>
1246
+ <td valign="top">
1247
+ <xsl:value-of select="m:DiagnoseCode"/>
1248
+ </td>
1249
+ <td valign="top">
1250
+ <xsl:value-of select="m:DiagnoseText"/>
1251
+ </td>
1252
+ </tr>
1253
+ </xsl:for-each>
1254
+ <xsl:for-each select="m:Referral/m:ReferralAdditional">
1255
+ <tr>
1256
+ <td valign="top">
1257
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>:
1258
+ </td>
1259
+ <td valign="top">
1260
+ <xsl:value-of select="m:DiagnoseCode"/>
1261
+ </td>
1262
+ <td valign="top">
1263
+ <xsl:value-of select="m:DiagnoseText"/>
1264
+ </td>
1265
+ </tr>
1266
+ </xsl:for-each>
1267
+ </tbody>
1268
+ </table>
1269
+ </td>
1270
+ </tr>
1271
+ </tbody>
1272
+ </table>
1273
+ </td>
1274
+ </tr>
1275
+ </xsl:if>
1276
+ <tr>
1277
+ <td valign="top" width="100%">
1278
+ <table>
1279
+ <tbody>
1280
+ <tr>
1281
+ <td valign="top">
1282
+ <b>
1283
+ �nsket unders�gelse/behandling/problemstilling </b>
1284
+ </td>
1285
+ </tr>
1286
+ <tr>
1287
+ <td valign="top">
1288
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$highlightbgcolor"/></xsl:attribute>
1289
+ <table>
1290
+ <tbody>
1291
+ <xsl:for-each select="m:AdditionalInformation/m:ClinicalReason">
1292
+ <tr>
1293
+ <td valign="top">
1294
+ <xsl:apply-templates/>
1295
+ </td>
1296
+ </tr>
1297
+ </xsl:for-each>
1298
+ </tbody>
1299
+ </table>
1300
+ </td>
1301
+ </tr>
1302
+ </tbody>
1303
+ </table>
1304
+ </td>
1305
+ </tr>
1306
+ <tr>
1307
+ <td valign="top" width="100%">
1308
+ <table width="100%">
1309
+ <tbody>
1310
+ <tr>
1311
+ <td valign="top" width="100%">
1312
+ <b>
1313
+ Kliniske oplysninger
1314
+ </b>
1315
+ </td>
1316
+ </tr>
1317
+ <tr>
1318
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$compoundbgcolor"/></xsl:attribute>
1319
+ <td valign="top" width="100%">
1320
+ <table width="100%">
1321
+ <tbody>
1322
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Cave">
1323
+ <tr>
1324
+ <td>
1325
+ <b>Cave</b>
1326
+ </td>
1327
+ </tr>
1328
+ <tr>
1329
+ <td>
1330
+ <table>
1331
+ <tbody>
1332
+ <tr>
1333
+ <td valign="top">
1334
+ <xsl:apply-templates/>
1335
+ </td>
1336
+ </tr>
1337
+ </tbody>
1338
+ </table>
1339
+ </td>
1340
+ </tr>
1341
+ </xsl:for-each>
1342
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Anamnesis">
1343
+ <tr>
1344
+ <td>
1345
+ <b>Anamnese</b>
1346
+ </td>
1347
+ </tr>
1348
+ <tr>
1349
+ <td>
1350
+ <table>
1351
+ <tbody>
1352
+ <tr>
1353
+ <td valign="top">
1354
+ <xsl:apply-templates/>
1355
+ </td>
1356
+ </tr>
1357
+ </tbody>
1358
+ </table>
1359
+ </td>
1360
+ </tr>
1361
+ </xsl:for-each>
1362
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Examination">
1363
+ <tr>
1364
+ <td>
1365
+ <b>Unders�gelser/behandlinger</b>
1366
+ </td>
1367
+ </tr>
1368
+ <tr>
1369
+ <td>
1370
+ <table>
1371
+ <tbody>
1372
+ <tr>
1373
+ <td valign="top">
1374
+ <xsl:apply-templates/>
1375
+ </td>
1376
+ </tr>
1377
+ </tbody>
1378
+ </table>
1379
+ </td>
1380
+ </tr>
1381
+ </xsl:for-each>
1382
+ <xsl:for-each select="m:RelevantClinicalInformation/m:ActualMedicine">
1383
+ <tr>
1384
+ <td>
1385
+ <b>Aktuel medicin</b>
1386
+ </td>
1387
+ </tr>
1388
+ <tr>
1389
+ <td>
1390
+ <table>
1391
+ <tbody>
1392
+ <tr>
1393
+ <td valign="top">
1394
+ <xsl:apply-templates/>
1395
+ </td>
1396
+ </tr>
1397
+ </tbody>
1398
+ </table>
1399
+ </td>
1400
+ </tr>
1401
+ </xsl:for-each>
1402
+ <xsl:for-each select="m:RelevantClinicalInformation/m:FirstDateOfPeriod">
1403
+ <tr>
1404
+ <td>
1405
+ <b>Graviditetsoplysninger</b>
1406
+ </td>
1407
+ </tr>
1408
+ <tr>
1409
+ <td>
1410
+ <table>
1411
+ <tbody>
1412
+ <tr>
1413
+ <td valign="top">
1414
+ <xsl:apply-templates/>
1415
+ </td>
1416
+ </tr>
1417
+ </tbody>
1418
+ </table>
1419
+ </td>
1420
+ </tr>
1421
+ </xsl:for-each>
1422
+ </tbody>
1423
+ </table>
1424
+ </td>
1425
+ </tr>
1426
+ </tbody>
1427
+ </table>
1428
+ </td>
1429
+ </tr>
1430
+ <tr>
1431
+ <xsl:call-template name="showReferences">
1432
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
1433
+ </xsl:call-template>
1434
+ </tr>
1435
+ <xsl:if test="count(m:HospitalVisitation)>0">
1436
+ <tr>
1437
+ <td valign="top" width="100%">
1438
+ <table>
1439
+ <tbody>
1440
+ <tr>
1441
+ <td valign="top">
1442
+ <b>Visitation (udfyldt af modtager)</b>
1443
+ </td>
1444
+ </tr>
1445
+ <tr>
1446
+ <td valign="top">
1447
+ <table>
1448
+ <tbody>
1449
+ <xsl:for-each select="m:HospitalVisitation">
1450
+ <tr>
1451
+ <td valign="top">
1452
+ <xsl:value-of select="m:InformationCode"/>
1453
+ </td>
1454
+ <td valign="top">
1455
+ <xsl:for-each select="m:Information">
1456
+ <xsl:apply-templates/>
1457
+ </xsl:for-each>
1458
+ </td>
1459
+ </tr>
1460
+ </xsl:for-each>
1461
+ </tbody>
1462
+ </table>
1463
+ </td>
1464
+ </tr>
1465
+ </tbody>
1466
+ </table>
1467
+ </td>
1468
+ </tr>
1469
+ </xsl:if>
1470
+ <tr>
1471
+ <xsl:call-template name="ShowPatientAndRelatives"/>
1472
+ </tr>
1473
+ <tr>
1474
+ <xsl:call-template name="ShowParticipants"/>
1475
+ </tr>
1476
+ </tbody>
1477
+ </table>
1478
+ </td>
1479
+ </xsl:for-each>
1480
+ </xsl:template>
1481
+ <!-- LABORATORYREQUEST -->
1482
+ <xsl:template match="m:Emessage[m:LaboratoryRequest]">
1483
+ <xsl:for-each select="m:LaboratoryRequest">
1484
+ <tr>
1485
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1486
+ <table width="100%">
1487
+ <tbody>
1488
+ <tr>
1489
+ <xsl:call-template name="ShowMessageHeader">
1490
+ <xsl:with-param name="MessageName" select="'Laboratorierekvisition'"/>
1491
+ </xsl:call-template>
1492
+ </tr>
1493
+ <tr>
1494
+ <td valign="top" width="100%">
1495
+ <table>
1496
+ <tbody>
1497
+ <tr>
1498
+ <td valign="top">
1499
+ <b>Rekvisition<!--stidspunkt-->:</b>
1500
+ </td>
1501
+ <td valign="top">
1502
+ <xsl:for-each select="m:RequisitionInformation/m:RequisitionDateTime">
1503
+ <xsl:call-template name="FormatDateTime"/>
1504
+ </xsl:for-each>
1505
+ </td>
1506
+ <td>
1507
+ <b>Rekvisitions ID: </b>
1508
+ </td>
1509
+ <td>
1510
+ <xsl:value-of select="m:RequisitionInformation/m:Sample/m:RequesterSampleIdentifier"/>
1511
+ </td>
1512
+ </tr>
1513
+ </tbody>
1514
+ </table>
1515
+ </td>
1516
+ </tr>
1517
+ <tr>
1518
+ <td valign="top" width="100%">
1519
+ <table>
1520
+ <tbody>
1521
+ <tr>
1522
+ <td valign="top">
1523
+ <xsl:if test="m:RequisitionInformation/m:SamplingDateTimeType='oensket' ">
1524
+ <b>Pr�ve</b> �nskes <b>taget</b>
1525
+ </xsl:if>
1526
+ <xsl:if test="not(m:RequisitionInformation/m:SamplingDateTimeType='oensket') ">
1527
+ <b>Pr�ve</b> er <b>taget</b>
1528
+ </xsl:if>
1529
+ </td>
1530
+ <td valign="top">
1531
+ <xsl:for-each select="m:RequisitionInformation/m:SamplingDateTime">
1532
+ <xsl:call-template name="FormatDateTime"/>
1533
+ </xsl:for-each>
1534
+ </td>
1535
+ <td valign="top">
1536
+ <b>af</b>
1537
+ </td>
1538
+ <td valign="top">
1539
+ <xsl:value-of select="m:RequisitionInformation/m:SamplingLocationCode"/>
1540
+ </td>
1541
+ <td valign="top">
1542
+ <b> i </b>
1543
+ </td>
1544
+ <td valign="top">
1545
+ <xsl:value-of select="m:RequisitionInformation/m:NumberOfTestTubes"/>
1546
+ </td>
1547
+ <td valign="top">
1548
+ <b> glas</b>
1549
+ </td>
1550
+ </tr>
1551
+ </tbody>
1552
+ </table>
1553
+ </td>
1554
+ </tr>
1555
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
1556
+ <tr>
1557
+ <td valign="top" width="100%">
1558
+ <table>
1559
+ <tbody>
1560
+ <tr>
1561
+ <td valign="top">
1562
+ <b>
1563
+ Klinisk information
1564
+ </b>
1565
+ </td>
1566
+ </tr>
1567
+ <tr>
1568
+ <td valign="top">
1569
+ <table>
1570
+ <tbody>
1571
+ <tr>
1572
+ <td valign="top">
1573
+ <xsl:apply-templates/>
1574
+ </td>
1575
+ </tr>
1576
+ </tbody>
1577
+ </table>
1578
+ </td>
1579
+ </tr>
1580
+ </tbody>
1581
+ </table>
1582
+ </td>
1583
+ </tr>
1584
+ </xsl:for-each>
1585
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
1586
+ <tr>
1587
+ <td valign="top" width="100%">
1588
+ <table>
1589
+ <tbody>
1590
+ <tr>
1591
+ <td valign="top">
1592
+ <b>
1593
+ Kommentarer
1594
+ </b>
1595
+ </td>
1596
+ </tr>
1597
+ <tr>
1598
+ <td valign="top">
1599
+ <table>
1600
+ <tbody>
1601
+ <tr>
1602
+ <td valign="top">
1603
+ <xsl:apply-templates/>
1604
+ </td>
1605
+ </tr>
1606
+ </tbody>
1607
+ </table>
1608
+ </td>
1609
+ </tr>
1610
+ </tbody>
1611
+ </table>
1612
+ </td>
1613
+ </tr>
1614
+ </xsl:for-each>
1615
+ <tr>
1616
+ <td valign="top" width="100%">
1617
+ <table>
1618
+ <tbody>
1619
+ <tr>
1620
+ <td valign="top">
1621
+ <b>
1622
+ �nskede analyser
1623
+ </b>
1624
+ </td>
1625
+ </tr>
1626
+ <tr>
1627
+ <td valign="top">
1628
+ <table>
1629
+ <tbody>
1630
+ <tr>
1631
+ <td>
1632
+ <b>Prioritet</b>
1633
+ </td>
1634
+ <td>
1635
+ <b>Analysekode</b>
1636
+ </td>
1637
+ <td>
1638
+ <b>Kodetype</b>
1639
+ </td>
1640
+ <td>
1641
+ <b>Kodeansvarlig</b>
1642
+ </td>
1643
+ </tr>
1644
+ <xsl:for-each select="m:Requests/m:RequestedAnalysis">
1645
+ <xsl:variable name="isevenrow" select="position() mod 2=0"/>
1646
+ <tr>
1647
+ <xsl:if test="not($isevenrow)">
1648
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowhighlightbgcolor"/></xsl:attribute>
1649
+ </xsl:if>
1650
+ <xsl:if test="$isevenrow">
1651
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowhighlightbgcolor"/></xsl:attribute>
1652
+ </xsl:if>
1653
+ <td valign="top">
1654
+ <xsl:value-of select="m:ResultPriority"/>
1655
+ </td>
1656
+ <td valign="top">
1657
+ <xsl:value-of select="m:Analysis/m:AnalysisCode"/>
1658
+ </td>
1659
+ <td valign="top">
1660
+ <xsl:value-of select="m:Analysis/m:AnalysisCodeType"/>
1661
+ </td>
1662
+ <td valign="top">
1663
+ <xsl:value-of select="m:Analysis/m:AnalysisCodeResponsible"/>
1664
+ </td>
1665
+ </tr>
1666
+ </xsl:for-each>
1667
+ </tbody>
1668
+ </table>
1669
+ </td>
1670
+ </tr>
1671
+ </tbody>
1672
+ </table>
1673
+ </td>
1674
+ </tr>
1675
+ <xsl:if test="count(m:Requests/m:Prompt)>0">
1676
+ <tr>
1677
+ <td valign="top" width="100%">
1678
+ <table>
1679
+ <tbody>
1680
+ <tr>
1681
+ <td valign="top">
1682
+ <b>
1683
+ Svar p� analyserelevante sp�rgsm�l
1684
+ </b>
1685
+ </td>
1686
+ </tr>
1687
+ <tr>
1688
+ <td valign="top">
1689
+ <table>
1690
+ <tbody>
1691
+ <tr>
1692
+ <td>
1693
+ <b>Sp�rgsm�l</b>
1694
+ </td>
1695
+ <td>
1696
+ <b>Svar</b>
1697
+ </td>
1698
+ </tr>
1699
+ <xsl:for-each select="m:Requests/m:Prompt">
1700
+ <xsl:variable name="isevenrow" select="position() mod 2=0"/>
1701
+ <tr>
1702
+ <xsl:if test="not($isevenrow)">
1703
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
1704
+ </xsl:if>
1705
+ <xsl:if test="$isevenrow">
1706
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
1707
+ </xsl:if>
1708
+ <td valign="top">
1709
+ <xsl:value-of select="m:Question"/>
1710
+ </td>
1711
+ <td valign="top">
1712
+ <xsl:value-of select="m:Answer/m:Text"/>
1713
+ <xsl:for-each select="m:Answer/m:Numerical">
1714
+ <xsl:value-of select="concat(m:Value,' ',m:Unit)"/>
1715
+ </xsl:for-each>
1716
+ <xsl:for-each select="m:Answer/m:DiagnoseCode">
1717
+ <xsl:value-of select="concat('diagnosekode: ',.)"/>
1718
+ </xsl:for-each>
1719
+ <xsl:for-each select="m:Answer/m:DateTime">
1720
+ <xsl:call-template name="FormatDateTime"/>
1721
+ </xsl:for-each>
1722
+ </td>
1723
+ </tr>
1724
+ </xsl:for-each>
1725
+ </tbody>
1726
+ </table>
1727
+ </td>
1728
+ </tr>
1729
+ </tbody>
1730
+ </table>
1731
+ </td>
1732
+ </tr>
1733
+ </xsl:if>
1734
+ <tr>
1735
+ <xsl:call-template name="showReferences">
1736
+ <xsl:with-param name="Refs" select="m:RequisitionInformation/m:Sample/m:Reference"/>
1737
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
1738
+ </xsl:call-template>
1739
+ </tr>
1740
+ <tr>
1741
+ <xsl:call-template name="ShowCarbonCopyReceiver"/>
1742
+ </tr>
1743
+ <tr>
1744
+ <xsl:call-template name="ShowPatientAndRelatives"/>
1745
+ </tr>
1746
+ <tr>
1747
+ <xsl:call-template name="ShowParticipants"/>
1748
+ </tr>
1749
+ </tbody>
1750
+ </table>
1751
+ </td>
1752
+ </tr>
1753
+ </xsl:for-each>
1754
+ </xsl:template>
1755
+ <!-- MICROBIOLOGYREQUEST -->
1756
+ <xsl:template match="m:Emessage[m:MicrobiologyRequest]">
1757
+ <xsl:for-each select="m:MicrobiologyRequest">
1758
+ <tr>
1759
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1760
+ <table width="100%">
1761
+ <tbody>
1762
+ <tr>
1763
+ <xsl:call-template name="ShowMessageHeader">
1764
+ <xsl:with-param name="MessageName" select="'Mikrobiologirekvisition'"/>
1765
+ </xsl:call-template>
1766
+ </tr>
1767
+ <tr>
1768
+ <td valign="top" width="100%">
1769
+ <table>
1770
+ <tbody>
1771
+ <tr>
1772
+ <td valign="top">
1773
+ <b>Rekvisition<!--stidspunkt-->:</b>
1774
+ </td>
1775
+ <td valign="top">
1776
+ <xsl:for-each select="m:RequisitionInformation/m:RequisitionDateTime">
1777
+ <xsl:call-template name="FormatDateTime"/>
1778
+ </xsl:for-each>
1779
+ </td>
1780
+ <td>
1781
+ <b>Rekvisitions ID: </b>
1782
+ </td>
1783
+ <td>
1784
+ <xsl:value-of select="m:RequisitionInformation/m:Sample/m:RequesterSampleIdentifier"/>
1785
+ </td>
1786
+ </tr>
1787
+ </tbody>
1788
+ </table>
1789
+ </td>
1790
+ </tr>
1791
+ <tr>
1792
+ <td valign="top" width="100%">
1793
+ <table>
1794
+ <tbody>
1795
+ <tr>
1796
+ <td valign="top">
1797
+ <xsl:if test="m:RequisitionInformation/m:SamplingDateTimeType='oensket' ">
1798
+ <b>Pr�ve</b> �nskes <b>taget</b>
1799
+ </xsl:if>
1800
+ <xsl:if test="not(m:RequisitionInformation/m:SamplingDateTimeType='oensket') ">
1801
+ <b>Pr�ve</b> er <b>taget</b>
1802
+ </xsl:if>
1803
+ </td>
1804
+ <td valign="top">
1805
+ <xsl:for-each select="m:RequisitionInformation/m:SamplingDateTime">
1806
+ <xsl:call-template name="FormatDateTime"/>
1807
+ </xsl:for-each>
1808
+ </td>
1809
+ <td valign="top">
1810
+ <b>af</b>
1811
+ </td>
1812
+ <td valign="top">
1813
+ <xsl:value-of select="m:RequisitionInformation/m:SamplingLocationCode"/>
1814
+ </td>
1815
+ <td valign="top">
1816
+ <b> i </b>
1817
+ </td>
1818
+ <td valign="top">
1819
+ <xsl:value-of select="m:RequisitionInformation/m:NumberOfTestTubes"/>
1820
+ </td>
1821
+ <td valign="top">
1822
+ <b> glas</b>
1823
+ </td>
1824
+ </tr>
1825
+ </tbody>
1826
+ </table>
1827
+ </td>
1828
+ </tr>
1829
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
1830
+ <tr>
1831
+ <td valign="top" width="100%">
1832
+ <table>
1833
+ <tbody>
1834
+ <tr>
1835
+ <td valign="top">
1836
+ <b>
1837
+ Klinisk information
1838
+ </b>
1839
+ </td>
1840
+ </tr>
1841
+ <tr>
1842
+ <td valign="top">
1843
+ <table>
1844
+ <tbody>
1845
+ <tr>
1846
+ <td valign="top">
1847
+ <xsl:apply-templates/>
1848
+ </td>
1849
+ </tr>
1850
+ </tbody>
1851
+ </table>
1852
+ </td>
1853
+ </tr>
1854
+ </tbody>
1855
+ </table>
1856
+ </td>
1857
+ </tr>
1858
+ </xsl:for-each>
1859
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
1860
+ <tr>
1861
+ <td valign="top" width="100%">
1862
+ <table>
1863
+ <tbody>
1864
+ <tr>
1865
+ <td valign="top">
1866
+ <b>
1867
+ Kommentarer
1868
+ </b>
1869
+ </td>
1870
+ </tr>
1871
+ <tr>
1872
+ <td valign="top">
1873
+ <table>
1874
+ <tbody>
1875
+ <tr>
1876
+ <td valign="top">
1877
+ <xsl:apply-templates/>
1878
+ </td>
1879
+ </tr>
1880
+ </tbody>
1881
+ </table>
1882
+ </td>
1883
+ </tr>
1884
+ </tbody>
1885
+ </table>
1886
+ </td>
1887
+ </tr>
1888
+ </xsl:for-each>
1889
+ <tr>
1890
+ <td valign="top" width="100%">
1891
+ <table>
1892
+ <tbody>
1893
+ <tr>
1894
+ <td valign="top">
1895
+ <b>
1896
+ �nsket analyse
1897
+ </b>
1898
+ </td>
1899
+ </tr>
1900
+ <tr>
1901
+ <td valign="top">
1902
+ <table>
1903
+ <tbody>
1904
+ <tr>
1905
+ <td>
1906
+ <b>Analysekode</b>
1907
+ </td>
1908
+ <td>
1909
+ <b>Kodetype</b>
1910
+ </td>
1911
+ <td>
1912
+ <b>Kodeansvarlig</b>
1913
+ </td>
1914
+ <td>
1915
+ <b>Supplerende analyse</b>
1916
+ </td>
1917
+ </tr>
1918
+ <xsl:for-each select="m:Requests/m:RequestedAnalysis">
1919
+ <tr>
1920
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$highlightbgcolor"/></xsl:attribute>
1921
+ <td valign="top">
1922
+ <xsl:value-of select="m:Analysis/m:AnalysisCode"/>
1923
+ </td>
1924
+ <td valign="top">
1925
+ <xsl:value-of select="m:Analysis/m:AnalysisCodeType"/>
1926
+ </td>
1927
+ <td valign="top">
1928
+ <xsl:value-of select="m:Analysis/m:AnalysisCodeResponsible"/>
1929
+ </td>
1930
+ <td valign="top">
1931
+ <xsl:value-of select="m:SupplementaryAnalysis"/>
1932
+ </td>
1933
+ </tr>
1934
+ </xsl:for-each>
1935
+ </tbody>
1936
+ </table>
1937
+ </td>
1938
+ </tr>
1939
+ <tr>
1940
+ <td valign="top">
1941
+ <table>
1942
+ <tbody>
1943
+ <tr>
1944
+ <td>
1945
+ <b>MDS Unders�gelse</b>
1946
+ </td>
1947
+ <td>
1948
+ <b>MDS Materiale</b>
1949
+ </td>
1950
+ <td>
1951
+ <b>MDS Lokation</b>
1952
+ </td>
1953
+ <td>
1954
+ <b>Supplerende lokation</b>
1955
+ </td>
1956
+ </tr>
1957
+ <xsl:for-each select="m:Requests/m:RequestedAnalysis">
1958
+ <tr>
1959
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$highlightbgcolor"/></xsl:attribute>
1960
+ <td valign="top">
1961
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Examination"/>
1962
+ </td>
1963
+ <td valign="top">
1964
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Material"/>
1965
+ </td>
1966
+ <td valign="top">
1967
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Location"/>
1968
+ </td>
1969
+ <td valign="top">
1970
+ <xsl:value-of select="m:SupplementaryLocation"/>
1971
+ </td>
1972
+ </tr>
1973
+ </xsl:for-each>
1974
+ </tbody>
1975
+ </table>
1976
+ </td>
1977
+ </tr>
1978
+ </tbody>
1979
+ </table>
1980
+ </td>
1981
+ </tr>
1982
+ <xsl:if test="count(m:Requests/m:Prompt)>0">
1983
+ <tr>
1984
+ <td valign="top" width="100%">
1985
+ <table>
1986
+ <tbody>
1987
+ <tr>
1988
+ <td valign="top">
1989
+ <b>
1990
+ Svar p� analyserelevante sp�rgsm�l
1991
+ </b>
1992
+ </td>
1993
+ </tr>
1994
+ <tr>
1995
+ <td valign="top">
1996
+ <table>
1997
+ <tbody>
1998
+ <tr>
1999
+ <td>
2000
+ <b>Sp�rgsm�l</b>
2001
+ </td>
2002
+ <td>
2003
+ <b>Svar</b>
2004
+ </td>
2005
+ </tr>
2006
+ <xsl:for-each select="m:Requests/m:Prompt">
2007
+ <xsl:variable name="isevenrow" select="position() mod 2=0"/>
2008
+ <tr>
2009
+ <xsl:if test="not($isevenrow)">
2010
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
2011
+ </xsl:if>
2012
+ <xsl:if test="$isevenrow">
2013
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
2014
+ </xsl:if>
2015
+ <td valign="top">
2016
+ <xsl:value-of select="m:Question/m:CodeText"/>
2017
+ </td>
2018
+ <td valign="top">
2019
+ <xsl:value-of select="m:Answer/m:Text"/>
2020
+ </td>
2021
+ </tr>
2022
+ </xsl:for-each>
2023
+ </tbody>
2024
+ </table>
2025
+ </td>
2026
+ </tr>
2027
+ </tbody>
2028
+ </table>
2029
+ </td>
2030
+ </tr>
2031
+ </xsl:if>
2032
+ <tr>
2033
+ <xsl:call-template name="showReferences">
2034
+ <xsl:with-param name="Refs" select="m:RequisitionInformation/m:Sample/m:Reference"/>
2035
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
2036
+ </xsl:call-template>
2037
+ </tr>
2038
+ <tr>
2039
+ <xsl:call-template name="ShowCarbonCopyReceiver"/>
2040
+ </tr>
2041
+ <tr>
2042
+ <xsl:call-template name="ShowPatientAndRelatives"/>
2043
+ </tr>
2044
+ <tr>
2045
+ <xsl:call-template name="ShowParticipants"/>
2046
+ </tr>
2047
+ </tbody>
2048
+ </table>
2049
+ </td>
2050
+ </tr>
2051
+ </xsl:for-each>
2052
+ </xsl:template>
2053
+ <!-- PATHOLOGYREQUEST -->
2054
+ <xsl:template match="m:Emessage[m:PathologyRequest]">
2055
+ <xsl:for-each select="m:PathologyRequest">
2056
+ <tr>
2057
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
2058
+ <table width="100%">
2059
+ <tbody>
2060
+ <tr>
2061
+ <xsl:call-template name="ShowMessageHeader">
2062
+ <xsl:with-param name="MessageName" select="'Patologirekvisition'"/>
2063
+ </xsl:call-template>
2064
+ </tr>
2065
+ <tr>
2066
+ <td valign="top" width="100%">
2067
+ <table>
2068
+ <tbody>
2069
+ <tr>
2070
+ <td valign="top">
2071
+ <b>Rekvisition<!--stidspunkt-->:</b>
2072
+ </td>
2073
+ <td valign="top">
2074
+ <xsl:for-each select="m:RequisitionInformation/m:RequisitionDateTime">
2075
+ <xsl:call-template name="FormatDateTime"/>
2076
+ </xsl:for-each>
2077
+ </td>
2078
+ <td>
2079
+ <b>Rekvisitions ID: </b>
2080
+ </td>
2081
+ <td>
2082
+ <xsl:value-of select="m:RequisitionInformation/m:RequestersRequisitionIdentifier"/>
2083
+ </td>
2084
+ </tr>
2085
+ </tbody>
2086
+ </table>
2087
+ </td>
2088
+ </tr>
2089
+ <tr>
2090
+ <td valign="top" width="100%">
2091
+ <table>
2092
+ <tbody>
2093
+ <tr>
2094
+ <td valign="top">
2095
+ <xsl:if test="m:RequisitionInformation/m:SamplingDateTimeType='oensket' ">
2096
+ <b>Pr�ve</b> �nskes <b>taget</b>
2097
+ </xsl:if>
2098
+ <xsl:if test="not(m:RequisitionInformation/m:SamplingDateTimeType='oensket') ">
2099
+ <b>Pr�ve</b> er <b>taget</b>
2100
+ </xsl:if>
2101
+ </td>
2102
+ <td valign="top">
2103
+ <xsl:for-each select="m:RequisitionInformation/m:SamplingDateTime">
2104
+ <xsl:call-template name="FormatDateTime"/>
2105
+ </xsl:for-each>
2106
+ </td>
2107
+ <td valign="top">
2108
+ <b>af</b>
2109
+ </td>
2110
+ <td valign="top">
2111
+ <xsl:value-of select="m:RequisitionInformation/m:SamplingLocationCode"/>
2112
+ </td>
2113
+ <td valign="top">
2114
+ <b> i </b>
2115
+ </td>
2116
+ <td valign="top">
2117
+ <xsl:value-of select="m:RequisitionInformation/m:NumberOfTestTubes"/>
2118
+ </td>
2119
+ <td valign="top">
2120
+ <b> glas</b>
2121
+ </td>
2122
+ </tr>
2123
+ </tbody>
2124
+ </table>
2125
+ </td>
2126
+ </tr>
2127
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
2128
+ <tr>
2129
+ <td valign="top" width="100%">
2130
+ <table>
2131
+ <tbody>
2132
+ <tr>
2133
+ <td valign="top">
2134
+ <b>
2135
+ Klinisk information
2136
+ </b>
2137
+ </td>
2138
+ </tr>
2139
+ <tr>
2140
+ <td valign="top">
2141
+ <table>
2142
+ <tbody>
2143
+ <tr>
2144
+ <td valign="top">
2145
+ <xsl:apply-templates/>
2146
+ </td>
2147
+ </tr>
2148
+ </tbody>
2149
+ </table>
2150
+ </td>
2151
+ </tr>
2152
+ </tbody>
2153
+ </table>
2154
+ </td>
2155
+ </tr>
2156
+ </xsl:for-each>
2157
+ <xsl:for-each select="m:RequisitionInformation/m:CodedClinicalInformation">
2158
+ <tr>
2159
+ <td valign="top" width="100%">
2160
+ <table>
2161
+ <tbody>
2162
+ <tr>
2163
+ <td valign="top">
2164
+ <b> Kodet klinisk information</b>
2165
+ </td>
2166
+ </tr>
2167
+ <tr>
2168
+ <td valign="top">
2169
+ <table>
2170
+ <tbody>
2171
+ <tr>
2172
+ <td valign="top">
2173
+ <xsl:value-of select="m:IndicationCode"/>
2174
+ </td>
2175
+ <td valign="top">
2176
+ <xsl:value-of select="m:IndicationText"/>
2177
+ </td>
2178
+ </tr>
2179
+ </tbody>
2180
+ </table>
2181
+ </td>
2182
+ </tr>
2183
+ </tbody>
2184
+ </table>
2185
+ </td>
2186
+ </tr>
2187
+ </xsl:for-each>
2188
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
2189
+ <tr>
2190
+ <td valign="top" width="100%">
2191
+ <table>
2192
+ <tbody>
2193
+ <tr>
2194
+ <td valign="top">
2195
+ <b>
2196
+ Kommentarer
2197
+ </b>
2198
+ </td>
2199
+ </tr>
2200
+ <tr>
2201
+ <td valign="top">
2202
+ <table>
2203
+ <tbody>
2204
+ <tr>
2205
+ <td valign="top">
2206
+ <xsl:apply-templates/>
2207
+ </td>
2208
+ </tr>
2209
+ </tbody>
2210
+ </table>
2211
+ </td>
2212
+ </tr>
2213
+ </tbody>
2214
+ </table>
2215
+ </td>
2216
+ </tr>
2217
+ </xsl:for-each>
2218
+ <tr>
2219
+ <td valign="top" width="100%">
2220
+ <table>
2221
+ <tbody>
2222
+ <tr>
2223
+ <td valign="top">
2224
+ <b>
2225
+ Pr�ver
2226
+ </b>
2227
+ </td>
2228
+ </tr>
2229
+ <tr>
2230
+ <td valign="top">
2231
+ <table>
2232
+ <tbody>
2233
+ <tr>
2234
+ <td>
2235
+ <b>Pr�ve ID</b>
2236
+ </td>
2237
+ <td>
2238
+ <b>Materiale</b>
2239
+ </td>
2240
+ <td>
2241
+ <b>Forbehandling</b>
2242
+ </td>
2243
+ <td>
2244
+ <b>Referencer</b>
2245
+ </td>
2246
+ </tr>
2247
+ <xsl:for-each select="m:RequisitionInformation/m:Sample">
2248
+ <xsl:variable name="isevenrow" select="position() mod 2=0"/>
2249
+ <tr>
2250
+ <xsl:if test="not($isevenrow)">
2251
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
2252
+ </xsl:if>
2253
+ <xsl:if test="$isevenrow">
2254
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
2255
+ </xsl:if>
2256
+ <td valign="top">
2257
+ <xsl:value-of select="m:RequesterSampleIdentifier"/>
2258
+ </td>
2259
+ <td valign="top">
2260
+ <xsl:value-of select="m:MaterialDescription"/>
2261
+ </td>
2262
+ <td valign="top">
2263
+ <xsl:for-each select="m:MaterialPreTreatment">
2264
+ <xsl:value-of select="."/><xsl:text> </xsl:text>
2265
+ </xsl:for-each>
2266
+ </td>
2267
+ <td>
2268
+ <table>
2269
+ <tbody>
2270
+ <tr>
2271
+ <xsl:call-template name="showReferences">
2272
+ <xsl:with-param name="Refs" select="m:Reference"/>
2273
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
2274
+ </xsl:call-template>
2275
+ </tr>
2276
+ </tbody>
2277
+ </table>
2278
+ </td>
2279
+ </tr>
2280
+ </xsl:for-each>
2281
+ </tbody>
2282
+ </table>
2283
+ </td>
2284
+ </tr>
2285
+ </tbody>
2286
+ </table>
2287
+ </td>
2288
+ </tr>
2289
+ <tr>
2290
+ <td valign="top" width="100%">
2291
+ <table>
2292
+ <tbody>
2293
+ <tr>
2294
+ <td valign="top">
2295
+ <b>
2296
+ �nsket analyse
2297
+ </b>
2298
+ </td>
2299
+ </tr>
2300
+ <tr>
2301
+ <td valign="top">
2302
+ <table>
2303
+ <tbody>
2304
+ <tr>
2305
+ <td>
2306
+ <b>Prioritet</b>
2307
+ </td>
2308
+ <td>
2309
+ <b>Analysekode</b>
2310
+ </td>
2311
+ <td>
2312
+ <b>Kodetype</b>
2313
+ </td>
2314
+ <td>
2315
+ <b>AnalyseTekst</b>
2316
+ </td>
2317
+ </tr>
2318
+ <xsl:for-each select="m:Requests/m:RequestedAnalysis">
2319
+ <xsl:variable name="isevenrow" select="position() mod 2=0"/>
2320
+ <tr>
2321
+ <xsl:if test="not($isevenrow)">
2322
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowhighlightbgcolor"/></xsl:attribute>
2323
+ </xsl:if>
2324
+ <xsl:if test="$isevenrow">
2325
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowhighlightbgcolor"/></xsl:attribute>
2326
+ </xsl:if>
2327
+ <td valign="top">
2328
+ <xsl:value-of select="m:ResultPriority"/>
2329
+ </td>
2330
+ <td valign="top">
2331
+ <xsl:value-of select="m:Analysis/m:AnalysisCode"/>
2332
+ </td>
2333
+ <td valign="top">
2334
+ <xsl:value-of select="m:Analysis/m:AnalysisCodeType"/>
2335
+ </td>
2336
+ <td valign="top">
2337
+ <xsl:value-of select="m:Analysis/m:AnalysisShortName"/>
2338
+ </td>
2339
+ </tr>
2340
+ </xsl:for-each>
2341
+ </tbody>
2342
+ </table>
2343
+ </td>
2344
+ </tr>
2345
+ </tbody>
2346
+ </table>
2347
+ </td>
2348
+ </tr>
2349
+ <xsl:for-each select="m:Requests/m:SupplementaryCervixInformations">
2350
+ <tr>
2351
+ <td valign="top" width="100%">
2352
+ <table>
2353
+ <tbody>
2354
+ <tr>
2355
+ <td valign="top">
2356
+ <b> Svar p� analyserelevante sp�rgsm�l</b>
2357
+ </td>
2358
+ </tr>
2359
+ <tr>
2360
+ <td valign="top">
2361
+ <table>
2362
+ <tbody>
2363
+ <tr>
2364
+ <td>
2365
+ <b>Sp�rgsm�l</b>
2366
+ </td>
2367
+ <td>
2368
+ <b>Svar</b>
2369
+ </td>
2370
+ </tr>
2371
+ <xsl:for-each select="m:Condyloma">
2372
+ <tr>
2373
+ <td>Kondylomer</td>
2374
+ <td>
2375
+ <xsl:call-template name="ConvertBoolean">
2376
+ <xsl:with-param name="value" select="."/>
2377
+ </xsl:call-template>
2378
+ </td>
2379
+ </tr>
2380
+ </xsl:for-each>
2381
+ <xsl:for-each select="m:IUD">
2382
+ <tr>
2383
+ <td>IUD</td>
2384
+ <td>
2385
+ <xsl:call-template name="ConvertBoolean">
2386
+ <xsl:with-param name="value" select="."/>
2387
+ </xsl:call-template>
2388
+ </td>
2389
+ </tr>
2390
+ </xsl:for-each>
2391
+ <xsl:for-each select="m:Pregnant">
2392
+ <tr>
2393
+ <td>Gravid</td>
2394
+ <td>
2395
+ <xsl:call-template name="ConvertBoolean">
2396
+ <xsl:with-param name="value" select="."/>
2397
+ </xsl:call-template>
2398
+ </td>
2399
+ </tr>
2400
+ </xsl:for-each>
2401
+ <xsl:for-each select="m:DateOfPeriod">
2402
+ <tr>
2403
+ <td>sidste menstr.</td>
2404
+ <td>
2405
+ <xsl:call-template name="FormatDate"/>
2406
+ </td>
2407
+ </tr>
2408
+ </xsl:for-each>
2409
+ <xsl:for-each select="m:HormonThrerapy">
2410
+ <tr>
2411
+ <td>Hormonterapi</td>
2412
+ <td>
2413
+ <xsl:value-of select="."/>
2414
+ </td>
2415
+ </tr>
2416
+ </xsl:for-each>
2417
+ <xsl:for-each select="m:DateOfCryoTherapy">
2418
+ <tr>
2419
+ <td>Dato for kryoterapi</td>
2420
+ <td>
2421
+ <xsl:call-template name="FormatDate"/>
2422
+ </td>
2423
+ </tr>
2424
+ </xsl:for-each>
2425
+ <xsl:for-each select="m:DateOfLaser">
2426
+ <tr>
2427
+ <td>Dato for laserbehandling</td>
2428
+ <td>
2429
+ <xsl:call-template name="FormatDate"/>
2430
+ </td>
2431
+ </tr>
2432
+ </xsl:for-each>
2433
+ <xsl:for-each select="m:DateOfConisation">
2434
+ <tr>
2435
+ <td>Dato for konisation</td>
2436
+ <td>
2437
+ <xsl:call-template name="FormatDate"/>
2438
+ </td>
2439
+ </tr>
2440
+ </xsl:for-each>
2441
+ <xsl:for-each select="m:DateOfHysterectomy">
2442
+ <tr>
2443
+ <td>Dato for hysterectomi</td>
2444
+ <td>
2445
+ <xsl:call-template name="FormatDate"/>
2446
+ </td>
2447
+ </tr>
2448
+ </xsl:for-each>
2449
+ <xsl:for-each select="m:DateOfIrradiation">
2450
+ <tr>
2451
+ <td>Dato for str�lebehandling</td>
2452
+ <td>
2453
+ <xsl:call-template name="FormatDate"/>
2454
+ </td>
2455
+ </tr>
2456
+ </xsl:for-each>
2457
+ <xsl:for-each select="m:DateOfChemoTherapy">
2458
+ <tr>
2459
+ <td>Dato for kemoterapi</td>
2460
+ <td>
2461
+ <xsl:call-template name="FormatDate"/>
2462
+ </td>
2463
+ </tr>
2464
+ </xsl:for-each>
2465
+ </tbody>
2466
+ </table>
2467
+ </td>
2468
+ </tr>
2469
+ </tbody>
2470
+ </table>
2471
+ </td>
2472
+ </tr>
2473
+ </xsl:for-each>
2474
+ <tr>
2475
+ <xsl:call-template name="ShowCarbonCopyReceiver"/>
2476
+ </tr>
2477
+ <tr>
2478
+ <xsl:call-template name="ShowPatientAndRelatives"/>
2479
+ </tr>
2480
+ <tr>
2481
+ <xsl:call-template name="ShowParticipants"/>
2482
+ </tr>
2483
+ </tbody>
2484
+ </table>
2485
+ </td>
2486
+ </tr>
2487
+ </xsl:for-each>
2488
+ </xsl:template>
2489
+ <!-- LABORATORYREPORT -->
2490
+ <xsl:template match="m:Emessage[m:LaboratoryReport]">
2491
+ <xsl:for-each select="m:LaboratoryReport">
2492
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
2493
+ <table width="100%">
2494
+ <tbody>
2495
+ <tr>
2496
+ <xsl:call-template name="ShowMessageHeader">
2497
+ <xsl:with-param name="MessageName" select="'Laboratoriesvar'"/>
2498
+ </xsl:call-template>
2499
+ </tr>
2500
+ <!--<tr>
2501
+ <td>
2502
+ <xsl:variable name="patientcpr" select="m:Patient/m:CivilRegistrationNumber"/>
2503
+ <xsl:variable name="url">
2504
+ https://www.sundhed.dk/wps/myportal/_s.155/4518?parameter_navn=cprnr_field&amp;cprnrfield=<xsl:value-of select="$patientcpr"/>
2505
+ </xsl:variable>
2506
+ <a><xsl:attribute name="href"><xsl:value-of select="$url"/></xsl:attribute>Beskrivelse p� Sundhed.dk</a>
2507
+ </td>
2508
+ </tr>-->
2509
+ <tr>
2510
+ <td valign="top" width="100%">
2511
+ <table>
2512
+ <tbody>
2513
+ <tr>
2514
+ <td valign="top">
2515
+ <b>Pr�ve taget<!--stidspunkt-->:</b>
2516
+ </td>
2517
+ <td valign="top">
2518
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SamplingDateTime">
2519
+ <xsl:call-template name="FormatDateTime"/>
2520
+ </xsl:for-each>
2521
+ </td>
2522
+ <td valign="top">
2523
+ <b>Svaret<!--tidspunkt-->:</b>
2524
+ </td>
2525
+ <td valign="top">
2526
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
2527
+ <xsl:call-template name="FormatDateTime"/>
2528
+ </xsl:for-each>
2529
+ </td>
2530
+ </tr>
2531
+ </tbody>
2532
+ </table>
2533
+ </td>
2534
+ </tr>
2535
+ <xsl:if test="count(m:RequisitionInformation/m:Comments)>0">
2536
+ <tr>
2537
+ <td valign="top" width="100%">
2538
+ <table>
2539
+ <tbody>
2540
+ <tr>
2541
+ <td valign="top" width="100%">
2542
+ <b>Kommentarer til rekvisitionen</b>
2543
+ </td>
2544
+ </tr>
2545
+ <tr>
2546
+ <td valign="top" width="100%">
2547
+ <table>
2548
+ <tbody>
2549
+ <tr>
2550
+ <td valign="top">
2551
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
2552
+ <xsl:apply-templates/>
2553
+ </xsl:for-each>
2554
+ </td>
2555
+ </tr>
2556
+ </tbody>
2557
+ </table>
2558
+ </td>
2559
+ </tr>
2560
+ </tbody>
2561
+ </table>
2562
+ </td>
2563
+ </tr>
2564
+ </xsl:if>
2565
+ <tr>
2566
+ <td valign="top" width="100%">
2567
+ <table>
2568
+ <tbody>
2569
+ <tr>
2570
+ <td valign="top">
2571
+ <b>Resultater</b>
2572
+ </td>
2573
+ </tr>
2574
+ <tr>
2575
+ <td valign="top">
2576
+ <table>
2577
+ <tbody>
2578
+ <tr bgcolor="#cccccc">
2579
+ <td valign="top">
2580
+ <b>Analyse</b>
2581
+ </td>
2582
+ <td valign="top">
2583
+ <b>V�rdi</b>
2584
+ </td>
2585
+ <td valign="top">
2586
+ <b>Bem.</b>
2587
+ </td>
2588
+ <td valign="top">
2589
+ <b>Enhed</b>
2590
+ </td>
2591
+ <td valign="top">
2592
+ <b>Reference</b>
2593
+ </td>
2594
+ <td valign="top">
2595
+ <b>Status</b>
2596
+ </td>
2597
+ <td/>
2598
+ </tr>
2599
+ <xsl:variable name="Results2" select="m:LaboratoryResults/m:Result"/>
2600
+ <xsl:variable name="Firstresults2" select="$Results2[count(.|(key('requisitiongroup2result',concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)))[1])=1]"/>
2601
+ <xsl:for-each select="$Firstresults2">
2602
+ <xsl:sort select="m:Analysis/m:RequisitionGroup/m:Identifier"/>
2603
+ <xsl:variable name="GNr" select="position()"/>
2604
+ <xsl:variable name="Key" select="concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)"/>
2605
+ <xsl:variable name="ResultsInGrp" select="key('requisitiongroup2result',$Key)"/>
2606
+ <tr>
2607
+ <td colspan="6">
2608
+ <b>
2609
+ <i>
2610
+ <xsl:value-of select="m:Analysis/m:RequisitionGroup/m:Name"/>
2611
+ </i>
2612
+ </b>
2613
+ </td>
2614
+ </tr>
2615
+ <xsl:for-each select="$ResultsInGrp">
2616
+ <xsl:sort select="Analysis/m:Order"/>
2617
+ <xsl:variable name="NrInG" select="position()"/>
2618
+ <!--<xsl:variable name="CNr" select="count(../m:Result[(concat('X',m:Analysis/m:RequisitionGroup/m:Identifier)&lt;concat('X',$Id))])"/>-->
2619
+ <!-- and count(m:ResultTextValue|m:ResultComments)>0-->
2620
+ <!-- or (m:Analysis/m:RequisitionGroup/m:Identifier=$Id and concat(' ',m:Analysis/m:Order) &lt;concat(' ',$Order))-->
2621
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
2622
+ <tr>
2623
+ <xsl:if test="not($isevenrow)">
2624
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
2625
+ </xsl:if>
2626
+ <xsl:if test="$isevenrow">
2627
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
2628
+ </xsl:if>
2629
+ <td valign="top">
2630
+ <xsl:choose>
2631
+ <xsl:when test="m:Analysis/m:AnalysisShortName">
2632
+ <xsl:value-of select="m:Analysis/m:AnalysisShortName"/>
2633
+ </xsl:when>
2634
+ <xsl:otherwise>
2635
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisCompleteName,' (',m:Analysis/m:AnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
2636
+ </xsl:otherwise>
2637
+ </xsl:choose>
2638
+ </td>
2639
+ <td valign="top">
2640
+ <xsl:attribute name="title"><xsl:text>Tekstv�rdi: </xsl:text><xsl:value-of select="m:ResultTextValue"/><xsl:text>
2641
+ Producent: </xsl:text><xsl:value-of select="m:ProducerOfLabResult"/></xsl:attribute>
2642
+ <xsl:variable name="RV" select="m:ResultValidation"/>
2643
+ <xsl:choose>
2644
+ <xsl:when test="$RV='unormal' ">
2645
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
2646
+ </xsl:when>
2647
+ <xsl:when test="$RV='for_hoej' ">
2648
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
2649
+ </xsl:when>
2650
+ <xsl:when test="$RV='for_lav' ">
2651
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
2652
+ </xsl:when>
2653
+ </xsl:choose>
2654
+ <xsl:variable name="O" select="m:Operator"/>
2655
+ <xsl:choose>
2656
+ <xsl:when test="$O='mindre_end'">&lt;</xsl:when>
2657
+ <xsl:when test="$O='stoerre_end'">&gt;</xsl:when>
2658
+ </xsl:choose>
2659
+ <xsl:value-of select="m:Value"/>
2660
+ </td>
2661
+ <td valign="top">
2662
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
2663
+ <font size="1">
2664
+ <xsl:attribute name="title"><xsl:value-of select="m:ResultComments"/></xsl:attribute>
2665
+ <xsl:value-of select="concat($GNr,',',$NrInG)"/>
2666
+ </font>
2667
+ </xsl:if>
2668
+ </td>
2669
+ <td valign="top">
2670
+ <xsl:value-of select="m:Unit"/>
2671
+ </td>
2672
+ <td valign="top">
2673
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)>1">
2674
+ <xsl:value-of select="concat(m:ReferenceInterval/m:LowerLimit,'-',m:ReferenceInterval/m:UpperLimit)"/>
2675
+ </xsl:if>
2676
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)=1">
2677
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit)=1">
2678
+ <xsl:value-of select="concat('>',m:ReferenceInterval/m:LowerLimit)"/>
2679
+ </xsl:if>
2680
+ <xsl:if test="count(m:ReferenceInterval/m:UpperLimit)=1">
2681
+ <xsl:value-of select="concat('&lt;',m:ReferenceInterval/m:UpperLimit)"/>
2682
+ </xsl:if>
2683
+
2684
+ </xsl:if>
2685
+ <xsl:value-of select="m:ReferenceInterval/m:IntervalText"/>
2686
+ </td>
2687
+ <td>
2688
+ <xsl:value-of select="m:ResultStatusCode"/>
2689
+ </td>
2690
+ <td>
2691
+ <xsl:for-each select="m:Reference[m:URL]">
2692
+ <a>
2693
+ <xsl:attribute name="href"><xsl:value-of select="m:URL"/></xsl:attribute>
2694
+ <img src="img/urlicon.PNG">
2695
+ <xsl:attribute name="alt"><xsl:value-of select="m:RefDescription"/></xsl:attribute>
2696
+ </img>
2697
+ </a>
2698
+ </xsl:for-each>
2699
+ </td>
2700
+ </tr>
2701
+ </xsl:for-each>
2702
+ </xsl:for-each>
2703
+ <xsl:for-each select="m:LaboratoryResults/m:Result[not(m:Analysis/m:RequisitionGroup)]">
2704
+ <xsl:variable name="RNr" select="position()"/>
2705
+ <xsl:variable name="CNr" select="count(../m:Result[position()&lt;=$RNr and count(m:ResultTextValue|m:ResultComments)>0])"/>
2706
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
2707
+ <tr>
2708
+ <xsl:if test="not($isevenrow)">
2709
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
2710
+ </xsl:if>
2711
+ <xsl:if test="$isevenrow">
2712
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
2713
+ </xsl:if>
2714
+ <td valign="top">
2715
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisCompleteName,' (',m:Analysis/m:AnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
2716
+ </td>
2717
+ <td valign="top">
2718
+ <xsl:variable name="RV" select="m:ResultValidation"/>
2719
+ <xsl:choose>
2720
+ <xsl:when test="$RV='unormal' ">
2721
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
2722
+ </xsl:when>
2723
+ <xsl:when test="$RV='for_hoej' ">
2724
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
2725
+ </xsl:when>
2726
+ <xsl:when test="$RV='for_lav' ">
2727
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
2728
+ </xsl:when>
2729
+ </xsl:choose>
2730
+ <xsl:variable name="O" select="m:Operator"/>
2731
+ <xsl:choose>
2732
+ <xsl:when test="$O='mindre_end'">&lt;</xsl:when>
2733
+ <xsl:when test="$O='stoerre_end'">&gt;</xsl:when>
2734
+ </xsl:choose>
2735
+ <xsl:value-of select="m:Value"/>
2736
+ </td>
2737
+ <td valign="top">
2738
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
2739
+ <font size="1">
2740
+ <xsl:attribute name="title"><xsl:value-of select="m:ResultTextValue|m:ResultComments"/></xsl:attribute>
2741
+ <xsl:value-of select="$CNr"/>
2742
+ </font>
2743
+ </xsl:if>
2744
+ </td>
2745
+ <td valign="top">
2746
+ <xsl:value-of select="m:Unit"/>
2747
+ </td>
2748
+ <td valign="top">
2749
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)>0">
2750
+ <xsl:value-of select="concat(m:ReferenceInterval/m:LowerLimit,'-',m:ReferenceInterval/m:UpperLimit)"/>
2751
+ </xsl:if>
2752
+ <xsl:value-of select="m:ReferenceInterval/m:IntervalText"/>
2753
+ </td>
2754
+ <td>
2755
+ <xsl:value-of select="m:ResultStatusCode"/>
2756
+ </td>
2757
+ </tr>
2758
+ </xsl:for-each>
2759
+ </tbody>
2760
+ </table>
2761
+ </td>
2762
+ </tr>
2763
+ </tbody>
2764
+ </table>
2765
+ </td>
2766
+ </tr>
2767
+ <tr>
2768
+ <td valign="top" width="100%">
2769
+ <table>
2770
+ <tbody>
2771
+ <tr>
2772
+ <td valign="top">
2773
+ <b>Bem�rkninger</b>
2774
+ </td>
2775
+ </tr>
2776
+ <tr>
2777
+ <td valign="top">
2778
+ <table>
2779
+ <tbody>
2780
+ <xsl:variable name="Results" select="m:LaboratoryResults/m:Result"/>
2781
+ <xsl:variable name="Firstresults" select="$Results[count(.|(key('requisitiongroup2result',m:Analysis/m:RequisitionGroup/m:Identifier))[1])=1]"/>
2782
+ <xsl:for-each select="$Firstresults">
2783
+ <xsl:sort select="m:Analysis/m:RequisitionGroup/m:Identifier"/>
2784
+ <xsl:variable name="GNr" select="position()"/>
2785
+ <xsl:variable name="Key" select="concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)"/>
2786
+ <xsl:variable name="ResultsInGrp" select="key('requisitiongroup2result',$Key)"/>
2787
+ <xsl:for-each select="$ResultsInGrp">
2788
+ <xsl:sort select="Analysis/m:Order"/>
2789
+ <xsl:variable name="NrInG" select="position()"/>
2790
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
2791
+ <tr>
2792
+ <td valign="top">
2793
+ <font size="1">
2794
+ <xsl:value-of select="concat($GNr,',',$NrInG)"/>
2795
+ </font>
2796
+ </td>
2797
+ <td valign="top">
2798
+ <table>
2799
+ <tbody>
2800
+ <xsl:for-each select="m:ResultTextValue|m:ResultComments">
2801
+ <tr>
2802
+ <!--<xsl:if test="not($isevenrow)"><xsl:attribute name="bgcolor">dddddd</xsl:attribute></xsl:if>-->
2803
+ <td valign="top">
2804
+ <xsl:if test="name()='ResultTextValue' ">V�rdi</xsl:if>
2805
+ <xsl:if test="name()='ResultComments' ">Bem.</xsl:if>
2806
+ </td>
2807
+ <td valign="top">
2808
+ <xsl:apply-templates/>
2809
+ </td>
2810
+ </tr>
2811
+ </xsl:for-each>
2812
+ </tbody>
2813
+ </table>
2814
+ </td>
2815
+ </tr>
2816
+ </xsl:if>
2817
+ </xsl:for-each>
2818
+ </xsl:for-each>
2819
+ </tbody>
2820
+ </table>
2821
+ </td>
2822
+ </tr>
2823
+ </tbody>
2824
+ </table>
2825
+ </td>
2826
+ </tr>
2827
+ <tr>
2828
+ <xsl:call-template name="ShowPatientAndRelatives"/>
2829
+ </tr>
2830
+ <tr>
2831
+ <xsl:call-template name="ShowParticipants"/>
2832
+ </tr>
2833
+ </tbody>
2834
+ </table>
2835
+ </td>
2836
+ </xsl:for-each>
2837
+ </xsl:template>
2838
+ <!-- RADIOLOGYREPORT -->
2839
+ <xsl:template match="m:Emessage[m:RadiologyReport]">
2840
+ <xsl:for-each select="m:RadiologyReport">
2841
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
2842
+ <table width="100%">
2843
+ <tbody>
2844
+ <tr>
2845
+ <xsl:call-template name="ShowMessageHeader">
2846
+ <xsl:with-param name="MessageName" select="'Billeddiagnostisk epikrise'"/>
2847
+ </xsl:call-template>
2848
+ </tr>
2849
+ <tr>
2850
+ <td valign="top" width="100%">
2851
+ <table>
2852
+ <tbody>
2853
+ <tr>
2854
+ <td valign="top">
2855
+ <b>Unders�gelsesstart<!--tidspunkt-->:</b>
2856
+ </td>
2857
+ <td valign="top">
2858
+ <xsl:for-each select="m:ExaminationStart">
2859
+ <xsl:call-template name="FormatDateTime"/>
2860
+ </xsl:for-each>
2861
+ </td>
2862
+ <td valign="top">
2863
+ <b>Unders�gelsesafslutning<!--tidspunkt-->:</b>
2864
+ </td>
2865
+ <td valign="top">
2866
+ <xsl:for-each select="m:ExaminationEnd">
2867
+ <xsl:call-template name="FormatDateTime"/>
2868
+ </xsl:for-each>
2869
+ </td>
2870
+ </tr>
2871
+ </tbody>
2872
+ </table>
2873
+ </td>
2874
+ </tr>
2875
+ <xsl:if test="count(m:Diagnose)>0">
2876
+ <tr>
2877
+ <td valign="top" width="100%">
2878
+ <table>
2879
+ <tbody>
2880
+ <tr>
2881
+ <td valign="top">
2882
+ <b>
2883
+ Diagnoser/unders�gelser
2884
+ </b>
2885
+ </td>
2886
+ </tr>
2887
+ <tr>
2888
+ <td>
2889
+ <table>
2890
+ <tbody>
2891
+ <xsl:for-each select="m:Diagnose/m:Main">
2892
+ <tr>
2893
+ <td valign="top">
2894
+ <b>Hoveddiagnose:</b>
2895
+ </td>
2896
+ <td valign="top">
2897
+ <xsl:value-of select="m:DiagnoseCode"/>
2898
+ </td>
2899
+ <td valign="top">
2900
+ <xsl:value-of select="m:DiagnoseText"/>
2901
+ </td>
2902
+ </tr>
2903
+ </xsl:for-each>
2904
+ <xsl:for-each select="m:Diagnose/m:MainAdditional">
2905
+ <tr>
2906
+ <td valign="top">
2907
+ <b>Bidiagnose:</b>
2908
+ </td>
2909
+ <td valign="top">
2910
+ <xsl:value-of select="m:DiagnoseCode"/>
2911
+ </td>
2912
+ <td valign="top">
2913
+ <xsl:value-of select="m:DiagnoseText"/>
2914
+ </td>
2915
+ </tr>
2916
+ </xsl:for-each>
2917
+ <xsl:for-each select="m:Diagnose/m:Other">
2918
+ <tr>
2919
+ <td valign="top">
2920
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>:
2921
+ </td>
2922
+ <td valign="top">
2923
+ <xsl:value-of select="m:DiagnoseCode"/>
2924
+ </td>
2925
+ <td valign="top">
2926
+ <xsl:value-of select="m:DiagnoseText"/>
2927
+ </td>
2928
+ <td valign="top">
2929
+ <xsl:for-each select="m:DiagnoseDateTime">
2930
+ <xsl:call-template name="FormatDateTime"/>
2931
+ </xsl:for-each>
2932
+ </td>
2933
+ </tr>
2934
+ </xsl:for-each>
2935
+ </tbody>
2936
+ </table>
2937
+ </td>
2938
+ </tr>
2939
+ </tbody>
2940
+ </table>
2941
+ </td>
2942
+ </tr>
2943
+ </xsl:if>
2944
+ <tr>
2945
+ <td valign="top" width="100%">
2946
+ <table>
2947
+ <tbody>
2948
+ <tr>
2949
+ <td valign="top">
2950
+ <b>
2951
+ Epikrise
2952
+ </b>
2953
+ </td>
2954
+ </tr>
2955
+ <tr>
2956
+ <td valign="top">
2957
+ <table>
2958
+ <tbody>
2959
+ <xsl:for-each select="m:ClinicalInformation">
2960
+ <tr>
2961
+ <td valign="top">
2962
+ <xsl:for-each select="m:Signed">
2963
+ <xsl:call-template name="FormatDateTime"/>
2964
+ </xsl:for-each>
2965
+ </td>
2966
+ <td valign="top">
2967
+ <xsl:for-each select="m:Text01">
2968
+ <xsl:apply-templates/>
2969
+ </xsl:for-each>
2970
+ </td>
2971
+ </tr>
2972
+ </xsl:for-each>
2973
+ </tbody>
2974
+ </table>
2975
+ </td>
2976
+ </tr>
2977
+ </tbody>
2978
+ </table>
2979
+ </td>
2980
+ </tr>
2981
+ <tr>
2982
+ <xsl:call-template name="showReferences">
2983
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
2984
+ </xsl:call-template>
2985
+ </tr>
2986
+ <tr>
2987
+ <xsl:call-template name="ShowPatientAndRelatives"/>
2988
+ </tr>
2989
+ <tr>
2990
+ <xsl:call-template name="ShowParticipants"/>
2991
+ </tr>
2992
+ </tbody>
2993
+ </table>
2994
+ </td>
2995
+ </xsl:for-each>
2996
+ </xsl:template>
2997
+ <!-- MICROBIOLOGYREPORT -->
2998
+ <xsl:template match="m:Emessage[m:MicrobiologyReport]">
2999
+ <xsl:for-each select="m:MicrobiologyReport">
3000
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
3001
+ <table width="100%">
3002
+ <tbody>
3003
+ <tr>
3004
+ <xsl:call-template name="ShowMessageHeader">
3005
+ <xsl:with-param name="MessageName" select="'Mikrobiologisvar'"/>
3006
+ </xsl:call-template>
3007
+ </tr>
3008
+ <tr>
3009
+ <td>
3010
+ <xsl:variable name="patientcpr" select="m:Patient/m:CivilRegistrationNumber"/>
3011
+ <xsl:variable name="url">
3012
+ https://www.sundhed.dk/wps/myportal/_s.155/4518?parameter_navn=cprnr_field&amp;cprnrfield=<xsl:value-of select="$patientcpr"/>
3013
+ </xsl:variable>
3014
+ <a><xsl:attribute name="href"><xsl:value-of select="$url"/></xsl:attribute>Beskrivelse p� Sundhed.dk</a>
3015
+ </td>
3016
+ </tr>
3017
+ <tr>
3018
+ <td valign="top" width="100%">
3019
+ <table>
3020
+ <tbody>
3021
+ <tr>
3022
+ <td valign="top">
3023
+ <b>Pr�ve taget<!--stidspunkt-->:</b>
3024
+ </td>
3025
+ <td valign="top">
3026
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SamplingDateTime">
3027
+ <xsl:call-template name="FormatDateTime"/>
3028
+ </xsl:for-each>
3029
+ </td>
3030
+ <td valign="top">
3031
+ <b>Pr�ve modtaget<!--stidspunkt-->:</b>
3032
+ </td>
3033
+ <td valign="top">
3034
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SampleReceivedDateTime">
3035
+ <!--ikke som i microbiologi (der er det under sample)-->
3036
+ <xsl:call-template name="FormatDateTime"/>
3037
+ </xsl:for-each>
3038
+ </td>
3039
+ <td valign="top">
3040
+ <xsl:variable name="RS" select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultStatus"/>
3041
+ <xsl:choose>
3042
+ <xsl:when test="$RS='modtaget'">
3043
+ <b>Modtagelse bekr�ftet:</b>
3044
+ </xsl:when>
3045
+ <xsl:when test="$RS='delvis'">
3046
+ <b>Delvist svar:</b>
3047
+ </xsl:when>
3048
+ <xsl:when test="$RS='komplet'">
3049
+ <b>Komplet svar:</b>
3050
+ </xsl:when>
3051
+ <xsl:otherwise>
3052
+ <b>Svaret:</b>
3053
+ </xsl:otherwise>
3054
+ </xsl:choose>
3055
+ </td>
3056
+ <td valign="top">
3057
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
3058
+ <xsl:call-template name="FormatDateTime"/>
3059
+ </xsl:for-each>
3060
+ </td>
3061
+ </tr>
3062
+ </tbody>
3063
+ </table>
3064
+ </td>
3065
+ </tr>
3066
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
3067
+ <tr>
3068
+ <td valign="top" width="100%">
3069
+ <table>
3070
+ <tbody>
3071
+ <tr>
3072
+ <td valign="top">
3073
+ <b>
3074
+ Kommentarer til rekvisitionen
3075
+ </b>
3076
+ </td>
3077
+ </tr>
3078
+ <tr>
3079
+ <td valign="top">
3080
+ <table>
3081
+ <tbody>
3082
+ <xsl:for-each select=".">
3083
+ <tr>
3084
+ <td valign="top">
3085
+ <xsl:apply-templates/>
3086
+ </td>
3087
+ </tr>
3088
+ </xsl:for-each>
3089
+ </tbody>
3090
+ </table>
3091
+ </td>
3092
+ </tr>
3093
+ </tbody>
3094
+ </table>
3095
+ </td>
3096
+ </tr>
3097
+ </xsl:for-each>
3098
+ <tr>
3099
+ <td valign="top" width="100%">
3100
+ <table>
3101
+ <tbody>
3102
+ <tr>
3103
+ <td valign="top">
3104
+ <b>Resultater</b>
3105
+ </td>
3106
+ </tr>
3107
+ <tr>
3108
+ <td valign="top">
3109
+ <table>
3110
+ <tbody>
3111
+ <tr>
3112
+ <td valign="top">
3113
+ <b>Analysetype</b>
3114
+ </td>
3115
+ <td valign="top">
3116
+ <b>Analyse</b>
3117
+ </td>
3118
+ <td valign="top">
3119
+ <b>Unders�gelse</b>
3120
+ </td>
3121
+ <td valign="top">
3122
+ <b>Materiale</b>
3123
+ </td>
3124
+ <td valign="top">
3125
+ <b>Lokation</b>
3126
+ </td>
3127
+ <td valign="top">
3128
+ <b>V�rdi</b>
3129
+ </td>
3130
+ <td valign="top">
3131
+ <b>Bem.</b>
3132
+ </td>
3133
+ <td valign="top">
3134
+ <b>Enhed</b>
3135
+ </td>
3136
+ <td valign="top">
3137
+ <b>Reference</b>
3138
+ </td>
3139
+ <td valign="top">
3140
+ <b>Status</b>
3141
+ </td>
3142
+ </tr>
3143
+ <xsl:for-each select="m:LaboratoryResults/m:Result">
3144
+ <xsl:variable name="RNr" select="position()"/>
3145
+ <xsl:variable name="CNr" select="count(../m:Result[position()&lt;=$RNr and count(m:ResultTextValue|m:ResultComments)>0])"/>
3146
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
3147
+ <tr>
3148
+ <xsl:if test="not($isevenrow)">
3149
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
3150
+ </xsl:if>
3151
+ <xsl:if test="$isevenrow">
3152
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
3153
+ </xsl:if>
3154
+ <td valign="top">
3155
+ <xsl:value-of select="m:Analysis/m:ExaminationTypeCode"/>
3156
+ </td>
3157
+ <td valign="top">
3158
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisShortName,' (',m:Analysis/m:MICAnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
3159
+ </td>
3160
+ <td valign="top">
3161
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Examination"/>
3162
+ </td>
3163
+ <td valign="top">
3164
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Material"/>
3165
+ </td>
3166
+ <td valign="top">
3167
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Location"/>
3168
+ </td>
3169
+ <td valign="top">
3170
+ <xsl:variable name="RV" select="m:ResultValidation"/>
3171
+ <xsl:if test="m:ProducerOfLabResult">
3172
+ <xsl:attribute name="title"><xsl:text>Producent: </xsl:text><xsl:value-of select="m:ProducerOfLabResult"/></xsl:attribute>
3173
+ </xsl:if>
3174
+ <xsl:choose>
3175
+ <xsl:when test="$RV='unormal' ">
3176
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
3177
+ </xsl:when>
3178
+ <xsl:when test="$RV='for_hoej' ">
3179
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
3180
+ </xsl:when>
3181
+ <xsl:when test="$RV='for_lav' ">
3182
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
3183
+ </xsl:when>
3184
+ </xsl:choose>
3185
+ <xsl:variable name="O" select="m:Operator"/>
3186
+ <xsl:choose>
3187
+ <xsl:when test="$O='mindre_end'">&lt;</xsl:when>
3188
+ <xsl:when test="$O='stoerre_end'">&gt;</xsl:when>
3189
+ </xsl:choose>
3190
+ <xsl:value-of select="m:Value"/>
3191
+
3192
+ </td>
3193
+ <td valign="top">
3194
+ <font size="1">
3195
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
3196
+ <xsl:value-of select="$CNr"/>
3197
+ </xsl:if>
3198
+ </font>
3199
+ </td>
3200
+ <td valign="top">
3201
+ <xsl:value-of select="m:Unit"/>
3202
+ </td>
3203
+ <td valign="top">
3204
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)>0">
3205
+ <xsl:value-of select="concat(m:ReferenceInterval/m:LowerLimit,'-',m:ReferenceInterval/m:UpperLimit)"/>
3206
+ </xsl:if>
3207
+ <xsl:value-of select="m:ReferenceInterval/m:IntervalText"/>
3208
+ </td>
3209
+ <td>
3210
+ <xsl:value-of select="m:ResultStatusCode"/>
3211
+ </td>
3212
+ </tr>
3213
+ </xsl:for-each>
3214
+ </tbody>
3215
+ </table>
3216
+ </td>
3217
+ </tr>
3218
+ </tbody>
3219
+ </table>
3220
+ </td>
3221
+ </tr>
3222
+ <xsl:if test="count(m:LaboratoryResults/m:Result/m:ResultComments)>0">
3223
+ <tr>
3224
+ <td valign="top" width="100%">
3225
+ <table>
3226
+ <tbody>
3227
+ <tr>
3228
+ <td valign="top">
3229
+ <b>Bem�rkninger</b>
3230
+ </td>
3231
+ </tr>
3232
+ <tr>
3233
+ <td valign="top">
3234
+ <table>
3235
+ <tbody>
3236
+ <xsl:for-each select="m:LaboratoryResults/m:Result[count(m:ResultTextValue|m:ResultComments)>0]">
3237
+ <xsl:variable name="RNr" select="position()"/>
3238
+ <tr>
3239
+ <td valign="top">
3240
+ <font size="1">
3241
+ <xsl:value-of select="$RNr"/>
3242
+ </font>
3243
+ </td>
3244
+ <td valign="top">
3245
+ <table>
3246
+ <tbody>
3247
+ <xsl:for-each select="m:ResultTextValue|m:ResultComments">
3248
+ <tr>
3249
+ <!--<xsl:if test="not($isevenrow)"><xsl:attribute name="bgcolor">dddddd</xsl:attribute></xsl:if>-->
3250
+ <td valign="top">
3251
+ <xsl:if test="name()='ResultTextValue' ">V�rdi</xsl:if>
3252
+ <xsl:if test="name()='ResultComments' ">Bem.</xsl:if>
3253
+ </td>
3254
+ <td valign="top">
3255
+ <xsl:apply-templates/>
3256
+ </td>
3257
+ </tr>
3258
+ </xsl:for-each>
3259
+ </tbody>
3260
+ </table>
3261
+ </td>
3262
+ </tr>
3263
+ </xsl:for-each>
3264
+ </tbody>
3265
+ </table>
3266
+ </td>
3267
+ </tr>
3268
+ </tbody>
3269
+ </table>
3270
+ </td>
3271
+ </tr>
3272
+ </xsl:if>
3273
+ <tr>
3274
+ <td valign="top" width="100%">
3275
+ <table>
3276
+ <tbody>
3277
+ <tr>
3278
+ <td valign="top">
3279
+ <b>
3280
+ <xsl:value-of select="m:LaboratoryResults/m:MicroscopicFindings/m:Headline"/>
3281
+ </b>
3282
+ </td>
3283
+ </tr>
3284
+ <tr>
3285
+ <td valign="top">
3286
+ <xsl:apply-templates select="m:LaboratoryResults/m:MicroscopicFindings/m:Comments/text()|m:LaboratoryResults/m:MicroscopicFindings/m:Comments/*"/>
3287
+ </td>
3288
+ </tr>
3289
+ </tbody>
3290
+ </table>
3291
+ </td>
3292
+ </tr>
3293
+ <tr>
3294
+ <td valign="top" width="100%">
3295
+ <table>
3296
+ <tbody>
3297
+ <tr>
3298
+ <td valign="top">
3299
+ <b>
3300
+ <xsl:value-of select="m:LaboratoryResults/m:CultureWithoutFindings/m:Headline"/>
3301
+ </b>
3302
+ </td>
3303
+ </tr>
3304
+ <tr>
3305
+ <td valign="top">
3306
+ <xsl:apply-templates select="m:LaboratoryResults/m:CultureWithoutFindings/m:Comments/text()|m:LaboratoryResults/m:CultureWithoutFindings/m:Comments/*"/>
3307
+ </td>
3308
+ </tr>
3309
+ </tbody>
3310
+ </table>
3311
+ </td>
3312
+ </tr>
3313
+ <tr>
3314
+ <td valign="top" width="100%">
3315
+ <table>
3316
+ <tbody>
3317
+ <tr>
3318
+ <td valign="top">
3319
+ <b>
3320
+ <xsl:value-of select="m:LaboratoryResults/m:CultureWithFindings/m:Headline"/>
3321
+ </b>
3322
+ </td>
3323
+ </tr>
3324
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Microorganism">
3325
+ <tr>
3326
+ <td valign="top">
3327
+ <table>
3328
+ <tbody>
3329
+ <tr>
3330
+ <td valign="top">(<xsl:value-of select="position()"/>)</td>
3331
+ <td valign="top">
3332
+ <xsl:value-of select="m:GrowthValue"/>
3333
+ </td>
3334
+ <td valign="top">
3335
+ <xsl:value-of select="m:Name"/>
3336
+ </td>
3337
+ <td valign="top">
3338
+ <xsl:value-of select="m:MultiResistance"/>
3339
+ </td>
3340
+ </tr>
3341
+ </tbody>
3342
+ </table>
3343
+ </td>
3344
+ </tr>
3345
+ </xsl:for-each>
3346
+ <tr>
3347
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Pattern/m:PatternEntry[1]">
3348
+ <tr>
3349
+ <td valign="top">
3350
+ <xsl:call-template name="ShowTable2">
3351
+ <xsl:with-param name="ColNames" select="../../m:Microorganism/m:Name"/>
3352
+ <xsl:with-param name="RowNames" select="../m:Antibiotic"/>
3353
+ <xsl:with-param name="ColIdxs" select="../m:PatternEntry/m:RefMicroorganism"/>
3354
+ <xsl:with-param name="RowIdxs" select="../m:PatternEntry/m:RefAntibiotic"/>
3355
+ <xsl:with-param name="Values" select="../m:PatternEntry/m:Sensitivity"/>
3356
+ </xsl:call-template>
3357
+ </td>
3358
+ </tr>
3359
+ </xsl:for-each>
3360
+ </tr>
3361
+ <tr>
3362
+ <td valign="top">
3363
+ <table>
3364
+ <tbody>
3365
+ <tr>
3366
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Pattern/m:SensitivityInterpretation/text()">
3367
+ <td valign="top">
3368
+ <xsl:value-of select="."/>
3369
+ </td>
3370
+ </xsl:for-each>
3371
+ </tr>
3372
+ </tbody>
3373
+ </table>
3374
+ </td>
3375
+ </tr>
3376
+ <tr>
3377
+ <td valign="top">
3378
+ <xsl:apply-templates select="m:LaboratoryResults/m:CultureWithFindings/m:Comments/text()|m:LaboratoryResults/m:CultureWithFindings/m:Comments/*"/>
3379
+ </td>
3380
+ </tr>
3381
+ </tbody>
3382
+ </table>
3383
+ </td>
3384
+ </tr>
3385
+ <xsl:if test="count(m:RequisitionInformation/m:ClinicalInformation)>0">
3386
+ <tr>
3387
+ <td valign="top" width="100%">
3388
+ <table>
3389
+ <tbody>
3390
+ <tr>
3391
+ <td valign="top">
3392
+ <b>
3393
+ Klinisk information
3394
+ </b>
3395
+ </td>
3396
+ </tr>
3397
+ <tr>
3398
+ <td valign="top">
3399
+ <table>
3400
+ <tbody>
3401
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
3402
+ <tr>
3403
+ <td valign="top">
3404
+ <xsl:apply-templates/>
3405
+ </td>
3406
+ </tr>
3407
+ </xsl:for-each>
3408
+ </tbody>
3409
+ </table>
3410
+ </td>
3411
+ </tr>
3412
+ </tbody>
3413
+ </table>
3414
+ </td>
3415
+ </tr>
3416
+ </xsl:if>
3417
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation[m:Comments]">
3418
+ <tr>
3419
+ <td valign="top" width="100%">
3420
+ <table>
3421
+ <tbody>
3422
+ <tr>
3423
+ <td valign="top">
3424
+ <b>
3425
+ <xsl:value-of select="m:Headline"/>
3426
+ </b>
3427
+ </td>
3428
+ </tr>
3429
+ <tr>
3430
+ <td valign="top">
3431
+ <table>
3432
+ <tbody>
3433
+ <xsl:for-each select="m:Comments">
3434
+ <tr>
3435
+ <td valign="top">
3436
+ <xsl:apply-templates/>
3437
+ </td>
3438
+ </tr>
3439
+ </xsl:for-each>
3440
+ </tbody>
3441
+ </table>
3442
+ </td>
3443
+ </tr>
3444
+ </tbody>
3445
+ </table>
3446
+ </td>
3447
+ </tr>
3448
+ </xsl:for-each>
3449
+ <tr>
3450
+ <xsl:call-template name="ShowPatientAndRelatives"/>
3451
+ </tr>
3452
+ <tr>
3453
+ <xsl:call-template name="ShowParticipants"/>
3454
+ </tr>
3455
+ </tbody>
3456
+ </table>
3457
+ </td>
3458
+ </xsl:for-each>
3459
+ </xsl:template>
3460
+ <!--
3461
+ CERVIXCYTOLOGYREPORT
3462
+ -->
3463
+ <xsl:template match="m:Emessage[m:CervixcytologyReport]">
3464
+ <xsl:for-each select="m:CervixcytologyReport">
3465
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
3466
+ <table width="100%">
3467
+ <tbody>
3468
+ <tr>
3469
+ <xsl:call-template name="ShowMessageHeader">
3470
+ <xsl:with-param name="MessageName" select="'Cervixcytologisvar'"/>
3471
+ </xsl:call-template>
3472
+ </tr>
3473
+ <tr>
3474
+ <td valign="top">
3475
+ <table>
3476
+ <tbody>
3477
+ <tr>
3478
+ <td valign="top">
3479
+ <b>Pr�ve taget<!--stidspunkt-->:</b>
3480
+ </td>
3481
+ <td valign="top">
3482
+ <xsl:for-each select="m:RequisitionInformation/m:SamplingDateTime">
3483
+ <!--ikke som i microbiologi (der er det under sample)-->
3484
+ <xsl:call-template name="FormatDateTime"/>
3485
+ </xsl:for-each>
3486
+ </td>
3487
+ <td valign="top">
3488
+ <b>Pr�ve modtaget<!--stidspunkt-->:</b>
3489
+ </td>
3490
+ <td valign="top">
3491
+ <xsl:for-each select="m:RequisitionInformation/m:SampleReceivedDateTime">
3492
+ <!--ikke som i microbiologi (der er det under sample)-->
3493
+ <xsl:call-template name="FormatDateTime"/>
3494
+ </xsl:for-each>
3495
+ </td>
3496
+ <td valign="top">
3497
+ <xsl:variable name="RSC" select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultStatusCode"/>
3498
+ <xsl:choose>
3499
+ <xsl:when test="$RSC='proeve_modtaget'">
3500
+ <b>Modtagelse bekr�ftet:</b>
3501
+ </xsl:when>
3502
+ <xsl:when test="$RSC='svar_midlertidigt'">
3503
+ <b>Midlertidigt svar</b>
3504
+ </xsl:when>
3505
+ <xsl:when test="$RSC='svar_endeligt'">
3506
+ <b>Endeligt svar:</b>
3507
+ </xsl:when>
3508
+ <xsl:when test="$RSC='svar_rettet'">
3509
+ <b>Rettet svar</b>
3510
+ </xsl:when>
3511
+ <xsl:otherwise>
3512
+ <b>Svaret</b>
3513
+ </xsl:otherwise>
3514
+ </xsl:choose>
3515
+ </td>
3516
+ <td valign="top">
3517
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
3518
+ <xsl:call-template name="FormatDateTime"/>
3519
+ </xsl:for-each>
3520
+ </td>
3521
+ </tr>
3522
+ </tbody>
3523
+ </table>
3524
+ </td>
3525
+ </tr>
3526
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
3527
+ <tr>
3528
+ <td valign="top" width="100%">
3529
+ <table width="100%">
3530
+ <tbody>
3531
+ <tr>
3532
+ <td valign="top">
3533
+ <b>
3534
+ Kommentarer til rekvisitionen
3535
+ </b>
3536
+ </td>
3537
+ </tr>
3538
+ <tr>
3539
+ <td valign="top">
3540
+ <table>
3541
+ <tbody>
3542
+ <xsl:for-each select=".">
3543
+ <tr>
3544
+ <td valign="top">
3545
+ <xsl:apply-templates/>
3546
+ </td>
3547
+ </tr>
3548
+ </xsl:for-each>
3549
+ </tbody>
3550
+ </table>
3551
+ </td>
3552
+ </tr>
3553
+ </tbody>
3554
+ </table>
3555
+ </td>
3556
+ </tr>
3557
+ </xsl:for-each>
3558
+ <xsl:for-each select="m:LaboratoryResults/m:CodedFormat">
3559
+ <tr>
3560
+ <td valign="top" width="100%">
3561
+ <table width="100%">
3562
+ <tbody>
3563
+ <tr>
3564
+ <td valign="top">
3565
+ <b>
3566
+ <xsl:value-of select="m:DiagnosisHeadline"/>
3567
+ </b>
3568
+ </td>
3569
+ </tr>
3570
+ <xsl:for-each select="m:Sample">
3571
+ <tr>
3572
+ <td valign="top">
3573
+ <table>
3574
+ <tbody>
3575
+ <tr>
3576
+ <td valign="top">
3577
+ <b>Materiale:</b>
3578
+ <td valign="top"/>
3579
+ <xsl:value-of select="m:MaterialDescription"/>
3580
+ </td>
3581
+ <td>
3582
+ <b>Rekvirentens ID:</b>
3583
+ </td>
3584
+ <td>
3585
+ <xsl:value-of select="m:RequesterSampleIdentifier"/>
3586
+ </td>
3587
+ <td>
3588
+ <b>Laboratoriets ID:</b>
3589
+ </td>
3590
+ <td>
3591
+ <xsl:value-of select="m:LaboratoryInternalSampleIdentifier"/>
3592
+ </td>
3593
+ </tr>
3594
+ </tbody>
3595
+ </table>
3596
+ </td>
3597
+ </tr>
3598
+ <xsl:for-each select="m:CodedResults">
3599
+ <tr>
3600
+ <td valign="top">
3601
+ <table>
3602
+ <tbody>
3603
+ <xsl:for-each select="m:Topography">
3604
+ <tr>
3605
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
3606
+ <td valign="top">
3607
+ <b>Topografi:</b>
3608
+ </td>
3609
+ <td>
3610
+ <xsl:value-of select="m:Code"/>
3611
+ </td>
3612
+ <td>
3613
+ <xsl:value-of select="m:Text"/>
3614
+ </td>
3615
+ <td>
3616
+ <xsl:value-of select="m:Comment"/>
3617
+ </td>
3618
+ </tr>
3619
+ </xsl:for-each>
3620
+ <xsl:for-each select="m:Result">
3621
+ <xsl:variable name="isevenrow" select="not(position() mod 2=0)"/>
3622
+ <tr>
3623
+ <xsl:if test="not($isevenrow)">
3624
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
3625
+ </xsl:if>
3626
+ <xsl:if test="$isevenrow">
3627
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
3628
+ </xsl:if>
3629
+ <td valign="top">
3630
+ <b>Resultat:</b>
3631
+ </td>
3632
+ <td>
3633
+ <xsl:value-of select="m:Code"/>
3634
+ </td>
3635
+ <td>
3636
+ <xsl:value-of select="m:Text"/>
3637
+ </td>
3638
+ <td>
3639
+ <xsl:value-of select="m:Comment"/>
3640
+ </td>
3641
+ </tr>
3642
+ </xsl:for-each>
3643
+ </tbody>
3644
+ </table>
3645
+ </td>
3646
+ </tr>
3647
+ </xsl:for-each>
3648
+ </xsl:for-each>
3649
+ </tbody>
3650
+ </table>
3651
+ </td>
3652
+ </tr>
3653
+ </xsl:for-each>
3654
+ <!--<xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Macroscopic">
3655
+ <tr>
3656
+ <td valign="top">
3657
+ <table>
3658
+ <tbody>
3659
+ <tr>
3660
+ <td valign="top">
3661
+ <b>
3662
+ <xsl:value-of select="m:Headline"/>
3663
+ </b>
3664
+ </td>
3665
+ </tr>
3666
+ <tr>
3667
+ <td valign="top">
3668
+ <table>
3669
+ <tbody>
3670
+ <tr>
3671
+ <td valign="top">
3672
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
3673
+ </td>
3674
+ </tr>
3675
+ </tbody>
3676
+ </table>
3677
+ </td>
3678
+ </tr>
3679
+ </tbody>
3680
+ </table>
3681
+ </td>
3682
+ </tr>
3683
+ </xsl:for-each>-->
3684
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Microscopic">
3685
+ <tr>
3686
+ <td valign="top" width="100%">
3687
+ <table width="100%">
3688
+ <tbody>
3689
+ <tr>
3690
+ <td valign="top">
3691
+ <b>
3692
+ <xsl:value-of select="m:Headline"/>
3693
+ </b>
3694
+ </td>
3695
+ </tr>
3696
+ <tr>
3697
+ <td valign="top">
3698
+ <table>
3699
+ <tbody>
3700
+ <tr>
3701
+ <td valign="top">
3702
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
3703
+ </td>
3704
+ </tr>
3705
+ </tbody>
3706
+ </table>
3707
+ </td>
3708
+ </tr>
3709
+ </tbody>
3710
+ </table>
3711
+ </td>
3712
+ </tr>
3713
+ </xsl:for-each>
3714
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Conclusion">
3715
+ <tr>
3716
+ <td valign="top" width="100%">
3717
+ <table width="100%">
3718
+ <tbody>
3719
+ <tr>
3720
+ <td valign="top">
3721
+ <b>
3722
+ <xsl:value-of select="m:Headline"/>
3723
+ </b>
3724
+ </td>
3725
+ </tr>
3726
+ <tr>
3727
+ <td valign="top">
3728
+ <table>
3729
+ <tbody>
3730
+ <tr>
3731
+ <td valign="top">
3732
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
3733
+ </td>
3734
+ </tr>
3735
+ </tbody>
3736
+ </table>
3737
+ </td>
3738
+ </tr>
3739
+ </tbody>
3740
+ </table>
3741
+ </td>
3742
+ </tr>
3743
+ </xsl:for-each>
3744
+ <!--HISTO
3745
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Hematology">
3746
+ <tr>
3747
+ <td valign="top">
3748
+ <table>
3749
+ <tbody>
3750
+ <tr>
3751
+ <td valign="top">
3752
+ <b>
3753
+ <xsl:value-of select="m:Headline"/>
3754
+ </b>
3755
+ </td>
3756
+ </tr>
3757
+ <tr>
3758
+ <td valign="top">
3759
+ <xsl:value-of select="m:CellTypes"/>
3760
+ </td>
3761
+ </tr>
3762
+ <xsl:for-each select="m:CellTypesPercentage"/>
3763
+ <tr>
3764
+ <td valign="top">
3765
+ <xsl:value-of select="."/>
3766
+ </td>
3767
+ </tr>
3768
+ </tbody>
3769
+ </table>
3770
+ </td>
3771
+ </tr>
3772
+ </xsl:for-each>
3773
+ -->
3774
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Comments">
3775
+ <tr>
3776
+ <td valign="top" width="100%">
3777
+ <table width="100%">
3778
+ <tbody>
3779
+ <tr>
3780
+ <td valign="top">
3781
+ <b>
3782
+ <xsl:value-of select="m:Headline"/>
3783
+ </b>
3784
+ </td>
3785
+ </tr>
3786
+ <tr>
3787
+ <td valign="top">
3788
+ <table>
3789
+ <tbody>
3790
+ <tr>
3791
+ <td valign="top">
3792
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
3793
+ </td>
3794
+ </tr>
3795
+ </tbody>
3796
+ </table>
3797
+ </td>
3798
+ </tr>
3799
+ </tbody>
3800
+ </table>
3801
+ </td>
3802
+ </tr>
3803
+ </xsl:for-each>
3804
+ <xsl:if test="count(m:RequisitionInformation/m:ClinicalInformation)>0">
3805
+ <tr>
3806
+ <td valign="top" width="100%">
3807
+ <table width="100%">
3808
+ <tbody>
3809
+ <tr>
3810
+ <td valign="top">
3811
+ <b>
3812
+ Klinisk information
3813
+ </b>
3814
+ </td>
3815
+ </tr>
3816
+ <tr>
3817
+ <td valign="top">
3818
+ <table>
3819
+ <tbody>
3820
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
3821
+ <tr>
3822
+ <td valign="top">
3823
+ <xsl:apply-templates/>
3824
+ </td>
3825
+ </tr>
3826
+ </xsl:for-each>
3827
+ </tbody>
3828
+ </table>
3829
+ </td>
3830
+ </tr>
3831
+ </tbody>
3832
+ </table>
3833
+ </td>
3834
+ </tr>
3835
+ </xsl:if>
3836
+ <tr>
3837
+ <xsl:call-template name="ShowPatientAndRelatives"/>
3838
+ </tr>
3839
+ <tr>
3840
+ <xsl:call-template name="ShowParticipants"/>
3841
+ </tr>
3842
+ </tbody>
3843
+ </table>
3844
+ </td>
3845
+ </xsl:for-each>
3846
+ </xsl:template>
3847
+ <!--
3848
+ HISTOPATHOLOGYREPORT
3849
+ -->
3850
+ <xsl:template match="m:Emessage[m:HistopathologyReport]">
3851
+ <xsl:for-each select="m:HistopathologyReport">
3852
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
3853
+ <table width="100%">
3854
+ <tbody>
3855
+ <tr>
3856
+ <xsl:call-template name="ShowMessageHeader">
3857
+ <xsl:with-param name="MessageName" select="'Patologisvar'"/>
3858
+ </xsl:call-template>
3859
+ </tr>
3860
+ <tr>
3861
+ <td valign="top" width="100%">
3862
+ <table>
3863
+ <tbody>
3864
+ <tr>
3865
+ <td valign="top">
3866
+ <b>Pr�ve taget<!--stidspunkt-->:</b>
3867
+ </td>
3868
+ <td valign="top">
3869
+ <xsl:for-each select="m:RequisitionInformation/m:SamplingDateTime">
3870
+ <!--ikke som i microbiologi (der er det under sample)-->
3871
+ <xsl:call-template name="FormatDateTime"/>
3872
+ </xsl:for-each>
3873
+ </td>
3874
+ <td valign="top">
3875
+ <b>Pr�ve modtaget<!--stidspunkt-->:</b>
3876
+ </td>
3877
+ <td valign="top">
3878
+ <xsl:for-each select="m:RequisitionInformation/m:SampleReceivedDateTime">
3879
+ <!--ikke som i microbiologi (der er det under sample)-->
3880
+ <xsl:call-template name="FormatDateTime"/>
3881
+ </xsl:for-each>
3882
+ </td>
3883
+ <td valign="top">
3884
+ <xsl:variable name="RSC" select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultStatusCode"/>
3885
+ <xsl:choose>
3886
+ <xsl:when test="$RSC='proeve_modtaget'">
3887
+ <b>Modtagelse bekr�ftet:</b>
3888
+ </xsl:when>
3889
+ <xsl:when test="$RSC='svar_midlertidigt'">
3890
+ <b>Midlertidigt svar</b>
3891
+ </xsl:when>
3892
+ <xsl:when test="$RSC='svar_endeligt'">
3893
+ <b>Endeligt svar:</b>
3894
+ </xsl:when>
3895
+ <xsl:when test="$RSC='svar_rettet'">
3896
+ <b>Rettet svar</b>
3897
+ </xsl:when>
3898
+ <xsl:otherwise>
3899
+ <b>Svaret:</b>
3900
+ </xsl:otherwise>
3901
+ </xsl:choose>
3902
+ </td>
3903
+ <td valign="top">
3904
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
3905
+ <xsl:call-template name="FormatDateTime"/>
3906
+ </xsl:for-each>
3907
+ </td>
3908
+ </tr>
3909
+ </tbody>
3910
+ </table>
3911
+ </td>
3912
+ </tr>
3913
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
3914
+ <tr>
3915
+ <td valign="top" width="100%">
3916
+ <table>
3917
+ <tbody>
3918
+ <tr>
3919
+ <td valign="top">
3920
+ <b>
3921
+ Kommentarer til rekvisitionen
3922
+ </b>
3923
+ </td>
3924
+ </tr>
3925
+ <tr>
3926
+ <td valign="top">
3927
+ <table>
3928
+ <tbody>
3929
+ <xsl:for-each select=".">
3930
+ <tr>
3931
+ <td valign="top">
3932
+ <xsl:apply-templates/>
3933
+ </td>
3934
+ </tr>
3935
+ </xsl:for-each>
3936
+ </tbody>
3937
+ </table>
3938
+ </td>
3939
+ </tr>
3940
+ </tbody>
3941
+ </table>
3942
+ </td>
3943
+ </tr>
3944
+ </xsl:for-each>
3945
+ <xsl:for-each select="m:LaboratoryResults/m:CodedFormat">
3946
+ <tr>
3947
+ <td valign="top" width="100%">
3948
+ <table>
3949
+ <tbody>
3950
+ <tr>
3951
+ <td valign="top">
3952
+ <b>
3953
+ <xsl:value-of select="m:DiagnosisHeadline"/>
3954
+ </b>
3955
+ </td>
3956
+ </tr>
3957
+ <tr>
3958
+ <td valign="top">
3959
+ <table>
3960
+ <tbody>
3961
+ <xsl:for-each select="m:Sample">
3962
+ <tr>
3963
+ <td valign="top">
3964
+ <table>
3965
+ <tbody>
3966
+ <tr>
3967
+ <td valign="top">
3968
+ <b>Materiale: </b>
3969
+ </td>
3970
+ <td valign="top">
3971
+ <xsl:value-of select="m:MaterialDescription"/>
3972
+ </td>
3973
+ <td>
3974
+ <b>Rekvirentens ID:</b>
3975
+ </td>
3976
+ <td>
3977
+ <xsl:value-of select="m:RequesterSampleIdentifier"/>
3978
+ </td>
3979
+ <td>
3980
+ <b>Laboratoriets ID:</b>
3981
+ </td>
3982
+ <td>
3983
+ <xsl:value-of select="m:LaboratoryInternalSampleIdentifier"/>
3984
+ </td>
3985
+ </tr>
3986
+ </tbody>
3987
+ </table>
3988
+ </td>
3989
+ </tr>
3990
+ <xsl:for-each select="m:CodedResults">
3991
+ <tr>
3992
+ <td valign="top">
3993
+ <table>
3994
+ <tbody>
3995
+ <xsl:for-each select="m:Topography">
3996
+ <tr>
3997
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
3998
+ <td valign="top">
3999
+ <b>Topografi:</b>
4000
+ </td>
4001
+ <td>
4002
+ <xsl:value-of select="m:Code"/>
4003
+ </td>
4004
+ <td>
4005
+ <xsl:value-of select="m:Text"/>
4006
+ </td>
4007
+ <td>
4008
+ <xsl:value-of select="m:Comment"/>
4009
+ </td>
4010
+ </tr>
4011
+ </xsl:for-each>
4012
+ <xsl:for-each select="m:Result">
4013
+ <xsl:variable name="isevenrow" select="not(position() mod 2=0)"/>
4014
+ <tr>
4015
+ <xsl:if test="not($isevenrow)">
4016
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
4017
+ </xsl:if>
4018
+ <xsl:if test="$isevenrow">
4019
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
4020
+ </xsl:if>
4021
+ <td valign="top">
4022
+ <b>Resultat:</b>
4023
+ </td>
4024
+ <td>
4025
+ <xsl:value-of select="m:Code"/>
4026
+ </td>
4027
+ <td>
4028
+ <xsl:value-of select="m:Text"/>
4029
+ </td>
4030
+ <td>
4031
+ <xsl:value-of select="m:Comment"/>
4032
+ </td>
4033
+ </tr>
4034
+ </xsl:for-each>
4035
+ </tbody>
4036
+ </table>
4037
+ </td>
4038
+ </tr>
4039
+ </xsl:for-each>
4040
+ </xsl:for-each>
4041
+ </tbody>
4042
+ </table>
4043
+ </td>
4044
+ </tr>
4045
+ </tbody>
4046
+ </table>
4047
+ </td>
4048
+ </tr>
4049
+ </xsl:for-each>
4050
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Macroscopic">
4051
+ <tr>
4052
+ <td valign="top" width="100%">
4053
+ <table>
4054
+ <tbody>
4055
+ <tr>
4056
+ <td valign="top">
4057
+ <b>
4058
+ <xsl:value-of select="m:Headline"/>
4059
+ </b>
4060
+ </td>
4061
+ </tr>
4062
+ <tr>
4063
+ <td valign="top">
4064
+ <table>
4065
+ <tbody>
4066
+ <tr>
4067
+ <td valign="top">
4068
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
4069
+ </td>
4070
+ </tr>
4071
+ </tbody>
4072
+ </table>
4073
+ </td>
4074
+ </tr>
4075
+ </tbody>
4076
+ </table>
4077
+ </td>
4078
+ </tr>
4079
+ </xsl:for-each>
4080
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Microscopic">
4081
+ <tr>
4082
+ <td valign="top" width="100%">
4083
+ <table>
4084
+ <tbody>
4085
+ <tr>
4086
+ <td valign="top">
4087
+ <b>
4088
+ <xsl:value-of select="m:Headline"/>
4089
+ </b>
4090
+ </td>
4091
+ </tr>
4092
+ <tr>
4093
+ <td valign="top">
4094
+ <table>
4095
+ <tbody>
4096
+ <tr>
4097
+ <td valign="top">
4098
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
4099
+ </td>
4100
+ </tr>
4101
+ </tbody>
4102
+ </table>
4103
+ </td>
4104
+ </tr>
4105
+ </tbody>
4106
+ </table>
4107
+ </td>
4108
+ </tr>
4109
+ </xsl:for-each>
4110
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Conclusion">
4111
+ <tr>
4112
+ <td valign="top" width="100%">
4113
+ <table>
4114
+ <tbody>
4115
+ <tr>
4116
+ <td valign="top">
4117
+ <b>
4118
+ <xsl:value-of select="m:Headline"/>
4119
+ </b>
4120
+ </td>
4121
+ </tr>
4122
+ <tr>
4123
+ <td valign="top">
4124
+ <table>
4125
+ <tbody>
4126
+ <tr>
4127
+ <td valign="top">
4128
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
4129
+ </td>
4130
+ </tr>
4131
+ </tbody>
4132
+ </table>
4133
+ </td>
4134
+ </tr>
4135
+ </tbody>
4136
+ </table>
4137
+ </td>
4138
+ </tr>
4139
+ </xsl:for-each>
4140
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Hematology">
4141
+ <tr>
4142
+ <td valign="top" width="100%">
4143
+ <table>
4144
+ <tbody>
4145
+ <tr>
4146
+ <td valign="top">
4147
+ <b>
4148
+ <xsl:value-of select="m:Headline"/>
4149
+ </b>
4150
+ </td>
4151
+ </tr>
4152
+ <tr>
4153
+ <td valign="top">
4154
+ <table>
4155
+ <tbody>
4156
+ <tr>
4157
+ <th>
4158
+ <xsl:value-of select="m:Labels/m:CellTypes"/>
4159
+ </th>
4160
+ <th>
4161
+ <xsl:value-of select="m:Labels/m:Marrow"/>
4162
+ </th>
4163
+ <th>
4164
+ <xsl:value-of select="m:Labels/m:Peripheral"/>
4165
+ </th>
4166
+ </tr>
4167
+ <xsl:for-each select="m:Result">
4168
+ <xsl:variable name="isevenrow" select="not(position() mod 2=0)"/>
4169
+ <tr>
4170
+ <xsl:if test="not($isevenrow)">
4171
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
4172
+ </xsl:if>
4173
+ <xsl:if test="$isevenrow">
4174
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
4175
+ </xsl:if>
4176
+ <td>
4177
+ <xsl:value-of select="m:CellType"/>
4178
+ </td>
4179
+ <td align="right">
4180
+ <xsl:value-of select="m:Marrow"/>
4181
+ </td>
4182
+ <td align="right">
4183
+ <xsl:value-of select="m:Peripheral"/>
4184
+ </td>
4185
+ </tr>
4186
+ </xsl:for-each>
4187
+ </tbody>
4188
+ </table>
4189
+ </td>
4190
+ </tr>
4191
+ </tbody>
4192
+ </table>
4193
+ </td>
4194
+ </tr>
4195
+ </xsl:for-each>
4196
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Comments">
4197
+ <tr>
4198
+ <td valign="top" width="100%">
4199
+ <table>
4200
+ <tbody>
4201
+ <tr>
4202
+ <td valign="top">
4203
+ <b>
4204
+ <xsl:value-of select="m:Headline"/>
4205
+ </b>
4206
+ </td>
4207
+ </tr>
4208
+ <tr>
4209
+ <td valign="top">
4210
+ <table>
4211
+ <tbody>
4212
+ <tr>
4213
+ <td valign="top">
4214
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
4215
+ </td>
4216
+ </tr>
4217
+ </tbody>
4218
+ </table>
4219
+ </td>
4220
+ </tr>
4221
+ </tbody>
4222
+ </table>
4223
+ </td>
4224
+ </tr>
4225
+ </xsl:for-each>
4226
+ <xsl:if test="count(m:RequisitionInformation/m:ClinicalInformation)>0">
4227
+ <tr>
4228
+ <td valign="top" width="100%">
4229
+ <table>
4230
+ <tbody>
4231
+ <tr>
4232
+ <td valign="top">
4233
+ <b>
4234
+ Klinisk information
4235
+ </b>
4236
+ </td>
4237
+ </tr>
4238
+ <tr>
4239
+ <td valign="top">
4240
+ <table>
4241
+ <tbody>
4242
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
4243
+ <tr>
4244
+ <td valign="top">
4245
+ <xsl:apply-templates/>
4246
+ </td>
4247
+ </tr>
4248
+ </xsl:for-each>
4249
+ </tbody>
4250
+ </table>
4251
+ </td>
4252
+ </tr>
4253
+ </tbody>
4254
+ </table>
4255
+ </td>
4256
+ </tr>
4257
+ </xsl:if>
4258
+ <tr>
4259
+ <xsl:call-template name="ShowPatientAndRelatives"/>
4260
+ </tr>
4261
+ <tr>
4262
+ <xsl:call-template name="ShowParticipants"/>
4263
+ </tr>
4264
+ </tbody>
4265
+ </table>
4266
+ </td>
4267
+ </xsl:for-each>
4268
+ </xsl:template>
4269
+ <!--
4270
+ PRESCRIPTION
4271
+ -->
4272
+ <xsl:template match="m:Emessage[m:Prescription]">
4273
+ <xsl:for-each select="m:Prescription">
4274
+ <tr>
4275
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
4276
+ <xsl:variable name="P" select="."/>
4277
+ <xsl:variable name="L" select="m:Letter"/>
4278
+ <xsl:variable name="S" select="m:Sender"/>
4279
+ <xsl:variable name="I" select="$S/m:Issuer"/>
4280
+ <xsl:variable name="R" select="m:Receiver"/>
4281
+ <xsl:variable name="PoR" select="m:PatientOrRelative"/>
4282
+ <xsl:variable name="PI" select="m:PrescriptionInformation"/>
4283
+ <xsl:variable name="Ds" select="m:Drug"/>
4284
+ <xsl:for-each select="m:Drug[position() mod 3 = 1]">
4285
+ <xsl:variable name="SideNr" select="position()"/>
4286
+ <span style="position:relative;left:0mm;top:0mm;width:144mm;height:210mm;margin:0px;background-image:url(img\recept.gif);border:1pt solid black;font-size:8pt;font-family:sans-serif">
4287
+ <!--Sender area -->
4288
+ <span style="position:absolute;left:14mm;top:9mm;width:88mm;height:22mm;margin:3mm;line-height:9pt">
4289
+ <xsl:value-of select="$S/m:Identifier"/>
4290
+ <br/>
4291
+ <xsl:value-of select="$S/m:OrganisationName"/>
4292
+ <br/>
4293
+ <xsl:value-of select="$S/m:StreetName"/>
4294
+ <br/>
4295
+ <br/>
4296
+ <xsl:value-of select="concat($S/m:PostCodeIdentifier,' ','--------------',' Tlf. ',$S/m:TelephoneSubscriberIdentifier)"/>
4297
+ <span style="position:absolute;left:0mm;top:0mm;width:82mm;height:16mm;margin:0mm;text-align:right">
4298
+ <xsl:value-of select="$S/../m:PrescriptionInformation/m:SenderComputerSystem"/>
4299
+ </span>
4300
+ </span>
4301
+ <!-- Patient area -->
4302
+ <span style="position:absolute;left:6mm;top:32mm;width:97mm;height:22mm;margin:3mm;line-height:9pt">
4303
+ <xsl:if test="../m:ForGPClinicUse='true' ">Til brug i klinikken</xsl:if>
4304
+ <xsl:if test="count($PoR)>0">
4305
+ <xsl:if test="count($PoR/m:CivilRegistrationNumber)>0">
4306
+ <xsl:value-of select="concat(substring($PoR/m:CivilRegistrationNumber,1,6),'-',substring($PoR/m:CivilRegistrationNumber,7,4))"/>
4307
+ </xsl:if>
4308
+ <xsl:if test="count($PoR/m:CivilRegistrationNumber)=0">
4309
+ <xsl:value-of select="concat('f. ',substring($PoR/m:PatientDateOfBirth,9,2),'.',substring($PoR/m:PatientDateOfBirth,6,2),'.',substring($PoR/m:PatientDateOfBirth,1,4),' ')"/>
4310
+ <xsl:choose>
4311
+ <xsl:when test="$PoR/m:PatientSex='hankoen' ">Mand</xsl:when>
4312
+ <xsl:when test="$PoR/m:PatientSex='hunkoen' ">Kvinde</xsl:when>
4313
+ </xsl:choose>
4314
+ </xsl:if>
4315
+ <xsl:if test="$PoR/m:ForGPUse='true' ">
4316
+ <xsl:value-of select="' Til l�gens eget brug'"/>
4317
+ </xsl:if>
4318
+ <br/>
4319
+ <xsl:value-of select="concat($PoR/m:PersonGivenName,' ',$PoR/m:PersonSurnameName)"/>
4320
+ <br/>
4321
+ <xsl:value-of select="$PoR/m:StreetName"/>
4322
+ <br/>
4323
+ <br/>
4324
+ <xsl:value-of select="concat($PoR/m:PostCodeIdentifier,' ',$PoR/m:DistrictName)"/>
4325
+ </xsl:if>
4326
+ </span>
4327
+ <!-- Child area -->
4328
+ <span style="position:absolute;left:6mm;top:54mm;width:97mm;height:6mm;margin:3mm;line-height:9pt">
4329
+ <xsl:if test="$PoR/m:Type='patienttilknyttet_person' ">
4330
+ <xsl:value-of select="concat('f. ',substring($PoR/m:PatientDateOfBirth,9,2),'.',substring($PoR/m:PatientDateOfBirth,6,2),'.',substring($PoR/m:PatientDateOfBirth,1,4),' ')"/>
4331
+ <xsl:choose>
4332
+ <xsl:when test="$PoR/m:PatientSex='hankoen' ">Dreng</xsl:when>
4333
+ <xsl:when test="$PoR/m:PatientSex='hunkoen' ">Pige</xsl:when>
4334
+ </xsl:choose>
4335
+ </xsl:if>
4336
+ </span>
4337
+ <!--County area -->
4338
+ <span style="position:absolute;left:103mm;top:54mm;width:34mm;height:6mm;margin:3mm;line-height:9pt">
4339
+ <xsl:value-of select="$PoR/m:CountyCode"/>
4340
+ </span>
4341
+ <!-- Information area -->
4342
+ <span style="position:absolute;left:6mm;top:60mm;width:121mm;height:16mm;margin:3mm;line-height:9pt">
4343
+ <!--burde v�re 131 i bredden, men for at undg� at der skrives ud over kanten s�...-->
4344
+ <xsl:for-each select="$PI">
4345
+ <xsl:for-each select="m:OrderInstruction">
4346
+ <xsl:value-of select="concat('* ',.,' ')"/>
4347
+ </xsl:for-each>
4348
+ <br/>
4349
+ <xsl:variable name="PoD" select="m:Delivery/m:PriorityOfDelivery"/>
4350
+ <xsl:choose>
4351
+ <xsl:when test="$PoD='send_til_anden_adresse_samme_dag' ">Send pr. bud til </xsl:when>
4352
+ <xsl:when test="$PoD='send_til_anden_adresse_pr_post' ">Send pr. post til </xsl:when>
4353
+ <xsl:when test="$PoD='send_til_patientadresse_samme_dag' ">Send pr. bud </xsl:when>
4354
+ <xsl:when test="$PoD='send_til_patientadresse_pr_post' ">Send pr. post </xsl:when>
4355
+ </xsl:choose>
4356
+ <xsl:value-of select="concat(' ',m:Delivery/m:ContactName,' ',m:Delivery/m:StreetName,m:Delivery/m:PseudoAddress,' ',m:Delivery/m:PostCodeIdentifier)"/>
4357
+ <xsl:for-each select="m:DeliveryInformation">
4358
+ <xsl:value-of select="concat(' * ',.)"/>
4359
+ </xsl:for-each>
4360
+ <br/>
4361
+ <xsl:value-of select="concat(' ',m:DoseDispenseInformation/m:Status)"/>
4362
+ <xsl:if test="m:DoseDispenseInformation/m:CopyRequired">
4363
+ <xsl:value-of select="' kopi �nskes '"/>
4364
+ </xsl:if>
4365
+ </xsl:for-each>
4366
+ <span style="position:absolute;left:0mm;top:0mm;width:125mm;height:10mm;margin:0mm;text-align:right;vertical-align:bottom">
4367
+ <br/>
4368
+ <br/>
4369
+ <xsl:if test="$PoR/m:PrivateInsurance='true'">DK</xsl:if>
4370
+ <xsl:if test="$PoR/m:PrivateInsurance='true' and $PoR/m:LocalAuthorityGrant='true'">/</xsl:if>
4371
+ <xsl:if test="$PoR/m:LocalAuthorityGrant='true'">MK</xsl:if>
4372
+ </span>
4373
+ </span>
4374
+ <!-- Apotek area -->
4375
+ <span style="position:absolute;left:103mm;top:32mm;width:34mm;height:22mm;margin:3mm;line-height:9pt">
4376
+ <xsl:value-of select="$R/m:OrganisationName"/>
4377
+ <br/>
4378
+ <br/>
4379
+ <br/>
4380
+ <br/>Side: <xsl:value-of select="$SideNr"/>
4381
+ </span>
4382
+ <!-- drug area -->
4383
+ <span style="position:absolute;left:6mm;top:80mm;width:131mm;height:91mm;margin:3mm;line-height:9pt">
4384
+ <xsl:for-each select="$Ds[((($SideNr - 1)*3+1)&lt;=position()) and (position()&lt;=($SideNr * 3))]">
4385
+ <span style="position:relative;left:0mm;top:0mm;width:125mm;height:29mm;margin:0px;">
4386
+ <xsl:value-of select="concat(m:PackageIdentifier,' ')"/>
4387
+ <xsl:if test="count(m:Dosage/m:DosageCode)>0">
4388
+ <xsl:value-of select="concat('[D-',m:Dosage/m:DosageCode,'] ')"/>
4389
+ </xsl:if>
4390
+ <xsl:if test="count(m:Indication/m:Code)>0">
4391
+ <xsl:value-of select="concat('[I-',m:Indication/m:Code,'] ' ) "/>
4392
+ </xsl:if>
4393
+ <!--<xsl:value-of select="concat(m:PackageIdentifier,' ','[D-',m:Dosage/m:DosageCode,'] ',' ','[I-',m:Indication/m:Code,'] ' ) "/>-->
4394
+ <br/>
4395
+ <xsl:value-of select="concat(m:NameOfDrug,' ',m:DosageForm,' ',m:DrugStrength,' ',m:Importer/m:LongName)"/>
4396
+ <!--<xsl:if test="count(m:Importer)=0">
4397
+ <xsl:value-of select="' direkte forhandlet '"/>
4398
+ </xsl:if>-->
4399
+ <br/>
4400
+ <xsl:value-of select="concat(m:PackageSize,' x ',m:NumberOfPackings)"/>
4401
+ <br/>
4402
+ <xsl:choose>
4403
+ <xsl:when test="m:SubstitutionCode='ikke_substitution' ">Ikke substitution</xsl:when>
4404
+ <xsl:when test="m:SubstitutionCode='ikke_generisk_substitution' ">Ikke generisk substitution</xsl:when>
4405
+ <xsl:when test="m:SubstitutionCode='ikke_original_substitution' ">Ikke original substitution</xsl:when>
4406
+ </xsl:choose>
4407
+ <br/>
4408
+ <xsl:variable name="RC" select="m:ReimbursementClause"/>
4409
+ <xsl:choose>
4410
+ <xsl:when test="$RC='klausulbetingelse_opfyldt' ">Tilskud</xsl:when>
4411
+ <xsl:when test="$RC='varig_lidelse' ">Varig lidelse</xsl:when>
4412
+ <xsl:when test="$RC='pensionist' ">Pensionist</xsl:when>
4413
+ <xsl:when test="$RC='bevilling_fra_laegemiddelstyrelsen' ">Bevilling fra l�gemiddelstyrelsen</xsl:when>
4414
+ <xsl:when test="count($RC)=0"/>
4415
+ <xsl:otherwise>Ukendt ReimbursmentClause : <xsl:value-of select="$RC"/>
4416
+ </xsl:otherwise>
4417
+ </xsl:choose>
4418
+ <br/>
4419
+ <xsl:value-of select="concat(m:Dosage/m:DosageText,' ',m:Dosage/m:Period,' ',m:Dosage/m:PeriodUnit)"/>
4420
+ <br/>
4421
+ <xsl:value-of select="m:Indication/m:Text"/>
4422
+ <br/>
4423
+ <xsl:value-of select="m:SublementaryInformation"/>
4424
+ <br/>
4425
+ <xsl:for-each select="m:Iteration">
4426
+ <xsl:value-of select="concat('Udleveres ',m:Number+1,' ')"/>
4427
+ <xsl:if test="m:Number=1">gang</xsl:if>
4428
+ <xsl:if test="m:Number!=1">gange</xsl:if>
4429
+ <xsl:value-of select="concat(' med ',m:Interval,' ')"/>
4430
+ <xsl:choose>
4431
+ <xsl:when test="m:IntervalUnit='dag' and m:Interval=1">dags</xsl:when>
4432
+ <xsl:when test="m:IntervalUnit='dag' and m:Interval!=1">dages</xsl:when>
4433
+ <xsl:when test="m:IntervalUnit='uge' and m:Interval=1">uges</xsl:when>
4434
+ <xsl:when test="m:IntervalUnit='uge' and m:Interval!=1">ugers</xsl:when>
4435
+ <xsl:when test="m:IntervalUnit='maaned' and m:Interval=1">m�neds</xsl:when>
4436
+ <xsl:when test="m:IntervalUnit='maaned' and m:Interval!=1">m�neders</xsl:when>
4437
+ </xsl:choose>
4438
+ <xsl:value-of select="' mellemrum '"/>
4439
+ </xsl:for-each>
4440
+ <xsl:for-each select="m:DoseDispensing">
4441
+ <xsl:value-of select="concat('Startdato: ',substring(m:StartDate,9,2),'.',substring(m:StartDate,6,2),'.',substring(m:StartDate,1,4),' Slutdato: ',substring(m:EndDate,9,2),'.',substring(m:EndDate,6,2),'.',substring(m:EndDate,1,4))"/>
4442
+ </xsl:for-each>
4443
+ <span style="position:absolute;left:60mm;top:0mm;width:71mm;height:30mm;margin:0px">#</span>
4444
+ </span>
4445
+ </xsl:for-each>
4446
+ </span>
4447
+ <!-- Signing area -->
4448
+ <span style="position:absolute;left:6mm;top:171mm;width:131mm;height:13mm;margin:3mm;line-height:9pt">
4449
+ <xsl:value-of select="concat(substring($L/m:Authorisation/m:Date,9,2),'.',substring($L/m:Authorisation/m:Date,6,2),'.',substring($L/m:Authorisation/m:Date,1,4),' ',$L/m:Authorisation/m:TimeWithSec,' ',$I/m:TitleAndName)"/>
4450
+ <br/>
4451
+ <xsl:if test="count($I/m:AuthorisationIdentifier)>0">
4452
+ <xsl:value-of select="concat($I/m:AuthorisationIdentifier,' ')"/>
4453
+ </xsl:if>
4454
+ <xsl:if test="count($I/m:SpecialityCode)>0">
4455
+ <xsl:value-of select="concat('Speciall�ge i ',$I/m:SpecialityCode)"/>
4456
+ </xsl:if>
4457
+ </span>
4458
+ <!-- COPY area -->
4459
+ <xsl:if test="$PI/m:MessageStatusCode='kopi'">
4460
+ <span style="position:absolute;left:103mm;top:9mm;width:34mm;height:22mm;margin:3mm;text-align:center;font-size:14pt;color:red">KOPI</span>
4461
+ </xsl:if>
4462
+ <!-- XML area -->
4463
+ <span style="position:absolute;left:104mm;top:24mm;width:13mm;height:5mm;margin:0mm;text-align:center;font-size:9pt;background:#ffffff;border:1px solid black">Edifact -</span>
4464
+ </span>
4465
+ </xsl:for-each>
4466
+ </td>
4467
+ </tr>
4468
+ </xsl:for-each>
4469
+ </xsl:template>
4470
+ <!--
4471
+ BinaryLetter
4472
+ -->
4473
+ <xsl:template match="m:Emessage[m:BinaryLetter]">
4474
+ <xsl:for-each select="m:BinaryLetter">
4475
+ <xsl:variable name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
4476
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
4477
+ <table width="100%">
4478
+ <tbody>
4479
+ <tr>
4480
+ <xsl:call-template name="ShowMessageHeader">
4481
+ <xsl:with-param name="MessageName" select=" 'Bin�r dokumenttransport' "/>
4482
+ </xsl:call-template>
4483
+ </tr>
4484
+ <xsl:for-each select="m:BinaryObject">
4485
+ <tr>
4486
+ <td>
4487
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$compoundbgcolor"/></xsl:attribute>
4488
+ <xsl:variable name="OC" select="m:ObjectCode"/>
4489
+ <xsl:variable name="OEC" select="m:ObjectExtensionCode"/>
4490
+ <xsl:variable name="icon">
4491
+ <xsl:choose>
4492
+ <xsl:when test="$OEC='doc'">
4493
+ <xsl:value-of select="'img/wordicon.GIF'"/>
4494
+ </xsl:when>
4495
+ <xsl:when test="$OC='multimedie'">
4496
+ <xsl:value-of select="'img/multiicon.GIF'"/>
4497
+ </xsl:when>
4498
+ <xsl:otherwise>
4499
+ <xsl:value-of select="'img/binicon.PNG'"/>
4500
+ </xsl:otherwise>
4501
+ </xsl:choose>
4502
+ </xsl:variable>
4503
+ <xsl:choose>
4504
+ <xsl:when test="$OC='billede'">
4505
+ <img>
4506
+ <xsl:attribute name="src"><xsl:value-of select="concat('Binary/',$SenderEAN,'_',m:ObjectIdentifier,'_',m:ObjectCode,'.',m:ObjectExtensionCode)"/></xsl:attribute>
4507
+ </img>
4508
+ </xsl:when>
4509
+ <xsl:when test="$OC='multimedie'">
4510
+ <object ID="MediaPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft� Windows� Media Player components..." type="application/x-oleobject">
4511
+ <param name="AudioStream" value="true"/>
4512
+ <param name="AutoSize" value="true"/>
4513
+ <param name="AutoStart" value="0"/>
4514
+ <param name="AnimationAtStart" value="true"/>
4515
+ <param name="AllowScan" value="true"/>
4516
+ <param name="AllowChangeDisplaySize" value="true"/>
4517
+ <param name="AutoRewind" value="0"/>
4518
+ <param name="Balance" value="0"/>
4519
+ <param name="BaseURL" value=""/>
4520
+ <param name="BufferingTime" value="5"/>
4521
+ <param name="CaptioningID" value=""/>
4522
+ <param name="ClickToPlay" value="true"/>
4523
+ <param name="CursorType" value="1"/>
4524
+ <param name="CurrentPosition" value="true"/>
4525
+ <param name="CurrentMarker" value="0"/>
4526
+ <param name="DefaultFrame" value=""/>
4527
+ <param name="DisplayBackColor" value="0"/>
4528
+ <param name="DisplayForeColor" value="16777215"/>
4529
+ <param name="DisplayMode" value="0"/>
4530
+ <param name="DisplaySize" value="0"/>
4531
+ <param name="Enabled" value="true"/>
4532
+ <param name="EnableContextMenu" value="0"/>
4533
+ <param name="EnablePositionControls" value="true"/>
4534
+ <param name="EnableFullScreenControls" value="true"/>
4535
+ <param name="EnableTracker" value="true"/>
4536
+ <param name="Filename">
4537
+ <xsl:attribute name="value"><xsl:value-of select="concat('Binary/',$SenderEAN,'_',m:ObjectIdentifier,'_',m:ObjectCode,'.',m:ObjectExtensionCode)"/></xsl:attribute>
4538
+ </param>
4539
+ <param name="InvokeURLs" value="true"/>
4540
+ <param name="Language" value="true"/>
4541
+ <param name="Mute" value="0"/>
4542
+ <param name="PlayCount" value="1"/>
4543
+ <param name="PreviewMode" value="0"/>
4544
+ <param name="Rate" value="1"/>
4545
+ <param name="SAMILang" value=""/>
4546
+ <param name="SAMIStyle" value=""/>
4547
+ <param name="SAMIFileName" value=""/>
4548
+ <param name="SelectionStart" value="true"/>
4549
+ <param name="SelectionEnd" value="true"/>
4550
+ <param name="SendOpenStateChangeEvents" value="true"/>
4551
+ <param name="SendWarningEvents" value="true"/>
4552
+ <param name="SendErrorEvents" value="true"/>
4553
+ <param name="SendKeyboardEvents" value="0"/>
4554
+ <param name="SendMouseClickEvents" value="0"/>
4555
+ <param name="SendMouseMoveEvents" value="0"/>
4556
+ <param name="SendPlayStateChangeEvents" value="true"/>
4557
+ <param name="ShowCaptioning" value="0"/>
4558
+ <param name="ShowControls" value="true"/>
4559
+ <param name="ShowAudioControls" value="true"/>
4560
+ <param name="ShowDisplay" value="0"/>
4561
+ <param name="ShowGotoBar" value="0"/>
4562
+ <param name="ShowPositionControls" value="true"/>
4563
+ <param name="ShowStatusBar" value="true"/>
4564
+ <param name="ShowTracker" value="0"/>
4565
+ <param name="TransparentAtStart" value="0"/>
4566
+ <param name="VideoBorderWidth" value="0"/>
4567
+ <param name="VideoBorderColor" value="0"/>
4568
+ <param name="VideoBorder3D" value="0"/>
4569
+ <param name="Volume" value="-600"/>
4570
+ <param name="WindowlessVideo" value="0"/>
4571
+ <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" autostart="0" showcontrols="0">
4572
+ <xsl:attribute name="src"><xsl:value-of select="concat('Binary/',$SenderEAN,'_',m:ObjectIdentifier,'_',m:ObjectCode,'.',m:ObjectExtensionCode)"/></xsl:attribute>
4573
+ </embed>
4574
+ </object>
4575
+ </xsl:when>
4576
+ <xsl:otherwise>
4577
+ <img>
4578
+ <xsl:attribute name="src"><xsl:value-of select="$icon"/></xsl:attribute>
4579
+ </img>
4580
+ <a target="newwindow">
4581
+ <xsl:attribute name="href"><xsl:value-of select="concat('Binary/',$SenderEAN,'_',m:ObjectIdentifier,'_',m:ObjectCode,'.',m:ObjectExtensionCode)"/></xsl:attribute>
4582
+ <xsl:value-of select="concat(m:ObjectIdentifier,' (',m:OriginalObjectSize,' bytes)')"/>
4583
+ </a>
4584
+ </xsl:otherwise>
4585
+ </xsl:choose>
4586
+ </td>
4587
+ </tr>
4588
+ </xsl:for-each>
4589
+ <tr>
4590
+ <xsl:call-template name="ShowPatientAndRelatives"/>
4591
+ </tr>
4592
+ <tr>
4593
+ <xsl:call-template name="ShowParticipants"/>
4594
+ </tr>
4595
+ </tbody>
4596
+ </table>
4597
+ </td>
4598
+ </xsl:for-each>
4599
+ </xsl:template>
4600
+ <!--
4601
+ PRESCRIPTION REQUEST
4602
+ -->
4603
+ <xsl:template match="m:Emessage[m:PrescriptionRequest]">
4604
+ <xsl:for-each select="m:PrescriptionRequest">
4605
+ <tr>
4606
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
4607
+ <xsl:variable name="P" select="."/>
4608
+ <xsl:variable name="L" select="m:Letter"/>
4609
+ <xsl:variable name="S" select="m:Sender"/>
4610
+ <xsl:variable name="I" select="$S/m:Issuer"/>
4611
+ <xsl:variable name="R" select="m:Receiver"/>
4612
+ <xsl:variable name="PoR" select="m:PatientOrRelative"/>
4613
+ <xsl:variable name="PI" select="m:PrescriptionInformation"/>
4614
+ <xsl:variable name="Ds" select="m:Drug"/>
4615
+ <xsl:variable name="PP" select="m:PreferredPharmacy"></xsl:variable>
4616
+ <xsl:for-each select="m:Drug[position() mod 3 = 1]">
4617
+ <xsl:variable name="SideNr" select="position()"/>
4618
+ <span style="position:relative;left:0mm;top:0mm;width:144mm;height:210mm;margin:0px;background-image:url(img\receptforny.GIF);border:1pt solid black;font-size:8pt;font-family:sans-serif">
4619
+ <!--Sender area -->
4620
+ <span style="position:absolute;left:56mm;top:9mm;width:88mm;height:22mm;margin:3mm;line-height:9pt">
4621
+ <xsl:value-of select="$S/m:Identifier"/>
4622
+ <br/>
4623
+ <xsl:value-of select="$S/m:OrganisationName"/>
4624
+ <br/>
4625
+ <xsl:value-of select="$S/m:StreetName"/>
4626
+ <br/>
4627
+ <xsl:value-of select="concat($S/m:PostCodeIdentifier,' ','---',' Tlf. ',$S/m:TelephoneSubscriberIdentifier)"/>
4628
+ <span style="position:absolute;left:0mm;top:0mm;width:41mm;height:16mm;margin:0mm;text-align:right">
4629
+ <xsl:value-of select="$PI/m:SenderComputerSystem"/>
4630
+ </span>
4631
+ <br/>
4632
+ <xsl:value-of select="$S/m:PersonInOrganisation/m:TitleAndName"/>
4633
+ </span>
4634
+ <!-- Patient area -->
4635
+ <span style="position:absolute;left:6mm;top:32mm;width:97mm;height:22mm;margin:3mm;line-height:9pt">
4636
+ <xsl:if test="../m:ForGPClinicUse='true' ">Til brug i klinikken</xsl:if>
4637
+ <xsl:if test="count($PoR)>0">
4638
+ <xsl:if test="count($PoR/m:CivilRegistrationNumber)>0">
4639
+ <xsl:value-of select="concat(substring($PoR/m:CivilRegistrationNumber,1,6),'-',substring($PoR/m:CivilRegistrationNumber,7,4))"/>
4640
+ </xsl:if>
4641
+ <xsl:if test="count($PoR/m:CivilRegistrationNumber)=0">
4642
+ <xsl:value-of select="concat('f. ',substring($PoR/m:PatientDateOfBirth,9,2),'.',substring($PoR/m:PatientDateOfBirth,6,2),'.',substring($PoR/m:PatientDateOfBirth,1,4),' ')"/>
4643
+ <xsl:choose>
4644
+ <xsl:when test="$PoR/m:PatientSex='hankoen' ">Mand</xsl:when>
4645
+ <xsl:when test="$PoR/m:PatientSex='hunkoen' ">Kvinde</xsl:when>
4646
+ </xsl:choose>
4647
+ </xsl:if>
4648
+ <xsl:if test="$PoR/m:ForGPUse='true' ">
4649
+ <xsl:value-of select="' Til l�gens eget brug'"/>
4650
+ </xsl:if>
4651
+ <br/>
4652
+ <xsl:value-of select="concat($PoR/m:PersonGivenName,' ',$PoR/m:PersonSurnameName)"/>
4653
+ <br/>
4654
+ <xsl:value-of select="$PoR/m:StreetName"/>
4655
+ <br/>
4656
+ <xsl:value-of select="concat($PoR/m:PostCodeIdentifier,' ',$PoR/m:DistrictName)"/>
4657
+ <br/>
4658
+ <xsl:value-of select="$PoR/m:EmailIdentifier"/>
4659
+ <xsl:value-of select="concat(' (',$PoR/m:EmailStatus, ')')"/>
4660
+ </xsl:if>
4661
+ </span>
4662
+ <!-- Child area -->
4663
+ <span style="position:absolute;left:6mm;top:54mm;width:97mm;height:6mm;margin:3mm;line-height:9pt">
4664
+ <xsl:if test="$PoR/m:Type='patienttilknyttet_person' ">
4665
+ <xsl:value-of select="concat('f. ',substring($PoR/m:PatientDateOfBirth,9,2),'.',substring($PoR/m:PatientDateOfBirth,6,2),'.',substring($PoR/m:PatientDateOfBirth,1,4),' ')"/>
4666
+ <xsl:choose>
4667
+ <xsl:when test="$PoR/m:PatientSex='hankoen' ">Dreng</xsl:when>
4668
+ <xsl:when test="$PoR/m:PatientSex='hunkoen' ">Pige</xsl:when>
4669
+ </xsl:choose>
4670
+ </xsl:if>
4671
+ </span>
4672
+ <!--County area -->
4673
+ <span style="position:absolute;left:103mm;top:54mm;width:34mm;height:6mm;margin:3mm;line-height:9pt">
4674
+ <xsl:value-of select="$PoR/m:CountyCode"/>
4675
+ </span>
4676
+ <!-- Information area -->
4677
+ <span style="position:absolute;left:6mm;top:60mm;width:121mm;height:16mm;margin:3mm;line-height:9pt">
4678
+ <!--burde v�re 131 i bredden, men for at undg� at der skrives ud over kanten s�...-->
4679
+ <xsl:for-each select="$PI">
4680
+ <xsl:for-each select="m:OrderInstruction">
4681
+ <xsl:value-of select="concat('* ',.,' ')"/>
4682
+ </xsl:for-each>
4683
+ <br/>
4684
+ <xsl:variable name="PoD" select="m:Delivery/m:PriorityOfDelivery"/>
4685
+ <xsl:choose>
4686
+ <xsl:when test="$PoD='send_til_anden_adresse_samme_dag' ">Send pr. bud til </xsl:when>
4687
+ <xsl:when test="$PoD='send_til_anden_adresse_pr_post' ">Send pr. post til </xsl:when>
4688
+ <xsl:when test="$PoD='send_til_patientadresse_samme_dag' ">Send pr. bud </xsl:when>
4689
+ <xsl:when test="$PoD='send_til_patientadresse_pr_post' ">Send pr. post </xsl:when>
4690
+ </xsl:choose>
4691
+ <xsl:value-of select="concat(' ',m:Delivery/m:ContactName,' ',m:Delivery/m:StreetName,m:Delivery/m:PseudoAddress,' ',m:Delivery/m:PostCodeIdentifier)"/>
4692
+ <xsl:for-each select="m:DeliveryInformation">
4693
+ <xsl:value-of select="concat(' * ',.)"/>
4694
+ </xsl:for-each>
4695
+ <br/>
4696
+ <xsl:value-of select="concat(' ',m:DoseDispenseInformation/m:Status)"/>
4697
+ <xsl:if test="m:DoseDispenseInformation/m:CopyRequired">
4698
+ <xsl:value-of select="' kopi �nskes '"/>
4699
+ </xsl:if>
4700
+ </xsl:for-each>
4701
+ <span style="position:absolute;left:0mm;top:0mm;width:125mm;height:10mm;margin:0mm;text-align:right;vertical-align:bottom">
4702
+ <br/>
4703
+ <br/>
4704
+ <xsl:if test="$PoR/m:PrivateInsurance='true'">DK</xsl:if>
4705
+ <xsl:if test="$PoR/m:PrivateInsurance='true' and $PoR/m:LocalAuthorityGrant='true'">/</xsl:if>
4706
+ <xsl:if test="$PoR/m:LocalAuthorityGrant='true'">MK</xsl:if>
4707
+ </span>
4708
+ </span>
4709
+ <!-- Apotek area -->
4710
+ <span style="position:absolute;left:10mm;top:9mm;width:34mm;height:22mm;margin:3mm;line-height:9pt">
4711
+ <xsl:value-of select="$R/m:Identifier"/>
4712
+ <br/>
4713
+ <xsl:value-of select="$R/m:OrganisationName"/>
4714
+ <br/>
4715
+ <br/>
4716
+ <xsl:value-of select="$R/m:Issuer/m:AuthorisationIdentifier"/><xsl:value-of select="' '"/><xsl:value-of select="$R/m:Issuer/m:Occupation"/>
4717
+ <br/>
4718
+ <xsl:value-of select="$R/m:Issuer/m:TitleAndName"/>
4719
+ </span>
4720
+ <span style="position:absolute;left:103mm;top:32mm;width:34mm;height:22mm;margin:3mm;line-height:9pt">
4721
+ <xsl:value-of select="$PP/m:EANIdentifier"/>
4722
+ <br/>
4723
+ <xsl:value-of select="$PP/m:OrganisationName"/>
4724
+ <br/>
4725
+ <br/>
4726
+ <br/>Side: <xsl:value-of select="$SideNr"/>
4727
+ </span>
4728
+ <!-- drug area -->
4729
+ <span style="position:absolute;left:6mm;top:80mm;width:131mm;height:91mm;margin:3mm;line-height:9pt">
4730
+ <xsl:for-each select="$Ds[((($SideNr - 1)*3+1)&lt;=position()) and (position()&lt;=($SideNr * 3))]">
4731
+ <span style="position:relative;left:0mm;top:0mm;width:125mm;height:29mm;margin:0px;">
4732
+ <xsl:value-of select="concat(m:PackageIdentifier,' ')"/>
4733
+ <xsl:if test="count(m:Dosage/m:DosageCode)>0">
4734
+ <xsl:value-of select="concat('[D-',m:Dosage/m:DosageCode,'] ')"/>
4735
+ </xsl:if>
4736
+ <xsl:if test="count(m:Indication/m:Code)>0">
4737
+ <xsl:value-of select="concat('[I-',m:Indication/m:Code,'] ' ) "/>
4738
+ </xsl:if>
4739
+ <!--<xsl:value-of select="concat(m:PackageIdentifier,' ','[D-',m:Dosage/m:DosageCode,'] ',' ','[I-',m:Indication/m:Code,'] ' ) "/>-->
4740
+ <br/>
4741
+ <xsl:value-of select="concat(m:NameOfDrug,' ',m:DosageForm,' ',m:DrugStrength,' ',m:Importer/m:LongName)"/>
4742
+ <!--<xsl:if test="count(m:Importer)=0">
4743
+ <xsl:value-of select="' direkte forhandlet '"/>
4744
+ </xsl:if>-->
4745
+ <br/>
4746
+ <xsl:value-of select="concat(m:PackageSize,' x ',m:NumberOfPackings)"/>
4747
+ <br/>
4748
+ <xsl:choose>
4749
+ <xsl:when test="m:SubstitutionCode='ikke_substitution' ">Ikke substitution</xsl:when>
4750
+ <xsl:when test="m:SubstitutionCode='ikke_generisk_substitution' ">Ikke generisk substitution</xsl:when>
4751
+ <xsl:when test="m:SubstitutionCode='ikke_original_substitution' ">Ikke original substitution</xsl:when>
4752
+ </xsl:choose>
4753
+ <br/>
4754
+ <xsl:variable name="RC" select="m:ReimbursementClause"/>
4755
+ <xsl:choose>
4756
+ <xsl:when test="$RC='klausulbetingelse_opfyldt' ">Tilskud</xsl:when>
4757
+ <xsl:when test="$RC='varig_lidelse' ">Varig lidelse</xsl:when>
4758
+ <xsl:when test="$RC='pensionist' ">Pensionist</xsl:when>
4759
+ <xsl:when test="$RC='bevilling_fra_laegemiddelstyrelsen' ">Bevilling fra l�gemiddelstyrelsen</xsl:when>
4760
+ <xsl:when test="count($RC)=0"/>
4761
+ <xsl:otherwise>Ukendt ReimbursmentClause : <xsl:value-of select="$RC"/>
4762
+ </xsl:otherwise>
4763
+ </xsl:choose>
4764
+ <br/>
4765
+ <xsl:value-of select="concat(m:Dosage/m:DosageText,' ',m:Dosage/m:Period,' ',m:Dosage/m:PeriodUnit)"/>
4766
+ <br/>
4767
+ <xsl:value-of select="m:Indication/m:Text"/>
4768
+ <br/>
4769
+ <xsl:value-of select="m:SublementaryInformation"/>
4770
+ <br/>
4771
+ <xsl:for-each select="m:Iteration">
4772
+ <xsl:value-of select="concat('Udleveres ',m:Number+1,' ')"/>
4773
+ <xsl:if test="m:Number=1">gang</xsl:if>
4774
+ <xsl:if test="m:Number!=1">gange</xsl:if>
4775
+ <xsl:value-of select="concat(' med ',m:Interval,' ')"/>
4776
+ <xsl:choose>
4777
+ <xsl:when test="m:IntervalUnit='dag' and m:Interval=1">dags</xsl:when>
4778
+ <xsl:when test="m:IntervalUnit='dag' and m:Interval!=1">dages</xsl:when>
4779
+ <xsl:when test="m:IntervalUnit='uge' and m:Interval=1">uges</xsl:when>
4780
+ <xsl:when test="m:IntervalUnit='uge' and m:Interval!=1">ugers</xsl:when>
4781
+ <xsl:when test="m:IntervalUnit='maaned' and m:Interval=1">m�neds</xsl:when>
4782
+ <xsl:when test="m:IntervalUnit='maaned' and m:Interval!=1">m�neders</xsl:when>
4783
+ </xsl:choose>
4784
+ <xsl:value-of select="' mellemrum '"/>
4785
+ </xsl:for-each>
4786
+ <xsl:for-each select="m:DoseDispensing">
4787
+ <xsl:value-of select="concat('Startdato: ',substring(m:StartDate,9,2),'.',substring(m:StartDate,6,2),'.',substring(m:StartDate,1,4),' Slutdato: ',substring(m:EndDate,9,2),'.',substring(m:EndDate,6,2),'.',substring(m:EndDate,1,4))"/>
4788
+ </xsl:for-each>
4789
+ <span style="position:absolute;left:60mm;top:0mm;width:71mm;height:30mm;margin:0px">#</span>
4790
+ </span>
4791
+ </xsl:for-each>
4792
+ </span>
4793
+ <!-- Signing area -->
4794
+ <span style="position:absolute;left:6mm;top:171mm;width:131mm;height:13mm;margin:3mm;line-height:9pt">
4795
+ <xsl:value-of select="concat(substring($L/m:Authorisation/m:Date,9,2),'.',substring($L/m:Authorisation/m:Date,6,2),'.',substring($L/m:Authorisation/m:Date,1,4),' ',$L/m:Authorisation/m:TimeWithSec,' ',$I/m:TitleAndName)"/>
4796
+ <br/>
4797
+ <xsl:if test="count($I/m:AuthorisationIdentifier)>0">
4798
+ <xsl:value-of select="concat($I/m:AuthorisationIdentifier,' ')"/>
4799
+ </xsl:if>
4800
+ <xsl:if test="count($I/m:SpecialityCode)>0">
4801
+ <xsl:value-of select="concat('Speciall�ge i ',$I/m:SpecialityCode)"/>
4802
+ </xsl:if>
4803
+ </span>
4804
+ <!-- COPY area -->
4805
+ <xsl:if test="$PI/m:MessageStatusCode='kopi'">
4806
+ <span style="position:absolute;left:103mm;top:9mm;width:34mm;height:22mm;margin:3mm;text-align:center;font-size:14pt;color:red">KOPI</span>
4807
+ </xsl:if>
4808
+ <!-- XML area -->
4809
+ <span style="position:absolute;left:104mm;top:24mm;width:13mm;height:5mm;margin:0mm;text-align:center;font-size:9pt;background:#ffffff;border:1px solid black">Edifact -</span>
4810
+ </span>
4811
+ </xsl:for-each>
4812
+ </td>
4813
+ </tr>
4814
+ </xsl:for-each>
4815
+ </xsl:template>
4816
+
4817
+ </xsl:stylesheet>