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,3765 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3
+ xmlns:m="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2007/02/01/"
4
+ xmlns:gepj="http://medinfo.dk/epj/proj/gepka/20030701/xml/schema"
5
+ xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2002/06/28/"
6
+ xmlns:dkcc="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/"
7
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
8
+ <xsl:output media-type="text/html"/>
9
+
10
+ <xsl:include href="WebReport.xsl"/>
11
+ <xsl:key name="requisitiongroup2result" match="m:Emessage/m:LaboratoryReport/m:LaboratoryResults/m:Result" use="concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)"/>
12
+ <!-- EmergencyLetter -->
13
+ <xsl:template match="m:Emessage[m:DoctorsCallCenterLetter]">
14
+ <xsl:for-each select="m:DoctorsCallCenterLetter">
15
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
16
+ <table width="100%">
17
+ <tbody>
18
+ <tr>
19
+ <xsl:call-template name="ShowMessageHeader">
20
+ <xsl:with-param name="MessageName" select="'L�gevagtsepikrise'"/>
21
+ </xsl:call-template>
22
+ </tr>
23
+ <tr>
24
+ <td valign="top" width="100%">
25
+ <table>
26
+ <tbody>
27
+ <tr>
28
+ <td valign="top">
29
+ <b>Bes�gsdato (starttidspunkt) for f�rste bes�g:</b>
30
+ </td>
31
+ <td valign="top">
32
+ <xsl:for-each select="m:Admission">
33
+ <xsl:call-template name="FormatDateTime"/>
34
+ </xsl:for-each>
35
+ </td>
36
+ <td valign="top">
37
+ <b>Sidste bes�g (sluttidspunkt):</b>
38
+ </td>
39
+ <td valign="top">
40
+ <xsl:for-each select="m:Discharge">
41
+ <xsl:call-template name="FormatDateTime"/>
42
+ </xsl:for-each>
43
+ </td>
44
+ </tr>
45
+ </tbody>
46
+ </table>
47
+ </td>
48
+ </tr>
49
+ <xsl:if test="count(m:Diagnose)>0">
50
+ <tr>
51
+ <td valign="top" width="100%">
52
+ <table>
53
+ <tbody>
54
+ <tr>
55
+ <td valign="top">
56
+ <b> Diagnoser/unders�gelser </b>
57
+ </td>
58
+ </tr>
59
+ <tr>
60
+ <td>
61
+ <table>
62
+ <tbody>
63
+ <xsl:for-each select="m:Diagnose/m:Main">
64
+ <tr>
65
+ <td valign="top">
66
+ <b>Hoveddiagnose:</b>
67
+ </td>
68
+ <td valign="top">
69
+ <xsl:value-of select="m:DiagnoseCode"/>
70
+ </td>
71
+ <td valign="top">
72
+ <xsl:value-of select="m:DiagnoseText"/>
73
+ </td>
74
+ </tr>
75
+ </xsl:for-each>
76
+ <xsl:for-each select="m:Diagnose/m:MainAdditional">
77
+ <tr>
78
+ <td valign="top">
79
+ <b>Bidiagnose:</b>
80
+ </td>
81
+ <td valign="top">
82
+ <xsl:value-of select="m:DiagnoseCode"/>
83
+ </td>
84
+ <td valign="top">
85
+ <xsl:value-of select="m:DiagnoseText"/>
86
+ </td>
87
+ </tr>
88
+ </xsl:for-each>
89
+ <xsl:for-each select="m:Diagnose/m:Other">
90
+ <tr>
91
+ <td valign="top">
92
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>: </td>
93
+ <td valign="top">
94
+ <xsl:value-of select="m:DiagnoseCode"/>
95
+ </td>
96
+ <td valign="top">
97
+ <xsl:value-of select="m:DiagnoseText"/>
98
+ </td>
99
+ <td valign="top">
100
+ <xsl:for-each select="m:DiagnoseDateTime">
101
+ <xsl:call-template name="FormatDateTime"/>
102
+ </xsl:for-each>
103
+ </td>
104
+ </tr>
105
+ </xsl:for-each>
106
+ </tbody>
107
+ </table>
108
+ </td>
109
+ </tr>
110
+ </tbody>
111
+ </table>
112
+ </td>
113
+ </tr>
114
+ </xsl:if>
115
+ <tr>
116
+ <td valign="top" width="100%">
117
+ <table>
118
+ <tbody>
119
+ <tr>
120
+ <td valign="top">
121
+ <b> Epikrise </b>
122
+ </td>
123
+ </tr>
124
+ <tr>
125
+ <td valign="top">
126
+ <table>
127
+ <tbody>
128
+ <xsl:for-each select="m:ClinicalInformation">
129
+ <tr>
130
+ <td valign="top">
131
+ <xsl:for-each select="m:Signed">
132
+ <xsl:call-template name="FormatDateTime"/>
133
+ </xsl:for-each>
134
+ </td>
135
+ <td valign="top">
136
+ <xsl:for-each select="m:Text01">
137
+ <xsl:apply-templates/>
138
+ </xsl:for-each>
139
+ </td>
140
+ </tr>
141
+ </xsl:for-each>
142
+ </tbody>
143
+ </table>
144
+ </td>
145
+ </tr>
146
+ </tbody>
147
+ </table>
148
+ </td>
149
+ </tr>
150
+ <tr>
151
+ <xsl:call-template name="showReferences">
152
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
153
+ </xsl:call-template>
154
+ </tr>
155
+ <tr>
156
+ <xsl:call-template name="ShowPatientAndRelatives"/>
157
+ </tr>
158
+ <tr>
159
+ <xsl:call-template name="ShowParticipants"/>
160
+ </tr>
161
+ </tbody>
162
+ </table>
163
+ </td>
164
+ </xsl:for-each>
165
+ </xsl:template>
166
+
167
+ <!-- SpecialistLetter -->
168
+ <xsl:template match="m:Emessage[m:PrivateSpecialistLetter]">
169
+ <xsl:for-each select="m:PrivateSpecialistLetter">
170
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
171
+ <table width="100%">
172
+ <tbody>
173
+ <tr>
174
+ <xsl:call-template name="ShowMessageHeader">
175
+ <xsl:with-param name="MessageName" select="'Speciall�geepikrise'"/>
176
+ </xsl:call-template>
177
+ </tr>
178
+ <tr>
179
+ <td valign="top" width="100%">
180
+ <table>
181
+ <tbody>
182
+ <tr>
183
+ <td valign="top">
184
+ <b>Behandling p�begyndt:</b>
185
+ </td>
186
+ <td valign="top">
187
+ <xsl:for-each select="m:Admission">
188
+ <xsl:call-template name="FormatDateTime"/>
189
+ </xsl:for-each>
190
+ </td>
191
+ <td valign="top">
192
+ <b>Behandling afsluttet:</b>
193
+ </td>
194
+ <td valign="top">
195
+ <xsl:for-each select="m:Discharge">
196
+ <xsl:call-template name="FormatDateTime"/>
197
+ </xsl:for-each>
198
+ </td>
199
+ </tr>
200
+ </tbody>
201
+ </table>
202
+ </td>
203
+ </tr>
204
+ <xsl:if test="count(m:Diagnose)>0">
205
+ <tr>
206
+ <td valign="top" width="100%">
207
+ <table>
208
+ <tbody>
209
+ <tr>
210
+ <td valign="top">
211
+ <b> Diagnoser/unders�gelser </b>
212
+ </td>
213
+ </tr>
214
+ <tr>
215
+ <td>
216
+ <table>
217
+ <tbody>
218
+ <xsl:for-each select="m:Diagnose/m:Main">
219
+ <tr>
220
+ <td valign="top">
221
+ <b>Hoveddiagnose:</b>
222
+ </td>
223
+ <td valign="top">
224
+ <xsl:value-of select="m:DiagnoseCode"/>
225
+ </td>
226
+ <td valign="top">
227
+ <xsl:value-of select="m:DiagnoseText"/>
228
+ </td>
229
+ </tr>
230
+ </xsl:for-each>
231
+ <xsl:for-each select="m:Diagnose/m:MainAdditional">
232
+ <tr>
233
+ <td valign="top">
234
+ <b>Bidiagnose:</b>
235
+ </td>
236
+ <td valign="top">
237
+ <xsl:value-of select="m:DiagnoseCode"/>
238
+ </td>
239
+ <td valign="top">
240
+ <xsl:value-of select="m:DiagnoseText"/>
241
+ </td>
242
+ </tr>
243
+ </xsl:for-each>
244
+ <xsl:for-each select="m:Diagnose/m:Other">
245
+ <tr>
246
+ <td valign="top">
247
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>: </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> Epikrise </b>
277
+ </td>
278
+ </tr>
279
+ <tr>
280
+ <td valign="top">
281
+ <table>
282
+ <tbody>
283
+ <xsl:for-each select="m:ClinicalInformation">
284
+ <tr>
285
+ <td valign="top">
286
+ <xsl:for-each select="m:Signed">
287
+ <xsl:call-template name="FormatDateTime"/>
288
+ </xsl:for-each>
289
+ </td>
290
+ <td valign="top">
291
+ <xsl:for-each select="m:Text01">
292
+ <xsl:apply-templates/>
293
+ </xsl:for-each>
294
+ </td>
295
+ </tr>
296
+ </xsl:for-each>
297
+ </tbody>
298
+ </table>
299
+ </td>
300
+ </tr>
301
+ </tbody>
302
+ </table>
303
+ </td>
304
+ </tr>
305
+ <tr>
306
+ <xsl:call-template name="showReferences">
307
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
308
+ </xsl:call-template>
309
+ </tr>
310
+ <tr>
311
+ <xsl:call-template name="ShowPatientAndRelatives"/>
312
+ </tr>
313
+ <tr>
314
+ <xsl:call-template name="ShowParticipants"/>
315
+ </tr>
316
+ </tbody>
317
+ </table>
318
+ </td>
319
+ </xsl:for-each>
320
+ </xsl:template>
321
+
322
+ <!-- PhysiotherapyLetter -->
323
+ <xsl:template match="m:Emessage[m:PhysiotherapyLetter]">
324
+ <xsl:for-each select="m:PhysiotherapyLetter">
325
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
326
+ <table width="100%">
327
+ <tbody>
328
+ <tr>
329
+ <xsl:call-template name="ShowMessageHeader">
330
+ <xsl:with-param name="MessageName" select="'Fysioterapiepikrise'"/>
331
+ </xsl:call-template>
332
+ </tr>
333
+ <tr>
334
+ <td valign="top" width="100%">
335
+ <table>
336
+ <tbody>
337
+ <tr>
338
+ <td valign="top">
339
+ <b>P�begyndt behandling:</b>
340
+ </td>
341
+ <td valign="top">
342
+ <xsl:for-each select="m:Admission">
343
+ <xsl:call-template name="FormatDateTime"/>
344
+ </xsl:for-each>
345
+ </td>
346
+ <td valign="top">
347
+ <b>Behandling afsluttet:</b>
348
+ </td>
349
+ <td valign="top">
350
+ <xsl:for-each select="m:Discharge">
351
+ <xsl:call-template name="FormatDateTime"/>
352
+ </xsl:for-each>
353
+ </td>
354
+ </tr>
355
+ </tbody>
356
+ </table>
357
+ </td>
358
+ </tr>
359
+ <xsl:if test="count(m:Diagnose)>0">
360
+ <tr>
361
+ <td valign="top" width="100%">
362
+ <table>
363
+ <tbody>
364
+ <tr>
365
+ <td valign="top">
366
+ <b> Diagnoser/unders�gelser </b>
367
+ </td>
368
+ </tr>
369
+ <tr>
370
+ <td>
371
+ <table>
372
+ <tbody>
373
+ <xsl:for-each select="m:Diagnose/m:Main">
374
+ <tr>
375
+ <td valign="top">
376
+ <b>Hoveddiagnose:</b>
377
+ </td>
378
+ <td valign="top">
379
+ <xsl:value-of select="m:DiagnoseCode"/>
380
+ </td>
381
+ <td valign="top">
382
+ <xsl:value-of select="m:DiagnoseText"/>
383
+ </td>
384
+ </tr>
385
+ </xsl:for-each>
386
+ <xsl:for-each select="m:Diagnose/m:MainAdditional">
387
+ <tr>
388
+ <td valign="top">
389
+ <b>Bidiagnose:</b>
390
+ </td>
391
+ <td valign="top">
392
+ <xsl:value-of select="m:DiagnoseCode"/>
393
+ </td>
394
+ <td valign="top">
395
+ <xsl:value-of select="m:DiagnoseText"/>
396
+ </td>
397
+ </tr>
398
+ </xsl:for-each>
399
+ <xsl:for-each select="m:Diagnose/m:Other">
400
+ <tr>
401
+ <td valign="top">
402
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>: </td>
403
+ <td valign="top">
404
+ <xsl:value-of select="m:DiagnoseCode"/>
405
+ </td>
406
+ <td valign="top">
407
+ <xsl:value-of select="m:DiagnoseText"/>
408
+ </td>
409
+ <td valign="top">
410
+ <xsl:for-each select="m:DiagnoseDateTime">
411
+ <xsl:call-template name="FormatDateTime"/>
412
+ </xsl:for-each>
413
+ </td>
414
+ </tr>
415
+ </xsl:for-each>
416
+ </tbody>
417
+ </table>
418
+ </td>
419
+ </tr>
420
+ </tbody>
421
+ </table>
422
+ </td>
423
+ </tr>
424
+ </xsl:if>
425
+ <tr>
426
+ <td valign="top" width="100%">
427
+ <table>
428
+ <tbody>
429
+ <tr>
430
+ <td valign="top">
431
+ <b> Epikrise </b>
432
+ </td>
433
+ </tr>
434
+ <tr>
435
+ <td valign="top">
436
+ <table>
437
+ <tbody>
438
+ <xsl:for-each select="m:ClinicalInformation">
439
+ <tr>
440
+ <td valign="top">
441
+ <xsl:for-each select="m:Signed">
442
+ <xsl:call-template name="FormatDateTime"/>
443
+ </xsl:for-each>
444
+ </td>
445
+ <td valign="top">
446
+ <xsl:for-each select="m:Text01">
447
+ <xsl:apply-templates/>
448
+ </xsl:for-each>
449
+ </td>
450
+ </tr>
451
+ </xsl:for-each>
452
+ </tbody>
453
+ </table>
454
+ </td>
455
+ </tr>
456
+ </tbody>
457
+ </table>
458
+ </td>
459
+ </tr>
460
+ <tr>
461
+ <xsl:call-template name="showReferences">
462
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
463
+ </xsl:call-template>
464
+ </tr>
465
+ <tr>
466
+ <xsl:call-template name="ShowPatientAndRelatives"/>
467
+ </tr>
468
+ <tr>
469
+ <xsl:call-template name="ShowParticipants"/>
470
+ </tr>
471
+ </tbody>
472
+ </table>
473
+ </td>
474
+ </xsl:for-each>
475
+ </xsl:template>
476
+
477
+ <!-- PsychologistLetter -->
478
+ <xsl:template match="m:Emessage[m:PsychologistLetter]">
479
+ <xsl:for-each select="m:PsychologistLetter">
480
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
481
+ <table width="100%">
482
+ <tbody>
483
+ <tr>
484
+ <xsl:call-template name="ShowMessageHeader">
485
+ <xsl:with-param name="MessageName" select="'Psykologepikrise'"/>
486
+ </xsl:call-template>
487
+ </tr>
488
+ <tr>
489
+ <td valign="top" width="100%">
490
+ <table>
491
+ <tbody>
492
+ <tr>
493
+ <td valign="top">
494
+ <b>P�begyndt behandling:</b>
495
+ </td>
496
+ <td valign="top">
497
+ <xsl:for-each select="m:Admission">
498
+ <xsl:call-template name="FormatDateTime"/>
499
+ </xsl:for-each>
500
+ </td>
501
+ <td valign="top">
502
+ <b>Behandling afsluttet:</b>
503
+ </td>
504
+ <td valign="top">
505
+ <xsl:for-each select="m:Discharge">
506
+ <xsl:call-template name="FormatDateTime"/>
507
+ </xsl:for-each>
508
+ </td>
509
+ </tr>
510
+ </tbody>
511
+ </table>
512
+ </td>
513
+ </tr>
514
+ <xsl:if test="count(m:Diagnose)>0">
515
+ <tr>
516
+ <td valign="top" width="100%">
517
+ <table>
518
+ <tbody>
519
+ <tr>
520
+ <td valign="top">
521
+ <b> Diagnoser/unders�gelser </b>
522
+ </td>
523
+ </tr>
524
+ <tr>
525
+ <td>
526
+ <table>
527
+ <tbody>
528
+ <xsl:for-each select="m:Diagnose/m:Main">
529
+ <tr>
530
+ <td valign="top">
531
+ <b>Hoveddiagnose:</b>
532
+ </td>
533
+ <td valign="top">
534
+ <xsl:value-of select="m:DiagnoseCode"/>
535
+ </td>
536
+ <td valign="top">
537
+ <xsl:value-of select="m:DiagnoseText"/>
538
+ </td>
539
+ </tr>
540
+ </xsl:for-each>
541
+ <xsl:for-each select="m:Diagnose/m:MainAdditional">
542
+ <tr>
543
+ <td valign="top">
544
+ <b>Bidiagnose:</b>
545
+ </td>
546
+ <td valign="top">
547
+ <xsl:value-of select="m:DiagnoseCode"/>
548
+ </td>
549
+ <td valign="top">
550
+ <xsl:value-of select="m:DiagnoseText"/>
551
+ </td>
552
+ </tr>
553
+ </xsl:for-each>
554
+ <xsl:for-each select="m:Diagnose/m:Other">
555
+ <tr>
556
+ <td valign="top">
557
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>: </td>
558
+ <td valign="top">
559
+ <xsl:value-of select="m:DiagnoseCode"/>
560
+ </td>
561
+ <td valign="top">
562
+ <xsl:value-of select="m:DiagnoseText"/>
563
+ </td>
564
+ <td valign="top">
565
+ <xsl:for-each select="m:DiagnoseDateTime">
566
+ <xsl:call-template name="FormatDateTime"/>
567
+ </xsl:for-each>
568
+ </td>
569
+ </tr>
570
+ </xsl:for-each>
571
+ </tbody>
572
+ </table>
573
+ </td>
574
+ </tr>
575
+ </tbody>
576
+ </table>
577
+ </td>
578
+ </tr>
579
+ </xsl:if>
580
+ <tr>
581
+ <td valign="top" width="100%">
582
+ <table>
583
+ <tbody>
584
+ <tr>
585
+ <td valign="top">
586
+ <b> Epikrise </b>
587
+ </td>
588
+ </tr>
589
+ <tr>
590
+ <td valign="top">
591
+ <table>
592
+ <tbody>
593
+ <xsl:for-each select="m:ClinicalInformation">
594
+ <tr>
595
+ <td valign="top">
596
+ <xsl:for-each select="m:Signed">
597
+ <xsl:call-template name="FormatDateTime"/>
598
+ </xsl:for-each>
599
+ </td>
600
+ <td valign="top">
601
+ <xsl:for-each select="m:Text01">
602
+ <xsl:apply-templates/>
603
+ </xsl:for-each>
604
+ </td>
605
+ </tr>
606
+ </xsl:for-each>
607
+ </tbody>
608
+ </table>
609
+ </td>
610
+ </tr>
611
+ </tbody>
612
+ </table>
613
+ </td>
614
+ </tr>
615
+ <tr>
616
+ <xsl:call-template name="showReferences">
617
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
618
+ </xsl:call-template>
619
+ </tr>
620
+ <tr>
621
+ <xsl:call-template name="ShowPatientAndRelatives"/>
622
+ </tr>
623
+ <tr>
624
+ <xsl:call-template name="ShowParticipants"/>
625
+ </tr>
626
+ </tbody>
627
+ </table>
628
+ </td>
629
+ </xsl:for-each>
630
+ </xsl:template>
631
+
632
+ <xsl:template match="m:Emessage[m:PrivateSpecialistReferral]">
633
+ <xsl:for-each select="m:PrivateSpecialistReferral">
634
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
635
+ <table width="100%">
636
+ <tbody>
637
+ <tr>
638
+ <xsl:call-template name="ShowMessageHeader">
639
+ <xsl:with-param name="MessageName" select="'Speciall�gehenvisning'"/>
640
+ </xsl:call-template>
641
+ </tr>
642
+ <tr>
643
+ <td valign="top" width="100%">
644
+ <table>
645
+ <tbody>
646
+ <tr>
647
+ <xsl:for-each select="m:AdditionalInformation/m:Priority">
648
+ <td valign="top">
649
+ <b>Prioritet:</b>
650
+ </td>
651
+ <td valign="top">
652
+ <xsl:value-of select="."/>
653
+ </td>
654
+ </xsl:for-each>
655
+ <xsl:for-each select="m:AdditionalInformation/m:ReferralStatus">
656
+ <td valign="top">
657
+ <b>Henvisningstype:</b>
658
+ </td>
659
+ <td valign="top">
660
+ <xsl:value-of select="."/>
661
+ </td>
662
+ </xsl:for-each>
663
+ <xsl:for-each select="m:AdditionalInformation/m:Transport">
664
+ <td valign="top">
665
+ <b>Transport:</b>
666
+ </td>
667
+ <td valign="top">
668
+ <xsl:value-of select="."/>
669
+ </td>
670
+ </xsl:for-each>
671
+ <xsl:for-each select="m:AdditionalInformation/m:Supplementary">
672
+ <td valign="top">
673
+ <b>Andet:</b>
674
+ </td>
675
+ <td valign="top">
676
+ <xsl:apply-templates/>
677
+ </td>
678
+ </xsl:for-each>
679
+ </tr>
680
+ </tbody>
681
+ </table>
682
+ </td>
683
+ </tr>
684
+ <xsl:if test="count(m:Referral)>0">
685
+ <tr>
686
+ <td valign="top" width="100%">
687
+ <table>
688
+ <tbody>
689
+ <tr>
690
+ <td valign="top">
691
+ <b> Henvisnings diagnoser </b>
692
+ </td>
693
+ </tr>
694
+ <tr>
695
+ <td>
696
+ <table>
697
+ <tbody>
698
+ <xsl:for-each select="m:Referral/m:Refer">
699
+ <tr>
700
+ <td valign="top">
701
+ <b>Hoveddiagnose:</b>
702
+ </td>
703
+ <td valign="top">
704
+ <xsl:value-of select="m:DiagnoseCode"/>
705
+ </td>
706
+ <td valign="top">
707
+ <xsl:value-of select="m:DiagnoseText"/>
708
+ </td>
709
+ </tr>
710
+ </xsl:for-each>
711
+ <xsl:for-each select="m:Referral/m:ReferralAdditional">
712
+ <tr>
713
+ <td valign="top">
714
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>: </td>
715
+ <td valign="top">
716
+ <xsl:value-of select="m:DiagnoseCode"/>
717
+ </td>
718
+ <td valign="top">
719
+ <xsl:value-of select="m:DiagnoseText"/>
720
+ </td>
721
+ </tr>
722
+ </xsl:for-each>
723
+ </tbody>
724
+ </table>
725
+ </td>
726
+ </tr>
727
+ </tbody>
728
+ </table>
729
+ </td>
730
+ </tr>
731
+ </xsl:if>
732
+ <xsl:if test="count(m:AdditionalInformation/m:ClinicalReason)">
733
+ <tr>
734
+ <td valign="top" width="100%">
735
+ <table>
736
+ <tbody>
737
+ <tr>
738
+ <td valign="top">
739
+ <b> �nsket unders�gelse/behandling/problemstilling </b>
740
+ </td>
741
+ </tr>
742
+ <tr>
743
+ <td valign="top">
744
+ <xsl:attribute name="bgcolor">
745
+ <xsl:value-of select="$highlightbgcolor"/>
746
+ </xsl:attribute>
747
+ <table>
748
+ <tbody>
749
+ <xsl:for-each select="m:AdditionalInformation/m:ClinicalReason">
750
+ <tr>
751
+ <td valign="top">
752
+ <xsl:apply-templates/>
753
+ </td>
754
+ </tr>
755
+ </xsl:for-each>
756
+ </tbody>
757
+ </table>
758
+ </td>
759
+ </tr>
760
+ </tbody>
761
+ </table>
762
+ </td>
763
+ </tr>
764
+ </xsl:if>
765
+ <tr>
766
+ <td valign="top" width="100%">
767
+ <table width="100%">
768
+ <tbody>
769
+ <tr>
770
+ <td valign="top" width="100%">
771
+ <b> Kliniske oplysninger </b>
772
+ </td>
773
+ </tr>
774
+ <tr>
775
+ <xsl:attribute name="bgcolor">
776
+ <xsl:value-of select="$compoundbgcolor"/>
777
+ </xsl:attribute>
778
+ <td valign="top" width="100%">
779
+ <table width="100%">
780
+ <tbody>
781
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Cave">
782
+ <tr>
783
+ <td>
784
+ <b>Cave</b>
785
+ </td>
786
+ </tr>
787
+ <tr>
788
+ <td>
789
+ <table>
790
+ <tbody>
791
+ <tr>
792
+ <td valign="top">
793
+ <xsl:apply-templates/>
794
+ </td>
795
+ </tr>
796
+ </tbody>
797
+ </table>
798
+ </td>
799
+ </tr>
800
+ </xsl:for-each>
801
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Anamnesis">
802
+ <tr>
803
+ <td>
804
+ <b>Anamnese</b>
805
+ </td>
806
+ </tr>
807
+ <tr>
808
+ <td>
809
+ <table>
810
+ <tbody>
811
+ <tr>
812
+ <td valign="top">
813
+ <xsl:apply-templates/>
814
+ </td>
815
+ </tr>
816
+ </tbody>
817
+ </table>
818
+ </td>
819
+ </tr>
820
+ </xsl:for-each>
821
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Examination">
822
+ <tr>
823
+ <td>
824
+ <b>Unders�gelser/behandlinger</b>
825
+ </td>
826
+ </tr>
827
+ <tr>
828
+ <td>
829
+ <table>
830
+ <tbody>
831
+ <tr>
832
+ <td valign="top">
833
+ <xsl:apply-templates/>
834
+ </td>
835
+ </tr>
836
+ </tbody>
837
+ </table>
838
+ </td>
839
+ </tr>
840
+ </xsl:for-each>
841
+ <xsl:for-each select="m:RelevantClinicalInformation/m:ActualMedicine">
842
+ <tr>
843
+ <td>
844
+ <b>Aktuel medicin</b>
845
+ </td>
846
+ </tr>
847
+ <tr>
848
+ <td>
849
+ <table>
850
+ <tbody>
851
+ <tr>
852
+ <td valign="top">
853
+ <xsl:apply-templates/>
854
+ </td>
855
+ </tr>
856
+ </tbody>
857
+ </table>
858
+ </td>
859
+ </tr>
860
+ </xsl:for-each>
861
+ </tbody>
862
+ </table>
863
+ </td>
864
+ </tr>
865
+ </tbody>
866
+ </table>
867
+ </td>
868
+ </tr>
869
+ <tr>
870
+ <xsl:call-template name="showReferences">
871
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
872
+ </xsl:call-template>
873
+ </tr>
874
+ <xsl:if test="count(m:HospitalVisitation)>0">
875
+ <tr>
876
+ <td valign="top" width="100%">
877
+ <table>
878
+ <tbody>
879
+ <tr>
880
+ <td valign="top">
881
+ <b>Visitation (udfyldt af modtager)</b>
882
+ </td>
883
+ </tr>
884
+ <tr>
885
+ <td valign="top">
886
+ <table>
887
+ <tbody>
888
+ <xsl:for-each select="m:HospitalVisitation">
889
+ <tr>
890
+ <td valign="top">
891
+ <xsl:value-of select="m:InformationCode"/>
892
+ </td>
893
+ <td valign="top">
894
+ <xsl:for-each select="m:Information">
895
+ <xsl:apply-templates/>
896
+ </xsl:for-each>
897
+ </td>
898
+ </tr>
899
+ </xsl:for-each>
900
+ </tbody>
901
+ </table>
902
+ </td>
903
+ </tr>
904
+ </tbody>
905
+ </table>
906
+ </td>
907
+ </tr>
908
+ </xsl:if>
909
+ <tr>
910
+ <xsl:call-template name="ShowPatientAndRelatives"/>
911
+ </tr>
912
+ <tr>
913
+ <xsl:call-template name="ShowParticipants"/>
914
+ </tr>
915
+ </tbody>
916
+ </table>
917
+ </td>
918
+ </xsl:for-each>
919
+ </xsl:template>
920
+
921
+ <!-- template til at vise en fysioterapeuthenvisning. -->
922
+ <xsl:template match="m:Emessage[m:PhysiotherapyReferral]">
923
+ <xsl:for-each select="m:PhysiotherapyReferral">
924
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
925
+ <table width="100%">
926
+ <tbody>
927
+ <tr>
928
+ <xsl:call-template name="ShowMessageHeader">
929
+ <xsl:with-param name="MessageName" select="'Fysioterapeuthenvisning'"/>
930
+ </xsl:call-template>
931
+ </tr>
932
+ <tr>
933
+ <td valign="top" width="100%">
934
+ <table>
935
+ <tbody>
936
+ <tr>
937
+ <xsl:for-each select="m:AdditionalInformation/m:Priority">
938
+ <td valign="top">
939
+ <b>Prioritet:</b>
940
+ </td>
941
+ <td valign="top">
942
+ <xsl:value-of select="."/>
943
+ </td>
944
+ </xsl:for-each>
945
+ <xsl:for-each select="m:AdditionalInformation/m:ReferralStatus">
946
+ <td valign="top">
947
+ <b>Behandlingssted:</b>
948
+ </td>
949
+ <td valign="top">
950
+ <xsl:value-of select="."/>
951
+ </td>
952
+ </xsl:for-each>
953
+ <xsl:for-each select="m:AdditionalInformation/m:Transport">
954
+ <td valign="top">
955
+ <b>Transport:</b>
956
+ </td>
957
+ <td valign="top">
958
+ <xsl:value-of select="."/>
959
+ </td>
960
+ </xsl:for-each>
961
+ <xsl:for-each select="m:AdditionalInformation/m:Supplementary">
962
+ <td valign="top">
963
+ <b>Andet:</b>
964
+ </td>
965
+ <td valign="top">
966
+ <xsl:apply-templates/>
967
+ </td>
968
+ </xsl:for-each>
969
+ </tr>
970
+ </tbody>
971
+ </table>
972
+ </td>
973
+ </tr>
974
+ <xsl:if test="count(m:Referral)>0">
975
+ <tr>
976
+ <td valign="top" width="100%">
977
+ <table>
978
+ <tbody>
979
+ <tr>
980
+ <td valign="top">
981
+ <b> Henvisnings diagnoser </b>
982
+ </td>
983
+ </tr>
984
+ <tr>
985
+ <td>
986
+ <table>
987
+ <tbody>
988
+ <xsl:for-each select="m:Referral/m:Refer">
989
+ <tr>
990
+ <td valign="top">
991
+ <b>Hoveddiagnose:</b>
992
+ </td>
993
+ <td valign="top">
994
+ <xsl:value-of select="m:DiagnoseCode"/>
995
+ </td>
996
+ <td valign="top">
997
+ <xsl:value-of select="m:DiagnoseText"/>
998
+ </td>
999
+ </tr>
1000
+ </xsl:for-each>
1001
+ <xsl:for-each select="m:Referral/m:ReferralAdditional">
1002
+ <tr>
1003
+ <td valign="top">
1004
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>: </td>
1005
+ <td valign="top">
1006
+ <xsl:value-of select="m:DiagnoseCode"/>
1007
+ </td>
1008
+ <td valign="top">
1009
+ <xsl:value-of select="m:DiagnoseText"/>
1010
+ </td>
1011
+ </tr>
1012
+ </xsl:for-each>
1013
+ </tbody>
1014
+ </table>
1015
+ </td>
1016
+ </tr>
1017
+ </tbody>
1018
+ </table>
1019
+ </td>
1020
+ </tr>
1021
+ </xsl:if>
1022
+ <xsl:if test="count(m:AdditionalInformation/m:ClinicalReason)">
1023
+ <tr>
1024
+ <td valign="top" width="100%">
1025
+ <table>
1026
+ <tbody>
1027
+ <tr>
1028
+ <td valign="top">
1029
+ <b> �nsket unders�gelse/behandling/problemstilling </b>
1030
+ </td>
1031
+ </tr>
1032
+ <tr>
1033
+ <td valign="top">
1034
+ <xsl:attribute name="bgcolor">
1035
+ <xsl:value-of select="$highlightbgcolor"/>
1036
+ </xsl:attribute>
1037
+ <table>
1038
+ <tbody>
1039
+ <xsl:for-each select="m:AdditionalInformation/m:ClinicalReason">
1040
+ <tr>
1041
+ <td valign="top">
1042
+ <xsl:apply-templates/>
1043
+ </td>
1044
+ </tr>
1045
+ </xsl:for-each>
1046
+ </tbody>
1047
+ </table>
1048
+ </td>
1049
+ </tr>
1050
+ </tbody>
1051
+ </table>
1052
+ </td>
1053
+ </tr>
1054
+ </xsl:if>
1055
+ <tr>
1056
+ <td valign="top" width="100%">
1057
+ <table width="100%">
1058
+ <tbody>
1059
+ <tr>
1060
+ <td valign="top" width="100%">
1061
+ <b> Kliniske oplysninger </b>
1062
+ </td>
1063
+ </tr>
1064
+ <tr>
1065
+ <xsl:attribute name="bgcolor">
1066
+ <xsl:value-of select="$compoundbgcolor"/>
1067
+ </xsl:attribute>
1068
+ <td valign="top" width="100%">
1069
+ <table width="100%">
1070
+ <tbody>
1071
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Cave">
1072
+ <tr>
1073
+ <td>
1074
+ <b>Cave</b>
1075
+ </td>
1076
+ </tr>
1077
+ <tr>
1078
+ <td>
1079
+ <table>
1080
+ <tbody>
1081
+ <tr>
1082
+ <td valign="top">
1083
+ <xsl:apply-templates/>
1084
+ </td>
1085
+ </tr>
1086
+ </tbody>
1087
+ </table>
1088
+ </td>
1089
+ </tr>
1090
+ </xsl:for-each>
1091
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Anamnesis">
1092
+ <tr>
1093
+ <td>
1094
+ <b>Anamnese</b>
1095
+ </td>
1096
+ </tr>
1097
+ <tr>
1098
+ <td>
1099
+ <table>
1100
+ <tbody>
1101
+ <tr>
1102
+ <td valign="top">
1103
+ <xsl:apply-templates/>
1104
+ </td>
1105
+ </tr>
1106
+ </tbody>
1107
+ </table>
1108
+ </td>
1109
+ </tr>
1110
+ </xsl:for-each>
1111
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Examination">
1112
+ <tr>
1113
+ <td>
1114
+ <b>Unders�gelser/behandlinger</b>
1115
+ </td>
1116
+ </tr>
1117
+ <tr>
1118
+ <td>
1119
+ <table>
1120
+ <tbody>
1121
+ <tr>
1122
+ <td valign="top">
1123
+ <xsl:apply-templates/>
1124
+ </td>
1125
+ </tr>
1126
+ </tbody>
1127
+ </table>
1128
+ </td>
1129
+ </tr>
1130
+ </xsl:for-each>
1131
+ <xsl:for-each select="m:RelevantClinicalInformation/m:ActualMedicine">
1132
+ <tr>
1133
+ <td>
1134
+ <b>Aktuel medicin</b>
1135
+ </td>
1136
+ </tr>
1137
+ <tr>
1138
+ <td>
1139
+ <table>
1140
+ <tbody>
1141
+ <tr>
1142
+ <td valign="top">
1143
+ <xsl:apply-templates/>
1144
+ </td>
1145
+ </tr>
1146
+ </tbody>
1147
+ </table>
1148
+ </td>
1149
+ </tr>
1150
+ </xsl:for-each>
1151
+ </tbody>
1152
+ </table>
1153
+ </td>
1154
+ </tr>
1155
+ </tbody>
1156
+ </table>
1157
+ </td>
1158
+ </tr>
1159
+ <tr>
1160
+ <xsl:call-template name="showReferences">
1161
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
1162
+ </xsl:call-template>
1163
+ </tr>
1164
+ <xsl:if test="count(m:HospitalVisitation)>0">
1165
+ <tr>
1166
+ <td valign="top" width="100%">
1167
+ <table>
1168
+ <tbody>
1169
+ <tr>
1170
+ <td valign="top">
1171
+ <b>Visitation (udfyldt af modtager)</b>
1172
+ </td>
1173
+ </tr>
1174
+ <tr>
1175
+ <td valign="top">
1176
+ <table>
1177
+ <tbody>
1178
+ <xsl:for-each select="m:HospitalVisitation">
1179
+ <tr>
1180
+ <td valign="top">
1181
+ <xsl:value-of select="m:InformationCode"/>
1182
+ </td>
1183
+ <td valign="top">
1184
+ <xsl:for-each select="m:Information">
1185
+ <xsl:apply-templates/>
1186
+ </xsl:for-each>
1187
+ </td>
1188
+ </tr>
1189
+ </xsl:for-each>
1190
+ </tbody>
1191
+ </table>
1192
+ </td>
1193
+ </tr>
1194
+ </tbody>
1195
+ </table>
1196
+ </td>
1197
+ </tr>
1198
+ </xsl:if>
1199
+ <tr>
1200
+ <xsl:call-template name="ShowPatientAndRelatives"/>
1201
+ </tr>
1202
+ <tr>
1203
+ <xsl:call-template name="ShowParticipants"/>
1204
+ </tr>
1205
+ </tbody>
1206
+ </table>
1207
+ </td>
1208
+ </xsl:for-each>
1209
+ </xsl:template>
1210
+
1211
+ <!-- template til at vise en fysioterapeuthenvisning. -->
1212
+ <xsl:template match="m:Emessage[m:TeddyReferral]">
1213
+ <xsl:for-each select="m:TeddyReferral">
1214
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1215
+ <table width="100%">
1216
+ <tbody>
1217
+ <tr>
1218
+ <xsl:call-template name="ShowMessageHeader">
1219
+ <xsl:with-param name="MessageName" select="'Fysioterapeuthenvisning'"/>
1220
+ </xsl:call-template>
1221
+ </tr>
1222
+ <tr>
1223
+ <td valign="top" width="100%">
1224
+ <table>
1225
+ <tbody>
1226
+ <tr>
1227
+ <xsl:for-each select="m:AdditionalInformation/m:Priority">
1228
+ <td valign="top">
1229
+ <b>Prioritet:</b>
1230
+ </td>
1231
+ <td valign="top">
1232
+ <xsl:value-of select="."/>
1233
+ </td>
1234
+ </xsl:for-each>
1235
+ <xsl:for-each select="m:AdditionalInformation/m:ReferralStatus">
1236
+ <td valign="top">
1237
+ <b>Behandlingssted:</b>
1238
+ </td>
1239
+ <td valign="top">
1240
+ <xsl:value-of select="."/>
1241
+ </td>
1242
+ </xsl:for-each>
1243
+ <xsl:for-each select="m:AdditionalInformation/m:Transport">
1244
+ <td valign="top">
1245
+ <b>Transport:</b>
1246
+ </td>
1247
+ <td valign="top">
1248
+ <xsl:value-of select="."/>
1249
+ </td>
1250
+ </xsl:for-each>
1251
+ <xsl:for-each select="m:AdditionalInformation/m:Supplementary">
1252
+ <td valign="top">
1253
+ <b>Andet:</b>
1254
+ </td>
1255
+ <td valign="top">
1256
+ <xsl:apply-templates/>
1257
+ </td>
1258
+ </xsl:for-each>
1259
+ </tr>
1260
+ </tbody>
1261
+ </table>
1262
+ </td>
1263
+ </tr>
1264
+ <xsl:if test="count(m:Referral)>0">
1265
+ <tr>
1266
+ <td valign="top" width="100%">
1267
+ <table>
1268
+ <tbody>
1269
+ <tr>
1270
+ <td valign="top">
1271
+ <b> Henvisnings diagnoser </b>
1272
+ </td>
1273
+ </tr>
1274
+ <tr>
1275
+ <td>
1276
+ <table>
1277
+ <tbody>
1278
+ <xsl:for-each select="m:Referral/m:Refer">
1279
+ <tr>
1280
+ <td valign="top">
1281
+ <b>Hoveddiagnose:</b>
1282
+ </td>
1283
+ <td valign="top">
1284
+ <xsl:value-of select="m:DiagnoseCode"/>
1285
+ </td>
1286
+ <td valign="top">
1287
+ <xsl:value-of select="m:DiagnoseText"/>
1288
+ </td>
1289
+ </tr>
1290
+ </xsl:for-each>
1291
+ <xsl:for-each select="m:Referral/m:ReferralAdditional">
1292
+ <tr>
1293
+ <td valign="top">
1294
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>: </td>
1295
+ <td valign="top">
1296
+ <xsl:value-of select="m:DiagnoseCode"/>
1297
+ </td>
1298
+ <td valign="top">
1299
+ <xsl:value-of select="m:DiagnoseText"/>
1300
+ </td>
1301
+ </tr>
1302
+ </xsl:for-each>
1303
+ </tbody>
1304
+ </table>
1305
+ </td>
1306
+ </tr>
1307
+ </tbody>
1308
+ </table>
1309
+ </td>
1310
+ </tr>
1311
+ </xsl:if>
1312
+ <xsl:if test="count(m:AdditionalInformation/m:ClinicalReason)">
1313
+ <tr>
1314
+ <td valign="top" width="100%">
1315
+ <table>
1316
+ <tbody>
1317
+ <tr>
1318
+ <td valign="top">
1319
+ <b> �nsket unders�gelse/behandling/problemstilling </b>
1320
+ </td>
1321
+ </tr>
1322
+ <tr>
1323
+ <td valign="top">
1324
+ <xsl:attribute name="bgcolor">
1325
+ <xsl:value-of select="$highlightbgcolor"/>
1326
+ </xsl:attribute>
1327
+ <table>
1328
+ <tbody>
1329
+ <xsl:for-each select="m:AdditionalInformation/m:ClinicalReason">
1330
+ <tr>
1331
+ <td valign="top">
1332
+ <xsl:apply-templates/>
1333
+ </td>
1334
+ </tr>
1335
+ </xsl:for-each>
1336
+ </tbody>
1337
+ </table>
1338
+ </td>
1339
+ </tr>
1340
+ </tbody>
1341
+ </table>
1342
+ </td>
1343
+ </tr>
1344
+ </xsl:if>
1345
+ <tr>
1346
+ <td valign="top" width="100%">
1347
+ <table width="100%">
1348
+ <tbody>
1349
+ <tr>
1350
+ <td valign="top" width="100%">
1351
+ <b> Kliniske oplysninger </b>
1352
+ </td>
1353
+ </tr>
1354
+ <tr>
1355
+ <xsl:attribute name="bgcolor">
1356
+ <xsl:value-of select="$compoundbgcolor"/>
1357
+ </xsl:attribute>
1358
+ <td valign="top" width="100%">
1359
+ <table width="100%">
1360
+ <tbody>
1361
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Cave">
1362
+ <tr>
1363
+ <td>
1364
+ <b>Cave</b>
1365
+ </td>
1366
+ </tr>
1367
+ <tr>
1368
+ <td>
1369
+ <table>
1370
+ <tbody>
1371
+ <tr>
1372
+ <td valign="top">
1373
+ <xsl:apply-templates/>
1374
+ </td>
1375
+ </tr>
1376
+ </tbody>
1377
+ </table>
1378
+ </td>
1379
+ </tr>
1380
+ </xsl:for-each>
1381
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Anamnesis">
1382
+ <tr>
1383
+ <td>
1384
+ <b>Anamnese</b>
1385
+ </td>
1386
+ </tr>
1387
+ <tr>
1388
+ <td>
1389
+ <table>
1390
+ <tbody>
1391
+ <tr>
1392
+ <td valign="top">
1393
+ <xsl:apply-templates/>
1394
+ </td>
1395
+ </tr>
1396
+ </tbody>
1397
+ </table>
1398
+ </td>
1399
+ </tr>
1400
+ </xsl:for-each>
1401
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Examination">
1402
+ <tr>
1403
+ <td>
1404
+ <b>Unders�gelser/behandlinger</b>
1405
+ </td>
1406
+ </tr>
1407
+ <tr>
1408
+ <td>
1409
+ <table>
1410
+ <tbody>
1411
+ <tr>
1412
+ <td valign="top">
1413
+ <xsl:apply-templates/>
1414
+ </td>
1415
+ </tr>
1416
+ </tbody>
1417
+ </table>
1418
+ </td>
1419
+ </tr>
1420
+ </xsl:for-each>
1421
+ <xsl:for-each select="m:RelevantClinicalInformation/m:ActualMedicine">
1422
+ <tr>
1423
+ <td>
1424
+ <b>Aktuel medicin</b>
1425
+ </td>
1426
+ </tr>
1427
+ <tr>
1428
+ <td>
1429
+ <table>
1430
+ <tbody>
1431
+ <tr>
1432
+ <td valign="top">
1433
+ <xsl:apply-templates/>
1434
+ </td>
1435
+ </tr>
1436
+ </tbody>
1437
+ </table>
1438
+ </td>
1439
+ </tr>
1440
+ </xsl:for-each>
1441
+ </tbody>
1442
+ </table>
1443
+ </td>
1444
+ </tr>
1445
+ </tbody>
1446
+ </table>
1447
+ </td>
1448
+ </tr>
1449
+ <tr>
1450
+ <xsl:call-template name="showReferences">
1451
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
1452
+ </xsl:call-template>
1453
+ </tr>
1454
+ <xsl:if test="count(m:HospitalVisitation)>0">
1455
+ <tr>
1456
+ <td valign="top" width="100%">
1457
+ <table>
1458
+ <tbody>
1459
+ <tr>
1460
+ <td valign="top">
1461
+ <b>Visitation (udfyldt af modtager)</b>
1462
+ </td>
1463
+ </tr>
1464
+ <tr>
1465
+ <td valign="top">
1466
+ <table>
1467
+ <tbody>
1468
+ <xsl:for-each select="m:HospitalVisitation">
1469
+ <tr>
1470
+ <td valign="top">
1471
+ <xsl:value-of select="m:InformationCode"/>
1472
+ </td>
1473
+ <td valign="top">
1474
+ <xsl:for-each select="m:Information">
1475
+ <xsl:apply-templates/>
1476
+ </xsl:for-each>
1477
+ </td>
1478
+ </tr>
1479
+ </xsl:for-each>
1480
+ </tbody>
1481
+ </table>
1482
+ </td>
1483
+ </tr>
1484
+ </tbody>
1485
+ </table>
1486
+ </td>
1487
+ </tr>
1488
+ </xsl:if>
1489
+ <tr>
1490
+ <xsl:call-template name="ShowPatientAndRelatives"/>
1491
+ </tr>
1492
+ <tr>
1493
+ <xsl:call-template name="ShowParticipants"/>
1494
+ </tr>
1495
+ </tbody>
1496
+ </table>
1497
+ </td>
1498
+ </xsl:for-each>
1499
+ </xsl:template>
1500
+
1501
+ <!-- template til at vise en psykologhenvisning. -->
1502
+ <xsl:template match="m:Emessage[m:PsychologistReferral]">
1503
+ <xsl:for-each select="m:PsychologistReferral">
1504
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1505
+ <table width="100%">
1506
+ <tbody>
1507
+ <tr>
1508
+ <xsl:call-template name="ShowMessageHeader">
1509
+ <xsl:with-param name="MessageName" select="'Psykologhenvisning'"/>
1510
+ </xsl:call-template>
1511
+ </tr>
1512
+ <tr>
1513
+ <td valign="top" width="100%">
1514
+ <table>
1515
+ <tbody>
1516
+ <tr>
1517
+ <xsl:for-each select="m:AdditionalInformation/m:Priority">
1518
+ <td valign="top">
1519
+ <b>Prioritet:</b>
1520
+ </td>
1521
+ <td valign="top">
1522
+ <xsl:value-of select="."/>
1523
+ </td>
1524
+ </xsl:for-each>
1525
+ <!-- xsl:for-each select="m:AdditionalInformation/m:ReferralStatus">
1526
+ <td valign="top">
1527
+ <b>Henvisningstype:</b>
1528
+ </td>
1529
+ <td valign="top">
1530
+ <xsl:value-of select="."/>
1531
+ </td>
1532
+ </xsl:for-each-->
1533
+ <!-- xsl:for-each select="m:AdditionalInformation/m:Transport">
1534
+ <td valign="top">
1535
+ <b>Transport:</b>
1536
+ </td>
1537
+ <td valign="top">
1538
+ <xsl:value-of select="."/>
1539
+ </td>
1540
+ </xsl:for-each-->
1541
+ <xsl:for-each select="m:AdditionalInformation/m:Supplementary">
1542
+ <td valign="top">
1543
+ <b>Andet:</b>
1544
+ </td>
1545
+ <td valign="top">
1546
+ <xsl:apply-templates/>
1547
+ </td>
1548
+ </xsl:for-each>
1549
+ </tr>
1550
+ </tbody>
1551
+ </table>
1552
+ </td>
1553
+ </tr>
1554
+ <xsl:if test="count(m:Referral)>0">
1555
+ <tr>
1556
+ <td valign="top" width="100%">
1557
+ <table>
1558
+ <tbody>
1559
+ <tr>
1560
+ <td valign="top">
1561
+ <b> Henvisnings�rsag </b>
1562
+ </td>
1563
+ </tr>
1564
+ <tr>
1565
+ <td>
1566
+ <table>
1567
+ <tbody>
1568
+ <xsl:for-each select="m:Referral/m:Refer">
1569
+ <tr>
1570
+ <td valign="top">
1571
+ <b>Hoveddiagnose:</b>
1572
+ </td>
1573
+ <td valign="top">
1574
+ <xsl:value-of select="m:DiagnoseCode"/>
1575
+ </td>
1576
+ <td valign="top">
1577
+ <xsl:value-of select="m:DiagnoseText"/>
1578
+ </td>
1579
+ </tr>
1580
+ </xsl:for-each>
1581
+ <xsl:for-each select="m:Referral/m:ReferralAdditional">
1582
+ <tr>
1583
+ <td valign="top">
1584
+ <xsl:value-of select="m:DiagnoseDescriptionCode"/>: </td>
1585
+ <td valign="top">
1586
+ <xsl:value-of select="m:DiagnoseCode"/>
1587
+ </td>
1588
+ <td valign="top">
1589
+ <xsl:value-of select="m:DiagnoseText"/>
1590
+ </td>
1591
+ </tr>
1592
+ </xsl:for-each>
1593
+ </tbody>
1594
+ </table>
1595
+ </td>
1596
+ </tr>
1597
+ </tbody>
1598
+ </table>
1599
+ </td>
1600
+ </tr>
1601
+ </xsl:if>
1602
+ <xsl:if test="count(m:AdditionalInformation/m:ClinicalReason)">
1603
+ <tr>
1604
+ <td valign="top" width="100%">
1605
+ <table>
1606
+ <tbody>
1607
+ <tr>
1608
+ <td valign="top">
1609
+ <b> �nsket unders�gelse/behandling/problemstilling </b>
1610
+ </td>
1611
+ </tr>
1612
+ <tr>
1613
+ <td valign="top">
1614
+ <xsl:attribute name="bgcolor">
1615
+ <xsl:value-of select="$highlightbgcolor"/>
1616
+ </xsl:attribute>
1617
+ <table>
1618
+ <tbody>
1619
+ <xsl:for-each select="m:AdditionalInformation/m:ClinicalReason">
1620
+ <tr>
1621
+ <td valign="top">
1622
+ <xsl:apply-templates/>
1623
+ </td>
1624
+ </tr>
1625
+ </xsl:for-each>
1626
+ </tbody>
1627
+ </table>
1628
+ </td>
1629
+ </tr>
1630
+ </tbody>
1631
+ </table>
1632
+ </td>
1633
+ </tr>
1634
+ </xsl:if>
1635
+ <tr>
1636
+ <td valign="top" width="100%">
1637
+ <table width="100%">
1638
+ <tbody>
1639
+ <tr>
1640
+ <td valign="top" width="100%">
1641
+ <b> Kliniske oplysninger </b>
1642
+ </td>
1643
+ </tr>
1644
+ <tr>
1645
+ <xsl:attribute name="bgcolor">
1646
+ <xsl:value-of select="$compoundbgcolor"/>
1647
+ </xsl:attribute>
1648
+ <td valign="top" width="100%">
1649
+ <table width="100%">
1650
+ <tbody>
1651
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Cave">
1652
+ <tr>
1653
+ <td>
1654
+ <b>Cave</b>
1655
+ </td>
1656
+ </tr>
1657
+ <tr>
1658
+ <td>
1659
+ <table>
1660
+ <tbody>
1661
+ <tr>
1662
+ <td valign="top">
1663
+ <xsl:apply-templates/>
1664
+ </td>
1665
+ </tr>
1666
+ </tbody>
1667
+ </table>
1668
+ </td>
1669
+ </tr>
1670
+ </xsl:for-each>
1671
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Anamnesis">
1672
+ <tr>
1673
+ <td>
1674
+ <b>Anamnese</b>
1675
+ </td>
1676
+ </tr>
1677
+ <tr>
1678
+ <td>
1679
+ <table>
1680
+ <tbody>
1681
+ <tr>
1682
+ <td valign="top">
1683
+ <xsl:apply-templates/>
1684
+ </td>
1685
+ </tr>
1686
+ </tbody>
1687
+ </table>
1688
+ </td>
1689
+ </tr>
1690
+ </xsl:for-each>
1691
+ <xsl:for-each select="m:RelevantClinicalInformation/m:Examination">
1692
+ <tr>
1693
+ <td>
1694
+ <b>Unders�gelser/behandlinger</b>
1695
+ </td>
1696
+ </tr>
1697
+ <tr>
1698
+ <td>
1699
+ <table>
1700
+ <tbody>
1701
+ <tr>
1702
+ <td valign="top">
1703
+ <xsl:apply-templates/>
1704
+ </td>
1705
+ </tr>
1706
+ </tbody>
1707
+ </table>
1708
+ </td>
1709
+ </tr>
1710
+ </xsl:for-each>
1711
+ <xsl:for-each select="m:RelevantClinicalInformation/m:ActualMedicine">
1712
+ <tr>
1713
+ <td>
1714
+ <b>Aktuel medicin</b>
1715
+ </td>
1716
+ </tr>
1717
+ <tr>
1718
+ <td>
1719
+ <table>
1720
+ <tbody>
1721
+ <tr>
1722
+ <td valign="top">
1723
+ <xsl:apply-templates/>
1724
+ </td>
1725
+ </tr>
1726
+ </tbody>
1727
+ </table>
1728
+ </td>
1729
+ </tr>
1730
+ </xsl:for-each>
1731
+ </tbody>
1732
+ </table>
1733
+ </td>
1734
+ </tr>
1735
+ </tbody>
1736
+ </table>
1737
+ </td>
1738
+ </tr>
1739
+ <tr>
1740
+ <xsl:call-template name="showReferences">
1741
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
1742
+ </xsl:call-template>
1743
+ </tr>
1744
+ <xsl:if test="count(m:HospitalVisitation)>0">
1745
+ <tr>
1746
+ <td valign="top" width="100%">
1747
+ <table>
1748
+ <tbody>
1749
+ <tr>
1750
+ <td valign="top">
1751
+ <b>Visitation (udfyldt af modtager)</b>
1752
+ </td>
1753
+ </tr>
1754
+ <tr>
1755
+ <td valign="top">
1756
+ <table>
1757
+ <tbody>
1758
+ <xsl:for-each select="m:HospitalVisitation">
1759
+ <tr>
1760
+ <td valign="top">
1761
+ <xsl:value-of select="m:InformationCode"/>
1762
+ </td>
1763
+ <td valign="top">
1764
+ <xsl:for-each select="m:Information">
1765
+ <xsl:apply-templates/>
1766
+ </xsl:for-each>
1767
+ </td>
1768
+ </tr>
1769
+ </xsl:for-each>
1770
+ </tbody>
1771
+ </table>
1772
+ </td>
1773
+ </tr>
1774
+ </tbody>
1775
+ </table>
1776
+ </td>
1777
+ </tr>
1778
+ </xsl:if>
1779
+ <tr>
1780
+ <xsl:call-template name="ShowPatientAndRelatives"/>
1781
+ </tr>
1782
+ <tr>
1783
+ <xsl:call-template name="ShowParticipants"/>
1784
+ </tr>
1785
+ </tbody>
1786
+ </table>
1787
+ </td>
1788
+ </xsl:for-each>
1789
+ </xsl:template>
1790
+
1791
+ <!-- DIABETESREPORT -->
1792
+ <xsl:template match="m:Emessage[m:DiabetesReport ]">
1793
+ <td>
1794
+ <table width="100%">
1795
+ <tbody>
1796
+ <xsl:for-each select="m:DiabetesReport">
1797
+ <tr>
1798
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1799
+ <table width="100%">
1800
+ <tbody>
1801
+ <!--<tr>
1802
+ <xsl:call-template name="ShowMessageHeader">
1803
+ <xsl:with-param name="MessageName" select="'DiabetesReport'"/>
1804
+ </xsl:call-template>
1805
+ </tr>-->
1806
+ <tr>
1807
+ <td align="center">
1808
+ <font color="#ff0000">Dette er en tilnrmelse til det officielle
1809
+ indberetningsskema, der kun skal benyttes i testjemed.</font>
1810
+ </td>
1811
+ </tr>
1812
+ <tr>
1813
+ <th>
1814
+ <h2>REGISTRERINGSSKEMA</h2>
1815
+ </th>
1816
+ </tr>
1817
+ <tr>
1818
+ <th>
1819
+ <h1>NIP-DIABETES</h1>
1820
+ </th>
1821
+ </tr>
1822
+ <tr>
1823
+ <td>
1824
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
1825
+ width="100%" bgcolor="#cccccc">
1826
+ <tbody>
1827
+ <tr>
1828
+ <td>
1829
+ <table border="0" width="100%">
1830
+ <tbody>
1831
+ <tr>
1832
+ <tr>
1833
+ <td colspan="2">Skemaet skal udfyldes n gang om ret for alle
1834
+ diabetespatienter ( alder 18+) med flgende
1835
+ diagnosekoder:</td>
1836
+ </tr>
1837
+ <tr>
1838
+ <td width="10px"/>
1839
+ <td>
1840
+ <ul>
1841
+ <li>E10.0 - E10.9: Insulinkrvende sukkersyge (IDDM)</li>
1842
+ <li>E11.0 - E11.9: Ikke insulinkrvende sukkersyge
1843
+ (NIDDM)</li>
1844
+ <li>E13.0 - E13.9: Anden form for sukkersyge</li>
1845
+ <li>E14.0 - E14.9: Sukkersyge uden specifikation</li>
1846
+ </ul>
1847
+ </td>
1848
+ </tr>
1849
+ <tr>
1850
+ <td colspan="2">Der henvises til "Datadefinitioner for
1851
+ NIP-diabetes" for specifikation af registreringen (<a
1852
+ href="http://www.nip.dk" target="newwindow"
1853
+ >www.nip.dk</a>)</td>
1854
+ </tr>
1855
+ <tr>
1856
+ <td width="10px"/>
1857
+ <td align="right">Revideret maj 2007, Det koordinerende
1858
+ Sekretariat</td>
1859
+ </tr>
1860
+ </tr>
1861
+ </tbody>
1862
+ </table>
1863
+ </td>
1864
+ </tr>
1865
+ </tbody>
1866
+ </table>
1867
+ </td>
1868
+ </tr>
1869
+ <tr>
1870
+ <td>
1871
+ <xsl:text>&#160;</xsl:text>
1872
+ </td>
1873
+ </tr>
1874
+ <tr>
1875
+ <td>
1876
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
1877
+ width="100%">
1878
+ <tbody>
1879
+ <tr bgcolor="ccccccc">
1880
+ <td colspan="2">
1881
+ <b>Indberettende enhed:</b>
1882
+ </td>
1883
+ </tr>
1884
+ <tr>
1885
+ <td valign="top" width="30%"> Dataindberettende enhed i relation til
1886
+ aktuelle indberetning: </td>
1887
+ <td valign="top">
1888
+ <table width="100%">
1889
+ <tbody>
1890
+ <tr>
1891
+ <td valign="top" width="30%">
1892
+ <input type="checkbox" disabled="true">
1893
+ <xsl:if test="m:Sender/m:IdentifierCode='ydernummer' ">
1894
+ <xsl:attribute name="checked">1</xsl:attribute>
1895
+ </xsl:if>
1896
+ </input> Almen praksis </td>
1897
+ <td valign="top">
1898
+ <input type="text" size="3" readonly="true">
1899
+ <xsl:if test="m:Sender/m:IdentifierCode='ydernummer' ">
1900
+ <xsl:attribute name="Value">
1901
+ <xsl:value-of select="m:Sender/m:Identifier"/>
1902
+ </xsl:attribute>
1903
+ </xsl:if>
1904
+ </input> ydernr </td>
1905
+ </tr>
1906
+ <tr>
1907
+ <td valign="top" width="30%">
1908
+ <input type="checkbox" disabled="true">
1909
+ <xsl:if
1910
+ test="m:Sender/m:IdentifierCode='sygehusafdelingsnummer' ">
1911
+ <xsl:attribute name="checked">1</xsl:attribute>
1912
+ </xsl:if>
1913
+ </input> Sygehus </td>
1914
+ <td valign="top">
1915
+ <input type="text" size="1" readonly="true">
1916
+ <xsl:if
1917
+ test="m:Sender/m:IdentifierCode='sygehusafdelingsnummer' ">
1918
+ <xsl:attribute name="Value">
1919
+ <xsl:value-of
1920
+ select="substring(m:Sender/m:Identifier,1,4)"/>
1921
+ </xsl:attribute>
1922
+ </xsl:if>
1923
+ </input> sgh <input type="text" size="1" readonly="true">
1924
+ <xsl:if
1925
+ test="m:Sender/m:IdentifierCode='sygehusafdelingsnummer' ">
1926
+ <xsl:attribute name="Value">
1927
+ <xsl:value-of
1928
+ select="substring(m:Sender/m:Identifier,5,2)"/>
1929
+ </xsl:attribute>
1930
+ </xsl:if>
1931
+ </input> afd </td>
1932
+ </tr>
1933
+ </tbody>
1934
+ </table>
1935
+ </td>
1936
+ </tr>
1937
+ </tbody>
1938
+ </table>
1939
+ </td>
1940
+ </tr>
1941
+ <tr>
1942
+ <td>
1943
+ <xsl:text>&#160;</xsl:text>
1944
+ </td>
1945
+ </tr>
1946
+ <tr>
1947
+ <td>
1948
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
1949
+ width="100%">
1950
+ <tbody>
1951
+ <tr bgcolor="cccccc">
1952
+ <td colspan="2">
1953
+ <b>Statusdato</b>
1954
+ </td>
1955
+ </tr>
1956
+ <tr>
1957
+ <td valign="top" width="30%"> Den dato (mned/r), hvor den ansvarlige
1958
+ behandler gr status over patientens behandling </td>
1959
+ <td valign="top">
1960
+ <input type="text" size="1" readonly="true"
1961
+ value="{substring(m:Report/m:StatusDate/m:Date,6,2)}"/> mm <input
1962
+ type="text" size="1" readonly="true"
1963
+ value="{substring(m:Report/m:StatusDate/m:Date,3,2)}"/>
1964
+ </td>
1965
+ </tr>
1966
+ </tbody>
1967
+ </table>
1968
+ </td>
1969
+ </tr>
1970
+ <tr>
1971
+ <td>
1972
+ <xsl:text>&#160;</xsl:text>
1973
+ </td>
1974
+ </tr>
1975
+ <tr>
1976
+ <td>
1977
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
1978
+ width="100%">
1979
+ <tbody>
1980
+ <tr bgcolor="cccccc">
1981
+ <td colspan="2">
1982
+ <b>Patient data</b>
1983
+ </td>
1984
+ </tr>
1985
+ <tr>
1986
+ <td valign="top" width="30%">
1987
+ <b>Patientents cpr.nr.:</b>
1988
+ </td>
1989
+ <td valign="top">
1990
+ <input size="3" readonly="true"
1991
+ value="{substring(m:Patient/m:CivilRegistrationNumber,1,6)}"
1992
+ />-<input size="1" readonly="true"
1993
+ value="{substring(m:Patient/m:CivilRegistrationNumber,7,4)}"/>
1994
+ </td>
1995
+ </tr>
1996
+ <tr>
1997
+ <td valign="top" width="30%">
1998
+ <b>Fornavn(e):</b>
1999
+ </td>
2000
+ <td valign="top">
2001
+ <input type="text" readonly="true"
2002
+ value="{m:Patient/m:PersonGivenName}"/>
2003
+ </td>
2004
+ </tr>
2005
+ <tr>
2006
+ <td valign="top" width="30%">
2007
+ <b>Efternavn:</b>
2008
+ </td>
2009
+ <td valign="top">
2010
+ <input type="text" readonly="true"
2011
+ value="{m:Patient/m:PersonSurnameName}"/>
2012
+ </td>
2013
+ </tr>
2014
+ </tbody>
2015
+ </table>
2016
+ </td>
2017
+ </tr>
2018
+ <tr>
2019
+ <td>
2020
+ <xsl:text>&#160;</xsl:text>
2021
+ </td>
2022
+ </tr>
2023
+ <tr>
2024
+ <td>
2025
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2026
+ width="100%">
2027
+ <tbody>
2028
+ <tr bgcolor="cccccc">
2029
+ <td colspan="2">
2030
+ <b>PatientForlb</b>
2031
+ </td>
2032
+ </tr>
2033
+ <tr>
2034
+ <td width="30%"> Patienten gr aktuelt til behandling for diabetes bde
2035
+ hos egen lge og i diabetesambulatorium / anden afdeling p sygehuset </td>
2036
+ <td>
2037
+ <xsl:variable name="YN" select="m:Report/m:SharedCare"/>
2038
+ <table width="100%">
2039
+ <tbody>
2040
+ <tr>
2041
+ <td>
2042
+ <input type="checkbox" disabled="true">
2043
+ <xsl:if test="$YN = 'ja' ">
2044
+ <xsl:attribute name="checked">1</xsl:attribute>
2045
+ </xsl:if>
2046
+ </input> Ja </td>
2047
+ </tr>
2048
+ </tbody>
2049
+ </table>
2050
+ </td>
2051
+ </tr>
2052
+ </tbody>
2053
+ </table>
2054
+ </td>
2055
+ </tr>
2056
+ <tr>
2057
+ <td>
2058
+ <xsl:text>&#160;</xsl:text>
2059
+ </td>
2060
+ </tr>
2061
+ <tr>
2062
+ <td>
2063
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2064
+ width="100%">
2065
+ <tbody>
2066
+ <tr bgcolor="cccccc">
2067
+ <td colspan="2">
2068
+ <b>Diagnose</b>
2069
+ </td>
2070
+ </tr>
2071
+ <tr>
2072
+ <td width="30%">
2073
+ <b>Diagnoser og -mned</b>
2074
+ </td>
2075
+ <td valign="top">
2076
+ <input type="text" size="1" readonly="true"
2077
+ value="{substring(m:Report/m:Diagnose/m:DiagnoseDate/m:Date,6,2)}"
2078
+ /> mm <input type="text" size="1" readonly="true"
2079
+ value="{substring(m:Report/m:Diagnose/m:DiagnoseDate/m:Date,3,2)}"/>
2080
+ <input type="checkbox" disabled="true">
2081
+ <xsl:if test="count(m:Report/m:Diagnose/m:DiagnoseDate/m:Date)=0 ">
2082
+ <xsl:attribute name="checked">1</xsl:attribute>
2083
+ </xsl:if>
2084
+ </input> Uoplyst </td>
2085
+ </tr>
2086
+ <tr>
2087
+ <td valign="top" width="30%">
2088
+ <b>Diagnosetype</b>
2089
+ </td>
2090
+ <td valign="top">
2091
+ <table width="100%">
2092
+ <tbody>
2093
+ <tr>
2094
+ <td>
2095
+ <input type="checkbox" disabled="true">
2096
+ <xsl:if
2097
+ test="m:Report/m:Diagnose/m:DiagnoseType = 'type1' ">
2098
+ <xsl:attribute name="checked">1</xsl:attribute>
2099
+ </xsl:if>
2100
+ </input> Type 1 Diabetes </td>
2101
+ </tr>
2102
+ <tr>
2103
+ <td>
2104
+ <input type="checkbox" disabled="true">
2105
+ <xsl:if
2106
+ test="m:Report/m:Diagnose/m:DiagnoseType = 'type2' ">
2107
+ <xsl:attribute name="checked">1</xsl:attribute>
2108
+ </xsl:if>
2109
+ </input> Type 2 Diabetes </td>
2110
+ </tr>
2111
+ <tr>
2112
+ <td>
2113
+ <input type="checkbox" disabled="true">
2114
+ <xsl:if
2115
+ test="m:Report/m:Diagnose/m:DiagnoseType = 'anden_diabetes_form' ">
2116
+ <xsl:attribute name="checked">1</xsl:attribute>
2117
+ </xsl:if>
2118
+ </input> Anden form for diabetes </td>
2119
+ </tr>
2120
+ </tbody>
2121
+ </table>
2122
+ </td>
2123
+ </tr>
2124
+ <tr>
2125
+ <td valign="top" width="30%">
2126
+ <b>Eventuel SKS kode</b>
2127
+ </td>
2128
+ <td valign="top">
2129
+ <input type="text" readonly="true"
2130
+ value="{m:Report/m:Diagnose/m:ClassificationCode}"/>
2131
+ </td>
2132
+ </tr>
2133
+ </tbody>
2134
+ </table>
2135
+ </td>
2136
+ </tr>
2137
+ <tr>
2138
+ <td>
2139
+ <xsl:text>&#160;</xsl:text>
2140
+ </td>
2141
+ </tr>
2142
+ <tr>
2143
+ <td>
2144
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2145
+ width="100%">
2146
+ <tbody>
2147
+ <tr bgcolor="cccccc">
2148
+ <td colspan="2">
2149
+ <b>Supplerende oplysninger</b>
2150
+ </td>
2151
+ </tr>
2152
+ <tr>
2153
+ <td valign="top" width="30%">
2154
+ <b>Rygning</b>
2155
+ </td>
2156
+ <td valign="top">
2157
+ <xsl:variable name="SS" select="m:Report/m:History/m:SmokingStatus"/>
2158
+ <table width="100%">
2159
+ <tbody>
2160
+ <tr>
2161
+ <td>
2162
+ <input type="checkbox" disabled="true">
2163
+ <xsl:if test="$SS = 'ryger_dagligt' ">
2164
+ <xsl:attribute name="checked">1</xsl:attribute>
2165
+ </xsl:if>
2166
+ </input> Ryger dagligt </td>
2167
+ </tr>
2168
+ <tr>
2169
+ <td>
2170
+ <input type="checkbox" disabled="true">
2171
+ <xsl:if test="$SS = 'ryger_lejlighedsvist' ">
2172
+ <xsl:attribute name="checked">1</xsl:attribute>
2173
+ </xsl:if>
2174
+ </input> Ryger lejlighedsvist </td>
2175
+ </tr>
2176
+ <tr>
2177
+ <td>
2178
+ <input type="checkbox" disabled="true">
2179
+ <xsl:if test="$SS = 'eksryger' ">
2180
+ <xsl:attribute name="checked">1</xsl:attribute>
2181
+ </xsl:if>
2182
+ </input> Eks-ryger (i over r) </td>
2183
+ </tr>
2184
+ <tr>
2185
+ <td>
2186
+ <input type="checkbox" disabled="true">
2187
+ <xsl:if test="$SS = 'aldrig_ryger' ">
2188
+ <xsl:attribute name="checked">1</xsl:attribute>
2189
+ </xsl:if>
2190
+ </input> Aldrig ryger </td>
2191
+ </tr>
2192
+ </tbody>
2193
+ </table>
2194
+ </td>
2195
+ </tr>
2196
+ </tbody>
2197
+ </table>
2198
+ </td>
2199
+ </tr>
2200
+ <tr>
2201
+ <td>
2202
+ <xsl:text>&#160;</xsl:text>
2203
+ </td>
2204
+ </tr>
2205
+ <tr>
2206
+ <td>
2207
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2208
+ width="100%">
2209
+ <tbody>
2210
+ <tr bgcolor="cccccc">
2211
+ <td colspan="2">
2212
+ <b>Body Mass Index</b>
2213
+ </td>
2214
+ </tr>
2215
+ <tr>
2216
+ <td valign="top" width="30%">
2217
+ <br/>
2218
+ <table width="100%">
2219
+ <tbody>
2220
+ <tr>
2221
+ <td colspan="3">
2222
+ <b>Er hjden relevant:</b>
2223
+ </td>
2224
+ </tr>
2225
+ <tr>
2226
+ <xsl:variable name="isHIrrelevant"
2227
+ select="m:Report/m:Examinations/m:Height/m:Examinated"/>
2228
+ <td>
2229
+ <input type="checkbox" disabled="true">
2230
+ <xsl:if test="$isHIrrelevant">
2231
+ <xsl:attribute name="checked">1</xsl:attribute>
2232
+ </xsl:if>
2233
+ </input> Nej </td>
2234
+ <td align="right">
2235
+ <i>...hvis ja:</i>
2236
+ </td>
2237
+ <td width="5px"/>
2238
+ </tr>
2239
+ <tr>
2240
+ <td colspan="3">
2241
+ <xsl:text>&#160;</xsl:text>
2242
+ </td>
2243
+ </tr>
2244
+ <tr>
2245
+ <td colspan="3">
2246
+ <b>Er vgten relevant:</b>
2247
+ </td>
2248
+ </tr>
2249
+ <tr>
2250
+ <xsl:variable name="isWIrrelevant"
2251
+ select="m:Report/m:Examinations/m:Weight/m:Examinated"/>
2252
+ <td>
2253
+ <input type="checkbox" disabled="true">
2254
+ <xsl:if test="$isWIrrelevant">
2255
+ <xsl:attribute name="checked">1</xsl:attribute>
2256
+ </xsl:if>
2257
+ </input> Nej </td>
2258
+ <td align="right">
2259
+ <i>...hvis ja:</i>
2260
+ </td>
2261
+ <td width="5px"/>
2262
+ </tr>
2263
+ </tbody>
2264
+ </table>
2265
+ <br/> BMI beregnes automatisk ved den elektroniske indtastning i
2266
+ KMS, nr patientens hjde og vgt er udfyldt </td>
2267
+ <td valign="top">
2268
+ <br/>
2269
+ <table>
2270
+ <tbody>
2271
+ <tr>
2272
+ <td colspan="3">
2273
+ <xsl:text>&#160;</xsl:text>
2274
+ </td>
2275
+ </tr>
2276
+ <tr>
2277
+ <td valign="top">Hjde: </td>
2278
+ <td valign="top">
2279
+ <input size="1" readonly="true"
2280
+ value="{m:Report/m:Examinations/m:Height/m:Value}"/>
2281
+ </td>
2282
+ <td valign="top">(hele cm)</td>
2283
+ </tr>
2284
+ <tr>
2285
+ <td colspan="3">
2286
+ <xsl:text>&#160;</xsl:text>
2287
+ </td>
2288
+ </tr>
2289
+ <tr>
2290
+ <td colspan="3">
2291
+ <xsl:text>&#160;</xsl:text>
2292
+ </td>
2293
+ </tr>
2294
+ <tr>
2295
+ <td valign="top">Vgt: </td>
2296
+ <td valign="top">
2297
+ <input size="1" readonly="true"
2298
+ value="{m:Report/m:Examinations/m:Weight/m:Value}"/>
2299
+ </td>
2300
+ <td valign="top">(hele kg)</td>
2301
+ </tr>
2302
+ </tbody>
2303
+ </table>
2304
+ </td>
2305
+ </tr>
2306
+ </tbody>
2307
+ </table>
2308
+ </td>
2309
+ </tr>
2310
+ <tr>
2311
+ <td>
2312
+ <xsl:text>&#160;</xsl:text>
2313
+ </td>
2314
+ </tr>
2315
+ <tr>
2316
+ <td>
2317
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2318
+ width="100%">
2319
+ <tbody>
2320
+ <tr bgcolor="cccccc">
2321
+ <td colspan="2">
2322
+ <b>Blodtryk</b>
2323
+ </td>
2324
+ </tr>
2325
+ <tr>
2326
+ <td valign="top" width="30%">
2327
+ <b>Dato for seneste blodtryksmling</b>
2328
+ <br/>
2329
+ <br/>
2330
+ <b>Resultat for seneste blodtryksmling (siddende)</b>
2331
+ </td>
2332
+ <td valign="top">
2333
+ <input type="text" size="1" readonly="true"
2334
+ value="{substring(m:Report/m:Examinations/m:BloodPressure/m:ExaminationDate/m:Date,6,2)}"
2335
+ /> mm <input type="text" size="1" readonly="true"
2336
+ value="{substring(m:Report/m:Examinations/m:BloodPressure/m:ExaminationDate/m:Date,3,2)}"/>
2337
+ <br/>
2338
+ <br/>
2339
+ <table>
2340
+ <tbody>
2341
+ <tr>
2342
+ <td valign="top">Systolisk BT: </td>
2343
+ <td valign="top">
2344
+ <input size="1" readonly="true">
2345
+ <xsl:if
2346
+ test="m:Report/m:Examinations/m:BloodPressure/m:SystolicValue">
2347
+ <xsl:attribute name="Value">
2348
+ <xsl:value-of
2349
+ select="m:Report/m:Examinations/m:BloodPressure/m:SystolicValue"
2350
+ />
2351
+ </xsl:attribute>
2352
+ </xsl:if>
2353
+ </input>
2354
+ </td>
2355
+ <td valign="top">mm Hg</td>
2356
+ </tr>
2357
+ <tr>
2358
+ <td valign="top">Diastolisk BT:</td>
2359
+ <td valign="top">
2360
+ <input size="1" readonly="true">
2361
+ <xsl:if
2362
+ test="m:Report/m:Examinations/m:BloodPressure/m:DiastolicValue">
2363
+ <xsl:attribute name="Value">
2364
+ <xsl:value-of
2365
+ select="m:Report/m:Examinations/m:BloodPressure/m:DiastolicValue"
2366
+ />
2367
+ </xsl:attribute>
2368
+ </xsl:if>
2369
+ </input>
2370
+
2371
+ </td>
2372
+ <td valign="top">mm Hg</td>
2373
+ </tr>
2374
+ </tbody>
2375
+ </table>
2376
+ </td>
2377
+ </tr>
2378
+ </tbody>
2379
+ </table>
2380
+ </td>
2381
+ </tr>
2382
+ <tr>
2383
+ <td>
2384
+ <xsl:text>&#160;</xsl:text>
2385
+ </td>
2386
+ </tr>
2387
+ <tr>
2388
+ <td>
2389
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2390
+ width="100%">
2391
+ <tbody>
2392
+ <tr bgcolor="cccccc">
2393
+ <td colspan="2">
2394
+ <b>Metabolisk eller glykmisk regulering</b>
2395
+ </td>
2396
+ </tr>
2397
+ <tr>
2398
+ <td valign="top" width="30%">
2399
+ <b>Dato for seneste mling af HbA1c</b>
2400
+ <br/>
2401
+ <br/>
2402
+ <b>Resultat for seneste mling af HbA1c</b>
2403
+ </td>
2404
+ <td valign="top">
2405
+ <input type="text" size="1" readonly="true"
2406
+ value="{substring(m:Report/m:Examinations/m:HbA1c/m:ExaminationDate/m:Date,6,2)}"
2407
+ /> mm <input type="text" size="1" readonly="true"
2408
+ value="{substring(m:Report/m:Examinations/m:HbA1c/m:ExaminationDate/m:Date,3,2)}"/>
2409
+ <br/>
2410
+ <br/>
2411
+ <input size="1" readonly="true">
2412
+ <xsl:if test="m:Report/m:Examinations/m:HbA1c/m:ExaminationDate">
2413
+ <xsl:attribute name="value">
2414
+ <xsl:value-of
2415
+ select="format-number(m:Report/m:Examinations/m:HbA1c/m:Value *100,'##.#')"
2416
+ />
2417
+ </xsl:attribute>
2418
+
2419
+ </xsl:if>
2420
+ </input> % (n decimal) </td>
2421
+ </tr>
2422
+ <tr>
2423
+ <td>
2424
+ <b>Eventuel SKS kode</b>
2425
+ </td>
2426
+ <td>
2427
+ <input type="text" readonly="true">
2428
+ <xsl:if test="m:Report/m:Examinations/m:HbA1c/m:ExaminationCode">
2429
+ <xsl:attribute name="value">
2430
+ <xsl:value-of
2431
+ select="m:Report/m:Examinations/m:HbA1c/m:ExaminationCode"/>
2432
+ </xsl:attribute>
2433
+ </xsl:if>
2434
+ </input>
2435
+ </td>
2436
+ </tr>
2437
+ </tbody>
2438
+ </table>
2439
+ </td>
2440
+ </tr>
2441
+ <tr>
2442
+ <td>
2443
+ <xsl:text>&#160;</xsl:text>
2444
+ </td>
2445
+ </tr>
2446
+ <tr>
2447
+ <td>
2448
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2449
+ width="100%">
2450
+ <tbody>
2451
+ <tr bgcolor="cccccc">
2452
+ <td colspan="2">
2453
+ <b>Urin-albumin</b>
2454
+ </td>
2455
+ </tr>
2456
+ <tr>
2457
+ <td valign="top" width="30%">
2458
+ <b>Er det relevant at undersge for albuminuri:</b>
2459
+ <br/>
2460
+ <br/>
2461
+ <xsl:variable name="isAlbuIrrelevant"
2462
+ select="m:Report/m:Examinations/m:Albuminuri/m:Examinated"/>
2463
+ <table width="100%">
2464
+ <tbody>
2465
+ <tr>
2466
+ <td>
2467
+ <input type="checkbox" disabled="true">
2468
+ <xsl:if test="$isAlbuIrrelevant">
2469
+ <xsl:attribute name="checked">1</xsl:attribute>
2470
+ </xsl:if>
2471
+ </input> Nej </td>
2472
+ <td align="right">
2473
+ <i>...hvis ja:</i>
2474
+ </td>
2475
+ <td width="5px"/>
2476
+ </tr>
2477
+ </tbody>
2478
+ </table>
2479
+ </td>
2480
+ <td valign="top">
2481
+ <br/>
2482
+ <br/> Tidspunkt for senest udfrte mling: <input type="text" size="1"
2483
+ readonly="true"
2484
+ value="{substring(m:Report/m:Examinations/m:Albuminuri/m:ExaminationDate/m:Date,6,2)}"
2485
+ /> mm <input type="text" size="1" readonly="true"
2486
+ value="{substring(m:Report/m:Examinations/m:Albuminuri/m:ExaminationDate/m:Date,3,2)}"/>
2487
+ <br/>
2488
+ <br/>
2489
+ <table width="100%">
2490
+ <tbody>
2491
+ <tr>
2492
+ <td valign="top">Resultat af senest registrerede mling: <br/>
2493
+ (kun n af kategorierene udfyldes)</td>
2494
+ <td valign="top">Albumin-udskillelseshastighed: <table
2495
+ width="100%">
2496
+ <tbody>
2497
+ <tr>
2498
+ <td valign="top" align="right" width="50px">
2499
+ <input size="1" readonly="true"
2500
+ value="{m:Report/m:Examinations/m:Albuminuri/m:Value/m:GramPer24h}"
2501
+ />
2502
+ </td>
2503
+ <td valign="top">g/dgn</td>
2504
+ </tr>
2505
+ <tr>
2506
+ <td valign="top" align="right" width="50px">
2507
+ <input size="1" readonly="true"
2508
+ value="{m:Report/m:Examinations/m:Albuminuri/m:Value/m:MilligramPer24h}"
2509
+ />
2510
+ </td>
2511
+ <td valign="top">mg/dgn</td>
2512
+ </tr>
2513
+ <tr>
2514
+ <td valign="top" align="right" width="50px">
2515
+ <input size="1" readonly="true"
2516
+ value="{m:Report/m:Examinations/m:Albuminuri/m:Value/m:MicromolPer24h}"
2517
+ />
2518
+ </td>
2519
+ <td valign="top">mikromol/dgn</td>
2520
+ </tr>
2521
+ <tr>
2522
+ <td valign="top" align="right" width="50px">
2523
+ <input size="1" readonly="true"
2524
+ value="{m:Report/m:Examinations/m:Albuminuri/m:Value/m:MicrogramPerMin}"
2525
+ />
2526
+ </td>
2527
+ <td valign="top">mikrogram/min</td>
2528
+ </tr>
2529
+ </tbody>
2530
+ </table>
2531
+ </td>
2532
+ </tr>
2533
+ <tr>
2534
+ <td valign="top"/>
2535
+ <td valign="top">Albumin-kreatinin-ratio: <table width="100%">
2536
+ <tbody>
2537
+ <tr>
2538
+ <td valign="top" align="right" width="50px">
2539
+ <input size="1" readonly="true"
2540
+ value="{m:Report/m:Examinations/m:Albuminuri/m:Value/m:MilligramPerGram}"
2541
+ />
2542
+ </td>
2543
+ <td valign="top">mg/g</td>
2544
+ </tr>
2545
+ <tr>
2546
+ <td valign="top" align="right" width="50px">
2547
+ <input size="1" readonly="true"
2548
+ value="{m:Report/m:Examinations/m:Albuminuri/m:Value/m:MilligramPerMillimol}"
2549
+ />
2550
+ </td>
2551
+ <td valign="top">mg/mmol</td>
2552
+ </tr>
2553
+ <tr>
2554
+ <td valign="top" align="right" width="50px">
2555
+ <input size="1" readonly="true"
2556
+ value="{m:Report/m:Examinations/m:Albuminuri/m:Value/m:MicromolPerMillimol}"
2557
+ />
2558
+ </td>
2559
+ <td valign="top">mikromol/millimol</td>
2560
+ </tr>
2561
+ </tbody>
2562
+ </table>
2563
+ </td>
2564
+ </tr>
2565
+ </tbody>
2566
+ </table>
2567
+ </td>
2568
+ </tr>
2569
+ <tr>
2570
+ <td>
2571
+ <b>Eventuel SKS kode</b>
2572
+ </td>
2573
+ <td>
2574
+ <input type="text" readonly="true"
2575
+ value="{m:Report/m:Examinations/m:Albuminuri/m:ExaminationCode}"/>
2576
+ </td>
2577
+ </tr>
2578
+ </tbody>
2579
+ </table>
2580
+ </td>
2581
+ </tr>
2582
+ <tr>
2583
+ <td>
2584
+ <xsl:text>&#160;</xsl:text>
2585
+ </td>
2586
+ </tr>
2587
+ <tr>
2588
+ <td>
2589
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2590
+ width="100%">
2591
+ <tbody>
2592
+ <tr bgcolor="cccccc">
2593
+ <td colspan="2">
2594
+ <b>Lipider</b>
2595
+ </td>
2596
+ </tr>
2597
+ <tr>
2598
+ <td valign="top" width="30%">
2599
+ <b>Tidspunkt for senest udfrte (fulde) lipid mling:</b>
2600
+ <br/>
2601
+ <br/>
2602
+ <b>Resultat af senest udfrte lipid status:</b>
2603
+ </td>
2604
+ <td valign="top">
2605
+ <input type="text" size="1" readonly="true"
2606
+ value="{substring(m:Report/m:Examinations/m:Lipids/m:ExaminationDate/m:Date,6,2)}"
2607
+ /> mm <input type="text" size="1" readonly="true"
2608
+ value="{substring(m:Report/m:Examinations/m:Lipids/m:ExaminationDate/m:Date,3,2)}"/>
2609
+ <br/>
2610
+ <br/>
2611
+ <table>
2612
+ <tbody>
2613
+ <tr>
2614
+ <td valign="top">Total cholesterol: </td>
2615
+ <td valign="top" align="right" width="50px">
2616
+ <input size="1" readonly="true"
2617
+ value="{m:Report/m:Examinations/m:Lipids/m:TotalCholesterol/m:Value}"
2618
+ />
2619
+ </td>
2620
+ <td valign="top">mmol/l</td>
2621
+ <td width="20px">&#160;</td>
2622
+ <td>Eventuel SKS kode: </td>
2623
+ <td colspan="2">
2624
+ <input type="text" readonly="true"
2625
+ value="{m:Report/m:Examinations/m:Lipids/m:TotalCholesterol/m:ExaminationCode}"
2626
+ />
2627
+ </td>
2628
+
2629
+ </tr>
2630
+ <tr>
2631
+ <td valign="top">HDL-cholestorol:</td>
2632
+ <td valign="top" align="right" width="50px">
2633
+ <input size="1" readonly="true"
2634
+ value="{m:Report/m:Examinations/m:Lipids/m:HDLCholesterol/m:Value}"
2635
+ />
2636
+ </td>
2637
+ <td valign="top">mmol/l</td>
2638
+ <td width="20px">&#160;</td>
2639
+ <td>Eventuel SKS kode: </td>
2640
+ <td colspan="2">
2641
+ <input type="text" readonly="true"
2642
+ value="{m:Report/m:Examinations/m:Lipids/m:HDLCholesterol/m:ExaminationCode}"
2643
+ />
2644
+ </td>
2645
+
2646
+ </tr>
2647
+ <tr>
2648
+ <td valign="top">LDL-cholesterol:</td>
2649
+ <td valign="top" align="right" width="50px">
2650
+ <input size="1" readonly="true"
2651
+ value="{m:Report/m:Examinations/m:Lipids/m:LDLCholesterol/m:Value}"
2652
+ />
2653
+ </td>
2654
+ <td valign="top">mmol/l</td>
2655
+ <td width="20px">&#160;</td>
2656
+ <td>Eventuel SKS kode: </td>
2657
+ <td colspan="2">
2658
+ <input type="text" readonly="true"
2659
+ value="{m:Report/m:Examinations/m:Lipids/m:LDLCholesterol/m:ExaminationCode}"
2660
+ />
2661
+ </td>
2662
+
2663
+ </tr>
2664
+ <tr>
2665
+ <td valign="top">Triglycerid:</td>
2666
+ <td valign="top" align="right" width="50px">
2667
+ <input size="1" readonly="true"
2668
+ value="{m:Report/m:Examinations/m:Lipids/m:Triglycerid/m:Value}"
2669
+ />
2670
+ </td>
2671
+ <td valign="top">mmol/l</td>
2672
+ <td width="20px">&#160;</td>
2673
+ <td>Eventuel SKS kode: </td>
2674
+ <td colspan="2">
2675
+ <input type="text" readonly="true"
2676
+ value="{m:Report/m:Examinations/m:Lipids/m:Triglycerid/m:ExaminationCode}"
2677
+ />
2678
+ </td>
2679
+
2680
+ </tr>
2681
+ </tbody>
2682
+ </table>
2683
+ </td>
2684
+ </tr>
2685
+ </tbody>
2686
+ </table>
2687
+ </td>
2688
+ </tr>
2689
+ <tr>
2690
+ <td>
2691
+ <xsl:text>&#160;</xsl:text>
2692
+ </td>
2693
+ </tr>
2694
+ <tr>
2695
+ <td>
2696
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2697
+ width="100%">
2698
+ <tbody>
2699
+ <tr bgcolor="cccccc">
2700
+ <td colspan="2">
2701
+ <b>Aktuel behandling</b>
2702
+ </td>
2703
+ </tr>
2704
+ <tr>
2705
+ <td valign="top" width="30%">
2706
+ <b>Fr patienten peroral antidiabetika:</b>
2707
+ </td>
2708
+ <td valign="top">
2709
+ <input type="checkbox" disabled="true">
2710
+ <xsl:if
2711
+ test="m:Report/m:CurrentTreatment/m:PeroralAntidiabetics/m:Treatment= 'ja' ">
2712
+ <xsl:attribute name="checked">1</xsl:attribute>
2713
+ </xsl:if>
2714
+ </input> Ja </td>
2715
+ </tr>
2716
+ <tr>
2717
+ <td valign="top" width="30%">
2718
+ <b>Er patienten i insulinbehandling:</b>
2719
+ </td>
2720
+ <td valign="top">
2721
+ <input type="checkbox" disabled="true">
2722
+ <xsl:if
2723
+ test="m:Report/m:CurrentTreatment/m:Insulin/m:Treatment= 'ja' ">
2724
+ <xsl:attribute name="checked">1</xsl:attribute>
2725
+ </xsl:if>
2726
+ </input> Ja </td>
2727
+ </tr>
2728
+ <tr>
2729
+ <td valign="top" width="30%">
2730
+ <b>Er patienten i antihypertensiv behandling:</b>
2731
+ </td>
2732
+ <td valign="top">
2733
+ <input type="checkbox" disabled="true">
2734
+ <xsl:if
2735
+ test="m:Report/m:CurrentTreatment/m:AntiHypertensive/m:Treatment= 'ja' ">
2736
+ <xsl:attribute name="checked">1</xsl:attribute>
2737
+ </xsl:if>
2738
+ </input> Ja </td>
2739
+ </tr>
2740
+ <tr>
2741
+ <td valign="top" width="30%">
2742
+ <b>Er patienten i behandling med ACE hmmer / Angiotensin II
2743
+ antagonister (ATIIR):</b>
2744
+ </td>
2745
+ <td valign="top">
2746
+ <input type="checkbox" disabled="true">
2747
+ <xsl:if
2748
+ test="m:Report/m:CurrentTreatment/m:ACEInhibitor/m:Treatment= 'ja' ">
2749
+ <xsl:attribute name="checked">1</xsl:attribute>
2750
+ </xsl:if>
2751
+ </input> Ja </td>
2752
+ </tr>
2753
+ <tr>
2754
+ <td valign="top" width="30%">
2755
+ <b>Er patienten i medicinsk behandling for dyslipidmi:</b>
2756
+ </td>
2757
+ <td valign="top">
2758
+ <input type="checkbox" disabled="true">
2759
+ <xsl:if
2760
+ test="m:Report/m:CurrentTreatment/m:Dyslipidemia/m:Treatment= 'ja' ">
2761
+ <xsl:attribute name="checked">1</xsl:attribute>
2762
+ </xsl:if>
2763
+ </input> Ja </td>
2764
+ </tr>
2765
+ </tbody>
2766
+ </table>
2767
+ </td>
2768
+ </tr>
2769
+ <tr>
2770
+ <td>
2771
+ <xsl:text>&#160;</xsl:text>
2772
+ </td>
2773
+ </tr>
2774
+ <tr>
2775
+ <td>
2776
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2777
+ width="100%">
2778
+ <tbody>
2779
+ <tr bgcolor="cccccc">
2780
+ <td colspan="2">
2781
+ <b>Komplikations screening</b>
2782
+ </td>
2783
+ </tr>
2784
+ <tr>
2785
+ <td valign="top" width="30%">
2786
+ <b>Er jenundersgelse relevant:</b>
2787
+ <br/>
2788
+ <br/>
2789
+ <xsl:variable name="isEyeIrrelevant"
2790
+ select="m:Report/m:Examinations/m:EyeExamination/m:Examinated"/>
2791
+ <table width="100%">
2792
+ <tbody>
2793
+ <tr>
2794
+ <td>
2795
+ <input type="checkbox" disabled="true">
2796
+ <xsl:if test="$isEyeIrrelevant">
2797
+ <xsl:attribute name="checked">1</xsl:attribute>
2798
+ </xsl:if>
2799
+ </input> Nej </td>
2800
+ <td align="right">
2801
+ <i>...hvis ja:</i>
2802
+ </td>
2803
+ <td width="5px"/>
2804
+ </tr>
2805
+ </tbody>
2806
+ </table>
2807
+ </td>
2808
+ <td valign="top">
2809
+ <br/>
2810
+ <br/> Tidspunkt for senest udfrte undersgelse: <input type="text"
2811
+ size="1" readonly="true"
2812
+ value="{substring(m:Report/m:Examinations/m:EyeExamination/m:ExaminationDate/m:Date,6,2)}"
2813
+ /> mm <input type="text" size="1" readonly="true"
2814
+ value="{substring(m:Report/m:Examinations/m:EyeExamination/m:ExaminationDate/m:Date,3,2)}"
2815
+ />
2816
+ </td>
2817
+ </tr>
2818
+ </tbody>
2819
+ </table>
2820
+ </td>
2821
+ </tr>
2822
+ <tr>
2823
+ <td>
2824
+ <xsl:text>&#160;</xsl:text>
2825
+ </td>
2826
+ </tr>
2827
+ <tr>
2828
+ <td>
2829
+ <table border="1" bordercolor="#000000" cellspacing="0" cellpadding="0"
2830
+ width="100%">
2831
+ <tbody>
2832
+ <tr bgcolor="cccccc">
2833
+ <td colspan="2">
2834
+ <b>Komplikations screening</b>
2835
+ </td>
2836
+ </tr>
2837
+ <tr>
2838
+ <td valign="top" width="30%">
2839
+ <b>Er fodundersgelse relevant:</b>
2840
+ <br/>
2841
+ <br/>
2842
+ <xsl:variable name="isFootIrrelevant"
2843
+ select="m:Report/m:Examinations/m:FootExamination/m:Examinated"/>
2844
+ <table width="100%">
2845
+ <tbody>
2846
+ <tr>
2847
+ <td>
2848
+ <input type="checkbox" disabled="true">
2849
+ <xsl:if test="$isFootIrrelevant">
2850
+ <xsl:attribute name="checked">1</xsl:attribute>
2851
+ </xsl:if>
2852
+ </input> Nej </td>
2853
+ <td align="right">
2854
+ <i>...hvis ja:</i>
2855
+ </td>
2856
+ <td width="5px"/>
2857
+ </tr>
2858
+ </tbody>
2859
+ </table>
2860
+ </td>
2861
+ <td valign="top">
2862
+ <br/>
2863
+ <br/> Tidspunkt for senest udfrte undersgelse: <input type="text"
2864
+ size="1" readonly="true"
2865
+ value="{substring(m:Report/m:Examinations/m:FootExamination/m:ExaminationDate/m:Date,6,2)}"
2866
+ /> mm <input type="text" size="1" readonly="true"
2867
+ value="{substring(m:Report/m:Examinations/m:FootExamination/m:ExaminationDate/m:Date,3,2)}"
2868
+ />
2869
+ </td>
2870
+ </tr>
2871
+ </tbody>
2872
+ </table>
2873
+ </td>
2874
+ </tr>
2875
+
2876
+ <tr>
2877
+ <th>
2878
+ <h3>Det Nationale Indikatorprojekt Lyseng All 1, 8270 Hjbjerg</h3>
2879
+ </th>
2880
+ </tr>
2881
+ <tr>
2882
+ <td align="center"> Tlf. 89 44 69 74, <a
2883
+ href="mailto:fagligkvalitet@ag.aaa.dk">fagligkvalitet@ag.aaa.dk</a>, <a
2884
+ href="http://www.nip.dk">www.nip.dk</a>
2885
+ </td>
2886
+ </tr>
2887
+
2888
+ </tbody>
2889
+ </table>
2890
+ </td>
2891
+ </tr>
2892
+ <tr bgcolor="#000000">
2893
+ <td>
2894
+ <xsl:text>&#160;</xsl:text>
2895
+ </td>
2896
+ </tr>
2897
+ </xsl:for-each>
2898
+ </tbody>
2899
+ </table>
2900
+ </td>
2901
+ </xsl:template>
2902
+
2903
+ <!-- MICROBIOLOGYREPORT -->
2904
+ <xsl:template match="m:Emessage[m:MicrobiologyReport]">
2905
+ <xsl:for-each select="m:MicrobiologyReport">
2906
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
2907
+ <table width="100%">
2908
+ <tbody>
2909
+ <tr>
2910
+ <xsl:call-template name="ShowMessageHeader">
2911
+ <xsl:with-param name="MessageName" select="'Mikrobiologisvar'"/>
2912
+ </xsl:call-template>
2913
+ </tr>
2914
+ <!--<tr>
2915
+ <td>
2916
+ <xsl:variable name="url">
2917
+ https://www.sundhed.dk/wps/myportal/_s.155/4518?parameter_navn=cprnr_field&amp;cprnrfield=<xsl:value-of select="m:Patient/m:CivilRegistrationNumber"/>
2918
+ </xsl:variable>
2919
+ <a><xsl:attribute name="href"><xsl:value-of select="$url"/></xsl:attribute>Beskrivelse p� Sundhed.dk</a>
2920
+ </td>
2921
+ </tr>-->
2922
+ <tr>
2923
+ <td valign="top" width="100%">
2924
+ <table>
2925
+ <tbody>
2926
+ <tr>
2927
+ <td valign="top">
2928
+ <b>Pr�ve taget<!--stidspunkt-->:</b>
2929
+ </td>
2930
+ <td valign="top">
2931
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SamplingDateTime">
2932
+ <xsl:call-template name="FormatDateTime"/>
2933
+ </xsl:for-each>
2934
+ </td>
2935
+ <td valign="top">
2936
+ <b>Pr�ve modtaget<!--stidspunkt-->:</b>
2937
+ </td>
2938
+ <td valign="top">
2939
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SampleReceivedDateTime">
2940
+ <!--ikke som i microbiologi (der er det under sample)-->
2941
+ <xsl:call-template name="FormatDateTime"/>
2942
+ </xsl:for-each>
2943
+ </td>
2944
+ <td valign="top">
2945
+ <xsl:variable name="RS" select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultStatus"/>
2946
+ <xsl:choose>
2947
+ <xsl:when test="$RS='modtaget'">
2948
+ <b>Modtagelse bekr�ftet:</b>
2949
+ </xsl:when>
2950
+ <xsl:when test="$RS='delvis'">
2951
+ <b>Delvist svar:</b>
2952
+ </xsl:when>
2953
+ <xsl:when test="$RS='komplet'">
2954
+ <b>Komplet svar:</b>
2955
+ </xsl:when>
2956
+ <xsl:otherwise>
2957
+ <b>Svaret:</b>
2958
+ </xsl:otherwise>
2959
+ </xsl:choose>
2960
+ </td>
2961
+ <td valign="top">
2962
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
2963
+ <xsl:call-template name="FormatDateTime"/>
2964
+ </xsl:for-each>
2965
+ </td>
2966
+ </tr>
2967
+ </tbody>
2968
+ </table>
2969
+ </td>
2970
+ </tr>
2971
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
2972
+ <tr>
2973
+ <td valign="top" width="100%">
2974
+ <table>
2975
+ <tbody>
2976
+ <tr>
2977
+ <td valign="top">
2978
+ <b>
2979
+ Kommentarer til rekvisitionen
2980
+ </b>
2981
+ </td>
2982
+ </tr>
2983
+ <tr>
2984
+ <td valign="top">
2985
+ <table>
2986
+ <tbody>
2987
+ <xsl:for-each select=".">
2988
+ <tr>
2989
+ <td valign="top">
2990
+ <xsl:apply-templates/>
2991
+ </td>
2992
+ </tr>
2993
+ </xsl:for-each>
2994
+ </tbody>
2995
+ </table>
2996
+ </td>
2997
+ </tr>
2998
+ </tbody>
2999
+ </table>
3000
+ </td>
3001
+ </tr>
3002
+ </xsl:for-each>
3003
+ <tr>
3004
+ <td valign="top" width="100%">
3005
+ <table>
3006
+ <tbody>
3007
+ <tr>
3008
+ <td valign="top">
3009
+ <b>Resultater</b>
3010
+ </td>
3011
+ </tr>
3012
+ <tr>
3013
+ <td valign="top">
3014
+ <table>
3015
+ <tbody>
3016
+ <tr>
3017
+ <td valign="top">
3018
+ <b>Analysetype</b>
3019
+ </td>
3020
+ <td valign="top">
3021
+ <b>Analyse</b>
3022
+ </td>
3023
+ <td valign="top">
3024
+ <b>Unders�gelse</b>
3025
+ </td>
3026
+ <td valign="top">
3027
+ <b>Materiale</b>
3028
+ </td>
3029
+ <td valign="top">
3030
+ <b>Lokation</b>
3031
+ </td>
3032
+ <td valign="top">
3033
+ <b>V�rdi</b>
3034
+ </td>
3035
+ <td valign="top">
3036
+ <b>Bem.</b>
3037
+ </td>
3038
+ <td valign="top">
3039
+ <b>Enhed</b>
3040
+ </td>
3041
+ <td valign="top">
3042
+ <b>Reference</b>
3043
+ </td>
3044
+ <td valign="top">
3045
+ <b>Status</b>
3046
+ </td>
3047
+ </tr>
3048
+ <xsl:for-each select="m:LaboratoryResults/m:Result">
3049
+ <xsl:variable name="RNr" select="position()"/>
3050
+ <xsl:variable name="CNr" select="count(../m:Result[position()&lt;=$RNr and count(m:ResultTextValue|m:ResultComments)>0])"/>
3051
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
3052
+ <tr>
3053
+ <xsl:if test="not($isevenrow)">
3054
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
3055
+ </xsl:if>
3056
+ <xsl:if test="$isevenrow">
3057
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
3058
+ </xsl:if>
3059
+ <td valign="top">
3060
+ <xsl:value-of select="m:Analysis/m:ExaminationTypeCode"/>
3061
+ </td>
3062
+ <td valign="top">
3063
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisShortName,' (',m:Analysis/m:MICAnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
3064
+ </td>
3065
+ <td valign="top">
3066
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Examination"/>
3067
+ </td>
3068
+ <td valign="top">
3069
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Material"/>
3070
+ </td>
3071
+ <td valign="top">
3072
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Location"/>
3073
+ </td>
3074
+ <td valign="top">
3075
+ <xsl:variable name="RV" select="m:ResultValidation"/>
3076
+ <xsl:if test="m:ProducerOfLabResult">
3077
+ <xsl:attribute name="title"><xsl:text>Producent: </xsl:text><xsl:value-of select="m:ProducerOfLabResult"/></xsl:attribute>
3078
+ </xsl:if>
3079
+ <xsl:choose>
3080
+ <xsl:when test="$RV='unormal' ">
3081
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
3082
+ </xsl:when>
3083
+ <xsl:when test="$RV='for_hoej' ">
3084
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
3085
+ </xsl:when>
3086
+ <xsl:when test="$RV='for_lav' ">
3087
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
3088
+ </xsl:when>
3089
+ </xsl:choose>
3090
+ <xsl:variable name="O" select="m:Operator"/>
3091
+ <xsl:choose>
3092
+ <xsl:when test="$O='mindre_end'">&amp;lt;</xsl:when>
3093
+ <xsl:when test="$O='stoerre_end'">&amp;gt;</xsl:when>
3094
+ </xsl:choose>
3095
+ <xsl:value-of select="m:Value"/>
3096
+
3097
+ </td>
3098
+ <td valign="top">
3099
+ <font size="1">
3100
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
3101
+ <xsl:value-of select="$CNr"/>
3102
+ </xsl:if>
3103
+ </font>
3104
+ </td>
3105
+ <td valign="top">
3106
+ <xsl:value-of select="m:Unit"/>
3107
+ </td>
3108
+ <td valign="top">
3109
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)>0">
3110
+ <xsl:value-of select="concat(m:ReferenceInterval/m:LowerLimit,'-',m:ReferenceInterval/m:UpperLimit)"/>
3111
+ </xsl:if>
3112
+ <xsl:value-of select="m:ReferenceInterval/m:IntervalText"/>
3113
+ </td>
3114
+ <td>
3115
+ <xsl:value-of select="m:ResultStatusCode"/>
3116
+ </td>
3117
+ </tr>
3118
+ </xsl:for-each>
3119
+ </tbody>
3120
+ </table>
3121
+ </td>
3122
+ </tr>
3123
+ </tbody>
3124
+ </table>
3125
+ </td>
3126
+ </tr>
3127
+ <xsl:if test="count(m:LaboratoryResults/m:Result/m:ResultComments)>0">
3128
+ <tr>
3129
+ <td valign="top" width="100%">
3130
+ <table>
3131
+ <tbody>
3132
+ <tr>
3133
+ <td valign="top">
3134
+ <b>Bem�rkninger</b>
3135
+ </td>
3136
+ </tr>
3137
+ <tr>
3138
+ <td valign="top">
3139
+ <table>
3140
+ <tbody>
3141
+ <xsl:for-each select="m:LaboratoryResults/m:Result[count(m:ResultTextValue|m:ResultComments)>0]">
3142
+ <xsl:variable name="RNr" select="position()"/>
3143
+ <tr>
3144
+ <td valign="top">
3145
+ <font size="1">
3146
+ <xsl:value-of select="$RNr"/>
3147
+ </font>
3148
+ </td>
3149
+ <td valign="top">
3150
+ <table>
3151
+ <tbody>
3152
+ <xsl:for-each select="m:ResultTextValue|m:ResultComments">
3153
+ <tr>
3154
+ <!--<xsl:if test="not($isevenrow)"><xsl:attribute name="bgcolor">dddddd</xsl:attribute></xsl:if>-->
3155
+ <td valign="top">
3156
+ <xsl:if test="name()='ResultTextValue' ">V�rdi</xsl:if>
3157
+ <xsl:if test="name()='ResultComments' ">Bem.</xsl:if>
3158
+ </td>
3159
+ <td valign="top">
3160
+ <xsl:apply-templates/>
3161
+ </td>
3162
+ </tr>
3163
+ </xsl:for-each>
3164
+ </tbody>
3165
+ </table>
3166
+ </td>
3167
+ </tr>
3168
+ </xsl:for-each>
3169
+ </tbody>
3170
+ </table>
3171
+ </td>
3172
+ </tr>
3173
+ </tbody>
3174
+ </table>
3175
+ </td>
3176
+ </tr>
3177
+ </xsl:if>
3178
+ <tr>
3179
+ <td valign="top" width="100%">
3180
+ <table>
3181
+ <tbody>
3182
+ <tr>
3183
+ <td valign="top">
3184
+ <b>
3185
+ <xsl:value-of select="m:LaboratoryResults/m:MicroscopicFindings/m:Headline"/>
3186
+ </b>
3187
+ </td>
3188
+ </tr>
3189
+ <tr>
3190
+ <td valign="top">
3191
+ <xsl:apply-templates select="m:LaboratoryResults/m:MicroscopicFindings/m:Comments/text()|m:LaboratoryResults/m:MicroscopicFindings/m:Comments/*"/>
3192
+ </td>
3193
+ </tr>
3194
+ </tbody>
3195
+ </table>
3196
+ </td>
3197
+ </tr>
3198
+ <tr>
3199
+ <td valign="top" width="100%">
3200
+ <table>
3201
+ <tbody>
3202
+ <tr>
3203
+ <td valign="top">
3204
+ <b>
3205
+ <xsl:value-of select="m:LaboratoryResults/m:CultureWithoutFindings/m:Headline"/>
3206
+ </b>
3207
+ </td>
3208
+ </tr>
3209
+ <tr>
3210
+ <td valign="top">
3211
+ <xsl:apply-templates select="m:LaboratoryResults/m:CultureWithoutFindings/m:Comments/text()|m:LaboratoryResults/m:CultureWithoutFindings/m:Comments/*"/>
3212
+ </td>
3213
+ </tr>
3214
+ </tbody>
3215
+ </table>
3216
+ </td>
3217
+ </tr>
3218
+ <tr>
3219
+ <td valign="top" width="100%">
3220
+ <table>
3221
+ <tbody>
3222
+ <tr>
3223
+ <td valign="top">
3224
+ <b>
3225
+ <xsl:value-of select="m:LaboratoryResults/m:CultureWithFindings/m:Headline"/>
3226
+ </b>
3227
+ </td>
3228
+ </tr>
3229
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Microorganism">
3230
+ <tr>
3231
+ <td valign="top">
3232
+ <table>
3233
+ <tbody>
3234
+ <tr>
3235
+ <td valign="top">(<xsl:value-of select="position()"/>)</td>
3236
+ <td valign="top">
3237
+ <xsl:value-of select="m:GrowthValue"/>
3238
+ </td>
3239
+ <td valign="top">
3240
+ <xsl:value-of select="m:Name"/>
3241
+ </td>
3242
+ <td valign="top">
3243
+ <xsl:value-of select="m:MultiResistance"/>
3244
+ </td>
3245
+ </tr>
3246
+ </tbody>
3247
+ </table>
3248
+ </td>
3249
+ </tr>
3250
+ </xsl:for-each>
3251
+ <tr>
3252
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Pattern/m:PatternEntry[1]">
3253
+ <tr>
3254
+ <td valign="top">
3255
+ <xsl:call-template name="ShowTable2">
3256
+ <xsl:with-param name="ColNames" select="../../m:Microorganism/m:Name"/>
3257
+ <xsl:with-param name="RowNames" select="../m:Antibiotic"/>
3258
+ <xsl:with-param name="ColIdxs" select="../m:PatternEntry/m:RefMicroorganism"/>
3259
+ <xsl:with-param name="RowIdxs" select="../m:PatternEntry/m:RefAntibiotic"/>
3260
+ <xsl:with-param name="Values" select="../m:PatternEntry/m:Sensitivity"/>
3261
+ </xsl:call-template>
3262
+ </td>
3263
+ </tr>
3264
+ </xsl:for-each>
3265
+ </tr>
3266
+ <tr>
3267
+ <td valign="top">
3268
+ <table>
3269
+ <tbody>
3270
+ <tr>
3271
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Pattern/m:SensitivityInterpretation/text()">
3272
+ <td valign="top">
3273
+ <xsl:value-of select="."/>
3274
+ </td>
3275
+ </xsl:for-each>
3276
+ </tr>
3277
+ </tbody>
3278
+ </table>
3279
+ </td>
3280
+ </tr>
3281
+ <tr>
3282
+ <td valign="top">
3283
+ <xsl:apply-templates select="m:LaboratoryResults/m:CultureWithFindings/m:Comments/text()|m:LaboratoryResults/m:CultureWithFindings/m:Comments/*"/>
3284
+ </td>
3285
+ </tr>
3286
+ </tbody>
3287
+ </table>
3288
+ </td>
3289
+ </tr>
3290
+ <xsl:if test="count(m:RequisitionInformation/m:ClinicalInformation)>0">
3291
+ <tr>
3292
+ <td valign="top" width="100%">
3293
+ <table>
3294
+ <tbody>
3295
+ <tr>
3296
+ <td valign="top">
3297
+ <b>
3298
+ Klinisk information
3299
+ </b>
3300
+ </td>
3301
+ </tr>
3302
+ <tr>
3303
+ <td valign="top">
3304
+ <table>
3305
+ <tbody>
3306
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
3307
+ <tr>
3308
+ <td valign="top">
3309
+ <xsl:apply-templates/>
3310
+ </td>
3311
+ </tr>
3312
+ </xsl:for-each>
3313
+ </tbody>
3314
+ </table>
3315
+ </td>
3316
+ </tr>
3317
+ </tbody>
3318
+ </table>
3319
+ </td>
3320
+ </tr>
3321
+ </xsl:if>
3322
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation[m:Comments]">
3323
+ <tr>
3324
+ <td valign="top" width="100%">
3325
+ <table>
3326
+ <tbody>
3327
+ <tr>
3328
+ <td valign="top">
3329
+ <b>
3330
+ <xsl:value-of select="m:Headline"/>
3331
+ </b>
3332
+ </td>
3333
+ </tr>
3334
+ <tr>
3335
+ <td valign="top">
3336
+ <table>
3337
+ <tbody>
3338
+ <xsl:for-each select="m:Comments">
3339
+ <tr>
3340
+ <td valign="top">
3341
+ <xsl:apply-templates/>
3342
+ </td>
3343
+ </tr>
3344
+ </xsl:for-each>
3345
+ </tbody>
3346
+ </table>
3347
+ </td>
3348
+ </tr>
3349
+ </tbody>
3350
+ </table>
3351
+ </td>
3352
+ </tr>
3353
+ </xsl:for-each>
3354
+ <tr>
3355
+ <xsl:call-template name="ShowPatientAndRelatives"/>
3356
+ </tr>
3357
+ <tr>
3358
+ <xsl:call-template name="ShowParticipants"/>
3359
+ </tr>
3360
+ </tbody>
3361
+ </table>
3362
+ </td>
3363
+ </xsl:for-each>
3364
+ </xsl:template>
3365
+
3366
+ <!-- LABORATORYREPORT -->
3367
+ <xsl:template match="m:Emessage[m:LaboratoryReport]">
3368
+ <xsl:for-each select="m:LaboratoryReport">
3369
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
3370
+ <table width="100%">
3371
+ <tbody>
3372
+ <tr>
3373
+ <xsl:call-template name="ShowMessageHeader">
3374
+ <xsl:with-param name="MessageName" select="'Laboratoriesvar'"/>
3375
+ </xsl:call-template>
3376
+ </tr>
3377
+ <!-- <tr>
3378
+ <td>
3379
+ <xsl:variable name="patientcpr" select="m:Patient/m:CivilRegistrationNumber"/>
3380
+ <a href="https://www.sundhed.dk/wps/myportal/_s.155/4518?parameter_navn=cprnr_field&amp;cprnrfield={$patientcpr}">Beskrivelse p� Sundhed.dk</a>
3381
+ </td>
3382
+ </tr>-->
3383
+ <tr>
3384
+ <td valign="top" width="100%">
3385
+ <table>
3386
+ <tbody>
3387
+ <tr>
3388
+ <td valign="top">
3389
+ <b>Pr�ve taget<!--stidspunkt-->:</b>
3390
+ </td>
3391
+ <td valign="top">
3392
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SamplingDateTime">
3393
+ <xsl:call-template name="FormatDateTime"/>
3394
+ </xsl:for-each>
3395
+ </td>
3396
+ <td valign="top">
3397
+ <b>Svaret<!--tidspunkt-->:</b>
3398
+ </td>
3399
+ <td valign="top">
3400
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
3401
+ <xsl:call-template name="FormatDateTime"/>
3402
+ </xsl:for-each>
3403
+ </td>
3404
+ </tr>
3405
+ </tbody>
3406
+ </table>
3407
+ </td>
3408
+ </tr>
3409
+ <xsl:if test="count(m:RequisitionInformation/m:Comments)>0">
3410
+ <tr>
3411
+ <td valign="top" width="100%">
3412
+ <table>
3413
+ <tbody>
3414
+ <tr>
3415
+ <td valign="top" width="100%">
3416
+ <b>Kommentarer til rekvisitionen</b>
3417
+ </td>
3418
+ </tr>
3419
+ <tr>
3420
+ <td valign="top" width="100%">
3421
+ <table>
3422
+ <tbody>
3423
+ <tr>
3424
+ <td valign="top">
3425
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
3426
+ <xsl:apply-templates/>
3427
+ </xsl:for-each>
3428
+ </td>
3429
+ </tr>
3430
+ </tbody>
3431
+ </table>
3432
+ </td>
3433
+ </tr>
3434
+ </tbody>
3435
+ </table>
3436
+ </td>
3437
+ </tr>
3438
+ </xsl:if>
3439
+ <tr>
3440
+ <td valign="top" width="100%">
3441
+ <table>
3442
+ <tbody>
3443
+ <tr>
3444
+ <td valign="top">
3445
+ <b>Resultater</b>
3446
+ </td>
3447
+ </tr>
3448
+ <tr>
3449
+ <td valign="top">
3450
+ <table>
3451
+ <tbody>
3452
+ <tr bgcolor="#cccccc">
3453
+ <td valign="top">
3454
+ <b>Analyse</b>
3455
+ </td>
3456
+ <td valign="top">
3457
+ <b>V�rdi</b>
3458
+ </td>
3459
+ <td valign="top">
3460
+ <b>Bem.</b>
3461
+ </td>
3462
+ <td valign="top">
3463
+ <b>Enhed</b>
3464
+ </td>
3465
+ <td valign="top">
3466
+ <b>Reference</b>
3467
+ </td>
3468
+ <td valign="top">
3469
+ <b>Status</b>
3470
+ </td>
3471
+ <td/>
3472
+ </tr>
3473
+ <xsl:variable name="Results2" select="m:LaboratoryResults/m:Result"/>
3474
+ <xsl:variable name="Firstresults2" select="$Results2[count(.|(key('requisitiongroup2result',concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)))[1])=1]"/>
3475
+ <xsl:for-each select="$Firstresults2">
3476
+ <xsl:sort select="m:Analysis/m:RequisitionGroup/m:Identifier"/>
3477
+ <xsl:variable name="GNr" select="position()"/>
3478
+ <xsl:variable name="Key" select="concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)"/>
3479
+ <xsl:variable name="ResultsInGrp" select="key('requisitiongroup2result',$Key)"/>
3480
+ <tr>
3481
+ <td colspan="6">
3482
+ <b>
3483
+ <i>
3484
+ <xsl:value-of select="m:Analysis/m:RequisitionGroup/m:Name"/>
3485
+ </i>
3486
+ </b>
3487
+ </td>
3488
+ </tr>
3489
+ <xsl:for-each select="$ResultsInGrp">
3490
+ <xsl:sort select="Analysis/m:Order"/>
3491
+ <xsl:variable name="NrInG" select="position()"/>
3492
+ <!--<xsl:variable name="CNr" select="count(../m:Result[(concat('X',m:Analysis/m:RequisitionGroup/m:Identifier)&lt;concat('X',$Id))])"/>-->
3493
+ <!-- and count(m:ResultTextValue|m:ResultComments)>0-->
3494
+ <!-- or (m:Analysis/m:RequisitionGroup/m:Identifier=$Id and concat(' ',m:Analysis/m:Order) &lt;concat(' ',$Order))-->
3495
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
3496
+ <tr>
3497
+ <xsl:if test="not($isevenrow)">
3498
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
3499
+ </xsl:if>
3500
+ <xsl:if test="$isevenrow">
3501
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
3502
+ </xsl:if>
3503
+ <td valign="top">
3504
+ <xsl:choose>
3505
+ <xsl:when test="m:Analysis/m:AnalysisShortName">
3506
+ <xsl:value-of select="m:Analysis/m:AnalysisShortName"/>
3507
+ </xsl:when>
3508
+ <xsl:otherwise>
3509
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisCompleteName,' (',m:Analysis/m:AnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
3510
+ </xsl:otherwise>
3511
+ </xsl:choose>
3512
+ </td>
3513
+ <td valign="top">
3514
+ <xsl:attribute name="title">
3515
+ <xsl:if test="m:ResultTextValue">
3516
+ <xsl:text>Tekstv�rdi: </xsl:text><xsl:value-of select="m:ResultTextValue"/><xsl:text>,
3517
+ </xsl:text>
3518
+ </xsl:if>
3519
+ <xsl:text>Producent: </xsl:text><xsl:value-of select="m:ProducerOfLabResult"/>
3520
+ </xsl:attribute>
3521
+ <xsl:choose>
3522
+ <xsl:when test="m:ResultValidation">
3523
+ <xsl:variable name="RV" select="m:ResultValidation"/>
3524
+ <xsl:choose>
3525
+ <xsl:when test="$RV='unormal' ">
3526
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
3527
+ </xsl:when>
3528
+ <xsl:when test="$RV='for_hoej' ">
3529
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
3530
+ </xsl:when>
3531
+ <xsl:when test="$RV='for_lav' ">
3532
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
3533
+ </xsl:when>
3534
+ </xsl:choose>
3535
+ </xsl:when>
3536
+ <xsl:when test="m:ResultType = 'numerisk'">
3537
+ <xsl:choose>
3538
+ <xsl:when test="m:Value > m:ReferenceInterval/m:UpperLimit">
3539
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
3540
+ </xsl:when>
3541
+ <xsl:when test="m:Value &lt; m:ReferenceInterval/m:LowerLimit">
3542
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
3543
+ </xsl:when>
3544
+ </xsl:choose>
3545
+ </xsl:when>
3546
+ </xsl:choose>
3547
+ <xsl:variable name="O" select="m:Operator"/>
3548
+ <xsl:choose>
3549
+ <xsl:when test="$O='mindre_end'">&lt;</xsl:when>
3550
+ <xsl:when test="$O='stoerre_end'">&gt;</xsl:when>
3551
+ </xsl:choose>
3552
+ <xsl:value-of select="m:Value"/>
3553
+ </td>
3554
+ <td valign="top">
3555
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
3556
+ <font size="1">
3557
+ <xsl:attribute name="title"><xsl:value-of select="m:ResultComments"/></xsl:attribute>
3558
+ <xsl:value-of select="concat($GNr,',',$NrInG)"/>
3559
+ </font>
3560
+ </xsl:if>
3561
+ </td>
3562
+ <td valign="top">
3563
+ <xsl:value-of select="m:Unit"/>
3564
+ </td>
3565
+ <td valign="top">
3566
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)>1">
3567
+ <xsl:value-of select="concat(m:ReferenceInterval/m:LowerLimit,'-',m:ReferenceInterval/m:UpperLimit)"/>
3568
+ </xsl:if>
3569
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)=1">
3570
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit)=1">
3571
+ <xsl:value-of select="concat('&gt;',m:ReferenceInterval/m:LowerLimit)"/>
3572
+ </xsl:if>
3573
+ <xsl:if test="count(m:ReferenceInterval/m:UpperLimit)=1">
3574
+ <xsl:value-of select="concat('&lt;',m:ReferenceInterval/m:UpperLimit)"/>
3575
+ </xsl:if>
3576
+
3577
+ </xsl:if>
3578
+ <xsl:value-of select="m:ReferenceInterval/m:IntervalText"/>
3579
+ </td>
3580
+ <td>
3581
+ <xsl:value-of select="m:ResultStatusCode"/>
3582
+ </td>
3583
+ <td>
3584
+ <xsl:for-each select="m:Reference[m:URL]">
3585
+ <a>
3586
+ <xsl:attribute name="href"><xsl:value-of select="m:URL"/></xsl:attribute>
3587
+ <img src="img/urlicon.PNG">
3588
+ <xsl:attribute name="alt"><xsl:value-of select="m:RefDescription"/></xsl:attribute>
3589
+ </img>
3590
+ </a>
3591
+ </xsl:for-each>
3592
+ </td>
3593
+ </tr>
3594
+ </xsl:for-each>
3595
+ </xsl:for-each>
3596
+ </tbody>
3597
+ </table>
3598
+ </td>
3599
+ </tr>
3600
+ <!--
3601
+ <tr>
3602
+ <td valign="top">
3603
+ <table>
3604
+ <tbody>
3605
+ <tr>
3606
+ <td valign="top">
3607
+ <b>Analyse</b>
3608
+ </td>
3609
+ <td valign="top">
3610
+ <b>V�rdi</b>
3611
+ </td>
3612
+ <td valign="top">
3613
+ <b>Bem.</b>
3614
+ </td>
3615
+ <td valign="top">
3616
+ <b>Enhed</b>
3617
+ </td>
3618
+ <td valign="top">
3619
+ <b>Reference</b>
3620
+ </td>
3621
+ <td valign="top">
3622
+ <b>Status</b>
3623
+ </td>
3624
+ </tr>
3625
+ <xsl:for-each select="m:LaboratoryResults/m:Result">
3626
+ <xsl:variable name="RNr" select="position()"/>
3627
+ <xsl:variable name="CNr" select="count(../m:Result[position()&lt;=$RNr and count(m:ResultTextValue|m:ResultComments)>0])"/>
3628
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
3629
+ <tr>
3630
+ <xsl:if test="not($isevenrow)">
3631
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
3632
+ </xsl:if>
3633
+ <xsl:if test="$isevenrow">
3634
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
3635
+ </xsl:if>
3636
+ <td valign="top">
3637
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisCompleteName,' (',m:Analysis/m:AnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
3638
+ </td>
3639
+ <td valign="top">
3640
+ <xsl:variable name="RV" select="m:ResultValidation"/>
3641
+ <xsl:choose>
3642
+ <xsl:when test="$RV='unormal' ">
3643
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
3644
+ </xsl:when>
3645
+ <xsl:when test="$RV='for_hoej' ">
3646
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
3647
+ </xsl:when>
3648
+ <xsl:when test="$RV='for_lav' ">
3649
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
3650
+ </xsl:when>
3651
+ </xsl:choose>
3652
+ <xsl:variable name="O" select="m:Operator"/>
3653
+ <xsl:choose>
3654
+ <xsl:when test="$O='mindre_end'">&lt;</xsl:when>
3655
+ <xsl:when test="$O='stoerre_end'">&gt;</xsl:when>
3656
+ </xsl:choose>
3657
+ <xsl:value-of select="m:Value"/>
3658
+ </td>
3659
+ <td valign="top">
3660
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
3661
+ <font size="1">
3662
+ <xsl:attribute name="title"><xsl:value-of select="m:ResultTextValue|m:ResultComments"/></xsl:attribute>
3663
+ <xsl:value-of select="$CNr"/>
3664
+ </font>
3665
+ </xsl:if>
3666
+ </td>
3667
+ <td valign="top">
3668
+ <xsl:value-of select="m:Unit"/>
3669
+ </td>
3670
+ <td valign="top">
3671
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)>0">
3672
+ <xsl:value-of select="concat(m:ReferenceInterval/m:LowerLimit,'-',m:ReferenceInterval/m:UpperLimit)"/>
3673
+ </xsl:if>
3674
+ <xsl:value-of select="m:ReferenceInterval/m:IntervalText"/>
3675
+ </td>
3676
+ <td>
3677
+ <xsl:value-of select="m:ResultStatusCode"/>
3678
+ </td>
3679
+ </tr>
3680
+ </xsl:for-each>
3681
+ </tbody>
3682
+ </table>
3683
+ </td>
3684
+ </tr>-->
3685
+ </tbody>
3686
+ </table>
3687
+ </td>
3688
+ </tr>
3689
+ <tr>
3690
+ <td valign="top" width="100%">
3691
+ <table>
3692
+ <tbody>
3693
+ <tr>
3694
+ <td valign="top">
3695
+ <b>Bem�rkninger</b>
3696
+ </td>
3697
+ </tr>
3698
+ <tr>
3699
+ <td valign="top">
3700
+ <table>
3701
+ <tbody>
3702
+ <xsl:for-each select="m:LaboratoryResults">
3703
+ <xsl:variable name="GNr" select="position()"/>
3704
+ <xsl:variable name="Results" select="m:Result"/>
3705
+ <xsl:variable name="Firstresults" select="$Results[count(.|(key('requisitiongroup2result',m:Analysis/m:RequisitionGroup/m:Identifier))[1])=1]"/>
3706
+ <xsl:for-each select="$Firstresults">
3707
+ <xsl:sort select="m:Analysis/m:RequisitionGroup/m:Identifier"/>
3708
+
3709
+ <xsl:variable name="Key" select="concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)"/>
3710
+ <!--<xsl:variable name="ResultsInGrp" select="key('requisitiongroup2result',$Key)"/>
3711
+ <xsl:for-each select="$ResultsInGrp">-->
3712
+ <!--<xsl:sort select="Analysis/m:Order"/>-->
3713
+ <xsl:variable name="NrInG" select="position()"/>
3714
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
3715
+ <tr>
3716
+ <td valign="top">
3717
+ <font size="1">
3718
+ <xsl:value-of select="concat($GNr,',',$NrInG)"/>
3719
+ </font>
3720
+ </td>
3721
+ <td valign="top">
3722
+ <table>
3723
+ <tbody>
3724
+ <xsl:for-each select="m:ResultTextValue|m:ResultComments">
3725
+ <tr>
3726
+ <!--<xsl:if test="not($isevenrow)"><xsl:attribute name="bgcolor">dddddd</xsl:attribute></xsl:if>-->
3727
+ <td valign="top">
3728
+ <xsl:if test="name()='ResultTextValue' ">V�rdi</xsl:if>
3729
+ <xsl:if test="name()='ResultComments' ">Bem.</xsl:if>
3730
+ </td>
3731
+ <td valign="top">
3732
+ <xsl:apply-templates/>
3733
+ </td>
3734
+ </tr>
3735
+ </xsl:for-each>
3736
+ </tbody>
3737
+ </table>
3738
+ </td>
3739
+ </tr>
3740
+ </xsl:if>
3741
+ <!--</xsl:for-each>-->
3742
+ </xsl:for-each>
3743
+ </xsl:for-each>
3744
+ </tbody>
3745
+ </table>
3746
+ </td>
3747
+ </tr>
3748
+ </tbody>
3749
+ </table>
3750
+ </td>
3751
+ </tr>
3752
+ <tr>
3753
+ <xsl:call-template name="ShowPatientAndRelatives"/>
3754
+ </tr>
3755
+ <tr>
3756
+ <xsl:call-template name="ShowParticipants"/>
3757
+ </tr>
3758
+ </tbody>
3759
+ </table>
3760
+ </td>
3761
+ </xsl:for-each>
3762
+ </xsl:template>
3763
+
3764
+
3765
+ </xsl:stylesheet>