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,1727 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/" version="1.0">
3
+ <xsl:output method="xml" indent="yes"/>
4
+ <!-- PrescriptionRequest -->
5
+ <xsl:template match="m:PrescriptionRequest">
6
+ <xsl:variable name="Letter" select="m:Letter"/>
7
+ <xsl:variable name="Sender" select="m:Sender"/>
8
+ <xsl:variable name="AnswerTo" select="$Sender/m:AnswerTo"/>
9
+ <xsl:variable name="PersonInOrg" select="$Sender/m:PersonInOrganisation"/>
10
+ <xsl:variable name="Receiver" select="m:Receiver"/>
11
+ <xsl:variable name="Issuer" select="$Receiver/m:Issuer"/>
12
+ <xsl:variable name="PrefPharmacy" select="m:PreferredPharmacy"/>
13
+ <xsl:variable name="CCReceiver" select="m:CCReceiver"/>
14
+ <xsl:variable name="PatOrRel" select="m:PatientOrRelative"/>
15
+ <xsl:variable name="PreInfo" select="m:PrescriptionInformation"/>
16
+ <xsl:variable name="Drugs" select="m:Drug"/>
17
+ <Brev>
18
+ <UNH>
19
+ <Elm>
20
+ <SubElm>
21
+ <xsl:value-of select="$Letter/m:Identifier"/>
22
+ </SubElm>
23
+ </Elm>
24
+ <Elm>
25
+ <SubElm>MEDPRE</SubElm>
26
+ <SubElm>0</SubElm>
27
+ <SubElm>962</SubElm>
28
+ <SubElm>RT</SubElm>
29
+ <SubElm>R6031W</SubElm>
30
+ </Elm>
31
+ <Elm>
32
+ <SubElm>PRE60</SubElm>
33
+ </Elm>
34
+ </UNH>
35
+ <BrevIndhold>
36
+ <BGM>
37
+ <Elm>
38
+ <SubElm>PRS</SubElm>
39
+ <SubElm>SKL</SubElm>
40
+ <SubElm>SST</SubElm>
41
+ </Elm>
42
+ <Elm/>
43
+ <Elm>
44
+ <SubElm>
45
+ <xsl:variable name="MSC" select="$PreInfo/m:MessageStatusCode"/>
46
+ <xsl:choose>
47
+ <xsl:when test="$MSC='original' ">9</xsl:when>
48
+ <xsl:when test="$MSC='kopi' ">7</xsl:when>
49
+ <xsl:otherwise>
50
+ <FEJL>Kan ikke oversætte MessageStatusCode: <xsl:value-of select="$MSC"/>
51
+ </FEJL>
52
+ </xsl:otherwise>
53
+ </xsl:choose>
54
+ </SubElm>
55
+ </Elm>
56
+ </BGM>
57
+ <DTM>
58
+ <Elm>
59
+ <SubElm>137</SubElm>
60
+ <SubElm>
61
+ <xsl:call-template name="DateTimeWithSecToDTM204">
62
+ <xsl:with-param name="DT" select="$Letter/m:Authorisation"/>
63
+ </xsl:call-template>
64
+ </SubElm>
65
+ <SubElm>204</SubElm>
66
+ </Elm>
67
+ </DTM>
68
+ <!-- SENDER -->
69
+ <S01 hidden="true">
70
+ <xsl:variable name="Participant" select="$Sender"/>
71
+ <PNA>
72
+ <Elm>
73
+ <SubElm>PO</SubElm>
74
+ </Elm>
75
+ <Elm/>
76
+ <Elm>
77
+ <SubElm>
78
+ <xsl:value-of select="$Participant/m:Identifier"/>
79
+ </SubElm>
80
+ <xsl:call-template name="identifierCode2edi">
81
+ <xsl:with-param name="code" select="$Participant/m:IdentifierCode"/>
82
+ </xsl:call-template>
83
+ </Elm>
84
+ <Elm/>
85
+ <Elm/>
86
+ <Elm>
87
+ <SubElm>US</SubElm>
88
+ <SubElm>
89
+ <xsl:value-of select="$PersonInOrg/m:TitleAndName"/>
90
+ </SubElm>
91
+ </Elm>
92
+ <xsl:if test="$Participant/m:OrganisationName!=''">
93
+ <Elm>
94
+ <SubElm>US</SubElm>
95
+ <SubElm>
96
+ <xsl:value-of select="$Participant/m:OrganisationName"/>
97
+ </SubElm>
98
+ </Elm>
99
+ </xsl:if>
100
+ </PNA>
101
+ <xsl:variable name="Adr" select="$Participant"/>
102
+ <xsl:if test="count($Adr/m:StreetName)+count($Adr/m:PostCodeIdentifier)>0">
103
+ <ADR>
104
+ <Elm/>
105
+ <Elm>
106
+ <xsl:if test="count($Adr/m:StreetName)>0">
107
+ <SubElm>1</SubElm>
108
+ <SubElm>
109
+ <xsl:value-of select="$Adr//m:StreetName"/>
110
+ </SubElm>
111
+ </xsl:if>
112
+ </Elm>
113
+ <Elm/>
114
+ <Elm>
115
+ <SubElm>
116
+ <xsl:value-of select="$Adr/m:PostCodeIdentifier"/>
117
+ </SubElm>
118
+ </Elm>
119
+ </ADR>
120
+ </xsl:if>
121
+ <COM>
122
+ <Elm>
123
+ <SubElm>
124
+ <xsl:value-of select="$Participant/m:TelephoneSubscriberIdentifier"/>
125
+ </SubElm>
126
+ <SubElm>TE</SubElm>
127
+ </Elm>
128
+ </COM>
129
+ <xsl:if test="$AnswerTo">
130
+ <COM>
131
+ <Elm>
132
+ <SubElm>
133
+ <xsl:value-of select="$AnswerTo/m:EANIdentifier"/>
134
+ </SubElm>
135
+ <SubElm>LOC</SubElm>
136
+ </Elm>
137
+ </COM>
138
+ </xsl:if>
139
+ </S01>
140
+ <!-- Receiver -->
141
+ <S01 hidden="true">
142
+ <xsl:variable name="Participant" select="$Receiver"/>
143
+ <PNA>
144
+ <Elm>
145
+ <SubElm>SSP</SubElm>
146
+ </Elm>
147
+ <Elm>
148
+ <xsl:if test="$Issuer/m:AuthorisationIdentifier">
149
+ <SubElm>
150
+ <xsl:value-of select="$Issuer/m:AuthorisationIdentifier"/>
151
+ </SubElm>
152
+ <SubElm>AUT</SubElm>
153
+ </xsl:if>
154
+ </Elm>
155
+ <Elm>
156
+ <SubElm>
157
+ <xsl:value-of select="$Participant/m:Identifier"/>
158
+ </SubElm>
159
+ <xsl:call-template name="identifierCode2edi">
160
+ <xsl:with-param name="code" select="$Participant/m:IdentifierCode"/>
161
+ </xsl:call-template>
162
+ </Elm>
163
+ <Elm/>
164
+ <Elm/>
165
+ <Elm>
166
+ <xsl:if test="$Issuer/m:TitleAndName!=''">
167
+ <SubElm>US</SubElm>
168
+ <SubElm>
169
+ <xsl:value-of select="$Issuer/m:TitleAndName"/>
170
+ </SubElm>
171
+ </xsl:if>
172
+ </Elm>
173
+ <xsl:if test="$Participant/m:OrganisationName!=''">
174
+ <Elm>
175
+ <SubElm>US</SubElm>
176
+ <SubElm>
177
+ <xsl:value-of select="$Participant/m:OrganisationName"/>
178
+ </SubElm>
179
+ </Elm>
180
+ </xsl:if>
181
+ </PNA>
182
+ <xsl:if test="count($Issuer/m:SpecialityCode)>0">
183
+ <QUA>
184
+ <Elm>
185
+ <SubElm>1</SubElm>
186
+ </Elm>
187
+ <Elm>
188
+ <SubElm>
189
+ <xsl:value-of select="$Issuer/m:SpecialityCode"/>
190
+ </SubElm>
191
+ <SubElm>SPC</SubElm>
192
+ <SubElm>SFU</SubElm>
193
+ </Elm>
194
+ </QUA>
195
+ </xsl:if>
196
+ <xsl:if test="count($Issuer/m:Occupation)>0">
197
+ <EMP>
198
+ <Elm>
199
+ <SubElm>4</SubElm>
200
+ </Elm>
201
+ <Elm>
202
+ <SubElm>
203
+ <xsl:variable name="Occ" select="$Issuer/m:Occupation"/>
204
+ <xsl:choose>
205
+ <xsl:when test="$Occ='tandlaege'">DEN</xsl:when>
206
+ <xsl:when test="$Occ='laege'">PHY</xsl:when>
207
+ <xsl:otherwise>
208
+ <FEJL>Ukendt Occupation: <xsl:value-of select="$Occ"/>
209
+ </FEJL>
210
+ </xsl:otherwise>
211
+ </xsl:choose>
212
+ </SubElm>
213
+ <SubElm>SKL</SubElm>
214
+ <SubElm>SST</SubElm>
215
+ </Elm>
216
+ </EMP>
217
+ </xsl:if>
218
+ </S01>
219
+ <xsl:for-each select="$PrefPharmacy">
220
+ <S01 hidden="true">
221
+ <xsl:variable name="Participant" select="$PrefPharmacy"/>
222
+ <PNA>
223
+ <Elm>
224
+ <SubElm>SE</SubElm>
225
+ </Elm>
226
+ <Elm/>
227
+ <Elm>
228
+ <SubElm>
229
+ <xsl:value-of select="$Participant/m:EANIdentifier"/>
230
+ </SubElm>
231
+ <SubElm/>
232
+ <SubElm>9</SubElm>
233
+ </Elm>
234
+ <Elm/>
235
+ <Elm/>
236
+ <xsl:if test="$Participant/m:OrganisationName!=''">
237
+ <Elm>
238
+ <SubElm>US</SubElm>
239
+ <SubElm>
240
+ <xsl:value-of select="$Participant/m:OrganisationName"/>
241
+ </SubElm>
242
+ </Elm>
243
+ </xsl:if>
244
+ </PNA>
245
+ </S01>
246
+ </xsl:for-each>
247
+ <S02 hidden="true">
248
+ <DTM>
249
+ <Elm>
250
+ <SubElm>97</SubElm>
251
+ <SubElm>
252
+ <xsl:call-template name="DateToDTM102">
253
+ <xsl:with-param name="D" select="$Letter/m:Authorisation/m:Date"/>
254
+ </xsl:call-template>
255
+ </SubElm>
256
+ <SubElm>102</SubElm>
257
+ </Elm>
258
+ </DTM>
259
+ <RFF>
260
+ <Elm>
261
+ <SubElm>CH</SubElm>
262
+ <SubElm>
263
+ <xsl:value-of select="$PreInfo/m:DrugDatabaseVersion"/>
264
+ </SubElm>
265
+ </Elm>
266
+ </RFF>
267
+ <RFF>
268
+ <Elm>
269
+ <SubElm>SYS</SubElm>
270
+ <SubElm>
271
+ <xsl:value-of select="$PreInfo/m:SenderComputerSystem"/>
272
+ </SubElm>
273
+ </Elm>
274
+ </RFF>
275
+ <xsl:if test="$PreInfo/m:DoseDispenseInformation/m:Status='dosisdispensering' ">
276
+ <RFF>
277
+ <Elm>
278
+ <SubElm>DOS</SubElm>
279
+ <SubElm>NR</SubElm>
280
+ </Elm>
281
+ </RFF>
282
+ <xsl:if test="$PreInfo/m:DoseDispenseInformation/m:CopyRequired='true' ">
283
+ <RFF>
284
+ <Elm>
285
+ <SubElm>COP</SubElm>
286
+ <SubElm>NR</SubElm>
287
+ </Elm>
288
+ </RFF>
289
+ </xsl:if>
290
+ </xsl:if>
291
+ <xsl:if test="$PreInfo/m:DoseDispenseInformation/m:Status='seponeres' ">
292
+ <RFF>
293
+ <Elm>
294
+ <SubElm>SEP</SubElm>
295
+ <SubElm>NR</SubElm>
296
+ </Elm>
297
+ </RFF>
298
+ <xsl:if test="$PreInfo/m:DoseDispenseInformation/m:CopyRequired='true' ">
299
+ <RFF>
300
+ <Elm>
301
+ <SubElm>COP</SubElm>
302
+ <SubElm>NR</SubElm>
303
+ </Elm>
304
+ </RFF>
305
+ </xsl:if>
306
+ </xsl:if>
307
+ <xsl:if test="count(m:ForGPUse)>0">
308
+ <INP>
309
+ <Elm/>
310
+ <Elm>
311
+ <SubElm>SPP</SubElm>
312
+ <SubElm>AUP</SubElm>
313
+ <SubElm>SKL</SubElm>
314
+ <SubElm>SST</SubElm>
315
+ </Elm>
316
+ </INP>
317
+ </xsl:if>
318
+ <xsl:if test="count(m:ForGPClinicUse)>0">
319
+ <INP>
320
+ <Elm/>
321
+ <Elm>
322
+ <SubElm>SPP</SubElm>
323
+ <SubElm>UIS</SubElm>
324
+ <SubElm>SKL</SubElm>
325
+ <SubElm>SST</SubElm>
326
+ </Elm>
327
+ </INP>
328
+ </xsl:if>
329
+ <xsl:for-each select="$PreInfo/m:OrderInstruction">
330
+ <FTX>
331
+ <Elm>
332
+ <SubElm>ORI</SubElm>
333
+ </Elm>
334
+ <Elm/>
335
+ <Elm/>
336
+ <Elm>
337
+ <SubElm>
338
+ <xsl:value-of select="text()"/>
339
+ </SubElm>
340
+ </Elm>
341
+ </FTX>
342
+ </xsl:for-each>
343
+ <xsl:for-each select="$PreInfo/m:DeliveryInformation">
344
+ <FTX>
345
+ <Elm>
346
+ <SubElm>DEL</SubElm>
347
+ </Elm>
348
+ <Elm/>
349
+ <Elm/>
350
+ <Elm>
351
+ <SubElm>
352
+ <xsl:value-of select="text()"/>
353
+ </SubElm>
354
+ </Elm>
355
+ </FTX>
356
+ </xsl:for-each>
357
+ </S02>
358
+ <xsl:for-each select="$PatOrRel">
359
+ <S03 hidden="true">
360
+ <GIS>
361
+ <Elm>
362
+ <SubElm>ZZZ</SubElm>
363
+ <SubElm>SKL</SubElm>
364
+ <SubElm>SST</SubElm>
365
+ </Elm>
366
+ </GIS>
367
+ <PNA>
368
+ <Elm>
369
+ <SubElm>
370
+ <xsl:variable name="T" select="m:Type"/>
371
+ <xsl:choose>
372
+ <xsl:when test="$T='patient' ">PAT</xsl:when>
373
+ <xsl:when test="$T='patienttilknyttet_person' ">PAS</xsl:when>
374
+ <xsl:otherwise>
375
+ <FEJL>Ukendt Patient or Relative type: <xsl:value-of select="$T"/>
376
+ </FEJL>
377
+ </xsl:otherwise>
378
+ </xsl:choose>
379
+ </SubElm>
380
+ </Elm>
381
+ <Elm>
382
+ <SubElm>
383
+ <xsl:value-of select="m:CivilRegistrationNumber"/>
384
+ </SubElm>
385
+ <SubElm>
386
+ <xsl:if test="count(m:CivilRegistrationNumber)>0">CPR</xsl:if>
387
+ </SubElm>
388
+ </Elm>
389
+ <Elm>
390
+ </Elm>
391
+ <Elm/>
392
+ <Elm/>
393
+ <Elm>
394
+ <SubElm>SCC</SubElm>
395
+ <SubElm>
396
+ <xsl:value-of select="concat(m:PersonSurnameName,',',m:PersonGivenName)"/>
397
+ </SubElm>
398
+ </Elm>
399
+ </PNA>
400
+ <ADR>
401
+ <Elm>
402
+ <SubElm>1</SubElm>
403
+ </Elm>
404
+ <Elm>
405
+ <SubElm>1</SubElm>
406
+ <SubElm>
407
+ <xsl:value-of select="m:StreetName"/>
408
+ </SubElm>
409
+ </Elm>
410
+ <Elm>
411
+ <SubElm>
412
+ <xsl:value-of select="m:DistrictName"/>
413
+ </SubElm>
414
+ </Elm>
415
+ <Elm>
416
+ <SubElm>
417
+ <xsl:value-of select="m:PostCodeIdentifier"/>
418
+ </SubElm>
419
+ </Elm>
420
+ <Elm>
421
+ <SubElm>
422
+ <xsl:value-of select="m:CountryCode"/>
423
+ </SubElm>
424
+ </Elm>
425
+ <xsl:if test="count(m:CountyCode)>0">
426
+ <Elm>
427
+ <SubElm>
428
+ <xsl:value-of select="m:CountyCode"/>
429
+ </SubElm>
430
+ <SubElm>SKL</SubElm>
431
+ <SubElm>SST</SubElm>
432
+ </Elm>
433
+ </xsl:if>
434
+ </ADR>
435
+ <xsl:if test="count(m:EmailIdentifier)>0">
436
+ <COM>
437
+ <Elm>
438
+ <SubElm>
439
+ <xsl:value-of select="m:EmailIdentifier"/>
440
+ </SubElm>
441
+ <SubElm>
442
+ <xsl:variable name="ES" select="m:EmailStatus"/>
443
+ <xsl:choose>
444
+ <xsl:when test="$ES='permanent' ">PEM</xsl:when>
445
+ <xsl:when test="$ES='midlertidig' ">TEM</xsl:when>
446
+ <xsl:otherwise>
447
+ <FEJL>Kan ikke oversætte EmailStatus: <xsl:value-of select="$ES"/>
448
+ </FEJL>
449
+ </xsl:otherwise>
450
+ </xsl:choose>
451
+ </SubElm>
452
+ </Elm>
453
+ </COM>
454
+ </xsl:if>
455
+ <xsl:if test="count(m:PatientDateOfBirth)>0">
456
+ <DTM>
457
+ <Elm>
458
+ <SubElm>329</SubElm>
459
+ <SubElm>
460
+ <xsl:call-template name="DateToDTM102">
461
+ <xsl:with-param name="D" select="m:PatientDateOfBirth"/>
462
+ </xsl:call-template>
463
+ </SubElm>
464
+ <SubElm>102</SubElm>
465
+ </Elm>
466
+ </DTM>
467
+ </xsl:if>
468
+ <xsl:if test="count(m:PatientSex)>0">
469
+ <PDI>
470
+ <Elm>
471
+ <SubElm>
472
+ <xsl:variable name="PS" select="m:PatientSex"/>
473
+ <xsl:choose>
474
+ <xsl:when test="$PS='hankoen' ">1</xsl:when>
475
+ <xsl:when test="$PS='hunkoen' ">2</xsl:when>
476
+ <xsl:otherwise>
477
+ <FEJL>Ukendt PatientSex: <xsl:value-of select="$PS"/>
478
+ </FEJL>
479
+ </xsl:otherwise>
480
+ </xsl:choose>
481
+ </SubElm>
482
+ </Elm>
483
+ </PDI>
484
+ </xsl:if>
485
+ </S03>
486
+ </xsl:for-each>
487
+ <xsl:for-each select="$Drugs">
488
+ <S04 hidden="true">
489
+ <LIN>
490
+ <Elm>
491
+ <SubElm>
492
+ <xsl:value-of select="position()"/>
493
+ </SubElm>
494
+ </Elm>
495
+ <Elm/>
496
+ <Elm>
497
+ <SubElm>
498
+ <xsl:value-of select="m:PackageIdentifier"/>
499
+ </SubElm>
500
+ <SubElm>AK</SubElm>
501
+ <SubElm>NVN</SubElm>
502
+ <SubElm>LMS</SubElm>
503
+ </Elm>
504
+ </LIN>
505
+ <IMD>
506
+ <Elm>
507
+ <SubElm>A</SubElm>
508
+ </Elm>
509
+ <Elm>
510
+ <SubElm>DNM</SubElm>
511
+ </Elm>
512
+ <Elm>
513
+ <SubElm/>
514
+ <SubElm/>
515
+ <SubElm/>
516
+ <SubElm>
517
+ <xsl:value-of select="m:NameOfDrug"/>
518
+ </SubElm>
519
+ </Elm>
520
+ </IMD>
521
+ <IMD>
522
+ <Elm>
523
+ <SubElm>A</SubElm>
524
+ </Elm>
525
+ <Elm>
526
+ <SubElm>DDP</SubElm>
527
+ </Elm>
528
+ <Elm>
529
+ <SubElm/>
530
+ <SubElm/>
531
+ <SubElm/>
532
+ <SubElm>
533
+ <xsl:value-of select="m:DosageForm"/>
534
+ </SubElm>
535
+ </Elm>
536
+ </IMD>
537
+ <MEA>
538
+ <Elm>
539
+ <SubElm>AAU</SubElm>
540
+ </Elm>
541
+ <Elm>
542
+ <SubElm>CT</SubElm>
543
+ <SubElm/>
544
+ <SubElm/>
545
+ <SubElm>
546
+ <xsl:value-of select="m:PackageSize"/>
547
+ </SubElm>
548
+ </Elm>
549
+ </MEA>
550
+ <xsl:if test="count(m:DrugStrength)>0">
551
+ <MEA>
552
+ <Elm>
553
+ <SubElm>DEN</SubElm>
554
+ </Elm>
555
+ <Elm>
556
+ <SubElm>S</SubElm>
557
+ <SubElm/>
558
+ <SubElm/>
559
+ <SubElm>
560
+ <xsl:value-of select="m:DrugStrength"/>
561
+ </SubElm>
562
+ </Elm>
563
+ </MEA>
564
+ </xsl:if>
565
+ <xsl:if test="count(m:SubstitutionCode)>0">
566
+ <PGI>
567
+ <Elm>
568
+ <SubElm>10</SubElm>
569
+ </Elm>
570
+ <Elm>
571
+ <SubElm>
572
+ <xsl:variable name="Subst" select="m:SubstitutionCode"/>
573
+ <xsl:choose>
574
+ <!--<xsl:when test="$Subst='ikke_analog_substitution'">NA</xsl:when> Bruges ikke endnu-->
575
+ <xsl:when test="$Subst='ikke_generisk_substitution'">NG</xsl:when>
576
+ <xsl:when test="$Subst='ikke_original_substitution'">NO</xsl:when>
577
+ <xsl:when test="$Subst='ikke_substitution'">NS</xsl:when>
578
+ <xsl:otherwise>
579
+ <FEJL>Ukendt SubstitutionCode: <xsl:value-of select="$Subst"/>
580
+ </FEJL>
581
+ </xsl:otherwise>
582
+ </xsl:choose>
583
+ </SubElm>
584
+ <SubElm>SKL</SubElm>
585
+ <SubElm>SST</SubElm>
586
+ </Elm>
587
+ </PGI>
588
+ </xsl:if>
589
+ <QTY>
590
+ <Elm>
591
+ <SubElm>189</SubElm>
592
+ <SubElm>
593
+ <xsl:value-of select="m:NumberOfPackings"/>
594
+ </SubElm>
595
+ <SubElm>NMB</SubElm>
596
+ </Elm>
597
+ </QTY>
598
+ <xsl:for-each select="m:Importer/m:ShortName">
599
+ <PNA>
600
+ <Elm>
601
+ <SubElm>GZ</SubElm>
602
+ </Elm>
603
+ <Elm/>
604
+ <Elm/>
605
+ <Elm/>
606
+ <Elm/>
607
+ <Elm>
608
+ <SubElm>AB</SubElm>
609
+ <SubElm>
610
+ <xsl:value-of select="."/>
611
+ </SubElm>
612
+ </Elm>
613
+ </PNA>
614
+ </xsl:for-each>
615
+ <xsl:for-each select="m:Importer/m:LongName">
616
+ <PNA>
617
+ <Elm>
618
+ <SubElm>GZ</SubElm>
619
+ </Elm>
620
+ <Elm/>
621
+ <Elm/>
622
+ <Elm/>
623
+ <Elm/>
624
+ <Elm>
625
+ <SubElm>US</SubElm>
626
+ <SubElm>
627
+ <xsl:value-of select="."/>
628
+ </SubElm>
629
+ </Elm>
630
+ </PNA>
631
+ </xsl:for-each>
632
+ <!-- ReimbursementClause -->
633
+ <xsl:for-each select="m:ReimbursementClause">
634
+ <ALC>
635
+ <Elm>
636
+ <SubElm>H</SubElm>
637
+ </Elm>
638
+ <Elm>
639
+ <SubElm/>
640
+ <SubElm>
641
+ <xsl:variable name="RC" select="."/>
642
+ <xsl:choose>
643
+ <xsl:when test="$RC='klausulbetingelse_opfyldt'">CLA</xsl:when>
644
+ <xsl:when test="$RC='varig_lidelse'">CRD</xsl:when>
645
+ <xsl:when test="$RC='pensionist'">PEN</xsl:when>
646
+ <xsl:when test="$RC='bevilling_fra_laegemiddelstyrelsen'">SPG</xsl:when>
647
+ <xsl:otherwise>
648
+ <FEJL>Ukendt ReimbursementClause: <xsl:value-of select="$RC"/>
649
+ </FEJL>
650
+ </xsl:otherwise>
651
+ </xsl:choose>
652
+ </SubElm>
653
+ </Elm>
654
+ </ALC>
655
+ </xsl:for-each>
656
+ <CIN>
657
+ <Elm>
658
+ <SubElm>9</SubElm>
659
+ </Elm>
660
+ <Elm>
661
+ <SubElm>
662
+ <xsl:value-of select="m:Indication/m:Code"/>
663
+ </SubElm>
664
+ <SubElm>
665
+ <xsl:if test="count(m:Indication/m:Code)>0">LDD</xsl:if>
666
+ </SubElm>
667
+ <SubElm>
668
+ <xsl:if test="count(m:Indication/m:Code)>0">LMS</xsl:if>
669
+ </SubElm>
670
+ <SubElm>
671
+ <xsl:value-of select="m:Indication/m:Text"/>
672
+ </SubElm>
673
+ </Elm>
674
+ </CIN>
675
+ <xsl:for-each select="m:Iteration">
676
+ <S06 hidden="true">
677
+ <EQN>
678
+ <Elm>
679
+ <SubElm>
680
+ <xsl:value-of select="m:Number"/>
681
+ </SubElm>
682
+ <SubElm>ITE</SubElm>
683
+ </Elm>
684
+ </EQN>
685
+ <DTM>
686
+ <Elm>
687
+ <SubElm>264</SubElm>
688
+ <SubElm>
689
+ <xsl:value-of select="m:Interval"/>
690
+ </SubElm>
691
+ <SubElm>
692
+ <xsl:variable name="IU" select="m:IntervalUnit"/>
693
+ <xsl:choose>
694
+ <xsl:when test="$IU='maaned'">802</xsl:when>
695
+ <xsl:when test="$IU='uge'">803</xsl:when>
696
+ <xsl:when test="$IU='dag'">804</xsl:when>
697
+ <xsl:otherwise>
698
+ <FEJL>Ukendt IntervalUnit <xsl:value-of select="$IU"/>
699
+ </FEJL>
700
+ </xsl:otherwise>
701
+ </xsl:choose>
702
+ </SubElm>
703
+ </Elm>
704
+ </DTM>
705
+ </S06>
706
+ </xsl:for-each>
707
+ <S07 hidden="true">
708
+ <xsl:for-each select="m:Dosage">
709
+ <DSG>
710
+ <Elm>
711
+ <SubElm>5</SubElm>
712
+ </Elm>
713
+ <Elm>
714
+ <SubElm>
715
+ <xsl:value-of select="m:DosageCode"/>
716
+ </SubElm>
717
+ <SubElm>
718
+ <xsl:if test="count(m:DosageCode)>0">LDD</xsl:if>
719
+ </SubElm>
720
+ <SubElm>
721
+ <xsl:if test="count(m:DosageCode)>0">LMS</xsl:if>
722
+ </SubElm>
723
+ <SubElm>
724
+ <xsl:value-of select="m:DosageText"/>
725
+ </SubElm>
726
+ </Elm>
727
+ </DSG>
728
+ <xsl:if test="count(m:Period)+count(m:PeriodUnit)>0">
729
+ <DTM>
730
+ <Elm>
731
+ <SubElm>48</SubElm>
732
+ <SubElm>
733
+ <xsl:value-of select="m:Period"/>
734
+ </SubElm>
735
+ <SubElm>
736
+ <xsl:variable name="PU" select="m:PeriodUnit"/>
737
+ <xsl:choose>
738
+ <!-- <xsl:when test="$PU='maaned'">802</xsl:when>-->
739
+ <xsl:when test="$PU='uge'">803</xsl:when>
740
+ <xsl:when test="$PU='dag'">804</xsl:when>
741
+ <xsl:otherwise>
742
+ <FEJL>Ukendt PeriodUnit <xsl:value-of select="$PU"/>
743
+ </FEJL>
744
+ </xsl:otherwise>
745
+ </xsl:choose>
746
+ </SubElm>
747
+ </Elm>
748
+ </DTM>
749
+ </xsl:if>
750
+ </xsl:for-each>
751
+ <xsl:for-each select="m:DoseDispensing">
752
+ <xsl:if test="m:StartDate">
753
+ <DTM>
754
+ <Elm>
755
+ <SubElm>90</SubElm>
756
+ <SubElm>
757
+ <xsl:call-template name="DateToDTM102">
758
+ <xsl:with-param name="D" select="m:StartDate"/>
759
+ </xsl:call-template>
760
+ </SubElm>
761
+ <SubElm>102</SubElm>
762
+ </Elm>
763
+ </DTM>
764
+ </xsl:if>
765
+ <DTM>
766
+ <Elm>
767
+ <SubElm>91</SubElm>
768
+ <SubElm>
769
+ <xsl:call-template name="DateToDTM102">
770
+ <xsl:with-param name="D" select="m:EndDate"/>
771
+ </xsl:call-template>
772
+ </SubElm>
773
+ <SubElm>102</SubElm>
774
+ </Elm>
775
+ </DTM>
776
+ </xsl:for-each>
777
+ <xsl:for-each select="m:SupplementaryInformation">
778
+ <FTX>
779
+ <Elm>
780
+ <SubElm>ACF</SubElm>
781
+ </Elm>
782
+ <Elm/>
783
+ <Elm/>
784
+ <Elm>
785
+ <SubElm>
786
+ <xsl:value-of select="."/>
787
+ </SubElm>
788
+ </Elm>
789
+ </FTX>
790
+ </xsl:for-each>
791
+ </S07>
792
+ </S04>
793
+ </xsl:for-each>
794
+ <xsl:for-each select="$PreInfo/m:Delivery">
795
+ <S08 hidden="true">
796
+ <TOD>
797
+ <Elm>
798
+ <SubElm>2</SubElm>
799
+ </Elm>
800
+ <Elm/>
801
+ <Elm>
802
+ <SubElm>
803
+ <xsl:variable name="POD" select="m:PriorityOfDelivery"/>
804
+ <xsl:choose>
805
+ <xsl:when test="$POD='send_til_anden_adresse_samme_dag'">OAD</xsl:when>
806
+ <xsl:when test="$POD='send_til_anden_adresse_pr_post'">OAM</xsl:when>
807
+ <xsl:when test="$POD='send_til_patientadresse_samme_dag'">PAD</xsl:when>
808
+ <xsl:when test="$POD='send_til_patientadresse_pr_post'">PAM</xsl:when>
809
+ <xsl:otherwise>
810
+ <FEJL>Ukendt PriorityOfDelivery: <xsl:value-of select="$POD"/>
811
+ </FEJL>
812
+ </xsl:otherwise>
813
+ </xsl:choose>
814
+ </SubElm>
815
+ <SubElm>SKL</SubElm>
816
+ <SubElm>SST</SubElm>
817
+ </Elm>
818
+ </TOD>
819
+ <xsl:if test="count(m:StreetName)>0 or (count(m:PostCodeIdentifier)>0 and count(m:PseudoAddress)=0)">
820
+ <ADR>
821
+ <Elm>
822
+ <SubElm>5</SubElm>
823
+ </Elm>
824
+ <Elm>
825
+ <xsl:if test="count(m:StreetName)>0">
826
+ <SubElm>1</SubElm>
827
+ <SubElm>
828
+ <xsl:value-of select="m:StreetName"/>
829
+ </SubElm>
830
+ </xsl:if>
831
+ </Elm>
832
+ <Elm/>
833
+ <Elm>
834
+ <SubElm>
835
+ <xsl:value-of select="m:PostCodeIdentifier"/>
836
+ </SubElm>
837
+ </Elm>
838
+ </ADR>
839
+ </xsl:if>
840
+ <xsl:if test="count(m:PseudoAddress)>0">
841
+ <ADR>
842
+ <Elm>
843
+ <SubElm>5</SubElm>
844
+ </Elm>
845
+ <Elm>
846
+ <SubElm>US</SubElm>
847
+ <SubElm>
848
+ <xsl:value-of select="m:PseudoAddress"/>
849
+ </SubElm>
850
+ </Elm>
851
+ <Elm/>
852
+ <Elm>
853
+ <SubElm>
854
+ <xsl:value-of select="m:PostCodeIdentifier"/>
855
+ </SubElm>
856
+ </Elm>
857
+ </ADR>
858
+ </xsl:if>
859
+ <xsl:for-each select="m:ContactName">
860
+ <PNA>
861
+ <Elm>
862
+ <SubElm>AB</SubElm>
863
+ </Elm>
864
+ <Elm/>
865
+ <Elm/>
866
+ <Elm/>
867
+ <Elm/>
868
+ <Elm>
869
+ <SubElm>US</SubElm>
870
+ <SubElm>
871
+ <xsl:value-of select="."/>
872
+ </SubElm>
873
+ </Elm>
874
+ </PNA>
875
+ </xsl:for-each>
876
+ </S08>
877
+ </xsl:for-each>
878
+ <!-- <Elm>
879
+ <SubElm>01</SubElm>
880
+ </Elm>
881
+ <NAD>
882
+ <Elm>
883
+ <SubElm>PO</SubElm>
884
+ </Elm>
885
+ <Elm>
886
+ <SubElm>
887
+ <xsl:value-of select="$Participant/m:Identifier"/>
888
+ </SubElm>
889
+ <SubElm>
890
+ <xsl:variable name="IC" select="$Participant/m:IdentifierCode"/>
891
+ <xsl:choose>
892
+ <xsl:when test="$IC='sygehusafdelingsnummer' ">SKS</xsl:when>
893
+ <xsl:when test="$IC='ydernummer' ">YNR</xsl:when>
894
+ <xsl:when test="$IC='lokationsnummer' "></xsl:when>
895
+ <xsl:when test="count($IC)=0"/>
896
+ <xsl:when test="$IC='kommunenummer' ">KOM</xsl:when>
897
+ <xsl:when test="$IC='sorkode'">SOR</xsl:when>
898
+ <xsl:otherwise>
899
+ <FEJL>Kan ikke oversætte IdentifierCodeType: <xsl:value-of select="$IC"/>
900
+ </FEJL>
901
+ </xsl:otherwise>
902
+ </xsl:choose>
903
+ </SubElm>
904
+ <SubElm>
905
+ <xsl:variable name="IC" select="$Participant/m:IdentifierCode"/>
906
+ <xsl:choose>
907
+ <xsl:when test="$IC='sygehusafdelingsnummer' ">SST</xsl:when>
908
+ <xsl:when test="$IC='ydernummer' ">SFU</xsl:when>
909
+ <xsl:when test="$IC='lokationsnummer' ">9</xsl:when>
910
+ <xsl:when test="count($IC)=0">9</xsl:when>
911
+ <xsl:when test="$IC='kommunenummer' ">IM</xsl:when>
912
+ <xsl:when test="$IC='sorkode'">SST</xsl:when>
913
+ <xsl:otherwise>
914
+ <FEJL>Kan ikke oversætte IdentifierCodeType: <xsl:value-of select="$IC"/>
915
+ </FEJL>
916
+ </xsl:otherwise>
917
+ </xsl:choose>
918
+ </SubElm>
919
+ </Elm>
920
+ <Elm/>
921
+ <Elm>
922
+ <SubElm>
923
+ <xsl:if test="count($Participant/m:OrganisationName)=1">
924
+ <xsl:value-of select="$Participant/m:OrganisationName"/>
925
+ </xsl:if>
926
+ <xsl:if test="count($Participant/m:OrganisationName)=0">_</xsl:if>
927
+ </SubElm>
928
+ <SubElm>
929
+ <xsl:value-of select="$Participant/m:DepartmentName"/>
930
+ </SubElm>
931
+ <SubElm>
932
+ <xsl:value-of select="$Participant/m:UnitName"/>
933
+ </SubElm>
934
+ <SubElm/>
935
+ <SubElm/>
936
+ <SubElm>US</SubElm>
937
+ </Elm>
938
+ </NAD>
939
+ -->
940
+ <!-- Standard for ADR segments -->
941
+ <!-- <xsl:variable name="Adr" select="$Participant"/>
942
+ <xsl:if test="count($Adr/m:StreetName)+count($Adr/m:SuburbName)+count($Adr/m:DistrictName)+count($Adr/m:PostCodeIdentifier)>0">
943
+ <ADR>
944
+ <Elm/>
945
+ <Elm>
946
+ <SubElm>US</SubElm>
947
+ <SubElm>
948
+ <xsl:value-of select="$Adr//m:StreetName"/>
949
+ </SubElm>
950
+ <SubElm>
951
+ <xsl:value-of select="$Adr/m:SuburbName"/>
952
+ </SubElm>
953
+ </Elm>
954
+ <Elm>
955
+ <SubElm>
956
+ <xsl:value-of select="$Adr/m:DistrictName"/>
957
+ </SubElm>
958
+ </Elm>
959
+ <Elm>
960
+ <SubElm>
961
+ <xsl:value-of select="$Adr/m:PostCodeIdentifier"/>
962
+ </SubElm>
963
+ </Elm>
964
+ </ADR>
965
+ </xsl:if>
966
+ <SEQ>
967
+ <Elm/>
968
+ <Elm>
969
+ <SubElm>2</SubElm>
970
+ </Elm>
971
+ </SEQ>
972
+ </S01>
973
+ -->
974
+ <!-- CCReceiver -->
975
+ <!-- <xsl:if test="count($CCReceiver)=1">
976
+ <S01>
977
+ <xsl:variable name="Participant" select="$CCReceiver"/>
978
+ <Elm>
979
+ <SubElm>01</SubElm>
980
+ </Elm>
981
+ <NAD>
982
+ <Elm>
983
+ <SubElm>CCR</SubElm>
984
+ </Elm>
985
+ <Elm>
986
+ <SubElm>
987
+ <xsl:value-of select="$Participant/m:Identifier"/>
988
+ </SubElm>
989
+ <SubElm>
990
+ <xsl:variable name="IC" select="$Participant/m:IdentifierCode"/>
991
+ <xsl:choose>
992
+ <xsl:when test="$IC='sygehusafdelingsnummer' ">SKS</xsl:when>
993
+ <xsl:when test="$IC='ydernummer' ">YNR</xsl:when>
994
+ <xsl:when test="$IC='lokationsnummer' "></xsl:when>
995
+ <xsl:when test="count($IC)=0 "/>
996
+ <xsl:when test="$IC='kommunenummer' ">KOM</xsl:when>
997
+ <xsl:when test="$IC='sorkode'">SOR</xsl:when>
998
+ <xsl:otherwise>
999
+ <FEJL>Kan ikke oversætte IdentifierCodeType: <xsl:value-of select="$IC"/>
1000
+ </FEJL>
1001
+ </xsl:otherwise>
1002
+ </xsl:choose>
1003
+ </SubElm>
1004
+ <SubElm>
1005
+ <xsl:variable name="IC" select="$Participant/m:IdentifierCode"/>
1006
+ <xsl:choose>
1007
+ <xsl:when test="$IC='sygehusafdelingsnummer' ">SST</xsl:when>
1008
+ <xsl:when test="$IC='ydernummer' ">SFU</xsl:when>
1009
+ <xsl:when test="$IC='lokationsnummer' ">9</xsl:when>
1010
+ <xsl:when test="count($IC)=0 ">9</xsl:when>
1011
+ <xsl:when test="$IC='kommunenummer' ">IM</xsl:when>
1012
+ <xsl:when test="$IC='sorkode'">SST</xsl:when>
1013
+ <xsl:otherwise>
1014
+ <FEJL>Kan ikke oversætte IdentifierCodeType: <xsl:value-of select="$IC"/>
1015
+ </FEJL>
1016
+ </xsl:otherwise>
1017
+ </xsl:choose>
1018
+ </SubElm>
1019
+ </Elm>
1020
+ <Elm/>
1021
+ <Elm>
1022
+ <SubElm>
1023
+ <xsl:if test="count($Participant/m:OrganisationName)=0">_</xsl:if>
1024
+ <xsl:value-of select="$Participant/m:OrganisationName"/>
1025
+ </SubElm>
1026
+ <SubElm>
1027
+ <xsl:value-of select="$Participant/m:DepartmentName"/>
1028
+ </SubElm>
1029
+ <SubElm>
1030
+ <xsl:value-of select="$Participant/m:UnitName"/>
1031
+ </SubElm>
1032
+ <SubElm/>
1033
+ <SubElm/>
1034
+ <SubElm>US</SubElm>
1035
+ </Elm>
1036
+ </NAD>
1037
+ -->
1038
+ <!-- Standard for ADR segments -->
1039
+ <!-- <xsl:variable name="Adr" select="$Participant"/>
1040
+ <xsl:if test="count($Adr/m:StreetName)+count($Adr/m:SuburbName)+count($Adr/m:DistrictName)+count($Adr/m:PostCodeIdentifier)>0">
1041
+ <ADR>
1042
+ <Elm/>
1043
+ <Elm>
1044
+ <SubElm>US</SubElm>
1045
+ <SubElm>
1046
+ <xsl:value-of select="$Adr//m:StreetName"/>
1047
+ </SubElm>
1048
+ <SubElm>
1049
+ <xsl:value-of select="$Adr/m:SuburbName"/>
1050
+ </SubElm>
1051
+ </Elm>
1052
+ <Elm>
1053
+ <SubElm>
1054
+ <xsl:value-of select="$Adr/m:DistrictName"/>
1055
+ </SubElm>
1056
+ </Elm>
1057
+ <Elm>
1058
+ <SubElm>
1059
+ <xsl:value-of select="$Adr/m:PostCodeIdentifier"/>
1060
+ </SubElm>
1061
+ </Elm>
1062
+ </ADR>
1063
+ </xsl:if>
1064
+ <SEQ>
1065
+ <Elm/>
1066
+ <Elm>
1067
+ <SubElm>3</SubElm>
1068
+ </Elm>
1069
+ </SEQ>
1070
+ </S01>
1071
+ </xsl:if>
1072
+ <xsl:if test="count($Contact)=1">
1073
+ <S01>
1074
+ <xsl:variable name="Participant" select="$Contact"/>
1075
+ <Elm>
1076
+ <SubElm>01</SubElm>
1077
+ </Elm>
1078
+ <NAD>
1079
+ <Elm>
1080
+ <SubElm>RSP</SubElm>
1081
+ </Elm>
1082
+ <Elm>
1083
+ <SubElm>
1084
+ <xsl:value-of select="$Participant/m:Identifier"/>
1085
+ </SubElm>
1086
+ <SubElm>
1087
+ <xsl:variable name="IC" select="$Participant/m:IdentifierCode"/>
1088
+ <xsl:choose>
1089
+ <xsl:when test="$IC='sygehusafdelingsnummer' ">SKS</xsl:when>
1090
+ <xsl:when test="$IC='ydernummer' ">YNR</xsl:when>
1091
+ <xsl:when test="$IC='lokationsnummer' "></xsl:when>
1092
+ <xsl:when test="count($IC)=0"/>
1093
+ <xsl:when test="$IC='kommunenummer' ">KOM</xsl:when>
1094
+ <xsl:when test="$IC='sorkode'">SOR</xsl:when>
1095
+ <xsl:otherwise>
1096
+ <FEJL>
1097
+ Kan ikke oversætte IdentifierCodeType: <xsl:value-of select="$IC"/>
1098
+ </FEJL>
1099
+ </xsl:otherwise>
1100
+ </xsl:choose>
1101
+ </SubElm>
1102
+ <SubElm>
1103
+ <xsl:variable name="IC" select="$Participant/m:IdentifierCode"/>
1104
+ <xsl:choose>
1105
+ <xsl:when test="$IC='sygehusafdelingsnummer' ">SST</xsl:when>
1106
+ <xsl:when test="$IC='ydernummer' ">SFU</xsl:when>
1107
+ <xsl:when test="$IC='lokationsnummer' ">9</xsl:when>
1108
+ <xsl:when test="count($IC)=0 ">9</xsl:when>
1109
+ <xsl:when test="$IC='kommunenummer' ">IM</xsl:when>
1110
+ <xsl:when test="$IC='sorkode'">SST</xsl:when>
1111
+ <xsl:otherwise>
1112
+ <FEJL>Kan ikke oversætte IdentifierCodeType: <xsl:value-of select="$IC"/>
1113
+ </FEJL>
1114
+ </xsl:otherwise>
1115
+ </xsl:choose>
1116
+ </SubElm>
1117
+ </Elm>
1118
+ <Elm/>
1119
+ <Elm>
1120
+ <SubElm>
1121
+ <xsl:if test="count($Participant/m:OrganisationName)=0">_</xsl:if>
1122
+ <xsl:value-of select="$Participant/m:OrganisationName"/>
1123
+ </SubElm>
1124
+ <SubElm>
1125
+ <xsl:value-of select="$Participant/m:DepartmentName"/>
1126
+ </SubElm>
1127
+ <SubElm>
1128
+ <xsl:value-of select="$Participant/m:UnitName"/>
1129
+ </SubElm>
1130
+ <SubElm/>
1131
+ <SubElm/>
1132
+ <SubElm>US</SubElm>
1133
+ </Elm>
1134
+ </NAD>
1135
+ <SEQ>
1136
+ <Elm/>
1137
+ <Elm>
1138
+ <SubElm>
1139
+ <xsl:if test="count($CCReceiver)=0">3</xsl:if>
1140
+ <xsl:if test="count($CCReceiver)=1">4</xsl:if>
1141
+ </SubElm>
1142
+ </Elm>
1143
+ </SEQ>
1144
+ </S01>
1145
+ </xsl:if>
1146
+ <S02>
1147
+ <Elm>
1148
+ <SubElm>02</SubElm>
1149
+ </Elm>
1150
+ <GIS>
1151
+ <Elm>
1152
+ <SubElm>
1153
+ <xsl:variable name="C" select="$Letter/m:StatusCode"/>
1154
+ <xsl:choose>
1155
+ <xsl:when test="$C='nytbrev' ">N</xsl:when>
1156
+ <xsl:when test="$C='rettetbrev' ">M</xsl:when>
1157
+ <xsl:otherwise>
1158
+ <FEJL>
1159
+ Kan ikke oversaette fra StatusCode til GIS: <xsl:value-of select="$C"/>
1160
+ </FEJL>
1161
+ </xsl:otherwise>
1162
+ </xsl:choose>
1163
+ </SubElm>
1164
+ </Elm>
1165
+ </GIS>
1166
+ <RFF>
1167
+ <Elm>
1168
+ <SubElm>SRI</SubElm>
1169
+ <SubElm>
1170
+ <xsl:value-of select="$Letter/m:Identifier"/>
1171
+ </SubElm>
1172
+ </Elm>
1173
+ </RFF>
1174
+ <DTM>
1175
+ <Elm>
1176
+ <SubElm>182</SubElm>
1177
+ <SubElm>
1178
+ <xsl:call-template name="DateTimeToDTM203">
1179
+ <xsl:with-param name="DT" select="$Letter/m:Authorisation"/>
1180
+ </xsl:call-template>
1181
+ </SubElm>
1182
+ <SubElm>203</SubElm>
1183
+ </Elm>
1184
+ </DTM>
1185
+ </S02>
1186
+ -->
1187
+ <!-- Referral -->
1188
+ <!-- <xsl:if test="count($Referral)=1">
1189
+ <S05>
1190
+ <Elm>
1191
+ <SubElm>05</SubElm>
1192
+ </Elm>
1193
+ <GIS>
1194
+ <Elm>
1195
+ <SubElm>N</SubElm>
1196
+ </Elm>
1197
+ </GIS>
1198
+ <xsl:if test="count($Referral/m:Identifier)=1">
1199
+ <RFF>
1200
+ <Elm>
1201
+ <SubElm>ROI</SubElm>
1202
+ <SubElm>
1203
+ <xsl:value-of select="$Referral/m:Identifier"/>
1204
+ </SubElm>
1205
+ </Elm>
1206
+ </RFF>
1207
+ </xsl:if>
1208
+ <xsl:if test="count($Referral/m:Received)=1">
1209
+ <DTM>
1210
+ <Elm>
1211
+ <SubElm>8</SubElm>
1212
+ <SubElm>
1213
+ <xsl:call-template name="DateTimeToDTM203">
1214
+ <xsl:with-param name="DT" select="$Referral/m:Received"/>
1215
+ </xsl:call-template>
1216
+ </SubElm>
1217
+ <SubElm>203</SubElm>
1218
+ </Elm>
1219
+ </DTM>
1220
+ </xsl:if>
1221
+ <CIN>
1222
+ <xsl:variable name="Diagnose" select="$RefDiag"/>
1223
+ <Elm>
1224
+ <SubElm>DI</SubElm>
1225
+ </Elm>
1226
+ <Elm>
1227
+ <SubElm>
1228
+ <xsl:value-of select="$Diagnose/m:DiagnoseCode"/>
1229
+ </SubElm>
1230
+ <SubElm>
1231
+ <xsl:variable name="DTC" select="$Diagnose/m:DiagnoseTypeCode"/>
1232
+ <xsl:choose>
1233
+ <xsl:when test="$DTC='SKSdiagnosekode' ">SKS</xsl:when>
1234
+ <xsl:when test="$DTC='uspecificeretkode' ">USP</xsl:when>
1235
+ <xsl:when test="$DTC='ICPCkode' ">ICP</xsl:when>
1236
+ <xsl:otherwise>
1237
+ <FEJL>Kan ikke oversætte DiagnoseTypeCode: <xsl:value-of select="$DTC"/>
1238
+ </FEJL>
1239
+ </xsl:otherwise>
1240
+ </xsl:choose>
1241
+ </SubElm>
1242
+ <SubElm>
1243
+ <xsl:variable name="DTC" select="$Diagnose/m:DiagnoseTypeCode"/>
1244
+ <xsl:choose>
1245
+ <xsl:when test="$DTC='SKSdiagnosekode' ">SST</xsl:when>
1246
+ <xsl:when test="$DTC='uspecificeretkode' "/>
1247
+ <xsl:when test="$DTC='ICPCkode' "/>
1248
+ <xsl:otherwise>
1249
+ <FEJL>Kan ikke oversætte DiagnoseTypeCode: <xsl:value-of select="$DTC"/>
1250
+ </FEJL>
1251
+ </xsl:otherwise>
1252
+ </xsl:choose>
1253
+ </SubElm>
1254
+ <SubElm>
1255
+ <xsl:value-of select="$Diagnose/m:DiagnoseText"/>
1256
+ </SubElm>
1257
+ </Elm>
1258
+ </CIN>
1259
+ <xsl:for-each select="$RefAddDiags">
1260
+ <CIN>
1261
+ <xsl:variable name="Diagnose" select="."/>
1262
+ <Elm>
1263
+ <SubElm>DM</SubElm>
1264
+ </Elm>
1265
+ <Elm>
1266
+ <SubElm>
1267
+ <xsl:value-of select="$Diagnose/m:DiagnoseCode"/>
1268
+ </SubElm>
1269
+ <SubElm>
1270
+ <xsl:variable name="DTC" select="$Diagnose/m:DiagnoseTypeCode"/>
1271
+ <xsl:choose>
1272
+ <xsl:when test="$DTC='SKSdiagnosekode' ">SKS</xsl:when>
1273
+ <xsl:when test="$DTC='uspecificeretkode' ">USP</xsl:when>
1274
+ <xsl:when test="$DTC='ICPCkode' ">ICP</xsl:when>
1275
+ <xsl:otherwise>
1276
+ <FEJL>Kan ikke oversætte DiagnoseTypeCode: <xsl:value-of select="$DTC"/>
1277
+ </FEJL>
1278
+ </xsl:otherwise>
1279
+ </xsl:choose>
1280
+ </SubElm>
1281
+ <SubElm>
1282
+ <xsl:variable name="DTC" select="$Diagnose/m:DiagnoseTypeCode"/>
1283
+ <xsl:choose>
1284
+ <xsl:when test="$DTC='SKSdiagnosekode' ">SST</xsl:when>
1285
+ <xsl:when test="$DTC='uspecificeretkode' "/>
1286
+ <xsl:when test="$DTC='ICPCkode' "/>
1287
+ <xsl:otherwise>
1288
+ <FEJL>Kan ikke oversætte DiagnoseTypeCode: <xsl:value-of select="$DTC"/>
1289
+ </FEJL>
1290
+ </xsl:otherwise>
1291
+ </xsl:choose>
1292
+ </SubElm>
1293
+ <SubElm>
1294
+ <xsl:value-of select="$Diagnose/m:DiagnoseText"/>
1295
+ </SubElm>
1296
+ </Elm>
1297
+ </CIN>
1298
+ </xsl:for-each>
1299
+ </S05>
1300
+ </xsl:if>
1301
+ -->
1302
+ <!-- Patient -->
1303
+ <!-- <S07>
1304
+ <xsl:if test="count($Patient//m:CivilRegistrationNumber)=1 and count($Patient/m:AlternativeIdentifier)=1">
1305
+ <FEJL>Patient kan ikke både have et CivilRegistrationNumber og et AlternativeIdentifier</FEJL>
1306
+ </xsl:if>
1307
+ <xsl:if test="count($Patient//m:CivilRegistrationNumber)=0 and count($Patient/m:AlternativeIdentifier)=0">
1308
+ <FEJL>Patient skal have et CivilRegistrationNumber eller et AlternativeIdentifier</FEJL>
1309
+ </xsl:if>
1310
+ <xsl:variable name="Person" select="$Patient"/>
1311
+ <Elm>
1312
+ <SubElm>07</SubElm>
1313
+ </Elm>
1314
+ <PNA>
1315
+ <Elm>
1316
+ <SubElm>PAT</SubElm>
1317
+ </Elm>
1318
+ <Elm>
1319
+ <xsl:if test="count($Patient/m:CivilRegistrationNumber)=1">
1320
+ <SubElm>
1321
+ <xsl:value-of select="$Patient/m:CivilRegistrationNumber"/>
1322
+ </SubElm>
1323
+ <SubElm/>
1324
+ <SubElm/>
1325
+ <SubElm>CPR</SubElm>
1326
+ <SubElm>IM</SubElm>
1327
+ </xsl:if>
1328
+ </Elm>
1329
+ <Elm/>
1330
+ <Elm/>
1331
+ <Elm>
1332
+ <SubElm>SU</SubElm>
1333
+ <SubElm>
1334
+ <xsl:value-of select="$Person/m:PersonSurnameName"/>
1335
+ </SubElm>
1336
+ </Elm>
1337
+ <Elm>
1338
+ <SubElm>
1339
+ <xsl:if test="count($Person/m:PersonGivenName)=1">FO</xsl:if>
1340
+ </SubElm>
1341
+ <SubElm>
1342
+ <xsl:value-of select="$Person/m:PersonGivenName"/>
1343
+ </SubElm>
1344
+ </Elm>
1345
+ </PNA>
1346
+ <xsl:if test="count($Patient/m:AlternativeIdentifier)=1">
1347
+ <RFF>
1348
+ <Elm>
1349
+ <SubElm>XPI</SubElm>
1350
+ <SubElm>
1351
+ <xsl:value-of select="$Patient/m:AlternativeIdentifier"/>
1352
+ </SubElm>
1353
+ </Elm>
1354
+ </RFF>
1355
+ </xsl:if>
1356
+ -->
1357
+ <!-- Standard for ADR segments -->
1358
+ <!-- <xsl:variable name="Adr" select="$Person"/>
1359
+ <xsl:if test="count($Adr/m:StreetName)+count($Adr/m:SuburbName)+count($Adr/m:DistrictName)+count($Adr/m:PostCodeIdentifier)>0">
1360
+ <ADR>
1361
+ <Elm/>
1362
+ <Elm>
1363
+ <SubElm>US</SubElm>
1364
+ <SubElm>
1365
+ <xsl:value-of select="$Adr//m:StreetName"/>
1366
+ </SubElm>
1367
+ <SubElm>
1368
+ <xsl:value-of select="$Adr/m:SuburbName"/>
1369
+ </SubElm>
1370
+ </Elm>
1371
+ <Elm>
1372
+ <SubElm>
1373
+ <xsl:value-of select="$Adr/m:DistrictName"/>
1374
+ </SubElm>
1375
+ </Elm>
1376
+ <Elm>
1377
+ <SubElm>
1378
+ <xsl:value-of select="$Adr/m:PostCodeIdentifier"/>
1379
+ </SubElm>
1380
+ </Elm>
1381
+ </ADR>
1382
+ </xsl:if>
1383
+ <xsl:if test="count($Patient/m:OccupancyText)=1">
1384
+ <EMP>
1385
+ <Elm>
1386
+ <SubElm>1</SubElm>
1387
+ </Elm>
1388
+ <Elm>
1389
+ </Elm>
1390
+ <Elm>
1391
+ <SubElm/>
1392
+ <SubElm/>
1393
+ <SubElm/>
1394
+ <SubElm>
1395
+ <xsl:value-of select="$Patient/m:OccupancyText"/>
1396
+ </SubElm>
1397
+ </Elm>
1398
+ </EMP>
1399
+ </xsl:if>
1400
+ </S07>
1401
+ -->
1402
+ <!-- Relative -->
1403
+ <!-- <xsl:for-each select="$Relatives">
1404
+ <S09>
1405
+ <xsl:variable name="Person" select="."/>
1406
+ <Elm>
1407
+ <SubElm>09</SubElm>
1408
+ </Elm>
1409
+ <REL>
1410
+ <Elm>
1411
+ <SubElm>PER</SubElm>
1412
+ </Elm>
1413
+ <Elm>
1414
+ <SubElm>
1415
+ <xsl:variable name="RC" select="m:RelationCode"/>
1416
+ <xsl:choose>
1417
+ <xsl:when test="$RC='uspec_paaroerende'">GU</xsl:when>
1418
+ <xsl:when test="$RC='mor'">MO</xsl:when>
1419
+ <xsl:when test="$RC='far'">FA</xsl:when>
1420
+ <xsl:when test="$RC='barn'">SD</xsl:when>
1421
+ <xsl:otherwise>
1422
+ <FEJL>Kan ikke oversætte kode for pårørende: <xsl:value-of select="$RC"/>
1423
+ </FEJL>
1424
+ </xsl:otherwise>
1425
+ </xsl:choose>
1426
+ </SubElm>
1427
+ </Elm>
1428
+ </REL>
1429
+ <PNA>
1430
+ <Elm>
1431
+ <SubElm>PAS</SubElm>
1432
+ </Elm>
1433
+ <Elm>
1434
+ <SubElm>
1435
+ <xsl:value-of select="m:PersonIdentifier"/>
1436
+ </SubElm>
1437
+ </Elm>
1438
+ <Elm/>
1439
+ <Elm/>
1440
+ <Elm>
1441
+ <SubElm>SU</SubElm>
1442
+ <SubElm>
1443
+ <xsl:value-of select="$Person/m:PersonSurnameName"/>
1444
+ </SubElm>
1445
+ </Elm>
1446
+ <Elm>
1447
+ <SubElm>
1448
+ <xsl:if test="count($Person/m:PersonGivenName)=1">FO</xsl:if>
1449
+ </SubElm>
1450
+ <SubElm>
1451
+ <xsl:value-of select="$Person/m:PersonGivenName"/>
1452
+ </SubElm>
1453
+ </Elm>
1454
+ </PNA>
1455
+ -->
1456
+ <!-- Standard for ADR segments -->
1457
+ <!-- <xsl:variable name="Adr" select="$Person"/>
1458
+ <xsl:if test="count($Adr/m:StreetName)+count($Adr/m:SuburbName)+count($Adr/m:DistrictName)+count($Adr/m:PostCodeIdentifier)>0">
1459
+ <ADR>
1460
+ <Elm/>
1461
+ <Elm>
1462
+ <SubElm>US</SubElm>
1463
+ <SubElm>
1464
+ <xsl:value-of select="$Adr//m:StreetName"/>
1465
+ </SubElm>
1466
+ <SubElm>
1467
+ <xsl:value-of select="$Adr/m:SuburbName"/>
1468
+ </SubElm>
1469
+ </Elm>
1470
+ <Elm>
1471
+ <SubElm>
1472
+ <xsl:value-of select="$Adr/m:DistrictName"/>
1473
+ </SubElm>
1474
+ </Elm>
1475
+ <Elm>
1476
+ <SubElm>
1477
+ <xsl:value-of select="$Adr/m:PostCodeIdentifier"/>
1478
+ </SubElm>
1479
+ </Elm>
1480
+ </ADR>
1481
+ </xsl:if>
1482
+ </S09>
1483
+ </xsl:for-each>
1484
+ -->
1485
+ <!-- -->
1486
+ <!-- <S11>
1487
+ <Elm>
1488
+ <SubElm>11</SubElm>
1489
+ </Elm>
1490
+ <GIS>
1491
+ <Elm>
1492
+ <SubElm>N</SubElm>
1493
+ </Elm>
1494
+ </GIS>
1495
+ <xsl:if test="count($Letter/m:EpisodeOfCareIdentifier)=1">
1496
+ <RFF>
1497
+ <Elm>
1498
+ <SubElm>REI</SubElm>
1499
+ <SubElm>
1500
+ <xsl:value-of select="$Letter/m:EpisodeOfCareIdentifier"/>
1501
+ </SubElm>
1502
+ </Elm>
1503
+ </RFF>
1504
+ </xsl:if>
1505
+ <xsl:if test="count($Letter/m:EpisodeOfCareIdentifier)=0">
1506
+ <RFF>
1507
+ <Elm>
1508
+ <SubElm>AHI</SubElm>
1509
+ <SubElm>1</SubElm>
1510
+ </Elm>
1511
+ </RFF>
1512
+ </xsl:if>
1513
+ <SEQ>
1514
+ <Elm/>
1515
+ <Elm>
1516
+ <SubElm>1</SubElm>
1517
+ </Elm>
1518
+ </SEQ>
1519
+ <xsl:if test="count($Admission)=1">
1520
+ <DTM>
1521
+ <Elm>
1522
+ <SubElm>90</SubElm>
1523
+ <SubElm>
1524
+ <xsl:call-template name="DateTimeToDTM203">
1525
+ <xsl:with-param name="DT" select="$Admission"/>
1526
+ </xsl:call-template>
1527
+ </SubElm>
1528
+ <SubElm>203</SubElm>
1529
+ </Elm>
1530
+ </DTM>
1531
+ </xsl:if>
1532
+ <xsl:if test="count($Discharge)=1">
1533
+ <DTM>
1534
+ <Elm>
1535
+ <SubElm>91</SubElm>
1536
+ <SubElm>
1537
+ <xsl:call-template name="DateTimeToDTM203">
1538
+ <xsl:with-param name="DT" select="$Discharge"/>
1539
+ </xsl:call-template>
1540
+ </SubElm>
1541
+ <SubElm>203</SubElm>
1542
+ </Elm>
1543
+ </DTM>
1544
+ </xsl:if>
1545
+ <PAS>
1546
+ <Elm>
1547
+ <SubElm>
1548
+ <xsl:variable name="EOCSC" select="$Patient/m:EpisodeOfCareStatusCode"/>
1549
+ <xsl:choose>
1550
+ <xsl:when test="count($EOCSC)=0 ">POT</xsl:when>
1551
+ <xsl:when test="$EOCSC='inaktiv' ">POT</xsl:when>
1552
+ <xsl:when test="$EOCSC='indlagt' ">HS</xsl:when>
1553
+ <xsl:when test="$EOCSC='ambulant' ">HA</xsl:when>
1554
+ <xsl:when test="$EOCSC='doed' ">DA</xsl:when>
1555
+ <xsl:when test="$EOCSC='ambulant_roentgen' ">REQ</xsl:when>
1556
+ <xsl:otherwise>
1557
+ <FEJL>Kan ikke oversaette til EpisodeOfCareStatusCode: <xsl:value-of select="$EOCSC"/>
1558
+ </FEJL>
1559
+ </xsl:otherwise>
1560
+ </xsl:choose>
1561
+ </SubElm>
1562
+ </Elm>
1563
+ </PAS>
1564
+ <xsl:if test="count($MainDiag)=1">
1565
+ <CIN>
1566
+ <xsl:variable name="Diagnose" select="$MainDiag"/>
1567
+ <Elm>
1568
+ <SubElm>A</SubElm>
1569
+ </Elm>
1570
+ <Elm>
1571
+ <SubElm>
1572
+ <xsl:value-of select="$Diagnose/m:DiagnoseCode"/>
1573
+ </SubElm>
1574
+ <SubElm>SKS</SubElm>
1575
+ <SubElm>SST</SubElm>
1576
+ <SubElm>
1577
+ <xsl:value-of select="$Diagnose/m:DiagnoseText"/>
1578
+ </SubElm>
1579
+ </Elm>
1580
+ </CIN>
1581
+ </xsl:if>
1582
+ <xsl:for-each select="$MainAddDiags">
1583
+ <CIN>
1584
+ <xsl:variable name="Diagnose" select="."/>
1585
+ <Elm>
1586
+ <SubElm>DM</SubElm>
1587
+ </Elm>
1588
+ <Elm>
1589
+ <SubElm>
1590
+ <xsl:value-of select="$Diagnose/m:DiagnoseCode"/>
1591
+ </SubElm>
1592
+ <SubElm>SKS</SubElm>
1593
+ <SubElm>SST</SubElm>
1594
+ <SubElm>
1595
+ <xsl:value-of select="$Diagnose/m:DiagnoseText"/>
1596
+ </SubElm>
1597
+ </Elm>
1598
+ </CIN>
1599
+ </xsl:for-each>
1600
+ </S11>
1601
+ -->
1602
+ <!-- Other Diagnoses -->
1603
+ <!-- <xsl:for-each select="$OtherDiags">
1604
+ <S14>
1605
+ <xsl:variable name="Diagnose" select="."/>
1606
+ <Elm>
1607
+ <SubElm>14</SubElm>
1608
+ </Elm>
1609
+ <CIN>
1610
+ <Elm>
1611
+ <SubElm>
1612
+ <xsl:variable name="Desc" select="$Diagnose/m:DiagnoseDescriptionCode"/>
1613
+ <xsl:choose>
1614
+ <xsl:when test="$Desc='uspec_diagnose'">DI</xsl:when>
1615
+ <xsl:when test="$Desc='henv_diagnose'">H</xsl:when>
1616
+ <xsl:when test="$Desc='bidiagnose'">B</xsl:when>
1617
+ <xsl:when test="$Desc='tillaegsdiagnose'">DM</xsl:when>
1618
+ <xsl:when test="$Desc='aktionsdiagnose'">A</xsl:when>
1619
+ <xsl:when test="$Desc='grundmorbus'">G</xsl:when>
1620
+ <xsl:when test="$Desc='midlertidig_diagnose'">M</xsl:when>
1621
+ <xsl:when test="$Desc='forloebsdiagnose'">S</xsl:when>
1622
+ <xsl:when test="$Desc='operation'">TR</xsl:when>
1623
+ <xsl:when test="$Desc='roentgenundersoegelse'">IN</xsl:when>
1624
+ <xsl:otherwise>
1625
+ <FEJL>Kan ikke oversætte DiagnoseDescriptionCode: <xsl:value-of select="$Desc"/>
1626
+ </FEJL>
1627
+ </xsl:otherwise>
1628
+ </xsl:choose>
1629
+ </SubElm>
1630
+ </Elm>
1631
+ <Elm>
1632
+ <SubElm>
1633
+ <xsl:value-of select="$Diagnose/m:DiagnoseCode"/>
1634
+ </SubElm>
1635
+ <SubElm>
1636
+ <xsl:variable name="DTC" select="$Diagnose/m:DiagnoseTypeCode"/>
1637
+ <xsl:choose>
1638
+ <xsl:when test="$DTC='SKSdiagnosekode' ">SKS</xsl:when>
1639
+ <xsl:when test="$DTC='uspecificeretkode' ">USP</xsl:when>
1640
+ <xsl:when test="$DTC='ICPCkode' ">ICP</xsl:when>
1641
+ <xsl:otherwise>
1642
+ <FEJL>Kan ikke oversætte DiagnoseTypeCode: <xsl:value-of select="$DTC"/>
1643
+ </FEJL>
1644
+ </xsl:otherwise>
1645
+ </xsl:choose>
1646
+ </SubElm>
1647
+ <SubElm>
1648
+ <xsl:variable name="DTC" select="$Diagnose/m:DiagnoseTypeCode"/>
1649
+ <xsl:choose>
1650
+ <xsl:when test="$DTC='SKSdiagnosekode' ">SST</xsl:when>
1651
+ <xsl:when test="$DTC='uspecificeretkode' "/>
1652
+ <xsl:when test="$DTC='ICPCkode' "/>
1653
+ <xsl:otherwise>
1654
+ <FEJL>Kan ikke oversætte DiagnoseTypeCode: <xsl:value-of select="$DTC"/>
1655
+ </FEJL>
1656
+ </xsl:otherwise>
1657
+ </xsl:choose>
1658
+ </SubElm>
1659
+ <SubElm>
1660
+ <xsl:value-of select="$Diagnose/m:DiagnoseText"/>
1661
+ </SubElm>
1662
+ </Elm>
1663
+ </CIN>
1664
+ <xsl:if test="count($Diagnose/m:DiagnoseDateTime)=1">
1665
+ <DTM>
1666
+ <Elm>
1667
+ <SubElm>CIS</SubElm>
1668
+ <SubElm>
1669
+ <xsl:call-template name="DateTimeToDTM203">
1670
+ <xsl:with-param name="DT" select="$Diagnose/m:DiagnoseDateTime"/>
1671
+ </xsl:call-template>
1672
+ </SubElm>
1673
+ <SubElm>203</SubElm>
1674
+ </Elm>
1675
+ </DTM>
1676
+ </xsl:if>
1677
+ </S14>
1678
+ </xsl:for-each>
1679
+ <xsl:for-each select="$ClinInfos">
1680
+ <S14 maxOccurs="1">
1681
+ -->
1682
+ <!-- 1 gang for hver ClinicalInformation - 10 gange ialt -->
1683
+ <!-- <Elm>
1684
+ <SubElm>14</SubElm>
1685
+ </Elm>
1686
+ <xsl:if test="count(m:Signed)>0">
1687
+ <DTM>
1688
+ <Elm>
1689
+ <SubElm>CIC</SubElm>
1690
+ <SubElm>
1691
+ <xsl:call-template name="DateTimeToDTM203">
1692
+ <xsl:with-param name="DT" select="m:Signed"/>
1693
+ </xsl:call-template>
1694
+ </SubElm>
1695
+ <SubElm>203</SubElm>
1696
+ </Elm>
1697
+ </DTM>
1698
+ </xsl:if>
1699
+ <XFTX maxOccurs="9">
1700
+ <Elm>
1701
+ <SubElm>NC</SubElm>
1702
+ </Elm>
1703
+ <Elm/>
1704
+ <Elm/>
1705
+ <Elm>
1706
+ <SubElm>
1707
+ <xsl:copy-of select="m:Text01/text()|m:Text01/*"/>
1708
+ </SubElm>
1709
+ </Elm>
1710
+ </XFTX>
1711
+ </S14>
1712
+ </xsl:for-each>
1713
+ -->
1714
+ </BrevIndhold>
1715
+ <UNT>
1716
+ <Elm>
1717
+ <SubElm>1</SubElm>
1718
+ </Elm>
1719
+ <Elm>
1720
+ <SubElm>
1721
+ <xsl:value-of select="$Letter/m:Identifier"/>
1722
+ </SubElm>
1723
+ </Elm>
1724
+ </UNT>
1725
+ </Brev>
1726
+ </xsl:template>
1727
+ </xsl:stylesheet>