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,2951 @@
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/medcom.dk/xml/schemas/2014/10/08/"
4
+ xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2002/06/28/"
5
+ xmlns:dkcc="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/13/"
6
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
7
+ <xsl:output media-type="text/html"/>
8
+
9
+ <!-- LABORATORYREPORT -->
10
+ <xsl:key name="requisitiongroup2result" match="m:Emessage/m:LaboratoryReport/m:LaboratoryResults/m:Result" use="concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)"/>
11
+ <xsl:template match="m:Emessage[m:LaboratoryReport]">
12
+ <xsl:for-each select="m:LaboratoryReport">
13
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
14
+ <table width="100%">
15
+ <tbody>
16
+ <tr>
17
+ <xsl:call-template name="ShowMessageHeader">
18
+ <xsl:with-param name="MessageName" select="'Laboratoriesvar'"/>
19
+ </xsl:call-template>
20
+ </tr>
21
+ <tr>
22
+ <td valign="top" width="100%">
23
+ <table>
24
+ <tbody>
25
+ <tr>
26
+ <td valign="top">
27
+ <b>Pr�ve taget:</b>
28
+ </td>
29
+ <td valign="top">
30
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SamplingDateTime">
31
+ <xsl:call-template name="FormatDateTime"/>
32
+ </xsl:for-each>
33
+ </td>
34
+ <xsl:call-template name="ShowReqStatus"/>
35
+ <td valign="top">
36
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
37
+ <xsl:call-template name="FormatDateTime"/>
38
+ </xsl:for-each>
39
+ </td>
40
+ </tr>
41
+ </tbody>
42
+ </table>
43
+ </td>
44
+ </tr>
45
+ <xsl:if test="count(m:RequisitionInformation/m:Comments)>0">
46
+ <tr>
47
+ <td valign="top" width="100%">
48
+ <table>
49
+ <tbody>
50
+ <tr>
51
+ <td valign="top" width="100%">
52
+ <b>Kommentarer til rekvisitionen</b>
53
+ </td>
54
+ </tr>
55
+ <tr>
56
+ <td valign="top" width="100%">
57
+ <table>
58
+ <tbody>
59
+ <tr>
60
+ <td valign="top">
61
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
62
+ <xsl:apply-templates/>
63
+ </xsl:for-each>
64
+ </td>
65
+ </tr>
66
+ </tbody>
67
+ </table>
68
+ </td>
69
+ </tr>
70
+ </tbody>
71
+ </table>
72
+ </td>
73
+ </tr>
74
+ </xsl:if>
75
+ <tr>
76
+ <td valign="top" width="100%">
77
+ <table>
78
+ <tbody>
79
+ <tr>
80
+ <td valign="top">
81
+ <b>Resultater</b>
82
+ </td>
83
+ </tr>
84
+ <tr>
85
+ <td valign="top">
86
+ <table>
87
+ <tbody>
88
+ <tr bgcolor="#cccccc">
89
+ <td valign="top">
90
+ <b>Analyse</b>
91
+ </td>
92
+ <td valign="top">
93
+ <b>V�rdi</b>
94
+ </td>
95
+ <td valign="top">
96
+ <b>Bem.</b>
97
+ </td>
98
+ <td valign="top">
99
+ <b>Enhed</b>
100
+ </td>
101
+ <td valign="top">
102
+ <b>Reference</b>
103
+ </td>
104
+ <td valign="top">
105
+ <b>Status</b>
106
+ </td>
107
+ <td valign="top">
108
+ <b>Sendepr�ve</b>
109
+ </td>
110
+ <td/>
111
+ </tr>
112
+ <xsl:variable name="Results2" select="m:LaboratoryResults/m:Result"/>
113
+ <xsl:variable name="Firstresults2" select="$Results2[count(.|(key('requisitiongroup2result',concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)))[1])=1]"/>
114
+ <xsl:for-each select="$Firstresults2">
115
+ <xsl:sort select="m:Analysis/m:RequisitionGroup/m:Identifier"/>
116
+ <xsl:variable name="GNr" select="position()"/>
117
+ <xsl:variable name="Key" select="concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)"/>
118
+ <xsl:variable name="ResultsInGrp" select="key('requisitiongroup2result',$Key)"/>
119
+ <tr>
120
+ <td colspan="7">
121
+ <b>
122
+ <i>
123
+ <xsl:value-of select="m:Analysis/m:RequisitionGroup/m:Name"/>
124
+ </i>
125
+ </b>
126
+ </td>
127
+ </tr>
128
+ <xsl:for-each select="$ResultsInGrp">
129
+ <xsl:sort select="Analysis/m:Order"/>
130
+ <xsl:variable name="NrInG" select="position()"/>
131
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
132
+ <tr>
133
+ <xsl:if test="not($isevenrow)">
134
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
135
+ </xsl:if>
136
+ <xsl:if test="$isevenrow">
137
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
138
+ </xsl:if>
139
+ <td valign="top">
140
+ <xsl:choose>
141
+ <xsl:when test="m:Analysis/m:AnalysisShortName">
142
+ <xsl:value-of select="m:Analysis/m:AnalysisShortName"/>
143
+ </xsl:when>
144
+ <xsl:otherwise>
145
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisCompleteName,' (',m:Analysis/m:AnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
146
+ </xsl:otherwise>
147
+ </xsl:choose>
148
+ </td>
149
+ <td valign="top">
150
+ <xsl:attribute name="title">
151
+ <xsl:if test="m:ResultTextValue">
152
+ <xsl:text>Tekstv�rdi: </xsl:text><xsl:value-of select="m:ResultTextValue"/><xsl:text>,
153
+ </xsl:text>
154
+ </xsl:if>
155
+ <xsl:text>Producent: </xsl:text><xsl:value-of select="m:ProducerOfLabResult"/>
156
+ </xsl:attribute>
157
+ <xsl:choose>
158
+ <xsl:when test="m:ResultValidation">
159
+ <xsl:variable name="RV" select="m:ResultValidation"/>
160
+ <xsl:choose>
161
+ <xsl:when test="$RV='unormal' ">
162
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
163
+ </xsl:when>
164
+ <xsl:when test="$RV='for_hoej' ">
165
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
166
+ </xsl:when>
167
+ <xsl:when test="$RV='for_lav' ">
168
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
169
+ </xsl:when>
170
+ </xsl:choose>
171
+ </xsl:when>
172
+ <xsl:when test="m:ResultType = 'numerisk'">
173
+ <xsl:choose>
174
+ <xsl:when test="m:Value > m:ReferenceInterval/m:UpperLimit">
175
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
176
+ </xsl:when>
177
+ <xsl:when test="m:Value &lt; m:ReferenceInterval/m:LowerLimit">
178
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
179
+ </xsl:when>
180
+ </xsl:choose>
181
+ </xsl:when>
182
+ </xsl:choose>
183
+ <xsl:variable name="O" select="m:Operator"/>
184
+ <xsl:choose>
185
+ <xsl:when test="$O='mindre_end'">&lt;</xsl:when>
186
+ <xsl:when test="$O='stoerre_end'">&gt;</xsl:when>
187
+ </xsl:choose>
188
+ <xsl:value-of select="m:Value"/>
189
+ </td>
190
+ <td valign="top">
191
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
192
+ <font size="1">
193
+ <xsl:attribute name="title"><xsl:value-of select="m:ResultComments"/></xsl:attribute>
194
+ <xsl:value-of select="concat($GNr,',',$NrInG)"/>
195
+ </font>
196
+ </xsl:if>
197
+ </td>
198
+ <td valign="top">
199
+ <xsl:value-of select="m:Unit"/>
200
+ </td>
201
+ <td valign="top">
202
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)>1">
203
+ <xsl:value-of select="concat(m:ReferenceInterval/m:LowerLimit,'-',m:ReferenceInterval/m:UpperLimit)"/>
204
+ </xsl:if>
205
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)=1">
206
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit)=1">
207
+ <xsl:value-of select="concat('&gt;',m:ReferenceInterval/m:LowerLimit)"/>
208
+ </xsl:if>
209
+ <xsl:if test="count(m:ReferenceInterval/m:UpperLimit)=1">
210
+ <xsl:value-of select="concat('&lt;',m:ReferenceInterval/m:UpperLimit)"/>
211
+ </xsl:if>
212
+
213
+ </xsl:if>
214
+ <xsl:value-of select="m:ReferenceInterval/m:IntervalText"/>
215
+ </td>
216
+ <td>
217
+ <xsl:variable name="RS" select="m:ResultStatusCode"/>
218
+ <xsl:choose>
219
+ <xsl:when test="$RS='svar_endeligt'">Endeligt resultat</xsl:when>
220
+ <xsl:when test="$RS='svar_midlertidigt'">Midlertidigt resultat</xsl:when>
221
+ <xsl:when test="$RS='svar_rettet'">Rettet resultat</xsl:when>
222
+ <xsl:when test="$RS='proeve_modtaget'">Pr�vemodtaget</xsl:when>
223
+ </xsl:choose>
224
+ </td>
225
+ <td>
226
+ <xsl:value-of select="m:ToLabIdentifier"/>
227
+ </td>
228
+ <td>
229
+ <xsl:for-each select="m:Reference[m:URL]">
230
+ <a>
231
+ <xsl:attribute name="href"><xsl:value-of select="m:URL"/></xsl:attribute>
232
+ <img src="img/urlicon.PNG">
233
+ <xsl:attribute name="alt"><xsl:value-of select="m:RefDescription"/></xsl:attribute>
234
+ </img>
235
+ </a>
236
+ </xsl:for-each>
237
+ </td>
238
+ </tr>
239
+ </xsl:for-each>
240
+ </xsl:for-each>
241
+ </tbody>
242
+ </table>
243
+ </td>
244
+ </tr>
245
+ </tbody>
246
+ </table>
247
+ </td>
248
+ </tr>
249
+ <tr>
250
+ <td valign="top" width="100%">
251
+ <table>
252
+ <tbody>
253
+ <tr>
254
+ <td valign="top">
255
+ <b>Bem�rkninger</b>
256
+ </td>
257
+ </tr>
258
+ <tr>
259
+ <td valign="top">
260
+ <table>
261
+ <tbody>
262
+ <xsl:for-each select="m:LaboratoryResults">
263
+ <xsl:variable name="GNr" select="position()"/>
264
+ <xsl:variable name="Results" select="m:Result"/>
265
+ <xsl:variable name="Firstresults" select="$Results[count(.|(key('requisitiongroup2result',m:Analysis/m:RequisitionGroup/m:Identifier))[1])=1]"/>
266
+ <xsl:for-each select="$Firstresults">
267
+ <xsl:sort select="m:Analysis/m:RequisitionGroup/m:Identifier"/>
268
+
269
+ <xsl:variable name="Key" select="concat('key',m:Analysis/m:RequisitionGroup/m:Identifier)"/>
270
+ <xsl:variable name="NrInG" select="position()"/>
271
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
272
+ <tr>
273
+ <td valign="top">
274
+ <font size="1">
275
+ <xsl:value-of select="concat($GNr,',',$NrInG)"/>
276
+ </font>
277
+ </td>
278
+ <td valign="top">
279
+ <table>
280
+ <tbody>
281
+ <xsl:for-each select="m:ResultTextValue|m:ResultComments">
282
+ <tr>
283
+ <td valign="top">
284
+ <xsl:if test="name()='ResultTextValue' ">V�rdi</xsl:if>
285
+ <xsl:if test="name()='ResultComments' ">Bem.</xsl:if>
286
+ </td>
287
+ <td valign="top">
288
+ <xsl:apply-templates/>
289
+ </td>
290
+ </tr>
291
+ </xsl:for-each>
292
+ </tbody>
293
+ </table>
294
+ </td>
295
+ </tr>
296
+ </xsl:if>
297
+ </xsl:for-each>
298
+ </xsl:for-each>
299
+ </tbody>
300
+ </table>
301
+ </td>
302
+ </tr>
303
+ </tbody>
304
+ </table>
305
+ </td>
306
+ </tr>
307
+ <tr>
308
+ <xsl:call-template name="ShowPatientAndRelatives"/>
309
+ </tr>
310
+ <tr>
311
+ <xsl:call-template name="ShowParticipants"/>
312
+ </tr>
313
+ </tbody>
314
+ </table>
315
+ </td>
316
+ </xsl:for-each>
317
+ </xsl:template>
318
+
319
+ <!-- MICROBIOLOGYREPORT -->
320
+ <xsl:template match="m:Emessage[m:MicrobiologyReport]">
321
+ <xsl:for-each select="m:MicrobiologyReport">
322
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
323
+ <table width="100%">
324
+ <tbody>
325
+ <tr>
326
+ <xsl:call-template name="ShowMessageHeader">
327
+ <xsl:with-param name="MessageName" select="'Mikrobiologisvar'"/>
328
+ </xsl:call-template>
329
+ </tr>
330
+ <tr>
331
+ <td valign="top" width="100%">
332
+ <table>
333
+ <tbody>
334
+ <tr>
335
+ <td valign="top">
336
+ <b>Pr�ve taget:</b>
337
+ </td>
338
+ <td valign="top">
339
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SamplingDateTime">
340
+ <xsl:call-template name="FormatDateTime"/>
341
+ </xsl:for-each>
342
+ </td>
343
+ <td valign="top">
344
+ <b>Pr�ve modtaget:</b>
345
+ </td>
346
+ <td valign="top">
347
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SampleReceivedDateTime">
348
+ <xsl:call-template name="FormatDateTime"/>
349
+ </xsl:for-each>
350
+ </td>
351
+ <xsl:call-template name="ShowReqStatus"/>
352
+ <td valign="top">
353
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
354
+ <xsl:call-template name="FormatDateTime"/>
355
+ </xsl:for-each>
356
+ </td>
357
+ </tr>
358
+ </tbody>
359
+ </table>
360
+ </td>
361
+ </tr>
362
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
363
+ <tr>
364
+ <td valign="top" width="100%">
365
+ <table>
366
+ <tbody>
367
+ <tr>
368
+ <td valign="top">
369
+ <b>
370
+ Kommentarer til rekvisitionen
371
+ </b>
372
+ </td>
373
+ </tr>
374
+ <tr>
375
+ <td valign="top">
376
+ <table>
377
+ <tbody>
378
+ <xsl:for-each select=".">
379
+ <tr>
380
+ <td valign="top">
381
+ <xsl:apply-templates/>
382
+ </td>
383
+ </tr>
384
+ </xsl:for-each>
385
+ </tbody>
386
+ </table>
387
+ </td>
388
+ </tr>
389
+ </tbody>
390
+ </table>
391
+ </td>
392
+ </tr>
393
+ </xsl:for-each>
394
+ <tr>
395
+ <td valign="top" width="100%">
396
+ <table>
397
+ <tbody>
398
+ <tr>
399
+ <td valign="top">
400
+ <b>Resultater</b>
401
+ </td>
402
+ </tr>
403
+ <tr>
404
+ <td valign="top">
405
+ <table>
406
+ <tbody>
407
+ <tr>
408
+ <td valign="top">
409
+ <b>Analysetype</b>
410
+ </td>
411
+ <td valign="top">
412
+ <b>Analyse</b>
413
+ </td>
414
+ <td valign="top">
415
+ <b>Unders�gelse</b>
416
+ </td>
417
+ <td valign="top">
418
+ <b>Materiale</b>
419
+ </td>
420
+ <td valign="top">
421
+ <b>Lokation</b>
422
+ </td>
423
+ <td valign="top">
424
+ <b>V�rdi</b>
425
+ </td>
426
+ <td valign="top">
427
+ <b>Bem.</b>
428
+ </td>
429
+ <td valign="top">
430
+ <b>Enhed</b>
431
+ </td>
432
+ <td valign="top">
433
+ <b>Reference</b>
434
+ </td>
435
+ <td valign="top">
436
+ <b>Status</b>
437
+ </td>
438
+ <td valign="top">
439
+ <b>Sendepr�ve</b>
440
+ </td>
441
+ </tr>
442
+ <xsl:for-each select="m:LaboratoryResults/m:Result">
443
+ <xsl:variable name="RNr" select="position()"/>
444
+ <xsl:variable name="CNr" select="count(../m:Result[position()&lt;=$RNr and count(m:ResultTextValue|m:ResultComments)>0])"/>
445
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
446
+ <tr>
447
+ <xsl:if test="not($isevenrow)">
448
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
449
+ </xsl:if>
450
+ <xsl:if test="$isevenrow">
451
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
452
+ </xsl:if>
453
+ <td valign="top">
454
+ <xsl:value-of select="m:Analysis/m:ExaminationTypeCode"/>
455
+ </td>
456
+ <td valign="top">
457
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisShortName,' (',m:Analysis/m:MICAnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
458
+ </td>
459
+ <td valign="top">
460
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Examination"/>
461
+ </td>
462
+ <td valign="top">
463
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Material"/>
464
+ </td>
465
+ <td valign="top">
466
+ <xsl:value-of select="m:Analysis/m:AnalysisMDSName/m:Location"/>
467
+ </td>
468
+ <td valign="top">
469
+ <xsl:variable name="RV" select="m:ResultValidation"/>
470
+ <xsl:if test="m:ProducerOfLabResult">
471
+ <xsl:attribute name="title"><xsl:text>Producent: </xsl:text><xsl:value-of select="m:ProducerOfLabResult"/></xsl:attribute>
472
+ </xsl:if>
473
+ <xsl:choose>
474
+ <xsl:when test="$RV='unormal' ">
475
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
476
+ </xsl:when>
477
+ <xsl:when test="$RV='for_hoej' ">
478
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
479
+ </xsl:when>
480
+ <xsl:when test="$RV='for_lav' ">
481
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
482
+ </xsl:when>
483
+ </xsl:choose>
484
+ <xsl:variable name="O" select="m:Operator"/>
485
+ <xsl:choose>
486
+ <xsl:when test="$O='mindre_end'">&amp;lt;</xsl:when>
487
+ <xsl:when test="$O='stoerre_end'">&amp;gt;</xsl:when>
488
+ </xsl:choose>
489
+ <xsl:value-of select="m:Value"/>
490
+
491
+ </td>
492
+ <td valign="top">
493
+ <font size="1">
494
+ <xsl:if test="count(m:ResultTextValue|m:ResultComments)>0">
495
+ <xsl:value-of select="$CNr"/>
496
+ </xsl:if>
497
+ </font>
498
+ </td>
499
+ <td valign="top">
500
+ <xsl:value-of select="m:Unit"/>
501
+ </td>
502
+ <td valign="top">
503
+ <xsl:if test="count(m:ReferenceInterval/m:LowerLimit|m:ReferenceInterval/m:UpperLimit)>0">
504
+ <xsl:value-of select="concat(m:ReferenceInterval/m:LowerLimit,'-',m:ReferenceInterval/m:UpperLimit)"/>
505
+ </xsl:if>
506
+ <xsl:value-of select="m:ReferenceInterval/m:IntervalText"/>
507
+ </td>
508
+ <td>
509
+ <xsl:variable name="RS" select="m:ResultStatusCode"/>
510
+ <xsl:choose>
511
+ <xsl:when test="$RS='svar_endeligt'">Endeligt resultat</xsl:when>
512
+ <xsl:when test="$RS='svar_midlertidigt'">Midlertidigt resultat</xsl:when>
513
+ <xsl:when test="$RS='svar_rettet'">Rettet resultat</xsl:when>
514
+ <xsl:when test="$RS='proeve_modtaget'">Pr�vemodtaget</xsl:when>
515
+ </xsl:choose>
516
+ </td>
517
+ <td>
518
+ <xsl:value-of select="m:ToLabIdentifier"/>
519
+ </td>
520
+ </tr>
521
+ </xsl:for-each>
522
+ </tbody>
523
+ </table>
524
+ </td>
525
+ </tr>
526
+ </tbody>
527
+ </table>
528
+ </td>
529
+ </tr>
530
+ <xsl:if test="count(m:LaboratoryResults/m:Result/m:ResultComments)>0">
531
+ <tr>
532
+ <td valign="top" width="100%">
533
+ <table>
534
+ <tbody>
535
+ <tr>
536
+ <td valign="top">
537
+ <b>Bem�rkninger</b>
538
+ </td>
539
+ </tr>
540
+ <tr>
541
+ <td valign="top">
542
+ <table>
543
+ <tbody>
544
+ <xsl:for-each select="m:LaboratoryResults/m:Result[count(m:ResultTextValue|m:ResultComments)>0]">
545
+ <xsl:variable name="RNr" select="position()"/>
546
+ <tr>
547
+ <td valign="top">
548
+ <font size="1">
549
+ <xsl:value-of select="$RNr"/>
550
+ </font>
551
+ </td>
552
+ <td valign="top">
553
+ <table>
554
+ <tbody>
555
+ <xsl:for-each select="m:ResultTextValue|m:ResultComments">
556
+ <tr>
557
+ <td valign="top">
558
+ <xsl:if test="name()='ResultTextValue' ">V�rdi</xsl:if>
559
+ <xsl:if test="name()='ResultComments' ">Bem.</xsl:if>
560
+ </td>
561
+ <td valign="top">
562
+ <xsl:apply-templates/>
563
+ </td>
564
+ </tr>
565
+ </xsl:for-each>
566
+ </tbody>
567
+ </table>
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>
587
+ <xsl:value-of select="m:LaboratoryResults/m:MicroscopicFindings/m:Headline"/>
588
+ </b>
589
+ </td>
590
+ </tr>
591
+ <tr>
592
+ <td valign="top">
593
+ <xsl:apply-templates select="m:LaboratoryResults/m:MicroscopicFindings/m:Comments/text()|m:LaboratoryResults/m:MicroscopicFindings/m:Comments/*"/>
594
+ </td>
595
+ </tr>
596
+ </tbody>
597
+ </table>
598
+ </td>
599
+ </tr>
600
+ <tr>
601
+ <td valign="top" width="100%">
602
+ <table>
603
+ <tbody>
604
+ <tr>
605
+ <td valign="top">
606
+ <b>
607
+ <xsl:value-of select="m:LaboratoryResults/m:CultureWithoutFindings/m:Headline"/>
608
+ </b>
609
+ </td>
610
+ </tr>
611
+ <tr>
612
+ <td valign="top">
613
+ <xsl:apply-templates select="m:LaboratoryResults/m:CultureWithoutFindings/m:Comments/text()|m:LaboratoryResults/m:CultureWithoutFindings/m:Comments/*"/>
614
+ </td>
615
+ </tr>
616
+ </tbody>
617
+ </table>
618
+ </td>
619
+ </tr>
620
+ <tr>
621
+ <td valign="top" width="100%">
622
+ <table>
623
+ <tbody>
624
+ <tr>
625
+ <td valign="top">
626
+ <b>
627
+ <xsl:value-of select="m:LaboratoryResults/m:CultureWithFindings/m:Headline"/>
628
+ </b>
629
+ </td>
630
+ </tr>
631
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Microorganism">
632
+ <tr>
633
+ <td valign="top">
634
+ <table>
635
+ <tbody>
636
+ <tr>
637
+ <td valign="top">(<xsl:value-of select="position()"/>)</td>
638
+ <td valign="top">
639
+ <xsl:value-of select="m:GrowthValue"/>
640
+ </td>
641
+ <td valign="top">
642
+ <xsl:value-of select="m:Name"/>
643
+ </td>
644
+ <td valign="top">
645
+ <xsl:value-of select="m:MultiResistance"/>
646
+ </td>
647
+ </tr>
648
+ </tbody>
649
+ </table>
650
+ </td>
651
+ </tr>
652
+ </xsl:for-each>
653
+ <tr>
654
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Pattern/m:PatternEntry[1]">
655
+ <tr>
656
+ <td valign="top">
657
+ <xsl:call-template name="ShowTable2">
658
+ <xsl:with-param name="ColNames" select="../../m:Microorganism/m:Name"/>
659
+ <xsl:with-param name="RowNames" select="../m:Antibiotic"/>
660
+ <xsl:with-param name="ColIdxs" select="../m:PatternEntry/m:RefMicroorganism"/>
661
+ <xsl:with-param name="RowIdxs" select="../m:PatternEntry/m:RefAntibiotic"/>
662
+ <xsl:with-param name="Values" select="../m:PatternEntry/m:Sensitivity"/>
663
+ </xsl:call-template>
664
+ </td>
665
+ </tr>
666
+ </xsl:for-each>
667
+ </tr>
668
+ <tr>
669
+ <td valign="top">
670
+ <table>
671
+ <tbody>
672
+ <tr>
673
+ <xsl:for-each select="m:LaboratoryResults/m:CultureWithFindings/m:Pattern/m:SensitivityInterpretation/text()">
674
+ <td valign="top">
675
+ <xsl:value-of select="."/>
676
+ </td>
677
+ </xsl:for-each>
678
+ </tr>
679
+ </tbody>
680
+ </table>
681
+ </td>
682
+ </tr>
683
+ <tr>
684
+ <td valign="top">
685
+ <xsl:apply-templates select="m:LaboratoryResults/m:CultureWithFindings/m:Comments/text()|m:LaboratoryResults/m:CultureWithFindings/m:Comments/*"/>
686
+ </td>
687
+ </tr>
688
+ </tbody>
689
+ </table>
690
+ </td>
691
+ </tr>
692
+ <xsl:if test="count(m:RequisitionInformation/m:ClinicalInformation)>0">
693
+ <tr>
694
+ <td valign="top" width="100%">
695
+ <table>
696
+ <tbody>
697
+ <tr>
698
+ <td valign="top">
699
+ <b>
700
+ Klinisk information
701
+ </b>
702
+ </td>
703
+ </tr>
704
+ <tr>
705
+ <td valign="top">
706
+ <table>
707
+ <tbody>
708
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
709
+ <tr>
710
+ <td valign="top">
711
+ <xsl:apply-templates/>
712
+ </td>
713
+ </tr>
714
+ </xsl:for-each>
715
+ </tbody>
716
+ </table>
717
+ </td>
718
+ </tr>
719
+ </tbody>
720
+ </table>
721
+ </td>
722
+ </tr>
723
+ </xsl:if>
724
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation[m:Comments]">
725
+ <tr>
726
+ <td valign="top" width="100%">
727
+ <table>
728
+ <tbody>
729
+ <tr>
730
+ <td valign="top">
731
+ <b>
732
+ <xsl:value-of select="m:Headline"/>
733
+ </b>
734
+ </td>
735
+ </tr>
736
+ <tr>
737
+ <td valign="top">
738
+ <table>
739
+ <tbody>
740
+ <xsl:for-each select="m:Comments">
741
+ <tr>
742
+ <td valign="top">
743
+ <xsl:apply-templates/>
744
+ </td>
745
+ </tr>
746
+ </xsl:for-each>
747
+ </tbody>
748
+ </table>
749
+ </td>
750
+ </tr>
751
+ </tbody>
752
+ </table>
753
+ </td>
754
+ </tr>
755
+ </xsl:for-each>
756
+ <tr>
757
+ <xsl:call-template name="ShowPatientAndRelatives"/>
758
+ </tr>
759
+ <tr>
760
+ <xsl:call-template name="ShowParticipants"/>
761
+ </tr>
762
+ </tbody>
763
+ </table>
764
+ </td>
765
+ </xsl:for-each>
766
+ </xsl:template>
767
+ <xsl:include href="WebReport.xsl"/>
768
+
769
+ <!--
770
+ CERVIXCYTOLOGYREPORT
771
+ -->
772
+ <xsl:template match="m:Emessage[m:CervixcytologyReport]">
773
+ <xsl:for-each select="m:CervixcytologyReport">
774
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
775
+ <table width="100%">
776
+ <tbody>
777
+ <tr>
778
+ <xsl:call-template name="ShowMessageHeader">
779
+ <xsl:with-param name="MessageName" select="'Cervixcytologisvar'"/>
780
+ </xsl:call-template>
781
+ </tr>
782
+ <tr>
783
+ <td valign="top">
784
+ <table>
785
+ <tbody>
786
+ <tr>
787
+ <td valign="top">
788
+ <b>Pr�ve taget:</b>
789
+ </td>
790
+ <td valign="top">
791
+ <xsl:for-each select="m:RequisitionInformation/m:SamplingDateTime">
792
+ <xsl:call-template name="FormatDateTime"/>
793
+ </xsl:for-each>
794
+ </td>
795
+ <td valign="top">
796
+ <b>Pr�ve modtaget:</b>
797
+ </td>
798
+ <td valign="top">
799
+ <xsl:for-each select="m:RequisitionInformation/m:SampleReceivedDateTime">
800
+ <xsl:call-template name="FormatDateTime"/>
801
+ </xsl:for-each>
802
+ </td>
803
+ <td valign="top">
804
+ <b>Tabelsvar:</b>
805
+ </td>
806
+ <td valign="top">
807
+ <xsl:value-of select="m:LaboratoryResults/m:TableFormat/m:TableResult"/>
808
+ </td>
809
+ <xsl:if test="m:LaboratoryResults/m:GeneralResultInformation/m:ToLabIdentifier">
810
+ <td valign="top">
811
+ <xsl:value-of select="m:LaboratoryResults/m:GeneralResultInformation/m:ToLabIdentifier"/>
812
+ </td>
813
+ </xsl:if>
814
+ <xsl:if test="m:LaboratoryResults/m:TableFormat/m:ResultValidation">
815
+ <td valign="top">
816
+ <b>Ref:</b>
817
+ </td>
818
+ <td valign="top">
819
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
820
+ <xsl:value-of select="m:LaboratoryResults/m:TableFormat/m:ResultValidation"/>
821
+ </td>
822
+ </xsl:if>
823
+ <xsl:call-template name="ShowReqStatus"/>
824
+ <td valign="top">
825
+ <b>Pr�vestatus:</b>
826
+ </td>
827
+ <td valign="top">
828
+ <xsl:variable name="RSC" select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultStatusCode"/>
829
+ <xsl:choose>
830
+ <xsl:when test="$RSC='svar_endeligt'">Endeligt resultat</xsl:when>
831
+ <xsl:when test="$RSC='svar_midlertidigt'">Midlertidigt resultat</xsl:when>
832
+ <xsl:when test="$RSC='svar_rettet'">Rettet resultat</xsl:when>
833
+ <xsl:when test="$RSC='proeve_modtaget'">Pr�vemodtaget</xsl:when>
834
+ </xsl:choose>
835
+ </td>
836
+ <td valign="top">
837
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
838
+ <xsl:call-template name="FormatDateTime"/>
839
+ </xsl:for-each>
840
+ </td>
841
+ </tr>
842
+ </tbody>
843
+ </table>
844
+ </td>
845
+ </tr>
846
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
847
+ <tr>
848
+ <td valign="top" width="100%">
849
+ <table width="100%">
850
+ <tbody>
851
+ <tr>
852
+ <td valign="top">
853
+ <b>
854
+ Kommentarer til rekvisitionen
855
+ </b>
856
+ </td>
857
+ </tr>
858
+ <tr>
859
+ <td valign="top">
860
+ <table>
861
+ <tbody>
862
+ <xsl:for-each select=".">
863
+ <tr>
864
+ <td valign="top">
865
+ <xsl:apply-templates/>
866
+ </td>
867
+ </tr>
868
+ </xsl:for-each>
869
+ </tbody>
870
+ </table>
871
+ </td>
872
+ </tr>
873
+ </tbody>
874
+ </table>
875
+ </td>
876
+ </tr>
877
+ </xsl:for-each>
878
+ <xsl:for-each select="m:LaboratoryResults/m:CodedFormat">
879
+ <tr>
880
+ <td valign="top" width="100%">
881
+ <table width="100%">
882
+ <tbody>
883
+ <tr>
884
+ <td valign="top">
885
+ <b>
886
+ <xsl:value-of select="m:DiagnosisHeadline"/>
887
+ </b>
888
+ </td>
889
+ </tr>
890
+ <xsl:for-each select="m:Sample">
891
+ <tr>
892
+ <td valign="top">
893
+ <table>
894
+ <tbody>
895
+ <tr>
896
+ <td valign="top">
897
+ <b>Materiale:</b>
898
+ <td valign="top"/>
899
+ <xsl:value-of select="m:MaterialDescription"/>
900
+ </td>
901
+ <td>
902
+ <b>Rekvirentens ID:</b>
903
+ </td>
904
+ <td>
905
+ <xsl:value-of select="m:RequesterSampleIdentifier"/>
906
+ </td>
907
+ <td>
908
+ <b>Laboratoriets ID:</b>
909
+ </td>
910
+ <td>
911
+ <xsl:value-of select="m:LaboratoryInternalSampleIdentifier"/>
912
+ </td>
913
+ </tr>
914
+ </tbody>
915
+ </table>
916
+ </td>
917
+ </tr>
918
+ <xsl:for-each select="m:CodedResults">
919
+ <tr>
920
+ <td valign="top">
921
+ <table>
922
+ <tbody>
923
+ <xsl:for-each select="m:Topography">
924
+ <tr>
925
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
926
+ <td valign="top">
927
+ <b>Topografi:</b>
928
+ </td>
929
+ <td>
930
+ <xsl:value-of select="m:Code"/>
931
+ </td>
932
+ <td>
933
+ <xsl:value-of select="m:Text"/>
934
+ </td>
935
+ <td>
936
+ <xsl:value-of select="m:Comment"/>
937
+ </td>
938
+ </tr>
939
+ </xsl:for-each>
940
+ <xsl:for-each select="m:Result">
941
+ <xsl:variable name="isevenrow" select="not(position() mod 2=0)"/>
942
+ <tr>
943
+ <xsl:if test="not($isevenrow)">
944
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
945
+ </xsl:if>
946
+ <xsl:if test="$isevenrow">
947
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
948
+ </xsl:if>
949
+ <td valign="top">
950
+ <b>Resultat:</b>
951
+ </td>
952
+ <td>
953
+ <xsl:value-of select="m:Code"/>
954
+ </td>
955
+ <td>
956
+ <xsl:value-of select="m:Text"/>
957
+ </td>
958
+ <td>
959
+ <xsl:value-of select="m:Comment"/>
960
+ </td>
961
+ </tr>
962
+ </xsl:for-each>
963
+ </tbody>
964
+ </table>
965
+ </td>
966
+ </tr>
967
+ </xsl:for-each>
968
+ </xsl:for-each>
969
+ </tbody>
970
+ </table>
971
+ </td>
972
+ </tr>
973
+ </xsl:for-each>
974
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Microscopic">
975
+ <tr>
976
+ <td valign="top" width="100%">
977
+ <table width="100%">
978
+ <tbody>
979
+ <tr>
980
+ <td valign="top">
981
+ <b>
982
+ <xsl:value-of select="m:Headline"/>
983
+ </b>
984
+ </td>
985
+ </tr>
986
+ <tr>
987
+ <td valign="top">
988
+ <table>
989
+ <tbody>
990
+ <tr>
991
+ <td valign="top">
992
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
993
+ </td>
994
+ </tr>
995
+ </tbody>
996
+ </table>
997
+ </td>
998
+ </tr>
999
+ </tbody>
1000
+ </table>
1001
+ </td>
1002
+ </tr>
1003
+ </xsl:for-each>
1004
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Conclusion">
1005
+ <tr>
1006
+ <td valign="top" width="100%">
1007
+ <table width="100%">
1008
+ <tbody>
1009
+ <tr>
1010
+ <td valign="top">
1011
+ <b>
1012
+ <xsl:value-of select="m:Headline"/>
1013
+ </b>
1014
+ </td>
1015
+ </tr>
1016
+ <tr>
1017
+ <td valign="top">
1018
+ <table>
1019
+ <tbody>
1020
+ <tr>
1021
+ <td valign="top">
1022
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
1023
+ </td>
1024
+ </tr>
1025
+ </tbody>
1026
+ </table>
1027
+ </td>
1028
+ </tr>
1029
+ </tbody>
1030
+ </table>
1031
+ </td>
1032
+ </tr>
1033
+ </xsl:for-each>
1034
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Comments">
1035
+ <tr>
1036
+ <td valign="top" width="100%">
1037
+ <table width="100%">
1038
+ <tbody>
1039
+ <tr>
1040
+ <td valign="top">
1041
+ <b>
1042
+ <xsl:value-of select="m:Headline"/>
1043
+ </b>
1044
+ </td>
1045
+ </tr>
1046
+ <tr>
1047
+ <td valign="top">
1048
+ <table>
1049
+ <tbody>
1050
+ <tr>
1051
+ <td valign="top">
1052
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
1053
+ </td>
1054
+ </tr>
1055
+ </tbody>
1056
+ </table>
1057
+ </td>
1058
+ </tr>
1059
+ </tbody>
1060
+ </table>
1061
+ </td>
1062
+ </tr>
1063
+ </xsl:for-each>
1064
+ <xsl:if test="count(m:RequisitionInformation/m:ClinicalInformation)>0">
1065
+ <tr>
1066
+ <td valign="top" width="100%">
1067
+ <table width="100%">
1068
+ <tbody>
1069
+ <tr>
1070
+ <td valign="top">
1071
+ <b>
1072
+ Klinisk information
1073
+ </b>
1074
+ </td>
1075
+ </tr>
1076
+ <tr>
1077
+ <td valign="top">
1078
+ <table>
1079
+ <tbody>
1080
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
1081
+ <tr>
1082
+ <td valign="top">
1083
+ <xsl:apply-templates/>
1084
+ </td>
1085
+ </tr>
1086
+ </xsl:for-each>
1087
+ </tbody>
1088
+ </table>
1089
+ </td>
1090
+ </tr>
1091
+ </tbody>
1092
+ </table>
1093
+ </td>
1094
+ </tr>
1095
+ </xsl:if>
1096
+ <tr>
1097
+ <xsl:call-template name="ShowPatientAndRelatives"/>
1098
+ </tr>
1099
+ <tr>
1100
+ <xsl:call-template name="ShowParticipants"/>
1101
+ </tr>
1102
+ </tbody>
1103
+ </table>
1104
+ </td>
1105
+ </xsl:for-each>
1106
+ </xsl:template>
1107
+
1108
+ <!--
1109
+ HISTOPATHOLOGYREPORT
1110
+ -->
1111
+ <xsl:template match="m:Emessage[m:HistopathologyReport]">
1112
+ <xsl:for-each select="m:HistopathologyReport">
1113
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1114
+ <table width="100%">
1115
+ <tbody>
1116
+ <tr>
1117
+ <xsl:call-template name="ShowMessageHeader">
1118
+ <xsl:with-param name="MessageName" select="'Patologisvar'"/>
1119
+ </xsl:call-template>
1120
+ </tr>
1121
+ <tr>
1122
+ <td valign="top" width="100%">
1123
+ <table>
1124
+ <tbody>
1125
+ <tr>
1126
+ <td valign="top">
1127
+ <b>Pr�ve taget:</b>
1128
+ </td>
1129
+ <td valign="top">
1130
+ <xsl:for-each select="m:RequisitionInformation/m:SamplingDateTime">
1131
+ <xsl:call-template name="FormatDateTime"/>
1132
+ </xsl:for-each>
1133
+ </td>
1134
+ <td valign="top">
1135
+ <b>Pr�ve modtaget:</b>
1136
+ </td>
1137
+ <td valign="top">
1138
+ <xsl:for-each select="m:RequisitionInformation/m:SampleReceivedDateTime">
1139
+ <xsl:call-template name="FormatDateTime"/>
1140
+ </xsl:for-each>
1141
+ </td>
1142
+
1143
+ <td valign="top">
1144
+ <b>Tabelsvar:</b>
1145
+ </td>
1146
+ <td valign="top">
1147
+ <xsl:value-of select="m:LaboratoryResults/m:TableFormat/m:TableResult"/>
1148
+ </td>
1149
+ <xsl:if test="m:LaboratoryResults/m:GeneralResultInformation/m:ToLabIdentifier">
1150
+ <td valign="top">
1151
+ <xsl:value-of select="m:LaboratoryResults/m:GeneralResultInformation/m:ToLabIdentifier"/>
1152
+ </td>
1153
+ </xsl:if>
1154
+ <xsl:if test="m:LaboratoryResults/m:TableFormat/m:ResultValidation">
1155
+ <td valign="top">
1156
+ <b>Ref:</b>
1157
+ </td>
1158
+ <td valign="top">
1159
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
1160
+ <xsl:value-of select="m:LaboratoryResults/m:TableFormat/m:ResultValidation"/>
1161
+ </td>
1162
+ </xsl:if>
1163
+ <xsl:call-template name="ShowReqStatus"/>
1164
+ <td valign="top">
1165
+ <b>Pr�vestatus:</b>
1166
+ </td>
1167
+ <td valign="top">
1168
+ <xsl:variable name="RSC" select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultStatusCode"/>
1169
+ <xsl:choose>
1170
+ <xsl:when test="$RSC='svar_endeligt'">Endeligt resultat</xsl:when>
1171
+ <xsl:when test="$RSC='svar_midlertidigt'">Midlertidigt resultat</xsl:when>
1172
+ <xsl:when test="$RSC='svar_rettet'">Rettet resultat</xsl:when>
1173
+ <xsl:when test="$RSC='proeve_modtaget'">Pr�vemodtaget</xsl:when>
1174
+ </xsl:choose>
1175
+ </td>
1176
+ <td valign="top">
1177
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
1178
+ <xsl:call-template name="FormatDateTime"/>
1179
+ </xsl:for-each>
1180
+ </td>
1181
+ </tr>
1182
+ </tbody>
1183
+ </table>
1184
+ </td>
1185
+ </tr>
1186
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
1187
+ <tr>
1188
+ <td valign="top" width="100%">
1189
+ <table>
1190
+ <tbody>
1191
+ <tr>
1192
+ <td valign="top">
1193
+ <b>
1194
+ Kommentarer til rekvisitionen
1195
+ </b>
1196
+ </td>
1197
+ </tr>
1198
+ <tr>
1199
+ <td valign="top">
1200
+ <table>
1201
+ <tbody>
1202
+ <xsl:for-each select=".">
1203
+ <tr>
1204
+ <td valign="top">
1205
+ <xsl:apply-templates/>
1206
+ </td>
1207
+ </tr>
1208
+ </xsl:for-each>
1209
+ </tbody>
1210
+ </table>
1211
+ </td>
1212
+ </tr>
1213
+ </tbody>
1214
+ </table>
1215
+ </td>
1216
+ </tr>
1217
+ </xsl:for-each>
1218
+ <xsl:for-each select="m:LaboratoryResults/m:CodedFormat">
1219
+ <tr>
1220
+ <td valign="top" width="100%">
1221
+ <table>
1222
+ <tbody>
1223
+ <tr>
1224
+ <td valign="top">
1225
+ <b>
1226
+ <xsl:value-of select="m:DiagnosisHeadline"/>
1227
+ </b>
1228
+ </td>
1229
+ </tr>
1230
+ <tr>
1231
+ <td valign="top">
1232
+ <table>
1233
+ <tbody>
1234
+ <xsl:for-each select="m:Sample">
1235
+ <tr>
1236
+ <td valign="top">
1237
+ <table>
1238
+ <tbody>
1239
+ <tr>
1240
+ <td valign="top">
1241
+ <b>Materiale: </b>
1242
+ </td>
1243
+ <td valign="top">
1244
+ <xsl:value-of select="m:MaterialDescription"/>
1245
+ </td>
1246
+ <td>
1247
+ <b>Rekvirentens ID:</b>
1248
+ </td>
1249
+ <td>
1250
+ <xsl:value-of select="m:RequesterSampleIdentifier"/>
1251
+ </td>
1252
+ <td>
1253
+ <b>Laboratoriets ID:</b>
1254
+ </td>
1255
+ <td>
1256
+ <xsl:value-of select="m:LaboratoryInternalSampleIdentifier"/>
1257
+ </td>
1258
+ </tr>
1259
+ </tbody>
1260
+ </table>
1261
+ </td>
1262
+ </tr>
1263
+ <xsl:for-each select="m:CodedResults">
1264
+ <tr>
1265
+ <td valign="top">
1266
+ <table>
1267
+ <tbody>
1268
+ <xsl:for-each select="m:Topography">
1269
+ <tr>
1270
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
1271
+ <td valign="top">
1272
+ <b>Topografi:</b>
1273
+ </td>
1274
+ <td>
1275
+ <xsl:value-of select="m:Code"/>
1276
+ </td>
1277
+ <td>
1278
+ <xsl:value-of select="m:Text"/>
1279
+ </td>
1280
+ <td>
1281
+ <xsl:value-of select="m:Comment"/>
1282
+ </td>
1283
+ </tr>
1284
+ </xsl:for-each>
1285
+ <xsl:for-each select="m:Result">
1286
+ <xsl:variable name="isevenrow" select="not(position() mod 2=0)"/>
1287
+ <tr>
1288
+ <xsl:if test="not($isevenrow)">
1289
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
1290
+ </xsl:if>
1291
+ <xsl:if test="$isevenrow">
1292
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
1293
+ </xsl:if>
1294
+ <td valign="top">
1295
+ <b>Resultat:</b>
1296
+ </td>
1297
+ <td>
1298
+ <xsl:value-of select="m:Code"/>
1299
+ </td>
1300
+ <td>
1301
+ <xsl:value-of select="m:Text"/>
1302
+ </td>
1303
+ <td>
1304
+ <xsl:value-of select="m:Comment"/>
1305
+ </td>
1306
+ </tr>
1307
+ </xsl:for-each>
1308
+ </tbody>
1309
+ </table>
1310
+ </td>
1311
+ </tr>
1312
+ </xsl:for-each>
1313
+ </xsl:for-each>
1314
+ </tbody>
1315
+ </table>
1316
+ </td>
1317
+ </tr>
1318
+ </tbody>
1319
+ </table>
1320
+ </td>
1321
+ </tr>
1322
+ </xsl:for-each>
1323
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Macroscopic">
1324
+ <tr>
1325
+ <td valign="top" width="100%">
1326
+ <table>
1327
+ <tbody>
1328
+ <tr>
1329
+ <td valign="top">
1330
+ <b>
1331
+ <xsl:value-of select="m:Headline"/>
1332
+ </b>
1333
+ </td>
1334
+ </tr>
1335
+ <tr>
1336
+ <td valign="top">
1337
+ <table>
1338
+ <tbody>
1339
+ <tr>
1340
+ <td valign="top">
1341
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
1342
+ </td>
1343
+ </tr>
1344
+ </tbody>
1345
+ </table>
1346
+ </td>
1347
+ </tr>
1348
+ </tbody>
1349
+ </table>
1350
+ </td>
1351
+ </tr>
1352
+ </xsl:for-each>
1353
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Microscopic">
1354
+ <tr>
1355
+ <td valign="top" width="100%">
1356
+ <table>
1357
+ <tbody>
1358
+ <tr>
1359
+ <td valign="top">
1360
+ <b>
1361
+ <xsl:value-of select="m:Headline"/>
1362
+ </b>
1363
+ </td>
1364
+ </tr>
1365
+ <tr>
1366
+ <td valign="top">
1367
+ <table>
1368
+ <tbody>
1369
+ <tr>
1370
+ <td valign="top">
1371
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
1372
+ </td>
1373
+ </tr>
1374
+ </tbody>
1375
+ </table>
1376
+ </td>
1377
+ </tr>
1378
+ </tbody>
1379
+ </table>
1380
+ </td>
1381
+ </tr>
1382
+ </xsl:for-each>
1383
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Conclusion">
1384
+ <tr>
1385
+ <td valign="top" width="100%">
1386
+ <table>
1387
+ <tbody>
1388
+ <tr>
1389
+ <td valign="top">
1390
+ <b>
1391
+ <xsl:value-of select="m:Headline"/>
1392
+ </b>
1393
+ </td>
1394
+ </tr>
1395
+ <tr>
1396
+ <td valign="top">
1397
+ <table>
1398
+ <tbody>
1399
+ <tr>
1400
+ <td valign="top">
1401
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
1402
+ </td>
1403
+ </tr>
1404
+ </tbody>
1405
+ </table>
1406
+ </td>
1407
+ </tr>
1408
+ </tbody>
1409
+ </table>
1410
+ </td>
1411
+ </tr>
1412
+ </xsl:for-each>
1413
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Hematology">
1414
+ <tr>
1415
+ <td valign="top" width="100%">
1416
+ <table>
1417
+ <tbody>
1418
+ <tr>
1419
+ <td valign="top">
1420
+ <b>
1421
+ <xsl:value-of select="m:Headline"/>
1422
+ </b>
1423
+ </td>
1424
+ </tr>
1425
+ <tr>
1426
+ <td valign="top">
1427
+ <table>
1428
+ <tbody>
1429
+ <tr>
1430
+ <th>
1431
+ <xsl:value-of select="m:Labels/m:CellTypes"/>
1432
+ </th>
1433
+ <th>
1434
+ <xsl:value-of select="m:Labels/m:Marrow"/>
1435
+ </th>
1436
+ <th>
1437
+ <xsl:value-of select="m:Labels/m:Peripheral"/>
1438
+ </th>
1439
+ </tr>
1440
+ <xsl:for-each select="m:Result">
1441
+ <xsl:variable name="isevenrow" select="not(position() mod 2=0)"/>
1442
+ <tr>
1443
+ <xsl:if test="not($isevenrow)">
1444
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
1445
+ </xsl:if>
1446
+ <xsl:if test="$isevenrow">
1447
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
1448
+ </xsl:if>
1449
+ <td>
1450
+ <xsl:value-of select="m:CellType"/>
1451
+ </td>
1452
+ <td align="right">
1453
+ <xsl:value-of select="m:Marrow"/>
1454
+ </td>
1455
+ <td align="right">
1456
+ <xsl:value-of select="m:Peripheral"/>
1457
+ </td>
1458
+ </tr>
1459
+ </xsl:for-each>
1460
+ </tbody>
1461
+ </table>
1462
+ </td>
1463
+ </tr>
1464
+ </tbody>
1465
+ </table>
1466
+ </td>
1467
+ </tr>
1468
+ </xsl:for-each>
1469
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Comments">
1470
+ <tr>
1471
+ <td valign="top" width="100%">
1472
+ <table>
1473
+ <tbody>
1474
+ <tr>
1475
+ <td valign="top">
1476
+ <b>
1477
+ <xsl:value-of select="m:Headline"/>
1478
+ </b>
1479
+ </td>
1480
+ </tr>
1481
+ <tr>
1482
+ <td valign="top">
1483
+ <table>
1484
+ <tbody>
1485
+ <tr>
1486
+ <td valign="top">
1487
+ <xsl:apply-templates select="m:Text/text()|m:Text/*"/>
1488
+ </td>
1489
+ </tr>
1490
+ </tbody>
1491
+ </table>
1492
+ </td>
1493
+ </tr>
1494
+ </tbody>
1495
+ </table>
1496
+ </td>
1497
+ </tr>
1498
+ </xsl:for-each>
1499
+ <xsl:if test="count(m:RequisitionInformation/m:ClinicalInformation)>0">
1500
+ <tr>
1501
+ <td valign="top" width="100%">
1502
+ <table>
1503
+ <tbody>
1504
+ <tr>
1505
+ <td valign="top">
1506
+ <b>
1507
+ Klinisk information
1508
+ </b>
1509
+ </td>
1510
+ </tr>
1511
+ <tr>
1512
+ <td valign="top">
1513
+ <table>
1514
+ <tbody>
1515
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
1516
+ <tr>
1517
+ <td valign="top">
1518
+ <xsl:apply-templates/>
1519
+ </td>
1520
+ </tr>
1521
+ </xsl:for-each>
1522
+ </tbody>
1523
+ </table>
1524
+ </td>
1525
+ </tr>
1526
+ </tbody>
1527
+ </table>
1528
+ </td>
1529
+ </tr>
1530
+ </xsl:if>
1531
+ <tr>
1532
+ <xsl:call-template name="ShowPatientAndRelatives"/>
1533
+ </tr>
1534
+ <tr>
1535
+ <xsl:call-template name="ShowParticipants"/>
1536
+ </tr>
1537
+ </tbody>
1538
+ </table>
1539
+ </td>
1540
+ </xsl:for-each>
1541
+ </xsl:template>
1542
+
1543
+ <!--
1544
+ GENETICSREPORT
1545
+ -->
1546
+ <xsl:template match="m:Emessage[m:GeneticsReport]">
1547
+ <xsl:for-each select="m:GeneticsReport">
1548
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1549
+ <table width="100%">
1550
+ <tbody>
1551
+ <tr>
1552
+ <xsl:call-template name="ShowMessageHeader">
1553
+ <xsl:with-param name="MessageName" select="'Klinisk Genetiske svar'"
1554
+ />
1555
+ </xsl:call-template>
1556
+ </tr>
1557
+ <tr>
1558
+ <td valign="top" width="100%">
1559
+ <table>
1560
+ <tbody>
1561
+ <tr>
1562
+ <td valign="top">
1563
+ <b>Pr�ve taget:</b>
1564
+ </td>
1565
+ <td valign="top">
1566
+ <xsl:for-each
1567
+ select="m:RequisitionInformation/m:SamplingDateTime">
1568
+ <xsl:call-template name="FormatDateTime"/>
1569
+ </xsl:for-each>
1570
+ </td>
1571
+ <td valign="top">
1572
+ <b>Pr�ve modtaget:</b>
1573
+ </td>
1574
+ <td valign="top">
1575
+ <xsl:for-each
1576
+ select="m:RequisitionInformation/m:SampleReceivedDateTime">
1577
+ <xsl:call-template name="FormatDateTime"/>
1578
+ </xsl:for-each>
1579
+ </td>
1580
+ <td valign="top">
1581
+ <b>Tabelsvar:</b>
1582
+ </td>
1583
+ <td valign="top">
1584
+ <xsl:value-of select="m:LaboratoryResults/m:TableFormat/m:TableResult"/>
1585
+ </td>
1586
+ <xsl:if test="m:LaboratoryResults/m:GeneralResultInformation/m:ToLabIdentifier">
1587
+ <td valign="top">
1588
+ <xsl:value-of select="m:LaboratoryResults/m:GeneralResultInformation/m:ToLabIdentifier"/>
1589
+ </td>
1590
+ </xsl:if>
1591
+ <xsl:call-template name="ShowReqStatus"/>
1592
+ <td valign="top">
1593
+ <b>Pr�vestatus:</b>
1594
+ </td>
1595
+ <td valign="top">
1596
+ <xsl:variable name="RSC" select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultStatusCode"/>
1597
+ <xsl:choose>
1598
+ <xsl:when test="$RSC='svar_endeligt'">Endeligt resultat</xsl:when>
1599
+ <xsl:when test="$RSC='svar_midlertidigt'">Midlertidigt resultat</xsl:when>
1600
+ <xsl:when test="$RSC='svar_rettet'">Rettet resultat</xsl:when>
1601
+ <xsl:when test="$RSC='proeve_modtaget'">Pr�vemodtaget</xsl:when>
1602
+ </xsl:choose>
1603
+ </td>
1604
+ <td valign="top">
1605
+ <xsl:for-each
1606
+ select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
1607
+ <xsl:call-template name="FormatDateTime"/>
1608
+ </xsl:for-each>
1609
+ </td>
1610
+ </tr>
1611
+ </tbody>
1612
+ </table>
1613
+ </td>
1614
+ </tr>
1615
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
1616
+ <tr>
1617
+ <td valign="top" width="100%">
1618
+ <table>
1619
+ <tbody>
1620
+ <tr>
1621
+ <td valign="top">
1622
+ <b>
1623
+ Kommentarer til rekvisitionen
1624
+ </b>
1625
+ </td>
1626
+ </tr>
1627
+ <tr>
1628
+ <td valign="top">
1629
+ <table>
1630
+ <tbody>
1631
+ <xsl:for-each select=".">
1632
+ <tr>
1633
+ <td valign="top">
1634
+ <xsl:apply-templates/>
1635
+ </td>
1636
+ </tr>
1637
+ </xsl:for-each>
1638
+ </tbody>
1639
+ </table>
1640
+ </td>
1641
+ </tr>
1642
+ </tbody>
1643
+ </table>
1644
+ </td>
1645
+ </tr>
1646
+ </xsl:for-each>
1647
+
1648
+ <xsl:for-each select="m:LaboratoryResults/m:CodedFormat">
1649
+ <tr>
1650
+ <td valign="top" width="100%">
1651
+ <table>
1652
+ <tbody>
1653
+ <tr>
1654
+ <td valign="top">
1655
+ <table>
1656
+ <tbody>
1657
+ <xsl:for-each select="m:Sample">
1658
+ <tr>
1659
+ <td valign="top">
1660
+ <table>
1661
+ <tbody>
1662
+ <tr>
1663
+ <td valign="top">
1664
+ <b>Materiale:</b>
1665
+ </td>
1666
+ <td valign="top">
1667
+ <xsl:value-of select="m:MaterialDescription"/>
1668
+ </td>
1669
+ <td>
1670
+ <b>Rekvirentens ID:</b>
1671
+ </td>
1672
+ <td>
1673
+ <xsl:value-of select="m:RequesterSampleIdentifier"
1674
+ />
1675
+ </td>
1676
+ <td>
1677
+ <b>Laboratoriets ID:</b>
1678
+ </td>
1679
+ <td>
1680
+ <xsl:value-of
1681
+ select="m:LaboratoryInternalSampleIdentifier"/>
1682
+ </td>
1683
+ </tr>
1684
+ </tbody>
1685
+ </table>
1686
+ </td>
1687
+ </tr>
1688
+ </xsl:for-each>
1689
+ </tbody>
1690
+ </table>
1691
+ </td>
1692
+ </tr>
1693
+ </tbody>
1694
+ </table>
1695
+ </td>
1696
+ </tr>
1697
+ </xsl:for-each>
1698
+
1699
+ <xsl:if test="count(m:RequisitionInformation/m:ClinicalInformation)>0">
1700
+ <tr>
1701
+ <td valign="top" width="100%">
1702
+ <table>
1703
+ <tbody>
1704
+ <tr>
1705
+ <td valign="top">
1706
+ <b>
1707
+ Kliniske oplysninger, indikation
1708
+ </b>
1709
+ </td>
1710
+ </tr>
1711
+ <tr>
1712
+ <td valign="top">
1713
+ <table>
1714
+ <tbody>
1715
+ <xsl:for-each
1716
+ select="m:RequisitionInformation/m:ClinicalInformation">
1717
+ <tr>
1718
+ <td valign="top">
1719
+ <xsl:apply-templates/>
1720
+ </td>
1721
+ </tr>
1722
+ </xsl:for-each>
1723
+ </tbody>
1724
+ </table>
1725
+ </td>
1726
+ </tr>
1727
+ </tbody>
1728
+ </table>
1729
+ </td>
1730
+ </tr>
1731
+ </xsl:if>
1732
+
1733
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:AnalysisHeadline">
1734
+ <tr>
1735
+ <td valign="top" width="100%">
1736
+ <table>
1737
+ <tbody>
1738
+ <tr>
1739
+ <td valign="top">
1740
+ <b>
1741
+ <xsl:value-of select="m:Headline"/>
1742
+ </b>
1743
+ </td>
1744
+ </tr>
1745
+ <tr>
1746
+ <td valign="top">
1747
+ <table>
1748
+ <tbody>
1749
+ <tr>
1750
+ <td valign="top">
1751
+ <xsl:apply-templates
1752
+ select="m:Text/text()|m:Text/*"/>
1753
+ </td>
1754
+ </tr>
1755
+ </tbody>
1756
+ </table>
1757
+ </td>
1758
+ </tr>
1759
+ </tbody>
1760
+ </table>
1761
+ </td>
1762
+ </tr>
1763
+ </xsl:for-each>
1764
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:InternalReference">
1765
+ <tr>
1766
+ <td valign="top" width="100%">
1767
+ <table>
1768
+ <tbody>
1769
+ <tr>
1770
+ <td valign="top">
1771
+ <b>
1772
+ <xsl:value-of select="m:Headline"/>
1773
+ </b>
1774
+ </td>
1775
+ </tr>
1776
+ <tr>
1777
+ <td valign="top">
1778
+ <table>
1779
+ <tbody>
1780
+ <tr>
1781
+ <td valign="top">
1782
+ <xsl:apply-templates
1783
+ select="m:Text/text()|m:Text/*"/>
1784
+ </td>
1785
+ </tr>
1786
+ </tbody>
1787
+ </table>
1788
+ </td>
1789
+ </tr>
1790
+ </tbody>
1791
+ </table>
1792
+ </td>
1793
+ </tr>
1794
+ </xsl:for-each>
1795
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:GenomeReference">
1796
+ <tr>
1797
+ <td valign="top" width="100%">
1798
+ <table>
1799
+ <tbody>
1800
+ <tr>
1801
+ <td valign="top">
1802
+ <b>
1803
+ <xsl:value-of select="m:Headline"/>
1804
+ </b>
1805
+ </td>
1806
+ </tr>
1807
+ <tr>
1808
+ <td valign="top">
1809
+ <table>
1810
+ <tbody>
1811
+ <tr>
1812
+ <td valign="top">
1813
+ <xsl:apply-templates
1814
+ select="m:Text/text()|m:Text/*"/>
1815
+ </td>
1816
+ </tr>
1817
+ </tbody>
1818
+ </table>
1819
+ </td>
1820
+ </tr>
1821
+ </tbody>
1822
+ </table>
1823
+ </td>
1824
+ </tr>
1825
+ </xsl:for-each>
1826
+
1827
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:AnalysisMethod">
1828
+ <tr>
1829
+ <td valign="top" width="100%">
1830
+ <table>
1831
+ <tbody>
1832
+ <tr>
1833
+ <td valign="top">
1834
+ <b>
1835
+ <xsl:value-of select="m:Headline"/>
1836
+ </b>
1837
+ </td>
1838
+ </tr>
1839
+ <tr>
1840
+ <td valign="top">
1841
+ <table>
1842
+ <tbody>
1843
+ <tr>
1844
+ <td valign="top">
1845
+ <xsl:apply-templates
1846
+ select="m:Text/text()|m:Text/*"/>
1847
+ </td>
1848
+ </tr>
1849
+ </tbody>
1850
+ </table>
1851
+ </td>
1852
+ </tr>
1853
+ </tbody>
1854
+ </table>
1855
+ </td>
1856
+ </tr>
1857
+ </xsl:for-each>
1858
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:AnalysisResults">
1859
+ <tr>
1860
+ <td valign="top" width="100%">
1861
+ <table>
1862
+ <tbody>
1863
+ <tr>
1864
+ <td valign="top">
1865
+ <b>
1866
+ <xsl:value-of select="m:Headline"/>
1867
+ </b>
1868
+ </td>
1869
+ </tr>
1870
+ <tr>
1871
+ <td valign="top">
1872
+ <table>
1873
+ <tbody>
1874
+ <tr>
1875
+ <td valign="top">
1876
+ <xsl:apply-templates
1877
+ select="m:Text/text()|m:Text/*"/>
1878
+ </td>
1879
+ </tr>
1880
+ </tbody>
1881
+ </table>
1882
+ </td>
1883
+ </tr>
1884
+ </tbody>
1885
+ </table>
1886
+ </td>
1887
+ </tr>
1888
+ </xsl:for-each>
1889
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Conclusion">
1890
+ <tr>
1891
+ <td valign="top" width="100%">
1892
+ <table>
1893
+ <tbody>
1894
+ <tr>
1895
+ <td valign="top">
1896
+ <b>
1897
+ <xsl:value-of select="m:Headline"/>
1898
+ </b>
1899
+ </td>
1900
+ </tr>
1901
+ <tr>
1902
+ <td valign="top">
1903
+ <table>
1904
+ <tbody>
1905
+ <tr>
1906
+ <td valign="top">
1907
+ <xsl:apply-templates
1908
+ select="m:Text/text()|m:Text/*"/>
1909
+ </td>
1910
+ </tr>
1911
+ </tbody>
1912
+ </table>
1913
+ </td>
1914
+ </tr>
1915
+ </tbody>
1916
+ </table>
1917
+ </td>
1918
+ </tr>
1919
+ </xsl:for-each>
1920
+
1921
+ <xsl:for-each select="m:LaboratoryResults/m:TextualFormat/m:Comments">
1922
+ <tr>
1923
+ <td valign="top" width="100%">
1924
+ <table>
1925
+ <tbody>
1926
+ <tr>
1927
+ <td valign="top">
1928
+ <b>
1929
+ <xsl:value-of select="m:Headline"/>
1930
+ </b>
1931
+ </td>
1932
+ </tr>
1933
+ <tr>
1934
+ <td valign="top">
1935
+ <table>
1936
+ <tbody>
1937
+ <tr>
1938
+ <td valign="top">
1939
+ <xsl:apply-templates
1940
+ select="m:Text/text()|m:Text/*"/>
1941
+ </td>
1942
+ </tr>
1943
+ </tbody>
1944
+ </table>
1945
+ </td>
1946
+ </tr>
1947
+ </tbody>
1948
+ </table>
1949
+ </td>
1950
+ </tr>
1951
+ </xsl:for-each>
1952
+ <tr>
1953
+ <xsl:call-template name="ShowPatient"/>
1954
+ </tr>
1955
+ <tr>
1956
+ <xsl:call-template name="ShowParticipants"/>
1957
+ </tr>
1958
+ </tbody>
1959
+ </table>
1960
+ </td>
1961
+ </xsl:for-each>
1962
+ </xsl:template>
1963
+
1964
+ <!-- DIABETICFOOTSTATUS -->
1965
+ <xsl:template match="m:Emessage[m:DiabeticFootStatus]">
1966
+ <xsl:for-each select="m:DiabeticFootStatus">
1967
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
1968
+ <table width="100%">
1969
+ <tbody>
1970
+ <tr>
1971
+ <xsl:call-template name="ShowMessageHeader">
1972
+ <xsl:with-param name="MessageName" select="'�rlig fodstatus for diabetikere'"/>
1973
+ </xsl:call-template>
1974
+ </tr>
1975
+ <tr>
1976
+ <td valign="top" width="100%">
1977
+ <table>
1978
+ <tbody>
1979
+ <tr>
1980
+ <td valign="top">
1981
+ <b>Pr�ve taget:</b>
1982
+ </td>
1983
+ <td valign="top">
1984
+ <xsl:for-each select="m:RequisitionInformation/m:Sample/m:SamplingDateTime">
1985
+ <xsl:call-template name="FormatDateTime"/>
1986
+ </xsl:for-each>
1987
+ </td>
1988
+ <td valign="top">
1989
+ <b>Svaret:</b>
1990
+ </td>
1991
+ <td valign="top">
1992
+ <xsl:for-each select="m:LaboratoryResults/m:GeneralResultInformation/m:ResultsDateTime">
1993
+ <xsl:call-template name="FormatDateTime"/>
1994
+ </xsl:for-each>
1995
+ </td>
1996
+ </tr>
1997
+ </tbody>
1998
+ </table>
1999
+ </td>
2000
+ </tr>
2001
+ <xsl:if test="count(m:RequisitionInformation/m:Comments)>0">
2002
+ <tr>
2003
+ <td valign="top" width="100%">
2004
+ <table>
2005
+ <tbody>
2006
+ <tr>
2007
+ <td valign="top" width="100%">
2008
+ <b>Kommentarer til fodstatus</b>
2009
+ </td>
2010
+ </tr>
2011
+ <tr>
2012
+ <td valign="top" width="100%">
2013
+ <table>
2014
+ <tbody>
2015
+ <tr>
2016
+ <td valign="top">
2017
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
2018
+ <xsl:apply-templates/>
2019
+ </xsl:for-each>
2020
+ </td>
2021
+ </tr>
2022
+ </tbody>
2023
+ </table>
2024
+ </td>
2025
+ </tr>
2026
+ </tbody>
2027
+ </table>
2028
+ </td>
2029
+ </tr>
2030
+ </xsl:if>
2031
+ <tr>
2032
+ <td valign="top" width="100%">
2033
+ <table>
2034
+ <tbody>
2035
+ <tr>
2036
+ <td valign="top">
2037
+ <b>Resultater</b>
2038
+ </td>
2039
+ </tr>
2040
+ <tr>
2041
+ <td valign="top">
2042
+ <table>
2043
+ <tbody>
2044
+ <tr bgcolor="#cccccc">
2045
+ <td valign="top">
2046
+ <b>Analyse</b>
2047
+ </td>
2048
+ <td valign="top">
2049
+ <b>V�rdi</b>
2050
+ </td>
2051
+ <td valign="top">
2052
+ <b>Bem.</b>
2053
+ </td>
2054
+ <td valign="top">
2055
+ <b>Enhed</b>
2056
+ </td>
2057
+ <td valign="top">
2058
+ <b>Status</b>
2059
+ </td>
2060
+ <td/>
2061
+ </tr>
2062
+ <xsl:for-each select="m:LaboratoryResults/m:Result">
2063
+ <xsl:variable name="GNr" select="position()"/>
2064
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
2065
+ <tr>
2066
+ <xsl:if test="not($isevenrow)">
2067
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
2068
+ </xsl:if>
2069
+ <xsl:if test="$isevenrow">
2070
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
2071
+ </xsl:if>
2072
+ <td valign="top">
2073
+ <xsl:choose>
2074
+ <xsl:when test="m:Analysis/m:AnalysisShortName">
2075
+ <xsl:value-of select="m:Analysis/m:AnalysisShortName"/>
2076
+ </xsl:when>
2077
+ <xsl:otherwise>
2078
+ <xsl:value-of select="concat(m:Analysis/m:AnalysisCompleteName,' (',m:Analysis/m:AnalysisCode,':',m:Analysis/m:AnalysisCodeResponsible,')')"/>
2079
+ </xsl:otherwise>
2080
+ </xsl:choose>
2081
+ </td>
2082
+ <td valign="top">
2083
+ <xsl:attribute name="title">
2084
+ <xsl:if test="m:ResultTextValue">
2085
+ <xsl:text>Tekstv�rdi: </xsl:text><xsl:value-of select="m:ResultTextValue"/><xsl:text>,
2086
+ </xsl:text>
2087
+ </xsl:if>
2088
+ <xsl:text>Producent: </xsl:text><xsl:value-of select="m:ProducerOfLabResult"/>
2089
+ </xsl:attribute>
2090
+ <xsl:choose>
2091
+ <xsl:when test="m:ResultValidation">
2092
+ <xsl:variable name="RV" select="m:ResultValidation"/>
2093
+ <xsl:choose>
2094
+ <xsl:when test="$RV='unormal' ">
2095
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valueabnormbgcolor"/></xsl:attribute>
2096
+ </xsl:when>
2097
+ <xsl:when test="$RV='for_hoej' ">
2098
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetohighbgcolor"/></xsl:attribute>
2099
+ </xsl:when>
2100
+ <xsl:when test="$RV='for_lav' ">
2101
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$valuetolowbgcolor"/></xsl:attribute>
2102
+ </xsl:when>
2103
+ </xsl:choose>
2104
+ </xsl:when>
2105
+ </xsl:choose>
2106
+ <xsl:variable name="O" select="m:Operator"/>
2107
+ <xsl:choose>
2108
+ <xsl:when test="$O='mindre_end'">&lt;</xsl:when>
2109
+ <xsl:when test="$O='stoerre_end'">&gt;</xsl:when>
2110
+ </xsl:choose>
2111
+ <xsl:value-of select="m:Value"/>
2112
+ </td>
2113
+ <td valign="top">
2114
+ <xsl:if test="count(m:ResultComments)>0">
2115
+ <font size="1">
2116
+ <xsl:attribute name="title"><xsl:value-of select="m:ResultComments"/></xsl:attribute>
2117
+ <xsl:value-of select="$GNr"/>
2118
+ </font>
2119
+ </xsl:if>
2120
+ </td>
2121
+ <td valign="top">
2122
+ <xsl:value-of select="m:Unit"/>
2123
+ </td>
2124
+ <td valign="top">
2125
+ <xsl:variable name="RSC" select="m:ResultStatusCode"/>
2126
+ <xsl:choose>
2127
+ <xsl:when test="$RSC='svar_endeligt'">Endeligt resultat</xsl:when>
2128
+ <xsl:when test="$RSC='svar_midlertidigt'">Midlertidigt resultat</xsl:when>
2129
+ <xsl:when test="$RSC='svar_rettet'">Rettet resultat</xsl:when>
2130
+ <xsl:when test="$RSC='proeve_modtaget'">Pr�vemodtaget</xsl:when>
2131
+ </xsl:choose>
2132
+ </td>
2133
+ <td>
2134
+ <xsl:for-each select="m:Reference[m:URL]">
2135
+ <a>
2136
+ <xsl:attribute name="href"><xsl:value-of select="m:URL"/></xsl:attribute>
2137
+ <img src="img/urlicon.PNG">
2138
+ <xsl:attribute name="alt"><xsl:value-of select="m:RefDescription"/></xsl:attribute>
2139
+ </img>
2140
+ </a>
2141
+ </xsl:for-each>
2142
+ </td>
2143
+ </tr>
2144
+ </xsl:for-each>
2145
+ </tbody>
2146
+ </table>
2147
+ </td>
2148
+ </tr>
2149
+ </tbody>
2150
+ </table>
2151
+ </td>
2152
+ </tr>
2153
+ <tr>
2154
+ <td valign="top" width="100%">
2155
+ <table>
2156
+ <tbody>
2157
+ <tr>
2158
+ <td valign="top">
2159
+ <b>Bem�rkninger</b>
2160
+ </td>
2161
+ </tr>
2162
+ <tr>
2163
+ <td valign="top">
2164
+ <table>
2165
+ <tbody>
2166
+ <xsl:for-each select="m:LaboratoryResults">
2167
+ <xsl:for-each select="m:Result">
2168
+ <xsl:variable name="GNr" select="position()"/>
2169
+ <xsl:if test="count(m:ResultComments)>0">
2170
+ <tr>
2171
+ <td valign="top">
2172
+ <font size="1">
2173
+ <xsl:value-of select="$GNr"/>
2174
+ </font>
2175
+ </td>
2176
+ <td valign="top">
2177
+ <table>
2178
+ <tbody>
2179
+ <xsl:for-each select="m:ResultComments">
2180
+ <tr>
2181
+ <td valign="top">
2182
+ <xsl:apply-templates/>
2183
+ </td>
2184
+ </tr>
2185
+ </xsl:for-each>
2186
+ </tbody>
2187
+ </table>
2188
+ </td>
2189
+ </tr>
2190
+ </xsl:if>
2191
+ </xsl:for-each>
2192
+ </xsl:for-each>
2193
+ </tbody>
2194
+ </table>
2195
+ </td>
2196
+ </tr>
2197
+ </tbody>
2198
+ </table>
2199
+ </td>
2200
+ </tr>
2201
+ <tr>
2202
+ <xsl:call-template name="ShowPatientAndRelatives"/>
2203
+ </tr>
2204
+ <tr>
2205
+ <xsl:call-template name="ShowParticipants"/>
2206
+ </tr>
2207
+ </tbody>
2208
+ </table>
2209
+ </td>
2210
+ </xsl:for-each>
2211
+ </xsl:template>
2212
+
2213
+
2214
+ <xsl:template name="ShowReqStatus">
2215
+ <td valign="top">
2216
+ <b>Status:</b>
2217
+ </td>
2218
+ <td valign="top">
2219
+ <xsl:variable name="RS" select="m:LaboratoryResults/m:GeneralResultInformation/m:ReportStatusCode"/>
2220
+ <table border="0">
2221
+ <tbody>
2222
+ <tr>
2223
+ <xsl:choose>
2224
+ <xsl:when test="$RS='komplet_svar'">
2225
+ <td valign="top">Komplet svar</td>
2226
+ <td><img src="img/Ikon_Komplet.PNG"></img></td>
2227
+ </xsl:when>
2228
+ <xsl:when test="$RS='del_svar'">
2229
+ <td valign="top">Delsvar</td>
2230
+ <td><img src="img/Ikon_Delsvar.PNG"></img></td>
2231
+ </xsl:when>
2232
+ <xsl:when test="$RS='modtaget'">
2233
+ <td valign="top">Pr�vemodtaget</td>
2234
+ <td><img src="img/Ikon_Modtaget.PNG"></img></td>
2235
+ </xsl:when>
2236
+ <xsl:otherwise>
2237
+ <td>Bestilt</td>
2238
+ </xsl:otherwise>
2239
+ </xsl:choose>
2240
+ </tr>
2241
+ </tbody>
2242
+ </table>
2243
+ </td>
2244
+ </xsl:template>
2245
+
2246
+ <xsl:template name="ShowPatient">
2247
+ <xsl:param name="MedComLetter" select="."/>
2248
+ <td valign="top" class="footer">
2249
+ <table>
2250
+ <tr>
2251
+ <td width="50%" valign="top">
2252
+ <b>Patient</b>
2253
+ </td>
2254
+ </tr>
2255
+ <tr>
2256
+ <td class="frame">
2257
+ <div>
2258
+ <table>
2259
+ <xsl:for-each select="$MedComLetter/*[local-name(.)='Patient']">
2260
+ <xsl:call-template name="ShowPerson"/>
2261
+ </xsl:for-each>
2262
+ </table>
2263
+ </div>
2264
+ </td>
2265
+ </tr>
2266
+ </table>
2267
+ </td>
2268
+ </xsl:template>
2269
+
2270
+ <!--
2271
+ LABORATORYANALYSISFILE
2272
+ -->
2273
+ <xsl:template match="m:Emessage[m:LaboratoryAnalysisFile]">
2274
+ <xsl:for-each select="m:LaboratoryAnalysisFile">
2275
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
2276
+ <table width="100%">
2277
+ <tbody>
2278
+ <tr>
2279
+ <xsl:call-template name="ShowMessageHeader">
2280
+ <xsl:with-param name="MessageName" select="'Analysekatalog'" />
2281
+ </xsl:call-template>
2282
+ </tr>
2283
+ <tr>
2284
+ <td valign="top" width="100%">
2285
+ <table>
2286
+ <tbody>
2287
+ <tr>
2288
+ <td valign="top">Laboratorium: <xsl:value-of select="m:GeneralInformation/m:LaboratoryShortName"/></td>
2289
+ <td valign="top">Ref.nr.: <xsl:value-of select="m:GeneralInformation/m:ReferenceNumber"/></td>
2290
+ <td valign="top">Forrige ref.nr.: <xsl:value-of select="m:GeneralInformation/m:Previous/m:ReferenceNumber"/></td>
2291
+ </tr>
2292
+ </tbody>
2293
+ </table>
2294
+ </td>
2295
+ </tr>
2296
+
2297
+ <tr>
2298
+ <td valign="top" width="100%">
2299
+ <table>
2300
+ <tbody>
2301
+ <tr>
2302
+ <th>Analysekode</th>
2303
+ <th>Status</th>
2304
+ <th>Gyldig fra</th>
2305
+ <th>Type</th>
2306
+ <th>Ansv.</th>
2307
+ <th>Analysenavn</th>
2308
+ <th>Kort analysenavn</th>
2309
+ <th>Prioritet</th>
2310
+ <th>Anvendelse</th>
2311
+ <th>Solit�r</th>
2312
+ <th>Glas</th>
2313
+ <th>Glasgruppe</th>
2314
+ <th>Etikettegruppe</th>
2315
+ <th>Etikettetekst</th>
2316
+ <th>Glasantal</th>
2317
+ <th>Etikettetype</th>
2318
+ <th>Prompt</th>
2319
+ <th>Rekv.gruppekode</th>
2320
+ <th>Sortering</th>
2321
+ </tr>
2322
+ <xsl:for-each select="m:AnalysisDetails">
2323
+ <xsl:variable name="isevenrow" select="position() mod 2 = 0"/>
2324
+ <tr>
2325
+ <xsl:if test="not($isevenrow)">
2326
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
2327
+ </xsl:if>
2328
+ <xsl:if test="$isevenrow">
2329
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
2330
+ </xsl:if>
2331
+ <td valign="top"><xsl:value-of select="m:Code"/></td>
2332
+ <td valign="top"><xsl:value-of select="m:StatusCode"/></td>
2333
+ <td valign="top">
2334
+ <xsl:for-each select="m:ValidFrom">
2335
+ <xsl:call-template name="FormatDateTime"/>
2336
+ </xsl:for-each>
2337
+ </td>
2338
+ <td valign="top"><xsl:value-of select="m:CodeType"/></td>
2339
+ <td valign="top"><xsl:value-of select="m:CodeResponsible"/></td>
2340
+ <td valign="top"><xsl:value-of select="m:FullName"/></td>
2341
+ <td valign="top"><xsl:value-of select="m:ShortName"/></td>
2342
+ <td valign="top"><xsl:value-of select="m:MaxResultPriority"/></td>
2343
+ <td valign="top"><xsl:value-of select="m:RequestInformation"/></td>
2344
+ <td valign="top">
2345
+ <xsl:variable name="Sol" select="m:IsASingleAnalysis"/>
2346
+ <xsl:choose>
2347
+ <xsl:when test="$Sol='true'">Ja</xsl:when>
2348
+ <xsl:when test="$Sol='false'">Nej</xsl:when>
2349
+ </xsl:choose>
2350
+ </td>
2351
+
2352
+ <td valign="top">
2353
+ <table>
2354
+ <tbody>
2355
+ <xsl:for-each select="m:TypeOfTestTubes">
2356
+ <tr>
2357
+ <td valign="top">
2358
+ <xsl:value-of select="m:ShortName"/>
2359
+ </td>
2360
+ <td valign="top">
2361
+ <xsl:value-of select="m:ShortNameResponsible"/>
2362
+ </td>
2363
+ <td valign="top">
2364
+ <xsl:value-of select="m:Description"/>
2365
+ </td>
2366
+ </tr>
2367
+ </xsl:for-each>
2368
+ </tbody>
2369
+ </table>
2370
+ </td>
2371
+ <td valign="top">
2372
+ <table>
2373
+ <tbody>
2374
+ <xsl:for-each select="m:TestTubeGroup">
2375
+ <tr>
2376
+ <td valign="top">
2377
+ <xsl:value-of select="m:Identifier"/>
2378
+ </td>
2379
+ <td valign="top">
2380
+ <xsl:value-of select="m:IdentifierResponsible"/>
2381
+ </td>
2382
+ </tr>
2383
+ </xsl:for-each>
2384
+ </tbody>
2385
+ </table>
2386
+ </td>
2387
+
2388
+ <td valign="top"><xsl:value-of select="m:LabelType"/></td>
2389
+ <td valign="top"><xsl:value-of select="m:LabelTextCode"/></td>
2390
+ <td valign="top"><xsl:value-of select="m:NumberOfTestTubes"/></td>
2391
+ <td valign="top">
2392
+ <xsl:value-of select="m:BarcodeType"/>
2393
+ <xsl:if test="m:LabelTypeInBarcode != ''">
2394
+ <br/>
2395
+ </xsl:if>
2396
+ <xsl:value-of select="m:LabelTypeInBarcode"/>
2397
+ </td>
2398
+
2399
+ <td valign="top">
2400
+ <table>
2401
+ <tbody>
2402
+ <xsl:for-each select="m:Prompt">
2403
+ <xsl:variable name="SpmJN" select="m:Question/m:ToBeAnsweredWithBooleanValue/m:Code"/>
2404
+ <xsl:if test="$SpmJN != ''">
2405
+ <tr>
2406
+ <td valign="top">
2407
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithBooleanValue/m:Code"/>
2408
+ </td>
2409
+ <td valign="top">
2410
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithBooleanValue/m:TextValue"/>
2411
+ </td>
2412
+ </tr>
2413
+ </xsl:if>
2414
+ <xsl:variable name="SpmDa" select="m:Question/m:ToBeAnsweredWithDateValue/m:Code"/>
2415
+ <xsl:if test="$SpmDa != ''">
2416
+ <tr>
2417
+ <td valign="top">
2418
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithDateValue/m:Code"/>
2419
+ </td>
2420
+ <td valign="top">
2421
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithDateValue/m:TextValue"/>
2422
+ </td>
2423
+ </tr>
2424
+ </xsl:if>
2425
+ <xsl:variable name="SpmDi" select="m:Question/m:ToBeAnsweredWithDiagnoseValue/m:Code"/>
2426
+ <xsl:if test="$SpmDi != ''">
2427
+ <tr>
2428
+ <td valign="top">
2429
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithDiagnoseValue/m:Code"/>
2430
+ </td>
2431
+ <td valign="top">
2432
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithDiagnoseValue/m:TextValue"/>
2433
+ </td>
2434
+ </tr>
2435
+ </xsl:if>
2436
+ <xsl:variable name="SpmN" select="m:Question/m:ToBeAnsweredWithNumericValue/m:Code"/>
2437
+ <xsl:if test="$SpmN != ''">
2438
+ <tr>
2439
+ <td valign="top">
2440
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithNumericValue/m:Code"/>
2441
+ </td>
2442
+ <td valign="top">
2443
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithNumericValue/m:TextValue"/>
2444
+ </td>
2445
+ </tr>
2446
+ </xsl:if>
2447
+ <xsl:variable name="SpmT" select="m:Question/m:ToBeAnsweredWithTextValue/m:Code"/>
2448
+ <xsl:if test="$SpmT != ''">
2449
+ <tr>
2450
+ <td valign="top">
2451
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithTextValue/m:Code"/>
2452
+ </td>
2453
+ <td valign="top">
2454
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithTextValue/m:TextValue"/>
2455
+ </td>
2456
+ </tr>
2457
+ </xsl:if>
2458
+ <xsl:variable name="SpmJNT" select="m:Question/m:ToBeAnsweredWithBooleanAndTextValue/m:Code"/>
2459
+ <xsl:if test="$SpmJNT != ''">
2460
+ <tr>
2461
+ <td valign="top">
2462
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithBooleanAndTextValue/m:Code"/>
2463
+ </td>
2464
+ <td valign="top">
2465
+ <xsl:value-of select="m:Question/m:ToBeAnsweredWithBooleanAndTextValue/m:TextValue"/>
2466
+ </td>
2467
+ </tr>
2468
+ </xsl:if>
2469
+ <xsl:variable name="SpmS" select="m:Question/m:ToBeAnsweredWithSelection/m:Choice/m:Code"/>
2470
+ <xsl:if test="$SpmS != ''">
2471
+ <xsl:for-each select="m:Question/m:ToBeAnsweredWithSelection/m:Choice">
2472
+ <tr>
2473
+ <td valign="top">
2474
+ <xsl:value-of select="m:Code"/>
2475
+ </td>
2476
+ <td valign="top">
2477
+ <xsl:value-of select="m:TextValue"/>
2478
+ </td>
2479
+ </tr>
2480
+ </xsl:for-each>
2481
+ </xsl:if>
2482
+ </xsl:for-each>
2483
+ </tbody>
2484
+ </table>
2485
+ </td>
2486
+
2487
+ <td valign="top">
2488
+ <table>
2489
+ <tbody>
2490
+ <xsl:for-each select="m:RequisitionGroup">
2491
+ <tr>
2492
+ <td valign="top">
2493
+ <xsl:value-of select="m:Identifier"/>
2494
+ </td>
2495
+ <td valign="top">
2496
+ <xsl:value-of select="m:IdentifierResponsible"/>
2497
+ </td>
2498
+ <td valign="top">
2499
+ <xsl:value-of select="m:Name"/>
2500
+ </td>
2501
+ </tr>
2502
+ </xsl:for-each>
2503
+ </tbody>
2504
+ </table>
2505
+ </td>
2506
+ <td valign="top">
2507
+ <table>
2508
+ <tbody>
2509
+ <xsl:for-each select="m:Order">
2510
+ <tr>
2511
+ <td valign="top"><xsl:apply-templates/></td>
2512
+ </tr>
2513
+ </xsl:for-each>
2514
+ </tbody>
2515
+ </table>
2516
+ </td>
2517
+ </tr>
2518
+ </xsl:for-each>
2519
+ </tbody>
2520
+ </table>
2521
+ </td>
2522
+ </tr>
2523
+
2524
+ <tr>
2525
+ <xsl:call-template name="ShowParticipants"/>
2526
+ </tr>
2527
+ </tbody>
2528
+ </table>
2529
+ </td>
2530
+ </xsl:for-each>
2531
+ </xsl:template>
2532
+
2533
+ <!-- PATHOLOGYREQUEST -->
2534
+ <xsl:template match="m:Emessage[m:PathologyRequest]">
2535
+ <xsl:for-each select="m:PathologyRequest">
2536
+ <tr>
2537
+ <td valign="top" width="100%" bgcolor="#ffffff" colspan="2">
2538
+ <table width="100%">
2539
+ <tbody>
2540
+ <tr>
2541
+ <xsl:call-template name="ShowMessageHeader">
2542
+ <xsl:with-param name="MessageName" select="'Patologirekvisition'"/>
2543
+ </xsl:call-template>
2544
+ </tr>
2545
+ <tr>
2546
+ <td valign="top" width="100%">
2547
+ <table>
2548
+ <tbody>
2549
+ <tr>
2550
+ <td valign="top">
2551
+ <b>Rekvisition:</b>
2552
+ </td>
2553
+ <td valign="top">
2554
+ <xsl:for-each select="m:RequisitionInformation/m:RequisitionDateTime">
2555
+ <xsl:call-template name="FormatDateTime"/>
2556
+ </xsl:for-each>
2557
+ </td>
2558
+ <td>
2559
+ <b>Rekvisitions ID: </b>
2560
+ </td>
2561
+ <td>
2562
+ <xsl:value-of select="m:RequisitionInformation/m:RequestersRequisitionIdentifier"/>
2563
+ </td>
2564
+ <xsl:if test="m:RequisitionInformation/m:SampleIdentifierType='nationaltproevenummer'">
2565
+ <td>NPN</td>
2566
+ </xsl:if>
2567
+ </tr>
2568
+ </tbody>
2569
+ </table>
2570
+ </td>
2571
+ </tr>
2572
+ <tr>
2573
+ <td valign="top" width="100%">
2574
+ <table>
2575
+ <tbody>
2576
+ <tr>
2577
+ <td valign="top">
2578
+ <xsl:if test="m:RequisitionInformation/m:SamplingDateTimeType='oensket' ">
2579
+ <b>Pr�ve</b> �nskes <b>taget</b>
2580
+ </xsl:if>
2581
+ <xsl:if test="not(m:RequisitionInformation/m:SamplingDateTimeType='oensket') ">
2582
+ <b>Pr�ve</b> er <b>taget</b>
2583
+ </xsl:if>
2584
+ </td>
2585
+ <td valign="top">
2586
+ <xsl:for-each select="m:RequisitionInformation/m:SamplingDateTime">
2587
+ <xsl:call-template name="FormatDateTime"/>
2588
+ </xsl:for-each>
2589
+ </td>
2590
+ <td valign="top">
2591
+ <b>af</b>
2592
+ </td>
2593
+ <td valign="top">
2594
+ <xsl:value-of select="m:RequisitionInformation/m:SamplingLocationCode"/>
2595
+ </td>
2596
+ <td valign="top">
2597
+ <b> i </b>
2598
+ </td>
2599
+ <td valign="top">
2600
+ <xsl:value-of select="m:RequisitionInformation/m:NumberOfTestTubes"/>
2601
+ </td>
2602
+ <td valign="top">
2603
+ <b> glas</b>
2604
+ </td>
2605
+ </tr>
2606
+ </tbody>
2607
+ </table>
2608
+ </td>
2609
+ </tr>
2610
+ <xsl:for-each select="m:RequisitionInformation/m:ClinicalInformation">
2611
+ <tr>
2612
+ <td valign="top" width="100%">
2613
+ <table>
2614
+ <tbody>
2615
+ <tr>
2616
+ <td valign="top">
2617
+ <b>Klinisk information</b>
2618
+ </td>
2619
+ </tr>
2620
+ <tr>
2621
+ <td valign="top">
2622
+ <table>
2623
+ <tbody>
2624
+ <tr>
2625
+ <td valign="top">
2626
+ <xsl:apply-templates/>
2627
+ </td>
2628
+ </tr>
2629
+ </tbody>
2630
+ </table>
2631
+ </td>
2632
+ </tr>
2633
+ </tbody>
2634
+ </table>
2635
+ </td>
2636
+ </tr>
2637
+ </xsl:for-each>
2638
+ <xsl:for-each select="m:RequisitionInformation/m:CodedClinicalInformation">
2639
+ <tr>
2640
+ <td valign="top" width="100%">
2641
+ <table>
2642
+ <tbody>
2643
+ <tr>
2644
+ <td valign="top">
2645
+ <b>Kodet klinisk information</b>
2646
+ </td>
2647
+ </tr>
2648
+ <tr>
2649
+ <td valign="top">
2650
+ <table>
2651
+ <tbody>
2652
+ <tr>
2653
+ <td valign="top">
2654
+ <xsl:value-of select="m:IndicationCode"/>
2655
+ </td>
2656
+ <td valign="top">
2657
+ <xsl:value-of select="m:IndicationText"/>
2658
+ </td>
2659
+ </tr>
2660
+ </tbody>
2661
+ </table>
2662
+ </td>
2663
+ </tr>
2664
+ </tbody>
2665
+ </table>
2666
+ </td>
2667
+ </tr>
2668
+ </xsl:for-each>
2669
+ <xsl:for-each select="m:RequisitionInformation/m:Comments">
2670
+ <tr>
2671
+ <td valign="top" width="100%">
2672
+ <table>
2673
+ <tbody>
2674
+ <tr>
2675
+ <td valign="top">
2676
+ <b>Kommentarer</b>
2677
+ </td>
2678
+ </tr>
2679
+ <tr>
2680
+ <td valign="top">
2681
+ <table>
2682
+ <tbody>
2683
+ <tr>
2684
+ <td valign="top">
2685
+ <xsl:apply-templates/>
2686
+ </td>
2687
+ </tr>
2688
+ </tbody>
2689
+ </table>
2690
+ </td>
2691
+ </tr>
2692
+ </tbody>
2693
+ </table>
2694
+ </td>
2695
+ </tr>
2696
+ </xsl:for-each>
2697
+ <tr>
2698
+ <td valign="top" width="100%">
2699
+ <table>
2700
+ <tbody>
2701
+ <tr>
2702
+ <td valign="top">
2703
+ <b>Pr�ver</b>
2704
+ </td>
2705
+ </tr>
2706
+ <tr>
2707
+ <td valign="top">
2708
+ <table>
2709
+ <tbody>
2710
+ <tr>
2711
+ <td>
2712
+ <b>Pr�ve ID</b>
2713
+ </td>
2714
+ <td></td>
2715
+ <td>
2716
+ <b>Materiale</b>
2717
+ </td>
2718
+ <td>
2719
+ <b>Forbehandling</b>
2720
+ </td>
2721
+ <td>
2722
+ <b>Referencer</b>
2723
+ </td>
2724
+ </tr>
2725
+ <xsl:for-each select="m:RequisitionInformation/m:Sample">
2726
+ <xsl:variable name="isevenrow" select="position() mod 2=0"/>
2727
+ <xsl:variable name="npn" select="m:SampleIdentifierType"/>
2728
+ <tr>
2729
+ <xsl:if test="not($isevenrow)">
2730
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowbgcolor"/></xsl:attribute>
2731
+ </xsl:if>
2732
+ <xsl:if test="$isevenrow">
2733
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowbgcolor"/></xsl:attribute>
2734
+ </xsl:if>
2735
+ <td valign="top">
2736
+ <xsl:value-of select="m:RequesterSampleIdentifier"/>
2737
+ </td>
2738
+ <td>
2739
+ <xsl:choose>
2740
+ <xsl:when test="$npn='nationaltproevenummer'">NPN</xsl:when>
2741
+ </xsl:choose>
2742
+ </td>
2743
+ <td valign="top">
2744
+ <xsl:value-of select="m:MaterialDescription"/>
2745
+ </td>
2746
+ <td valign="top">
2747
+ <xsl:for-each select="m:MaterialPreTreatment">
2748
+ <xsl:value-of select="."/><xsl:text> </xsl:text>
2749
+ </xsl:for-each>
2750
+ </td>
2751
+ <td>
2752
+ <table>
2753
+ <tbody>
2754
+ <tr>
2755
+ <xsl:call-template name="showReferences">
2756
+ <xsl:with-param name="Refs" select="m:Reference"/>
2757
+ <xsl:with-param name="SenderEAN" select="m:Sender/m:EANIdentifier"/>
2758
+ </xsl:call-template>
2759
+ </tr>
2760
+ </tbody>
2761
+ </table>
2762
+ </td>
2763
+ </tr>
2764
+ </xsl:for-each>
2765
+ </tbody>
2766
+ </table>
2767
+ </td>
2768
+ </tr>
2769
+ </tbody>
2770
+ </table>
2771
+ </td>
2772
+ </tr>
2773
+ <tr>
2774
+ <td valign="top" width="100%">
2775
+ <table>
2776
+ <tbody>
2777
+ <tr>
2778
+ <td valign="top">
2779
+ <b>�nsket analyse</b>
2780
+ </td>
2781
+ </tr>
2782
+ <tr>
2783
+ <td valign="top">
2784
+ <table>
2785
+ <tbody>
2786
+ <tr>
2787
+ <td>
2788
+ <b>Prioritet</b>
2789
+ </td>
2790
+ <td>
2791
+ <b>Analysekode</b>
2792
+ </td>
2793
+ <td>
2794
+ <b>Kodetype</b>
2795
+ </td>
2796
+ <td>
2797
+ <b>AnalyseTekst</b>
2798
+ </td>
2799
+ <td>
2800
+ <b>�nsket svartidspunkt</b>
2801
+ </td>
2802
+ </tr>
2803
+ <xsl:for-each select="m:Requests/m:RequestedAnalysis">
2804
+ <xsl:variable name="isevenrow" select="position() mod 2=0"/>
2805
+ <tr>
2806
+ <xsl:if test="not($isevenrow)">
2807
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$oddrowhighlightbgcolor"/></xsl:attribute>
2808
+ </xsl:if>
2809
+ <xsl:if test="$isevenrow">
2810
+ <xsl:attribute name="bgcolor"><xsl:value-of select="$evenrowhighlightbgcolor"/></xsl:attribute>
2811
+ </xsl:if>
2812
+ <td valign="top">
2813
+ <xsl:value-of select="m:ResultPriority"/>
2814
+ </td>
2815
+ <td valign="top">
2816
+ <xsl:value-of select="m:Analysis/m:AnalysisCode"/>
2817
+ </td>
2818
+ <td valign="top">
2819
+ <xsl:value-of select="m:Analysis/m:AnalysisCodeType"/>
2820
+ </td>
2821
+ <td valign="top">
2822
+ <xsl:value-of select="m:Analysis/m:AnalysisShortName"/>
2823
+ </td>
2824
+ <td valign="top">
2825
+ <xsl:if test="m:AnswerAtLatestDateTime">
2826
+ <xsl:for-each select="m:AnswerAtLatestDateTime">
2827
+ <xsl:call-template name="FormatDateTime"/>
2828
+ </xsl:for-each>
2829
+ </xsl:if>
2830
+ </td>
2831
+ </tr>
2832
+ </xsl:for-each>
2833
+ </tbody>
2834
+ </table>
2835
+ </td>
2836
+ </tr>
2837
+ </tbody>
2838
+ </table>
2839
+ </td>
2840
+ </tr>
2841
+ <xsl:if test="count(m:Requests/m:Prompt)>0">
2842
+ <tr>
2843
+ <td valign="top" width="100%">
2844
+ <table>
2845
+ <tbody>
2846
+ <tr>
2847
+ <td valign="top">
2848
+ <b> Svar p� analyserelevante sp�rgsm�l </b>
2849
+ </td>
2850
+ </tr>
2851
+ <tr>
2852
+ <td valign="top">
2853
+ <table>
2854
+ <tbody>
2855
+ <tr>
2856
+ <td>
2857
+ <b>Sp�rgsm�l</b>
2858
+ </td>
2859
+ <td>
2860
+ <b>Svar</b>
2861
+ </td>
2862
+ </tr>
2863
+ <xsl:for-each select="m:Requests/m:Prompt">
2864
+ <xsl:variable name="isevenrow" select="position() mod 2=0"/>
2865
+ <tr>
2866
+ <xsl:if test="not($isevenrow)">
2867
+ <xsl:attribute name="bgcolor">
2868
+ <xsl:value-of select="$oddrowbgcolor"/>
2869
+ </xsl:attribute>
2870
+ </xsl:if>
2871
+ <xsl:if test="$isevenrow">
2872
+ <xsl:attribute name="bgcolor">
2873
+ <xsl:value-of select="$evenrowbgcolor"/>
2874
+ </xsl:attribute>
2875
+ </xsl:if>
2876
+ <td valign="top">
2877
+ <xsl:value-of select="m:Question/m:CodeText"/>
2878
+ </td>
2879
+ <td valign="top">
2880
+ <xsl:value-of select="m:Answer/m:Text"/>
2881
+ <xsl:for-each select="m:Answer/m:Numerical">
2882
+ <xsl:value-of select="."/>
2883
+ </xsl:for-each>
2884
+ <xsl:for-each select="m:Answer/m:DiagnoseCode">
2885
+ <xsl:value-of select="concat('diagnosekode: ',.)"/>
2886
+ </xsl:for-each>
2887
+ <xsl:for-each select="m:Answer/m:DateTime">
2888
+ <xsl:call-template name="FormatDateTime"/>
2889
+ </xsl:for-each>
2890
+ <xsl:for-each select="m:Answer/m:Logical">
2891
+ <xsl:variable name="SvarJN" select="."/>
2892
+ <xsl:if test="translate(substring($SvarJN,1,1),'YNTFtf10','ynynynyn')='y'">Ja</xsl:if>
2893
+ <xsl:if test="translate(substring($SvarJN,1,1),'YNTFtf10','ynynynyn')='n'">Nej</xsl:if>
2894
+ </xsl:for-each>
2895
+ </td>
2896
+ </tr>
2897
+ </xsl:for-each>
2898
+ </tbody>
2899
+ </table>
2900
+ </td>
2901
+ </tr>
2902
+ </tbody>
2903
+ </table>
2904
+ </td>
2905
+ </tr>
2906
+ </xsl:if>
2907
+ <tr>
2908
+ <xsl:call-template name="ShowCarbonCopyReceiver"/>
2909
+ </tr>
2910
+ <tr>
2911
+ <xsl:call-template name="ShowPatientAndRelatives"/>
2912
+ </tr>
2913
+ <tr>
2914
+ <xsl:call-template name="ShowParticipants"/>
2915
+ </tr>
2916
+ <tr>
2917
+ <xsl:variable name="MedComLetter" select="."/>
2918
+ <xsl:variable name="FontColor" select="$footerfontcolor"/>
2919
+ <xsl:variable name="bgcolor" select="$footerbgcolor"/>
2920
+ <td valign="top" width="100%">
2921
+ <xsl:attribute name="bgcolor">
2922
+ <xsl:value-of select="$bgcolor"/>
2923
+ </xsl:attribute>
2924
+ <table>
2925
+ <xsl:for-each select="$MedComLetter/m:OriginalRequester">
2926
+ <tr>
2927
+ <td valign="top">
2928
+ <font>
2929
+ <xsl:attribute name="color">
2930
+ <xsl:value-of select="$FontColor"/>
2931
+ </xsl:attribute>
2932
+ <b>Original Rekvirent:</b>
2933
+ </font>
2934
+ </td>
2935
+ <xsl:call-template name="ShowParticipant">
2936
+ <xsl:with-param name="FontColor" select="$FontColor"/>
2937
+ </xsl:call-template>
2938
+ </tr>
2939
+ </xsl:for-each>
2940
+ </table>
2941
+ </td>
2942
+ </tr>
2943
+
2944
+ </tbody>
2945
+ </table>
2946
+ </td>
2947
+ </tr>
2948
+ </xsl:for-each>
2949
+ </xsl:template>
2950
+
2951
+ </xsl:stylesheet>