edifact_converter 2.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +36 -0
- data/Rakefile +11 -0
- data/bin/edifact_converter +55 -0
- data/data/configuration.json +447 -0
- data/data/configuration.yaml +284 -0
- data/data/remove_grouping.xsl +43 -0
- data/data/xml/Schemas/2004/06/01/B.xsd +112 -0
- data/data/xml/Schemas/2004/06/01/C1.xsd +121 -0
- data/data/xml/Schemas/2004/06/01/C2.xsd +121 -0
- data/data/xml/Schemas/2004/06/01/C3.xsd +83 -0
- data/data/xml/Schemas/2004/06/01/CCReceiver.xsd +19 -0
- data/data/xml/Schemas/2004/06/01/CVR/CVR_CVRNumber.xsd +14 -0
- data/data/xml/Schemas/2004/06/01/ClinicalTypes.xsd +64 -0
- data/data/xml/Schemas/2004/06/01/Collector.xsd +26 -0
- data/data/xml/Schemas/2004/06/01/Contact.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2004/06/01/Cpr/vssver.scc +0 -0
- data/data/xml/Schemas/2004/06/01/DKAddress.xsd +30 -0
- data/data/xml/Schemas/2004/06/01/Dkcc/DKCC.xsd +9 -0
- data/data/xml/Schemas/2004/06/01/Dkcc/DKCC_PersonGivenName.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
- data/data/xml/Schemas/2004/06/01/Dkcc/vssver.scc +0 -0
- data/data/xml/Schemas/2004/06/01/EMessage.xsd +105 -0
- data/data/xml/Schemas/2004/06/01/FormattedText.xsd +45 -0
- data/data/xml/Schemas/2004/06/01/GeneralElements.xsd +185 -0
- data/data/xml/Schemas/2004/06/01/GeneralTypes.xsd +265 -0
- data/data/xml/Schemas/2004/06/01/GeneraliseringsForsoeg.xsd +26 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ.xsd +11 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Aarsagstilknytning.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DAarsagRekurs.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DDelRekurs.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DFoelRekurs.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DNotatTilknytning.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_DPriorRekurs.xsd +24 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Datatyper.xsd +148 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Diagnose.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Diagnosestatus.xsd +11 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Diagnostiknotat.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Doedsattest.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_EksplicitIndberetning.xsd +23 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_EksternAarsag.xsd +23 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Evalueringsresultat.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_FastMedicinering.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Fokusering.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Forloeb.xsd +19 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_ForloebSymbolisering.xsd +25 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Forloebsansvar.xsd +21 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Formaal.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_GEpjRettelse.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_GEpjRettelse.~xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_GEpjStatus.xsd +18 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_GEpjStatus.~xsd +18 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Henvendelse.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_IDelRekurs.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_IFoelRekurs.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_INotatTilknytning.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_IPriorRekurs.xsd +20 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Indberetningsstatus.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Indikationstilknytning.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Ingrediens.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Intervention.xsd +25 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Interventionsnotat.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Interventionsresultat.xsd +27 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Interventionsstatus.xsd +19 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Journalfoeringskontekst.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Komplikationstilknytning.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Kontaktprioritet.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Kontekst.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_MaalTilknytning.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Medicinblanding.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Medicinering.xsd +26 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Medicinudlevering.xsd +22 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_OperationeltMaal.xsd +28 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Paaroerende.xsd +43 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Package.xsd +61 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Patient.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_PersonaleKontakt.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_PladsRessource.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Plejeansvar.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Skadesanmeldelse.xsd +20 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_SkemaMedicinering.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_SpontanHenvendelse.xsd +11 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_SpontantOpstaaetOplysning.xsd +24 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_StatusRettelse.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_StatusRettelse.~xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Tilstedevaerelse.xsd +11 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_UdfoerendePersonale.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_VariabelMedicinering.xsd +19 -0
- data/data/xml/Schemas/2004/06/01/Gepka/GEPJ_Vejledning.xsd +17 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Journalen/GEPJ_Interface_ordnet_status.xml +1018 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Journalen/GEPJ_Interface_ordnet_status.xsd +1018 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Journalen/vssver.scc +0 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/GEPJ_includer.xsd +34 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/GEPJ_journal_package.xsd +1034 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/RequestDatatyper.xsd +19 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentAktuelleForloebsdiagnoser.xsd +77 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentAktuelleInterventionsHierarkiroedder.xsd +196 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentDiagnoseNetvaerk.xsd +147 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentDiagnoseliste.xsd +53 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentDiagnostiknotater.xsd +72 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentDiagnostiskvejledning.xsd +49 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentEksplicitindberetninger.xsd +107 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentEksterneAarsager.xsd +72 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentEvalueringsresultater.xsd +92 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentFokuseredeOplysninger.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentForloeb.xsd +115 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentFormaal.xsd +46 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentGEpjObjekt.xsd +16 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentIndikationer.xsd +87 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentIndikeretIntervention.xsd +227 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsNetvaerk.xsd +260 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsliste.xsd +285 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsnotater.xsd +70 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsresultater.xsd +47 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentInterventionsvejledninger.xsd +49 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentJournal.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentKomplicerendeInterventioner.xsd +227 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentKomplikationer.xsd +87 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentMaal.xsd +70 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentPaaroerende.xsd +70 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentPatientId.xsd +47 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/hentSOO.xsd +70 -0
- data/data/xml/Schemas/2004/06/01/Gepka/Udveksling/vssver.scc +0 -0
- data/data/xml/Schemas/2004/06/01/Gepka/vssver.scc +0 -0
- data/data/xml/Schemas/2004/06/01/KL/KL_SENumberType.xsd +15 -0
- data/data/xml/Schemas/2004/06/01/LA121.xsd +96 -0
- data/data/xml/Schemas/2004/06/01/LA125.xsd +84 -0
- data/data/xml/Schemas/2004/06/01/LA141.xsd +96 -0
- data/data/xml/Schemas/2004/06/01/LA145.xsd +108 -0
- data/data/xml/Schemas/2004/06/01/LA165.xsd +101 -0
- data/data/xml/Schemas/2004/06/01/LA201.xsd +83 -0
- data/data/xml/Schemas/2004/06/01/LA205.xsd +113 -0
- data/data/xml/Schemas/2004/06/01/LA211.xsd +83 -0
- data/data/xml/Schemas/2004/06/01/LA215.xsd +102 -0
- data/data/xml/Schemas/2004/06/01/LA_Contact.xsd +22 -0
- data/data/xml/Schemas/2004/06/01/LA_MunicipalitySender.xsd +31 -0
- data/data/xml/Schemas/2004/06/01/LA_Patient.xsd +27 -0
- data/data/xml/Schemas/2004/06/01/LA_Sender.xsd +35 -0
- data/data/xml/Schemas/2004/06/01/LaboratoryRequest.xml +100 -0
- data/data/xml/Schemas/2004/06/01/LetterType.xsd +45 -0
- data/data/xml/Schemas/2004/06/01/M.xsd +405 -0
- data/data/xml/Schemas/2004/06/01/MicroBiologyTypes.xsd +79 -0
- data/data/xml/Schemas/2004/06/01/O.xsd +387 -0
- data/data/xml/Schemas/2004/06/01/P1.xsd +244 -0
- data/data/xml/Schemas/2004/06/01/P2.xsd +467 -0
- data/data/xml/Schemas/2004/06/01/P3.xsd +259 -0
- data/data/xml/Schemas/2004/06/01/P4.xsd +289 -0
- data/data/xml/Schemas/2004/06/01/Patient.xsd +22 -0
- data/data/xml/Schemas/2004/06/01/PatientAnalysisInfo.xsd +1 -0
- data/data/xml/Schemas/2004/06/01/Payer.xsd +28 -0
- data/data/xml/Schemas/2004/06/01/PaymentInformation.xsd +1 -0
- data/data/xml/Schemas/2004/06/01/Q1.xsd +238 -0
- data/data/xml/Schemas/2004/06/01/Q2.xsd +160 -0
- data/data/xml/Schemas/2004/06/01/Q3.xsd +252 -0
- data/data/xml/Schemas/2004/06/01/Q4.xsd +161 -0
- data/data/xml/Schemas/2004/06/01/R1.xsd +168 -0
- data/data/xml/Schemas/2004/06/01/R2.xsd +169 -0
- data/data/xml/Schemas/2004/06/01/Receiver.xsd +25 -0
- data/data/xml/Schemas/2004/06/01/Reference.xsd +32 -0
- data/data/xml/Schemas/2004/06/01/Referral.xsd +14 -0
- data/data/xml/Schemas/2004/06/01/Relative.xsd +18 -0
- data/data/xml/Schemas/2004/06/01/Sender.xsd +29 -0
- data/data/xml/Schemas/2004/06/01/ValueLists.xsd +459 -0
- data/data/xml/Schemas/2004/06/01/X1.xsd +71 -0
- data/data/xml/Schemas/2004/06/01/X13.xsd +81 -0
- data/data/xml/Schemas/2004/06/01/X14.xsd +94 -0
- data/data/xml/Schemas/2004/06/01/X17.xsd +89 -0
- data/data/xml/Schemas/2004/06/01/X19.xsd +135 -0
- data/data/xml/Schemas/2004/06/01/X2.xsd +71 -0
- data/data/xml/Schemas/2004/06/01/X20.xsd +89 -0
- data/data/xml/Schemas/2004/06/01/X3.xsd +71 -0
- data/data/xml/Schemas/2004/06/01/X5.xsd +71 -0
- data/data/xml/Schemas/2004/06/01/X91.xsd +94 -0
- data/data/xml/Schemas/2004/06/01/gen.html +7 -0
- data/data/xml/Schemas/2004/06/01/genhtml.xslt +25 -0
- data/data/xml/Schemas/2004/06/01/sletmig.xsd +21 -0
- data/data/xml/Schemas/2004/06/LA_Sender.xsd +36 -0
- data/data/xml/Schemas/2005/08/07/AnswerOfAdmission.xsd +94 -0
- data/data/xml/Schemas/2005/08/07/BinaryLetter.xsd +112 -0
- data/data/xml/Schemas/2005/08/07/BookingConfirmation.xsd +81 -0
- data/data/xml/Schemas/2005/08/07/CCReceiver.xsd +19 -0
- data/data/xml/Schemas/2005/08/07/CVR/CVR_CVRNumber.xsd +14 -0
- data/data/xml/Schemas/2005/08/07/CasualtyWardLetter.xsd +71 -0
- data/data/xml/Schemas/2005/08/07/CervixcytologyReport.xsd +259 -0
- data/data/xml/Schemas/2005/08/07/ClinicalEmail.xsd +94 -0
- data/data/xml/Schemas/2005/08/07/ClinicalTypes.xsd +64 -0
- data/data/xml/Schemas/2005/08/07/Collector.xsd +26 -0
- data/data/xml/Schemas/2005/08/07/Contact.xsd +15 -0
- data/data/xml/Schemas/2005/08/07/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2005/08/07/Cpr/vssver.scc +0 -0
- data/data/xml/Schemas/2005/08/07/DKAddress.xsd +30 -0
- data/data/xml/Schemas/2005/08/07/DiabetesReport.xsd +483 -0
- data/data/xml/Schemas/2005/08/07/DischargeLetter.xsd +70 -0
- data/data/xml/Schemas/2005/08/07/Dkcc/DKCC.xsd +9 -0
- data/data/xml/Schemas/2005/08/07/Dkcc/DKCC_PersonGivenName.xsd +16 -0
- data/data/xml/Schemas/2005/08/07/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
- data/data/xml/Schemas/2005/08/07/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
- data/data/xml/Schemas/2005/08/07/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
- data/data/xml/Schemas/2005/08/07/Dkcc/vssver.scc +0 -0
- data/data/xml/Schemas/2005/08/07/EMessage.xsd +39 -0
- data/data/xml/Schemas/2005/08/07/FormattedText.xsd +45 -0
- data/data/xml/Schemas/2005/08/07/GeneralElements.xsd +195 -0
- data/data/xml/Schemas/2005/08/07/GeneralTypes.xsd +274 -0
- data/data/xml/Schemas/2005/08/07/GeneraliseringsForsoeg.xsd +25 -0
- data/data/xml/Schemas/2005/08/07/HistopathologyReport.xsd +347 -0
- data/data/xml/Schemas/2005/08/07/HospitalReferral.xsd +171 -0
- data/data/xml/Schemas/2005/08/07/KL/KL_SENumberType.xsd +15 -0
- data/data/xml/Schemas/2005/08/07/LA121.xsd +96 -0
- data/data/xml/Schemas/2005/08/07/LA125.xsd +84 -0
- data/data/xml/Schemas/2005/08/07/LA141.xsd +96 -0
- data/data/xml/Schemas/2005/08/07/LA145.xsd +108 -0
- data/data/xml/Schemas/2005/08/07/LA165.xsd +101 -0
- data/data/xml/Schemas/2005/08/07/LA201.xsd +83 -0
- data/data/xml/Schemas/2005/08/07/LA205.xsd +113 -0
- data/data/xml/Schemas/2005/08/07/LA211.xsd +83 -0
- data/data/xml/Schemas/2005/08/07/LA215.xsd +102 -0
- data/data/xml/Schemas/2005/08/07/LA_Contact.xsd +22 -0
- data/data/xml/Schemas/2005/08/07/LA_MunicipalitySender.xsd +31 -0
- data/data/xml/Schemas/2005/08/07/LA_Patient.xsd +27 -0
- data/data/xml/Schemas/2005/08/07/LA_Sender.xsd +35 -0
- data/data/xml/Schemas/2005/08/07/LaboratoryAnalysisFile.xsd +387 -0
- data/data/xml/Schemas/2005/08/07/LaboratoryReport.xsd +244 -0
- data/data/xml/Schemas/2005/08/07/LaboratoryRequest.xsd +238 -0
- data/data/xml/Schemas/2005/08/07/LetterType.xsd +45 -0
- data/data/xml/Schemas/2005/08/07/Letters.xsd +85 -0
- data/data/xml/Schemas/2005/08/07/MicroBiologyTypes.xsd +80 -0
- data/data/xml/Schemas/2005/08/07/MicrobiologyReport.xsd +471 -0
- data/data/xml/Schemas/2005/08/07/MicrobiologyRequest.xsd +161 -0
- data/data/xml/Schemas/2005/08/07/MultiSampleMicrobiologyRequest.xsd +162 -0
- data/data/xml/Schemas/2005/08/07/NegativeReceipt.xsd +117 -0
- data/data/xml/Schemas/2005/08/07/NegativeVansReceipt.xsd +117 -0
- data/data/xml/Schemas/2005/08/07/NotificationOfAdmission.xsd +89 -0
- data/data/xml/Schemas/2005/08/07/NotificationOfDischarge.xsd +89 -0
- data/data/xml/Schemas/2005/08/07/OutPatientDischargeLetter.xsd +71 -0
- data/data/xml/Schemas/2005/08/07/PathologyRequest.xsd +253 -0
- data/data/xml/Schemas/2005/08/07/Patient.xsd +22 -0
- data/data/xml/Schemas/2005/08/07/PatientAnalysisInfo.xsd +26 -0
- data/data/xml/Schemas/2005/08/07/Payer.xsd +28 -0
- data/data/xml/Schemas/2005/08/07/PaymentInformation.xsd +1 -0
- data/data/xml/Schemas/2005/08/07/PositiveReceipt.xsd +78 -0
- data/data/xml/Schemas/2005/08/07/Prescription.xsd +397 -0
- data/data/xml/Schemas/2005/08/07/PrescriptionRequest.xsd +123 -0
- data/data/xml/Schemas/2005/08/07/PrescriptionXX.xsd +122 -0
- data/data/xml/Schemas/2005/08/07/RadiologyReport.xsd +71 -0
- data/data/xml/Schemas/2005/08/07/Receiver.xsd +25 -0
- data/data/xml/Schemas/2005/08/07/Reference.xsd +32 -0
- data/data/xml/Schemas/2005/08/07/Referral.xsd +14 -0
- data/data/xml/Schemas/2005/08/07/Relative.xsd +18 -0
- data/data/xml/Schemas/2005/08/07/Sender.xsd +29 -0
- data/data/xml/Schemas/2005/08/07/ValueLists.xsd +391 -0
- data/data/xml/Schemas/2005/08/07/WarningOfDischarge.xsd +135 -0
- data/data/xml/Schemas/2005/08/07/XRayRequest.xsd +174 -0
- data/data/xml/Schemas/2005/08/07/sletmig.xsd +21 -0
- data/data/xml/Schemas/2006/07/01/BookingConfirmation.xsd +80 -0
- data/data/xml/Schemas/2006/07/01/CCReceiver.xsd +19 -0
- data/data/xml/Schemas/2006/07/01/CVRold/CVR_CVRNumber.xsd +14 -0
- data/data/xml/Schemas/2006/07/01/ClinicalEmail.xsd +108 -0
- data/data/xml/Schemas/2006/07/01/ClinicalTypes.xsd +64 -0
- data/data/xml/Schemas/2006/07/01/Collector.xsd +26 -0
- data/data/xml/Schemas/2006/07/01/Contact.xsd +15 -0
- data/data/xml/Schemas/2006/07/01/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2006/07/01/DKAddress.xsd +30 -0
- data/data/xml/Schemas/2006/07/01/Dkcc/DKCC_PersonGivenName.xsd +16 -0
- data/data/xml/Schemas/2006/07/01/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
- data/data/xml/Schemas/2006/07/01/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
- data/data/xml/Schemas/2006/07/01/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
- data/data/xml/Schemas/2006/07/01/EMessage.xsd +34 -0
- data/data/xml/Schemas/2006/07/01/FormattedText.xsd +45 -0
- data/data/xml/Schemas/2006/07/01/GeneralElements.xsd +182 -0
- data/data/xml/Schemas/2006/07/01/GeneralTypes.xsd +274 -0
- data/data/xml/Schemas/2006/07/01/KL/KL_SENumberType.xsd +15 -0
- data/data/xml/Schemas/2006/07/01/LaboratoryAnalysisFile.xsd +416 -0
- data/data/xml/Schemas/2006/07/01/LaboratoryRequest.xsd +329 -0
- data/data/xml/Schemas/2006/07/01/LetterType.xsd +45 -0
- data/data/xml/Schemas/2006/07/01/Letters.xsd +18 -0
- data/data/xml/Schemas/2006/07/01/Patient.xsd +22 -0
- data/data/xml/Schemas/2006/07/01/Payer.xsd +33 -0
- data/data/xml/Schemas/2006/07/01/Receiver.xsd +25 -0
- data/data/xml/Schemas/2006/07/01/Reference.xsd +32 -0
- data/data/xml/Schemas/2006/07/01/Referral.xsd +13 -0
- data/data/xml/Schemas/2006/07/01/Relative.xsd +18 -0
- data/data/xml/Schemas/2006/07/01/Sender.xsd +29 -0
- data/data/xml/Schemas/2006/07/01/ValueLists.xsd +393 -0
- data/data/xml/Schemas/2007/02/01/CCReceiver.xsd +18 -0
- data/data/xml/Schemas/2007/02/01/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2007/02/01/Contact.xsd +14 -0
- data/data/xml/Schemas/2007/02/01/DiabetesReport.xsd +570 -0
- data/data/xml/Schemas/2007/02/01/Dkcc/DKCC_PersonGivenName.xsd +16 -0
- data/data/xml/Schemas/2007/02/01/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
- data/data/xml/Schemas/2007/02/01/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
- data/data/xml/Schemas/2007/02/01/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
- data/data/xml/Schemas/2007/02/01/DoctorsCallCenterLetter.xsd +70 -0
- data/data/xml/Schemas/2007/02/01/EMessage.xsd +34 -0
- data/data/xml/Schemas/2007/02/01/FormattedText.xsd +44 -0
- data/data/xml/Schemas/2007/02/01/GeneralElements.xsd +203 -0
- data/data/xml/Schemas/2007/02/01/GeneralTypes.xsd +295 -0
- data/data/xml/Schemas/2007/02/01/LaboratoryAnalysisFile.xsd +492 -0
- data/data/xml/Schemas/2007/02/01/LaboratoryReport.xsd +261 -0
- data/data/xml/Schemas/2007/02/01/LetterType.xsd +44 -0
- data/data/xml/Schemas/2007/02/01/Letters.xsd +45 -0
- data/data/xml/Schemas/2007/02/01/MicrobiologyReport.xsd +478 -0
- data/data/xml/Schemas/2007/02/01/MicrobiologyWebReport.xsd +552 -0
- data/data/xml/Schemas/2007/02/01/ParagraphedText.xsd +33 -0
- data/data/xml/Schemas/2007/02/01/Patient.xsd +21 -0
- data/data/xml/Schemas/2007/02/01/PhysiotherapyLetter.xsd +70 -0
- data/data/xml/Schemas/2007/02/01/PhysiotherapyReferral.xsd +168 -0
- data/data/xml/Schemas/2007/02/01/PrivateSpecialistLetter.xsd +70 -0
- data/data/xml/Schemas/2007/02/01/PrivateSpecialistReferral.xsd +194 -0
- data/data/xml/Schemas/2007/02/01/PsychologistLetter.xsd +70 -0
- data/data/xml/Schemas/2007/02/01/PsychologistReferral.xsd +160 -0
- data/data/xml/Schemas/2007/02/01/Receiver.xsd +24 -0
- data/data/xml/Schemas/2007/02/01/Reference.xsd +31 -0
- data/data/xml/Schemas/2007/02/01/Referral.xsd +13 -0
- data/data/xml/Schemas/2007/02/01/Relative.xsd +17 -0
- data/data/xml/Schemas/2007/02/01/ReportOfAdmission.xsd +205 -0
- data/data/xml/Schemas/2007/02/01/ReportOfDischarge.xsd +213 -0
- data/data/xml/Schemas/2007/02/01/Sender.xsd +28 -0
- data/data/xml/Schemas/2007/02/01/SpecialistLetter.xsd +70 -0
- data/data/xml/Schemas/2007/02/01/TeddyLetter.xsd +73 -0
- data/data/xml/Schemas/2007/02/01/TeddyReferral.xsd +175 -0
- data/data/xml/Schemas/2007/02/01/ValueLists.xsd +292 -0
- data/data/xml/Schemas/2007/02/01/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2007/02/01/cvr/CVR_CVRNumber.xsd +14 -0
- data/data/xml/Schemas/2007/02/01/kl/KL_SENumberType.xsd +15 -0
- data/data/xml/Schemas/2008/09/17/CCReceiver.xsd +18 -0
- data/data/xml/Schemas/2008/09/17/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2008/09/17/Contact.xsd +14 -0
- data/data/xml/Schemas/2008/09/17/EMessage.xsd +34 -0
- data/data/xml/Schemas/2008/09/17/FormattedText.xsd +44 -0
- data/data/xml/Schemas/2008/09/17/GeneralElements.xsd +95 -0
- data/data/xml/Schemas/2008/09/17/GeneralTypes.xsd +295 -0
- data/data/xml/Schemas/2008/09/17/LaboratoryAnalysisFile.xsd +495 -0
- data/data/xml/Schemas/2008/09/17/LetterType.xsd +44 -0
- data/data/xml/Schemas/2008/09/17/Letters.xsd +14 -0
- data/data/xml/Schemas/2008/09/17/Patient.xsd +21 -0
- data/data/xml/Schemas/2008/09/17/PsychologistLetter.xsd +70 -0
- data/data/xml/Schemas/2008/09/17/Receiver.xsd +24 -0
- data/data/xml/Schemas/2008/09/17/Reference.xsd +31 -0
- data/data/xml/Schemas/2008/09/17/Referral.xsd +13 -0
- data/data/xml/Schemas/2008/09/17/Relative.xsd +17 -0
- data/data/xml/Schemas/2008/09/17/Sender.xsd +28 -0
- data/data/xml/Schemas/2008/09/17/ValueLists.xsd +264 -0
- data/data/xml/Schemas/2008/09/17/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2009/08/01/AdministrativeEmail.xsd +108 -0
- data/data/xml/Schemas/2009/08/01/CCReceiver.xsd +19 -0
- data/data/xml/Schemas/2009/08/01/CVRold/CVR_CVRNumber.xsd +14 -0
- data/data/xml/Schemas/2009/08/01/ClinicalTypes.xsd +64 -0
- data/data/xml/Schemas/2009/08/01/Collector.xsd +26 -0
- data/data/xml/Schemas/2009/08/01/Contact.xsd +15 -0
- data/data/xml/Schemas/2009/08/01/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2009/08/01/DKAddress.xsd +30 -0
- data/data/xml/Schemas/2009/08/01/Dkcc/DKCC_PersonGivenName.xsd +16 -0
- data/data/xml/Schemas/2009/08/01/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
- data/data/xml/Schemas/2009/08/01/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
- data/data/xml/Schemas/2009/08/01/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
- data/data/xml/Schemas/2009/08/01/EMessage.xsd +34 -0
- data/data/xml/Schemas/2009/08/01/FormattedText.xsd +45 -0
- data/data/xml/Schemas/2009/08/01/GeneralElements.xsd +184 -0
- data/data/xml/Schemas/2009/08/01/GeneralTypes.xsd +274 -0
- data/data/xml/Schemas/2009/08/01/KL/KL_SENumberType.xsd +15 -0
- data/data/xml/Schemas/2009/08/01/LetterType.xsd +45 -0
- data/data/xml/Schemas/2009/08/01/Letters.xsd +12 -0
- data/data/xml/Schemas/2009/08/01/Patient.xsd +22 -0
- data/data/xml/Schemas/2009/08/01/Receiver.xsd +25 -0
- data/data/xml/Schemas/2009/08/01/Reference.xsd +32 -0
- data/data/xml/Schemas/2009/08/01/Referral.xsd +13 -0
- data/data/xml/Schemas/2009/08/01/Relative.xsd +18 -0
- data/data/xml/Schemas/2009/08/01/Sender.xsd +29 -0
- data/data/xml/Schemas/2009/08/01/ValueLists.xsd +321 -0
- data/data/xml/Schemas/2010/07/01/CCReceiver.xsd +18 -0
- data/data/xml/Schemas/2010/07/01/ChiropodyInvoice.xsd +245 -0
- data/data/xml/Schemas/2010/07/01/ChiropractorInvoice.xsd +205 -0
- data/data/xml/Schemas/2010/07/01/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2010/07/01/Contact.xsd +14 -0
- data/data/xml/Schemas/2010/07/01/DentistInvoice.xsd +217 -0
- data/data/xml/Schemas/2010/07/01/EMessage.xsd +34 -0
- data/data/xml/Schemas/2010/07/01/EmergencyServicePractitionerInvoice.xsd +231 -0
- data/data/xml/Schemas/2010/07/01/FormattedText.xsd +44 -0
- data/data/xml/Schemas/2010/07/01/GeneralElements.xsd +105 -0
- data/data/xml/Schemas/2010/07/01/GeneralPractitionerBilling.xsd +222 -0
- data/data/xml/Schemas/2010/07/01/GeneralTypes.xsd +415 -0
- data/data/xml/Schemas/2010/07/01/LaboratoryAnalysisFile.xsd +495 -0
- data/data/xml/Schemas/2010/07/01/LaboratoryInvoice.xsd +195 -0
- data/data/xml/Schemas/2010/07/01/LetterType.xsd +44 -0
- data/data/xml/Schemas/2010/07/01/Letters.xsd +33 -0
- data/data/xml/Schemas/2010/07/01/Patient.xsd +21 -0
- data/data/xml/Schemas/2010/07/01/PhysiotherapyInvoice.xsd +232 -0
- data/data/xml/Schemas/2010/07/01/PrivateSpecialistInvoice.xsd +244 -0
- data/data/xml/Schemas/2010/07/01/PsychologistInvoice.xsd +223 -0
- data/data/xml/Schemas/2010/07/01/Receiver.xsd +24 -0
- data/data/xml/Schemas/2010/07/01/Reference.xsd +31 -0
- data/data/xml/Schemas/2010/07/01/Referral.xsd +13 -0
- data/data/xml/Schemas/2010/07/01/Relative.xsd +17 -0
- data/data/xml/Schemas/2010/07/01/Sender.xsd +28 -0
- data/data/xml/Schemas/2010/07/01/ValueLists.xsd +320 -0
- data/data/xml/Schemas/2010/07/01/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2011/02/17/Birth.xsd +54 -0
- data/data/xml/Schemas/2011/02/17/BirthNotification.xsd +80 -0
- data/data/xml/Schemas/2011/02/17/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2011/02/17/ChildInfo.xsd +63 -0
- data/data/xml/Schemas/2011/02/17/ChildRelation.xsd +45 -0
- data/data/xml/Schemas/2011/02/17/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2011/02/17/EMessage.xsd +34 -0
- data/data/xml/Schemas/2011/02/17/FormattedText.xsd +44 -0
- data/data/xml/Schemas/2011/02/17/GeneralElements.xsd +55 -0
- data/data/xml/Schemas/2011/02/17/GeneralTypes.xsd +330 -0
- data/data/xml/Schemas/2011/02/17/LetterType.xsd +44 -0
- data/data/xml/Schemas/2011/02/17/Letters.xsd +12 -0
- data/data/xml/Schemas/2011/02/17/MaternityMother.xsd +26 -0
- data/data/xml/Schemas/2011/02/17/Patient.xsd +41 -0
- data/data/xml/Schemas/2011/02/17/Practitioner.xsd +26 -0
- data/data/xml/Schemas/2011/02/17/Pregnancy.xsd +48 -0
- data/data/xml/Schemas/2011/02/17/Receiver.xsd +24 -0
- data/data/xml/Schemas/2011/02/17/Relative.xsd +18 -0
- data/data/xml/Schemas/2011/02/17/Sender.xsd +22 -0
- data/data/xml/Schemas/2011/02/17/TelephoneSubscriber.xsd +24 -0
- data/data/xml/Schemas/2011/02/17/ValueLists.xsd +354 -0
- data/data/xml/Schemas/2011/06/15/CCReceiver.xsd +18 -0
- data/data/xml/Schemas/2011/06/15/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2011/06/15/Contact.xsd +14 -0
- data/data/xml/Schemas/2011/06/15/EMessage.xsd +33 -0
- data/data/xml/Schemas/2011/06/15/FormattedText.xsd +44 -0
- data/data/xml/Schemas/2011/06/15/GeneralElements.xsd +184 -0
- data/data/xml/Schemas/2011/06/15/GeneralTypes.xsd +295 -0
- data/data/xml/Schemas/2011/06/15/LaboratoryAnalysisFile.xsd +610 -0
- data/data/xml/Schemas/2011/06/15/LetterType.xsd +44 -0
- data/data/xml/Schemas/2011/06/15/Letters.xsd +15 -0
- data/data/xml/Schemas/2011/06/15/MDSRepertoire.xsd +248 -0
- data/data/xml/Schemas/2011/06/15/MicrobiologyWebReport.xsd +561 -0
- data/data/xml/Schemas/2011/06/15/Patient.xsd +21 -0
- data/data/xml/Schemas/2011/06/15/Receiver.xsd +24 -0
- data/data/xml/Schemas/2011/06/15/Reference.xsd +31 -0
- data/data/xml/Schemas/2011/06/15/Referral.xsd +13 -0
- data/data/xml/Schemas/2011/06/15/Relative.xsd +17 -0
- data/data/xml/Schemas/2011/06/15/Sender.xsd +28 -0
- data/data/xml/Schemas/2011/06/15/ValueLists.xsd +266 -0
- data/data/xml/Schemas/2011/06/15/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2011/06/20/AktuelMedicin.xsd +32 -0
- data/data/xml/Schemas/2011/06/20/Borger.xsd +26 -0
- data/data/xml/Schemas/2011/06/20/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2011/06/20/Calender.xsd +43 -0
- data/data/xml/Schemas/2011/06/20/Citizen.xsd +25 -0
- data/data/xml/Schemas/2011/06/20/CitizensOwnData.xsd +31 -0
- data/data/xml/Schemas/2011/06/20/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2011/06/20/Contacts.xsd +24 -0
- data/data/xml/Schemas/2011/06/20/DoctorsElucidation.xsd +20 -0
- data/data/xml/Schemas/2011/06/20/EMessage.xsd +37 -0
- data/data/xml/Schemas/2011/06/20/EgenLaege.xsd +22 -0
- data/data/xml/Schemas/2011/06/20/FormattedText.xsd +44 -0
- data/data/xml/Schemas/2011/06/20/GeneralElements.xsd +183 -0
- data/data/xml/Schemas/2011/06/20/GeneralTypes.xsd +339 -0
- data/data/xml/Schemas/2011/06/20/HCPNotes.xsd +34 -0
- data/data/xml/Schemas/2011/06/20/Kalender.xsd +26 -0
- data/data/xml/Schemas/2011/06/20/Kontakter.xsd +28 -0
- data/data/xml/Schemas/2011/06/20/LaegensUdredning.xsd +29 -0
- data/data/xml/Schemas/2011/06/20/LetterType.xsd +44 -0
- data/data/xml/Schemas/2011/06/20/Letters.xsd +12 -0
- data/data/xml/Schemas/2011/06/20/MedComCDSet.xsd +85 -0
- data/data/xml/Schemas/2011/06/20/MedComKD Fuldt testeksempel 1 Ver 0.6.xml +632 -0
- data/data/xml/Schemas/2011/06/20/MedComKD Fuldt testeksempel 4 Ver 0.1.xml +585 -0
- data/data/xml/Schemas/2011/06/20/MedComKD Fuldt testeksempel 4 Ver 0.2.xml +592 -0
- data/data/xml/Schemas/2011/06/20/MedComKD Fuldt testeksempel 4 Ver 0.xml +569 -0
- data/data/xml/Schemas/2011/06/20/MedComKD.xsd +89 -0
- data/data/xml/Schemas/2011/06/20/MedComKD_V0.1.xsd +498 -0
- data/data/xml/Schemas/2011/06/20/MedComKD_V0.2.xsd +510 -0
- data/data/xml/Schemas/2011/06/20/MedComKD_V0.6.xsd +627 -0
- data/data/xml/Schemas/2011/06/20/MedComKD_V0.xsd +497 -0
- data/data/xml/Schemas/2011/06/20/MinDagbog.xsd +25 -0
- data/data/xml/Schemas/2011/06/20/MonitoreringOgMaal.xsd +87 -0
- data/data/xml/Schemas/2011/06/20/Monitoring.xsd +82 -0
- data/data/xml/Schemas/2011/06/20/Paaroerende.xsd +22 -0
- data/data/xml/Schemas/2011/06/20/Patient.xsd +38 -0
- data/data/xml/Schemas/2011/06/20/Practitioner.xsd +23 -0
- data/data/xml/Schemas/2011/06/20/PresentMedication.xsd +44 -0
- data/data/xml/Schemas/2011/06/20/Receiver.xsd +24 -0
- data/data/xml/Schemas/2011/06/20/Relative.xsd +21 -0
- data/data/xml/Schemas/2011/06/20/RelevantDiagnoses.xsd +23 -0
- data/data/xml/Schemas/2011/06/20/RelevantLabReports.xsd +38 -0
- data/data/xml/Schemas/2011/06/20/RelevanteDiagnoser.xsd +27 -0
- data/data/xml/Schemas/2011/06/20/RelevanteLabsvar.xsd +32 -0
- data/data/xml/Schemas/2011/06/20/SKLNoter.xsd +26 -0
- data/data/xml/Schemas/2011/06/20/Samtykke.xsd +17 -0
- data/data/xml/Schemas/2011/06/20/Sender.xsd +25 -0
- data/data/xml/Schemas/2011/06/20/ValueLists.xsd +357 -0
- data/data/xml/Schemas/2012/03/28/BinaryLetter.xsd +112 -0
- data/data/xml/Schemas/2012/03/28/CCReceiver.xsd +19 -0
- data/data/xml/Schemas/2012/03/28/ClinicalTypes.xsd +64 -0
- data/data/xml/Schemas/2012/03/28/Contact.xsd +15 -0
- data/data/xml/Schemas/2012/03/28/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2012/03/28/Cpr/vssver.scc +0 -0
- data/data/xml/Schemas/2012/03/28/EMessage.xsd +33 -0
- data/data/xml/Schemas/2012/03/28/FormattedText.xsd +45 -0
- data/data/xml/Schemas/2012/03/28/GeneralElements.xsd +204 -0
- data/data/xml/Schemas/2012/03/28/GeneralTypes.xsd +275 -0
- data/data/xml/Schemas/2012/03/28/HistopathologyReport.xsd +367 -0
- data/data/xml/Schemas/2012/03/28/LetterType.xsd +45 -0
- data/data/xml/Schemas/2012/03/28/Letters.xsd +13 -0
- data/data/xml/Schemas/2012/03/28/MC_UniversallyUniqueIdentifier_20080406.xsd +9 -0
- data/data/xml/Schemas/2012/03/28/Patient.xsd +22 -0
- data/data/xml/Schemas/2012/03/28/Receiver.xsd +25 -0
- data/data/xml/Schemas/2012/03/28/Reference.xsd +32 -0
- data/data/xml/Schemas/2012/03/28/Referral.xsd +14 -0
- data/data/xml/Schemas/2012/03/28/Relative.xsd +18 -0
- data/data/xml/Schemas/2012/03/28/Sender.xsd +29 -0
- data/data/xml/Schemas/2012/03/28/ValueLists.xsd +251 -0
- data/data/xml/Schemas/2013/09/02/CCReceiver.xsd +18 -0
- data/data/xml/Schemas/2013/09/02/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2013/09/02/Contact.xsd +14 -0
- data/data/xml/Schemas/2013/09/02/Dkcc/DKCC_PersonGivenName.xsd +16 -0
- data/data/xml/Schemas/2013/09/02/Dkcc/DKCC_PersonMiddleName.xsd +15 -0
- data/data/xml/Schemas/2013/09/02/Dkcc/DKCC_PersonSurnameName.xsd +16 -0
- data/data/xml/Schemas/2013/09/02/Dkcc/DKCC_PostCodeIdentifier.xsd +14 -0
- data/data/xml/Schemas/2013/09/02/EMessage.xsd +34 -0
- data/data/xml/Schemas/2013/09/02/FormattedText.xsd +44 -0
- data/data/xml/Schemas/2013/09/02/GeneralElements.xsd +203 -0
- data/data/xml/Schemas/2013/09/02/GeneralTypes.xsd +295 -0
- data/data/xml/Schemas/2013/09/02/LetterType.xsd +44 -0
- data/data/xml/Schemas/2013/09/02/Letters.xsd +17 -0
- data/data/xml/Schemas/2013/09/02/ParagraphedText.xsd +33 -0
- data/data/xml/Schemas/2013/09/02/Patient.xsd +22 -0
- data/data/xml/Schemas/2013/09/02/PhysiotherapyReferral.xsd +168 -0
- data/data/xml/Schemas/2013/09/02/Receiver.xsd +24 -0
- data/data/xml/Schemas/2013/09/02/Reference.xsd +31 -0
- data/data/xml/Schemas/2013/09/02/Referral.xsd +13 -0
- data/data/xml/Schemas/2013/09/02/Relative.xsd +17 -0
- data/data/xml/Schemas/2013/09/02/Sender.xsd +28 -0
- data/data/xml/Schemas/2013/09/02/ValueLists.xsd +262 -0
- data/data/xml/Schemas/2013/09/02/cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2013/09/02/cvr/CVR_CVRNumber.xsd +14 -0
- data/data/xml/Schemas/2013/09/02/kl/KL_SENumberType.xsd +15 -0
- data/data/xml/Schemas/2013/11/26/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2013/11/26/EMessage.xsd +36 -0
- data/data/xml/Schemas/2013/11/26/Eksempler/Dyrkning med stemproperties.xml +494 -0
- data/data/xml/Schemas/2013/11/26/Eksempler/Dyrkning1.xml +428 -0
- data/data/xml/Schemas/2013/11/26/Eksempler/Dyrkning2.xml +501 -0
- data/data/xml/Schemas/2013/11/26/Eksempler/Eksempel_Dyrkning_1.xml +819 -0
- data/data/xml/Schemas/2013/11/26/FormattedText.xsd +44 -0
- data/data/xml/Schemas/2013/11/26/GeneralElements.xsd +184 -0
- data/data/xml/Schemas/2013/11/26/GeneralTypes.xsd +255 -0
- data/data/xml/Schemas/2013/11/26/LetterType.xsd +44 -0
- data/data/xml/Schemas/2013/11/26/Letters.xsd +16 -0
- data/data/xml/Schemas/2013/11/26/MiBaReport.xsd +780 -0
- data/data/xml/Schemas/2013/11/26/Readme.txt +16 -0
- data/data/xml/Schemas/2013/11/26/ValueLists.xsd +262 -0
- data/data/xml/Schemas/2014/10/08/CCReceiver.xsd +19 -0
- data/data/xml/Schemas/2014/10/08/CervixcytologyReport.xsd +277 -0
- data/data/xml/Schemas/2014/10/08/ClinicalTypes.xsd +64 -0
- data/data/xml/Schemas/2014/10/08/Collector.xsd +26 -0
- data/data/xml/Schemas/2014/10/08/Contact.xsd +15 -0
- data/data/xml/Schemas/2014/10/08/Cpr/CPR_CivilRegistrationNumber.xsd +42 -0
- data/data/xml/Schemas/2014/10/08/DiabeticFootStatus.xsd +207 -0
- data/data/xml/Schemas/2014/10/08/EMessage.xsd +33 -0
- data/data/xml/Schemas/2014/10/08/FormattedText.xsd +45 -0
- data/data/xml/Schemas/2014/10/08/GeneralElements.xsd +208 -0
- data/data/xml/Schemas/2014/10/08/GeneralTypes.xsd +276 -0
- data/data/xml/Schemas/2014/10/08/GeneticsReport.xsd +293 -0
- data/data/xml/Schemas/2014/10/08/HistopathologyReport.xsd +386 -0
- data/data/xml/Schemas/2014/10/08/LaboratoryAnalysisFile.xsd +610 -0
- data/data/xml/Schemas/2014/10/08/LaboratoryReport.xsd +279 -0
- data/data/xml/Schemas/2014/10/08/LetterType.xsd +45 -0
- data/data/xml/Schemas/2014/10/08/Letters.xsd +27 -0
- data/data/xml/Schemas/2014/10/08/MC_UniversallyUniqueIdentifier_20080406.xsd +9 -0
- data/data/xml/Schemas/2014/10/08/MicrobiologyReport.xsd +484 -0
- data/data/xml/Schemas/2014/10/08/MicrobiologyWebReport.xsd +564 -0
- data/data/xml/Schemas/2014/10/08/ParagraphedText.xsd +33 -0
- data/data/xml/Schemas/2014/10/08/PathologyRequest.xsd +324 -0
- data/data/xml/Schemas/2014/10/08/Patient.xsd +22 -0
- data/data/xml/Schemas/2014/10/08/Payer.xsd +33 -0
- data/data/xml/Schemas/2014/10/08/Receiver.xsd +25 -0
- data/data/xml/Schemas/2014/10/08/Reference.xsd +32 -0
- data/data/xml/Schemas/2014/10/08/Referral.xsd +14 -0
- data/data/xml/Schemas/2014/10/08/Relative.xsd +18 -0
- data/data/xml/Schemas/2014/10/08/Sender.xsd +29 -0
- data/data/xml/Schemas/2014/10/08/ValueLists.xsd +287 -0
- data/data/xml/Schemas/2015/02/16/ChiropodyInvoice.xsd +245 -0
- data/data/xml/Schemas/2015/02/16/ChiropractorInvoice.xsd +205 -0
- data/data/xml/Schemas/2015/02/16/ClinicalTypes.xsd +63 -0
- data/data/xml/Schemas/2015/02/16/Contact.xsd +14 -0
- data/data/xml/Schemas/2015/02/16/DentistInvoice.xsd +224 -0
- data/data/xml/Schemas/2015/02/16/EMessage.xsd +34 -0
- data/data/xml/Schemas/2015/02/16/EmergencyServicePractitionerInvoice.xsd +231 -0
- data/data/xml/Schemas/2015/02/16/GeneralElements.xsd +105 -0
- data/data/xml/Schemas/2015/02/16/GeneralPractitionerBilling.xsd +222 -0
- data/data/xml/Schemas/2015/02/16/GeneralTypes.xsd +415 -0
- data/data/xml/Schemas/2015/02/16/LaboratoryInvoice.xsd +195 -0
- data/data/xml/Schemas/2015/02/16/LetterType.xsd +44 -0
- data/data/xml/Schemas/2015/02/16/Letters.xsd +31 -0
- data/data/xml/Schemas/2015/02/16/Patient.xsd +21 -0
- data/data/xml/Schemas/2015/02/16/PhysiotherapyInvoice.xsd +232 -0
- data/data/xml/Schemas/2015/02/16/PrivateSpecialistInvoice.xsd +244 -0
- data/data/xml/Schemas/2015/02/16/PsychologistInvoice.xsd +223 -0
- data/data/xml/Schemas/2015/02/16/Receiver.xsd +24 -0
- data/data/xml/Schemas/2015/02/16/Sender.xsd +28 -0
- data/data/xml/Schemas/2015/02/16/ValueLists.xsd +338 -0
- data/data/xml/ShowEmessage.xslt +202 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/A0132Z.xslt +346 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/B0130X.xslt +214 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/Breve.xslt +29 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/C0130Q.xslt +111 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/C0230Q.xslt +111 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/C0330Q.xslt +77 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D0133L.xslt +404 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D0233L.xslt +436 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D0333L.xslt +778 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D0533L.xslt +523 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D1333L.xslt +343 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D1430C.xslt +135 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D1431C.xslt +135 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D1730C.xslt +151 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D1930C.xslt +380 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D2030C.xslt +151 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/D9133L.xslt +212 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/GeneralTemplates.xslt +1003 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/H0130R.xslt +408 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/H0230R.xslt +403 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/LMS015.xslt +423 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/LMS016.xslt +416 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/Q0130K.xslt +344 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/Q0230M.xslt +386 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/Q0330P.xslt +451 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/R0130K.xslt +407 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/R0230M.xslt +625 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/R0330P.xslt +468 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/R0430P.xslt +483 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2004/06/01/EDI2XML/tmp0000.xslt +618 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/B.xslt +504 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/C1.xslt +153 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/C2.xslt +153 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/C3.xslt +147 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/ConvertMedicalSpecialityCode.xslt +86 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/Emessage_2_XML11.xslt +94 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/GeneralTemplates.xslt +244 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/Letters.xslt +39 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/O.xslt +556 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/O1.xslt +573 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/Q0430M.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/TranslateMedicalSpecialityCode.txt +78 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/X0430M.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XD0133L.xslt +1081 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XD0233L.xslt +1082 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1211203A.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1251001A.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1411001A.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1451001A.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA1651001A.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA2011001A.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA2051001A.xslt +18 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA2111001A.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XLA2151001A.xslt +16 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/XQ0430M.xslt +8 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/m.xslt +1721 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/m1.xslt +1082 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/p1.xslt +915 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/p2.xslt +1521 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/p3.xslt +1185 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/p4.xslt +1170 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/q1.xslt +851 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/q2.xslt +888 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/q3.xslt +1215 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/r1.xslt +1001 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/r2.xslt +1004 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/ref01.xml +1289 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/x13.xslt +678 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/x14.xslt +380 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/x17.xslt +363 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/x19.xslt +995 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/x20.xslt +365 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/x3.xslt +1198 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/x5.xslt +1198 -0
- data/data/xml/XSLTs/2004/06/01/XML2EDI/x91.xslt +628 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/A0132Z.xslt +346 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/B0130X.xslt +235 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/Breve.xslt +30 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/C0130Q.xslt +111 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/C0230Q.xslt +111 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/C0330Q.xslt +77 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D0133L.xslt +404 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D0233L.xslt +436 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D0333L.xslt +776 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D0533L.xslt +523 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D1333L.xslt +343 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D1430C.xslt +135 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D1431C.xslt +135 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D1730C.xslt +151 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D1930C.xslt +370 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D2030C.xslt +151 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/D9133L.xslt +203 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/GeneralTemplates.xslt +1043 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/H0130R.xslt +420 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/H0230R.xslt +415 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/LMS016.xslt +411 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/Q0130K.xslt +351 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/Q0230M.xslt +398 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/Q0330P.xslt +466 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/R0130K.xslt +412 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/R0230M.xslt +636 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/R0330P.xslt +470 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/R0430P.xslt +507 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/R6031W.xslt +460 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2005/08/07/EDI2XML/XR0130K.xslt +919 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/Emessage_2_XML11.xslt +94 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/GeneralTemplates.xslt +275 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/Letters.xslt +41 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/X0430M.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XA0132Z.xslt +529 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XB0130X.xslt +453 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XC0130Q.xslt +147 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XC0230Q.xslt +147 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XC0330Q.xslt +147 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD0133L.xslt +1029 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD0233L.xslt +1030 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD0333L.xslt +1118 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD0533L.xslt +1090 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD1333L.xslt +596 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD1431C.xslt +325 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD1730C.xslt +308 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD1930C.xslt +915 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD2030C.xslt +310 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XD9133L.xslt +575 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XH0130R.xslt +971 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XH0230R.xslt +972 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XI0001D.xslt +176 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1211203A.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1251001A.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1411001A.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1451001A.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA1651001A.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA2011001A.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA2051001A.xslt +18 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA2111001A.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLA2151001A.xslt +16 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLMS016.xslt +1676 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XLMS0XX.xslt +1676 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XQ0130K.xslt +797 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XQ0230M.xslt +834 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XQ0330P.xslt +1161 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XQ0430M.xslt +8 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XR0130K.xslt +862 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XR0230M.xslt +1463 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XR0330P.xslt +1104 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XR0430P.xslt +1226 -0
- data/data/xml/XSLTs/2005/08/07/XML2EDI/XR6031W.xslt +1727 -0
- data/data/xml/XSLTs/2005/08/07/stylesheet/viewEmessage.xsl +4817 -0
- data/data/xml/XSLTs/2006/07/01/EDI2XML/A0135Z.xslt +396 -0
- data/data/xml/XSLTs/2006/07/01/EDI2XML/Breve.xslt +30 -0
- data/data/xml/XSLTs/2006/07/01/EDI2XML/D9134L.xslt +235 -0
- data/data/xml/XSLTs/2006/07/01/EDI2XML/GeneralTemplates.xslt +1016 -0
- data/data/xml/XSLTs/2006/07/01/EDI2XML/Q0131K.xslt +501 -0
- data/data/xml/XSLTs/2006/07/01/EDI2XML/XML11_2_Emessage.xslt +78 -0
- data/data/xml/XSLTs/2006/07/01/EDI2XML/req01.xml +101 -0
- data/data/xml/XSLTs/2006/07/01/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
- data/data/xml/XSLTs/2006/07/01/XML2EDI/Emessage_2_XML11.xslt +94 -0
- data/data/xml/XSLTs/2006/07/01/XML2EDI/GeneralTemplates.xslt +242 -0
- data/data/xml/XSLTs/2006/07/01/XML2EDI/Letters.xslt +7 -0
- data/data/xml/XSLTs/2006/07/01/XML2EDI/XA0135Z.xslt +630 -0
- data/data/xml/XSLTs/2006/07/01/XML2EDI/XD9134L.xslt +716 -0
- data/data/xml/XSLTs/2006/07/01/XML2EDI/XQ0131K.xslt +1132 -0
- data/data/xml/XSLTs/2006/07/01/stylesheet/viewEmessage.xsl +589 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/A0132Z.xslt +346 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/A0137Z.xslt +468 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/B0130X.xslt +214 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/Breve.xslt +17 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/C0130Q.xslt +111 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/C0230Q.xslt +111 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/C0330Q.xslt +77 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D0133L.xslt +404 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D0233L.xslt +436 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D0333L.xslt +776 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D0533L.xslt +523 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D0633L.xslt +404 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D0733L.xslt +404 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D0833L.xslt +404 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D1033L.xslt +404 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D1333L.xslt +343 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D1430C.xslt +135 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D1431C.xslt +135 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D1630C.xslt +462 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D1730C.xslt +151 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D1830C.xslt +443 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D1930C.xslt +370 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D2030C.xslt +151 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/D9133L.xslt +203 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/GeneralTemplates.xslt +1045 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/H0130R.xslt +415 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/H0230R.xslt +408 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/H0630R.xslt +424 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/H0730R.xslt +518 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/H1030R.xslt +473 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/H1230R.xslt +518 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/LMS016.xslt +411 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/LMS0XX.xslt +411 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/Q0130K.xslt +352 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/Q0230M.xslt +398 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/Q0330P.xslt +459 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/R0130K.xslt +419 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/R0230M.xslt +645 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/R0330P.xslt +470 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/R0430P.xslt +485 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/R6031W.xslt +452 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2007/02/01/EDI2XML/xr0130k.xslt +919 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/Emessage_2_XML11.xslt +94 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/GeneralTemplates.xslt +176 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/Letters.xslt +17 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/X0430M.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XA0137Z.xslt +708 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XC0130Q.xslt +154 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XC0230Q.xslt +153 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XC0330Q.xslt +147 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XD0633L.xslt +1091 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XD0733L.xslt +1091 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XD0833L.xslt +1091 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XD1033L.xslt +1091 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XD1630C.xslt +1072 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XD1830C.xslt +1069 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XH0630R.xslt +1079 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XH0730R.xslt +1165 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XH1030R.xslt +1136 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XH1230R.xslt +1169 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XI0001D.xslt +80 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XI0002D.xslt +100 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1211203A.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1251001A.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1411001A.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1451001A.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA1651001A.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA2011001A.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA2051001A.xslt +18 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA2111001A.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XLA2151001A.xslt +16 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XQ0130K.xslt +878 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XQ0430M.xslt +8 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XR0130K.xslt +906 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XR0230M.xslt +1541 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/XR0530M.xslt +11 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/m1.xslt +1082 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/o1.xslt +573 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xa0132z.xslt +556 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xb0130x.xslt +504 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd0133l.xslt +1081 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd0233l.xslt +1082 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd0333l.xslt +1197 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd0533l.xslt +1197 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd1333l.xslt +678 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd1431c.xslt +380 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd1730c.xslt +363 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd1930c.xslt +996 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd2030c.xslt +365 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xd9133l.xslt +628 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xh0130r.xslt +1036 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xh0230r.xslt +1042 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xlms016.xslt +1703 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xlms0xx.xslt +1703 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xq0230m.xslt +915 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xq0330p.xslt +1242 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xr0330p.xslt +1185 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xr0430p.xslt +1170 -0
- data/data/xml/XSLTs/2007/02/01/XML2EDI/xr6031w.xslt +1770 -0
- data/data/xml/XSLTs/2007/02/01/stylesheet/ParagraphedText.xsl +39 -0
- data/data/xml/XSLTs/2007/02/01/stylesheet/WebReport.xsl +607 -0
- data/data/xml/XSLTs/2007/02/01/stylesheet/viewEmessage.xsl +3765 -0
- data/data/xml/XSLTs/2008/09/17/EDI2XML/A0138Z.xslt +471 -0
- data/data/xml/XSLTs/2008/09/17/EDI2XML/Breve.xslt +6 -0
- data/data/xml/XSLTs/2008/09/17/EDI2XML/D1034L.xslt +404 -0
- data/data/xml/XSLTs/2008/09/17/EDI2XML/GeneralTemplates.xslt +1017 -0
- data/data/xml/XSLTs/2008/09/17/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2008/09/17/XML2EDI/Emessage_2_XML11.xslt +94 -0
- data/data/xml/XSLTs/2008/09/17/XML2EDI/GeneralTemplates.xslt +176 -0
- data/data/xml/XSLTs/2008/09/17/XML2EDI/Letters.xslt +6 -0
- data/data/xml/XSLTs/2008/09/17/XML2EDI/XA0138Z.xslt +711 -0
- data/data/xml/XSLTs/2008/09/17/XML2EDI/XD1034L.xslt +1082 -0
- data/data/xml/XSLTs/2008/09/17/XML2EDI/crap/m1.xslt +1072 -0
- data/data/xml/XSLTs/2008/09/17/XML2EDI/crap/o1.xslt +571 -0
- data/data/xml/XSLTs/2008/09/17/stylesheet/ParagraphedText.xsl +39 -0
- data/data/xml/XSLTs/2008/09/17/stylesheet/WebReport.xsl +607 -0
- data/data/xml/XSLTs/2008/09/17/stylesheet/viewEmessage.xsl +163 -0
- data/data/xml/XSLTs/2008/09/17/stylesheet/viewEmessage.xslt +2325 -0
- data/data/xml/XSLTs/2009/08/01/EDI2XML/Breve.xslt +5 -0
- data/data/xml/XSLTs/2009/08/01/EDI2XML/D9034L.xslt +235 -0
- data/data/xml/XSLTs/2009/08/01/EDI2XML/GeneralTemplates.xslt +1015 -0
- data/data/xml/XSLTs/2009/08/01/EDI2XML/XML11_2_Emessage.xslt +78 -0
- data/data/xml/XSLTs/2009/08/01/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
- data/data/xml/XSLTs/2009/08/01/XML2EDI/Emessage_2_XML11.xslt +94 -0
- data/data/xml/XSLTs/2009/08/01/XML2EDI/GeneralTemplates.xslt +241 -0
- data/data/xml/XSLTs/2009/08/01/XML2EDI/Letters.xslt +5 -0
- data/data/xml/XSLTs/2009/08/01/XML2EDI/XD9034L.xslt +714 -0
- data/data/xml/XSLTs/2009/08/01/stylesheet/viewEmessage.xsl +90 -0
- data/data/xml/XSLTs/2010/07/01/EDI2XML/A0139Z.xslt +471 -0
- data/data/xml/XSLTs/2010/07/01/EDI2XML/Breve.xslt +6 -0
- data/data/xml/XSLTs/2010/07/01/EDI2XML/GeneralTemplates.xslt +1057 -0
- data/data/xml/XSLTs/2010/07/01/EDI2XML/U0131U.xslt +606 -0
- data/data/xml/XSLTs/2010/07/01/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2010/07/01/XML2EDI/Emessage_2_XML11.xslt +93 -0
- data/data/xml/XSLTs/2010/07/01/XML2EDI/GeneralTemplates.xslt +220 -0
- data/data/xml/XSLTs/2010/07/01/XML2EDI/Letters.xslt +6 -0
- data/data/xml/XSLTs/2010/07/01/XML2EDI/XA0139Z.xslt +711 -0
- data/data/xml/XSLTs/2010/07/01/XML2EDI/XU0131U.xslt +1259 -0
- data/data/xml/XSLTs/2010/07/01/stylesheet/ParagraphedText.xsl +39 -0
- data/data/xml/XSLTs/2010/07/01/stylesheet/WebReport.xsl +607 -0
- data/data/xml/XSLTs/2010/07/01/stylesheet/viewEmessage.xsl +163 -0
- data/data/xml/XSLTs/2010/07/01/stylesheet/viewEmessage.xslt +2325 -0
- data/data/xml/XSLTs/2011/02/17/EDI2XML/Breve.xslt +5 -0
- data/data/xml/XSLTs/2011/02/17/EDI2XML/D3234L.xslt +591 -0
- data/data/xml/XSLTs/2011/02/17/EDI2XML/GeneralTemplates.xslt +1350 -0
- data/data/xml/XSLTs/2011/02/17/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2011/02/17/XML2EDI/Emessage_2_XML11.xslt +93 -0
- data/data/xml/XSLTs/2011/02/17/XML2EDI/GeneralTemplates.xslt +220 -0
- data/data/xml/XSLTs/2011/02/17/XML2EDI/Letters.xslt +5 -0
- data/data/xml/XSLTs/2011/02/17/XML2EDI/XD3234L.xslt +1978 -0
- data/data/xml/XSLTs/2011/02/17/stylesheet/BirthNotification2html.xsl +599 -0
- data/data/xml/XSLTs/2011/02/17/stylesheet/common.xsl +524 -0
- data/data/xml/XSLTs/2011/02/17/stylesheet/viewEmessage.xsl +175 -0
- data/data/xml/XSLTs/2012/03/28/EDI2XML/B0131X.xslt +236 -0
- data/data/xml/XSLTs/2012/03/28/EDI2XML/Breve.xslt +6 -0
- data/data/xml/XSLTs/2012/03/28/EDI2XML/GeneralTemplates.xslt +1043 -0
- data/data/xml/XSLTs/2012/03/28/EDI2XML/R0431P.xslt +507 -0
- data/data/xml/XSLTs/2012/03/28/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2012/03/28/XML2EDI/Emessage_2_XML11.xslt +98 -0
- data/data/xml/XSLTs/2012/03/28/XML2EDI/GeneralTemplates.xslt +203 -0
- data/data/xml/XSLTs/2012/03/28/XML2EDI/Letters.xslt +6 -0
- data/data/xml/XSLTs/2012/03/28/XML2EDI/XB0131X.xslt +455 -0
- data/data/xml/XSLTs/2012/03/28/XML2EDI/XR0431P.xslt +1226 -0
- data/data/xml/XSLTs/2012/03/28/stylesheet/viewEmessage.xsl +565 -0
- data/data/xml/XSLTs/2013/09/02/EDI2XML/Breve.xslt +5 -0
- data/data/xml/XSLTs/2013/09/02/EDI2XML/GeneralTemplates.xslt +1045 -0
- data/data/xml/XSLTs/2013/09/02/EDI2XML/H0731R.xslt +524 -0
- data/data/xml/XSLTs/2013/09/02/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2013/09/02/XML2EDI/ConvertMedicalSpecialityCode.xslt +85 -0
- data/data/xml/XSLTs/2013/09/02/XML2EDI/Emessage_2_XML11.xslt +94 -0
- data/data/xml/XSLTs/2013/09/02/XML2EDI/GeneralTemplates.xslt +176 -0
- data/data/xml/XSLTs/2013/09/02/XML2EDI/Letters.xslt +5 -0
- data/data/xml/XSLTs/2013/09/02/XML2EDI/XH0731R.xslt +1171 -0
- data/data/xml/XSLTs/2013/09/02/stylesheet/ParagraphedText.xsl +39 -0
- data/data/xml/XSLTs/2013/09/02/stylesheet/WebReport.xsl +607 -0
- data/data/xml/XSLTs/2013/09/02/stylesheet/viewEmessage.xsl +300 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/A0140Z.xslt +474 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/Breve.xslt +12 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/GeneralTemplates.xslt +1066 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/Q0331P.xslt +494 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/R0130F.xslt +338 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/R0131K.xslt +449 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/R0231M.xslt +663 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/R0331P.xslt +517 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/R0432P.xslt +554 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/R0730G.xslt +469 -0
- data/data/xml/XSLTs/2014/10/08/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/Emessage_2_XML11.xslt +98 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/GeneralTemplates.xslt +328 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/Letters.xslt +13 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XA0140Z.xslt +728 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XQ0331P.xslt +1081 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0130F.xslt +660 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0131K.xslt +900 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0231M.xslt +1555 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0331P.xslt +1228 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0432P.xslt +1220 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0532M.xslt +11 -0
- data/data/xml/XSLTs/2014/10/08/XML2EDI/XR0730G.xslt +1035 -0
- data/data/xml/XSLTs/2014/10/08/stylesheet/WebReport.xsl +565 -0
- data/data/xml/XSLTs/2014/10/08/stylesheet/viewEmessage.xsl +2951 -0
- data/data/xml/XSLTs/2015/02/16/EDI2XML/Breve.xslt +5 -0
- data/data/xml/XSLTs/2015/02/16/EDI2XML/GeneralTemplates.xslt +1079 -0
- data/data/xml/XSLTs/2015/02/16/EDI2XML/U0131U.xslt +606 -0
- data/data/xml/XSLTs/2015/02/16/EDI2XML/XML11_2_Emessage.xslt +74 -0
- data/data/xml/XSLTs/2015/02/16/XML2EDI/Emessage_2_XML11.xslt +93 -0
- data/data/xml/XSLTs/2015/02/16/XML2EDI/GeneralTemplates.xslt +242 -0
- data/data/xml/XSLTs/2015/02/16/XML2EDI/Letters.xslt +5 -0
- data/data/xml/XSLTs/2015/02/16/XML2EDI/XU0131U.xslt +1259 -0
- data/data/xml/XSLTs/2015/02/16/stylesheet/viewEmessage.xsl +8 -0
- data/data/xml/examples/xrpt05/6092035412.xml +223 -0
- data/data/xml/examples/xrpt05/6092035418.xml +136 -0
- data/data/xml/examples/xrpt05/6092035422.xml +230 -0
- data/data/xml/examples/xrpt05/6092035424.xml +95 -0
- data/data/xml/examples/xrpt05/TekstEksempel.xml +13 -0
- data/data/xml/namespaces.xls +0 -0
- data/data/xml/viewCommon.xsl +32 -0
- data/data/xml/viewEmessage.xslt +1229 -0
- data/data/xml/xmledi.properties +171 -0
- data/edifact_converter.gemspec +27 -0
- data/lib/edifact_converter/abstract_syntax_tree.rb +97 -0
- data/lib/edifact_converter/binary.rb +69 -0
- data/lib/edifact_converter/command_line_parser.rb +72 -0
- data/lib/edifact_converter/comparator.rb +194 -0
- data/lib/edifact_converter/configuration/edifact_rule.rb +38 -0
- data/lib/edifact_converter/configuration/json_configurator.rb +91 -0
- data/lib/edifact_converter/configuration/xml_rule.rb +74 -0
- data/lib/edifact_converter/configuration/yaml_configurator.rb +91 -0
- data/lib/edifact_converter/configuration.rb +42 -0
- data/lib/edifact_converter/converter.rb +50 -0
- data/lib/edifact_converter/converter_methods.rb +137 -0
- data/lib/edifact_converter/debug_handler.rb +50 -0
- data/lib/edifact_converter/difference.rb +36 -0
- data/lib/edifact_converter/edi2xml11/brev_handler.rb +51 -0
- data/lib/edifact_converter/edi2xml11/edi_reader.rb +185 -0
- data/lib/edifact_converter/edi2xml11/hidden_group_handler.rb +47 -0
- data/lib/edifact_converter/edi2xml11/locator.rb +28 -0
- data/lib/edifact_converter/edi2xml11/parent_group_handler.rb +43 -0
- data/lib/edifact_converter/edi2xml11/pipeline.rb +38 -0
- data/lib/edifact_converter/edi2xml11/position.rb +20 -0
- data/lib/edifact_converter/edi2xml11/position_io.rb +75 -0
- data/lib/edifact_converter/edi2xml11/properties_handler.rb +101 -0
- data/lib/edifact_converter/edi2xml11/segment_group_handler.rb +49 -0
- data/lib/edifact_converter/edi2xml11/settings_handler.rb +31 -0
- data/lib/edifact_converter/edi2xml11/xml_handler.rb +108 -0
- data/lib/edifact_converter/edi2xml11.rb +19 -0
- data/lib/edifact_converter/edifact.rb +110 -0
- data/lib/edifact_converter/edifact_error.rb +19 -0
- data/lib/edifact_converter/empty_handler.rb +28 -0
- data/lib/edifact_converter/ftx_text.rb +153 -0
- data/lib/edifact_converter/message.rb +30 -0
- data/lib/edifact_converter/result.rb +39 -0
- data/lib/edifact_converter/version.rb +3 -0
- data/lib/edifact_converter/xml/paragraph.rb +183 -0
- data/lib/edifact_converter/xml/xftx_parser.rb +153 -0
- data/lib/edifact_converter/xml.rb +137 -0
- data/lib/edifact_converter/xml112edi/checksum_handler.rb +42 -0
- data/lib/edifact_converter/xml112edi/edi_handler.rb +86 -0
- data/lib/edifact_converter/xml112edi/segment_checks.rb +42 -0
- data/lib/edifact_converter/xml112edi/xml_reader.rb +88 -0
- data/lib/edifact_converter/xml112edi.rb +10 -0
- data/lib/edifact_converter.rb +62 -0
- data/test/abstract_syntax_tree_test.rb +68 -0
- data/test/comparator_test.rb +126 -0
- data/test/complete/edifact_converter_test.rb +57 -0
- data/test/complete/files/edifact/BIN01_1.edi +1403 -0
- data/test/complete/files/edifact/BIN01_2.edi +917 -3
- data/test/complete/files/edifact/BIN01_3.edi +1583 -3
- data/test/complete/files/edifact/BIN01_4.edi +66 -0
- data/test/complete/files/edifact/BIN01_5.edi +93 -0
- data/test/complete/files/edifact/BIN01_6.edi +4819 -6
- data/test/complete/files/edifact/CTL01_1.edi +10 -0
- data/test/complete/files/edifact/CTL02_1.edi +9 -0
- data/test/complete/files/edifact/CTL03_1.edi +8 -0
- data/test/complete/files/edifact/DIS01_1.edi +55 -0
- data/test/complete/files/edifact/DIS02_1.edi +44 -0
- data/test/complete/files/edifact/DIS03_1.edi +1 -0
- data/test/complete/files/edifact/DIS05_1.edi +41 -0
- data/test/complete/files/edifact/DIS06_1.edi +37 -0
- data/test/complete/files/edifact/DIS07_1.edi +39 -0
- data/test/complete/files/edifact/DIS08_1.edi +40 -0
- data/test/complete/files/edifact/DIS08_2.edi +1 -0
- data/test/complete/files/edifact/DIS13_1.edi +1 -0
- data/test/complete/files/edifact/DIS14_1.edi +50 -0
- data/test/complete/files/edifact/DIS17_1.edi +29 -0
- data/test/complete/files/edifact/DIS20_1.edi +29 -0
- data/test/complete/files/edifact/DIS91_1.edi +33 -0
- data/test/complete/files/edifact/DIS91_2.edi +32 -0
- data/test/complete/files/edifact/DIS91_3.edi +37 -0
- data/test/complete/files/edifact/PRE01_1.edi +1 -0
- data/test/complete/files/edifact/PRE01_2.edi +1 -0
- data/test/complete/files/edifact/PRE01_3.edi +1 -0
- data/test/complete/files/edifact/PRE60_1.edi +1 -0
- data/test/complete/files/edifact/PRE60_2.edi +1 -0
- data/test/complete/files/edifact/PRE60_3.edi +1 -0
- data/test/complete/files/edifact/REF01_1.edi +1 -0
- data/test/complete/files/edifact/REF02_1.edi +54 -0
- data/test/complete/files/edifact/REF06_1.edi +43 -0
- data/test/complete/files/edifact/REF06_2.edi +45 -0
- data/test/complete/files/edifact/REF06_3.edi +46 -0
- data/test/complete/files/edifact/REF07_1.edi +46 -0
- data/test/complete/files/edifact/REF07_2.edi +47 -0
- data/test/complete/files/edifact/REF07_3.edi +48 -0
- data/test/complete/files/edifact/REQ01_1.edi +1 -0
- data/test/complete/files/edifact/REQ02_1.edi +57 -0
- data/test/complete/files/edifact/REQ03_1.edi +65 -0
- data/test/complete/files/edifact/REQ03_2.edi +64 -0
- data/test/complete/files/edifact/RPT01_1.edi +146 -0
- data/test/complete/files/edifact/RPT01_2.edi +41 -0
- data/test/complete/files/edifact/RPT01_3.edi +42 -0
- data/test/complete/files/edifact/RPT03_1.edi +63 -0
- data/test/complete/files/edifact/RPT04_1.edi +76 -0
- data/test/complete/files/edifact/RPT04_2.edi +81 -0
- data/test/complete/files/xml/BIN01_1.xml +23295 -0
- data/test/complete/files/xml/BIN01_2.xml +3372 -0
- data/test/complete/files/xml/BIN01_3.xml +2061 -0
- data/test/complete/files/xml/BIN01_4.xml +3327 -0
- data/test/complete/files/xml/BIN01_5.xml +212 -0
- data/test/complete/files/xml/BIN01_6.xml +21487 -0
- data/test/complete/files/xml/CTL01_1.xml +2 -0
- data/test/complete/files/xml/CTL02_1.xml +2 -0
- data/test/complete/files/xml/CTL03_1.xml +2 -0
- data/test/complete/files/xml/DIS01_1.xml +2 -0
- data/test/complete/files/xml/DIS02_1.xml +2 -0
- data/test/complete/files/xml/DIS03_1.xml +2 -0
- data/test/complete/files/xml/DIS05_1.xml +2 -0
- data/test/complete/files/xml/DIS06_1.xml +2 -0
- data/test/complete/files/xml/DIS07_1.xml +2 -0
- data/test/complete/files/xml/DIS08_1.xml +2 -0
- data/test/complete/files/xml/DIS08_2.xml +2 -0
- data/test/complete/files/xml/DIS13_1.xml +2 -0
- data/test/complete/files/xml/DIS14_1.xml +2 -0
- data/test/complete/files/xml/DIS17_1.xml +2 -0
- data/test/complete/files/xml/DIS20_1.xml +2 -0
- data/test/complete/files/xml/DIS91_1.xml +2 -0
- data/test/complete/files/xml/DIS91_2.xml +2 -0
- data/test/complete/files/xml/DIS91_3.xml +2 -0
- data/test/complete/files/xml/PRE01_1.xml +2 -0
- data/test/complete/files/xml/PRE01_2.xml +2 -0
- data/test/complete/files/xml/PRE01_3.xml +2 -0
- data/test/complete/files/xml/PRE60_1.xml +2 -0
- data/test/complete/files/xml/PRE60_2.xml +2 -0
- data/test/complete/files/xml/PRE60_3.xml +2 -0
- data/test/complete/files/xml/REF01_1.xml +108 -0
- data/test/complete/files/xml/REF02_1.xml +2 -0
- data/test/complete/files/xml/REF06_1.xml +2 -0
- data/test/complete/files/xml/REF06_2.xml +2 -0
- data/test/complete/files/xml/REF06_3.xml +2 -0
- data/test/complete/files/xml/REF07_1.xml +2 -0
- data/test/complete/files/xml/REF07_2.xml +2 -0
- data/test/complete/files/xml/REF07_3.xml +2 -0
- data/test/complete/files/xml/REQ01_1.xml +2 -0
- data/test/complete/files/xml/REQ02_1.xml +2 -0
- data/test/complete/files/xml/REQ03_1.xml +2 -0
- data/test/complete/files/xml/REQ03_2.xml +2 -0
- data/test/complete/files/xml/RPT01_1.xml +2 -0
- data/test/complete/files/xml/RPT01_2.xml +2 -0
- data/test/complete/files/xml/RPT01_3.xml +2 -0
- data/test/complete/files/xml/RPT03_1.xml +2 -0
- data/test/complete/files/xml/RPT04_1.xml +2 -0
- data/test/complete/files/xml/RPT04_2.xml +2 -0
- data/test/converter_methods_test.rb +110 -0
- data/test/edi2xml11/brev_handler_test.rb +84 -0
- data/test/edi2xml11/edi_reader_test.rb +287 -0
- data/test/edi2xml11/log_reader_handler.rb +109 -0
- data/test/edi2xml11/postion_io_test.rb +87 -0
- data/test/edi2xml11/postion_test.rb +19 -0
- data/test/edi2xml11/segment_group_handler_test.rb +88 -0
- data/test/edi2xml11/xml_handler_test.rb +76 -0
- data/test/edifact_test.rb +235 -0
- data/test/empty_handler_test.rb +34 -0
- data/test/files/DIS14_ok.edi +50 -0
- data/test/files/DIS14_ok.xml +460 -0
- data/test/files/DIS17_ok.edi +29 -0
- data/test/files/DIS20_ERROR_ENC0.edi +29 -0
- data/test/files/DIS20_ERROR_UNB0.edi +29 -0
- data/test/files/DIS20_ERROR_UNB1.edi +28 -0
- data/test/files/DIS20_ERROR_UNB2.edi +30 -0
- data/test/files/DIS20_ERROR_UNB3.edi +57 -0
- data/test/files/DIS20_ERROR_UNH0.edi +29 -0
- data/test/files/DIS20_ERROR_UNH1.edi +28 -0
- data/test/files/DIS20_ERROR_UNH2.edi +29 -0
- data/test/files/DIS20_ERROR_UNT0.edi +29 -0
- data/test/files/DIS20_ERROR_UNT1.edi +28 -0
- data/test/files/DIS20_ERROR_UNT2.edi +29 -0
- data/test/files/DIS20_ERROR_UNZ0.edi +29 -0
- data/test/files/DIS20_ERROR_UNZ1.edi +29 -0
- data/test/files/DIS20_ERROR_UNZ2.edi +29 -0
- data/test/files/DIS20_ERROR_UNZ3.edi +28 -0
- data/test/files/DIS20_ERROR_XSL0.edi +29 -0
- data/test/files/DIS20_ERROR_XSL1.edi +29 -0
- data/test/files/DIS20_ERROR_XSL2.edi +29 -0
- data/test/files/DIS20_ok.edi +29 -0
- data/test/files/DIS20_ok_UNA.edi +28 -0
- data/test/files/DIS91_ERROR_XSL0.edi +29 -0
- data/test/files/DIS91_XFTX.xml +2 -0
- data/test/files/DIS91_ok.edi +33 -0
- data/test/files/PRE60_ok.edi +1 -0
- data/test/files/UNA.xml +2 -0
- data/test/files/XBIN_hello_World.edi +26 -0
- data/test/files/XBIN_hello_World.xml +59 -0
- data/test/files/XBIN_hofte.xml +2119 -0
- data/test/files/korr_x9134.xml +61 -0
- data/test/files/sygehushenv_ver30.edi +60 -0
- data/test/files/test.edi +50 -0
- data/test/files/test.xml +1039 -0
- data/test/files/test.xsl +41 -0
- data/test/files/text.edi +50 -0
- data/test/xml/paragraph_test.rb +165 -0
- data/test/xml/xftx_parser_test.rb +200 -0
- metadata +1479 -0
@@ -0,0 +1,1350 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
3
|
+
xmlns="http://rep.oio.dk/medcom.dk/xml/schemas/2011/02/17/">
|
4
|
+
<!--
|
5
|
+
****************************************************
|
6
|
+
* Templates til at h�ndtere fejlmeddelelser *
|
7
|
+
****************************************************
|
8
|
+
-->
|
9
|
+
<xsl:template name="Error">
|
10
|
+
<xsl:param name="Node" select="."/>
|
11
|
+
<xsl:param name="Text" select=" 'Uventet fejl' "/>
|
12
|
+
<FEJL>
|
13
|
+
<xsl:if test="$Node/@linie!='' ">
|
14
|
+
<xsl:attribute name="linie">
|
15
|
+
<xsl:value-of select="$Node/@linie"/>
|
16
|
+
</xsl:attribute>
|
17
|
+
</xsl:if>
|
18
|
+
<xsl:if test="$Node/@position!='' ">
|
19
|
+
<xsl:attribute name="position">
|
20
|
+
<xsl:value-of select="$Node/@position"/>
|
21
|
+
</xsl:attribute>
|
22
|
+
</xsl:if>
|
23
|
+
<xsl:value-of select="$Text"/>
|
24
|
+
</FEJL>
|
25
|
+
</xsl:template>
|
26
|
+
<!--
|
27
|
+
******************************************************************************************************
|
28
|
+
* Default fejlmeddelse hvis der ikke kan findes en konvertering til en given type brev *
|
29
|
+
******************************************************************************************************
|
30
|
+
-->
|
31
|
+
<xsl:template match="Brev">
|
32
|
+
<xsl:call-template name="Error">
|
33
|
+
<xsl:with-param name="Node" select="UNH/Elm[2]"/>
|
34
|
+
<xsl:with-param name="Text">Kan ikke konvertere breve af typen: [<xsl:value-of
|
35
|
+
select="UNH/Elm[2]/SubElm[1]"/> , <xsl:value-of select="UNH/Elm[2]/SubElm[5]"
|
36
|
+
/>]</xsl:with-param>
|
37
|
+
</xsl:call-template>
|
38
|
+
</xsl:template>
|
39
|
+
<!--
|
40
|
+
******************************************************************************************************
|
41
|
+
* Default fejlmeddelse hvis der ikke kan findes en konvertering til et givent element *
|
42
|
+
******************************************************************************************************
|
43
|
+
-->
|
44
|
+
<xsl:template match="*">
|
45
|
+
<xsl:call-template name="Error">
|
46
|
+
<xsl:with-param name="Text">Uventet element: <xsl:value-of select="name"/>
|
47
|
+
</xsl:with-param>
|
48
|
+
</xsl:call-template>
|
49
|
+
</xsl:template>
|
50
|
+
<!--
|
51
|
+
********************************************
|
52
|
+
* OVERS�TTELSE AF DATOTIDER *
|
53
|
+
********************************************
|
54
|
+
-->
|
55
|
+
<!--
|
56
|
+
******************************************************************************
|
57
|
+
* Default ov�rs�ttelse af Dato-tider i edifact formatet DTM 203 *
|
58
|
+
******************************************************************************
|
59
|
+
-->
|
60
|
+
<xsl:template match="DTM[Elm[1]/SubElm[3]='203'] ">
|
61
|
+
<xsl:call-template name="DTM203ToDateTime"/>
|
62
|
+
</xsl:template>
|
63
|
+
<!--
|
64
|
+
*********************************************************************
|
65
|
+
* Template der overs�tter DTM segmenter af typen 203 *
|
66
|
+
*********************************************************************
|
67
|
+
-->
|
68
|
+
<xsl:template name="DTM203ToDateTime">
|
69
|
+
<xsl:param name="DTM" select="."/>
|
70
|
+
<xsl:variable name="DT203" select="$DTM/Elm[1]/SubElm[2]"/>
|
71
|
+
<xsl:if test="$DTM/Elm[1]/SubElm[3]!='203' ">
|
72
|
+
<xsl:call-template name="Error">
|
73
|
+
<xsl:with-param name="Node" select="$DTM/Elm[1]/SubElm[3]"/>
|
74
|
+
<xsl:with-param name="Text">Kun datotider af typen 203 er tilladt</xsl:with-param>
|
75
|
+
</xsl:call-template>
|
76
|
+
</xsl:if>
|
77
|
+
<xsl:if test="string-length($DT203)!=12">
|
78
|
+
<xsl:call-template name="Error">
|
79
|
+
<xsl:with-param name="Text">Forkert antal tegn i Datotid:<xsl:value-of
|
80
|
+
select="$DT203"/> - der skal v�re 12 n�r kvalifikatoren er
|
81
|
+
203</xsl:with-param>
|
82
|
+
</xsl:call-template>
|
83
|
+
</xsl:if>
|
84
|
+
<Date>
|
85
|
+
<xsl:value-of
|
86
|
+
select="concat(substring($DT203,1,4),'-',substring($DT203,5,2),'-',substring($DT203,7,2))"
|
87
|
+
/>
|
88
|
+
</Date>
|
89
|
+
<Time>
|
90
|
+
<xsl:value-of select="concat(substring($DT203,9,2),':',substring($DT203,11,2))"/>
|
91
|
+
</Time>
|
92
|
+
</xsl:template>
|
93
|
+
<!--
|
94
|
+
*********************************************************************
|
95
|
+
* Template der overs�tter DTM segmenter af typen 204 *
|
96
|
+
*********************************************************************
|
97
|
+
-->
|
98
|
+
<xsl:template name="DTM204ToDateTimeWithSec">
|
99
|
+
<xsl:param name="DTM" select="."/>
|
100
|
+
<xsl:if test="$DTM/Elm[1]/SubElm[3]!='204' ">
|
101
|
+
<xsl:call-template name="Error">
|
102
|
+
<xsl:with-param name="Node" select="$DTM/Elm[1]/SubElm[3]"/>
|
103
|
+
<xsl:with-param name="Text">Kun datotider af typen 204 er tilladt</xsl:with-param>
|
104
|
+
</xsl:call-template>
|
105
|
+
</xsl:if>
|
106
|
+
<xsl:variable name="DT204" select="$DTM/Elm[1]/SubElm[2]"/>
|
107
|
+
<xsl:if test="string-length($DT204)!=14">
|
108
|
+
<xsl:call-template name="Error">
|
109
|
+
<xsl:with-param name="Text">Forkert antal tegn i Datotid:<xsl:value-of
|
110
|
+
select="$DT204"/> - der skal v�re 14 n�r kvalifikatoren er
|
111
|
+
204</xsl:with-param>
|
112
|
+
</xsl:call-template>
|
113
|
+
</xsl:if>
|
114
|
+
<Date>
|
115
|
+
<xsl:value-of
|
116
|
+
select="concat(substring($DT204,1,4),'-',substring($DT204,5,2),'-',substring($DT204,7,2))"
|
117
|
+
/>
|
118
|
+
</Date>
|
119
|
+
<TimeWithSec>
|
120
|
+
<xsl:value-of
|
121
|
+
select="concat(substring($DT204,9,2),':',substring($DT204,11,2),':',substring($DT204,13,2))"
|
122
|
+
/>
|
123
|
+
</TimeWithSec>
|
124
|
+
</xsl:template>
|
125
|
+
<xsl:template name="DTM204ToDateTimeWithoutSec">
|
126
|
+
<xsl:param name="DTM" select="."/>
|
127
|
+
<xsl:if test="$DTM/Elm[1]/SubElm[3]!='204' ">
|
128
|
+
<xsl:call-template name="Error">
|
129
|
+
<xsl:with-param name="Node" select="$DTM/Elm[1]/SubElm[3]"/>
|
130
|
+
<xsl:with-param name="Text">Kun datotider af typen 204 er tilladt</xsl:with-param>
|
131
|
+
</xsl:call-template>
|
132
|
+
</xsl:if>
|
133
|
+
<xsl:variable name="DT204" select="$DTM/Elm[1]/SubElm[2]"/>
|
134
|
+
<xsl:if test="string-length($DT204)!=14">
|
135
|
+
<xsl:call-template name="Error">
|
136
|
+
<xsl:with-param name="Text">Forkert antal tegn i Datotid:<xsl:value-of
|
137
|
+
select="$DT204"/> - der skal v�re 14 n�r kvalifikatoren er
|
138
|
+
204</xsl:with-param>
|
139
|
+
</xsl:call-template>
|
140
|
+
</xsl:if>
|
141
|
+
<Date>
|
142
|
+
<xsl:value-of
|
143
|
+
select="concat(substring($DT204,1,4),'-',substring($DT204,5,2),'-',substring($DT204,7,2))"
|
144
|
+
/>
|
145
|
+
</Date>
|
146
|
+
<Time>
|
147
|
+
<xsl:value-of select="concat(substring($DT204,9,2),':',substring($DT204,11,2))"/>
|
148
|
+
</Time>
|
149
|
+
</xsl:template>
|
150
|
+
<!--
|
151
|
+
*********************************************************************
|
152
|
+
* Template der overs�tter DTM segmenter af typen 102 *
|
153
|
+
*********************************************************************
|
154
|
+
-->
|
155
|
+
<xsl:template name="DTM102ToDateType">
|
156
|
+
<xsl:param name="DTM" select="."/>
|
157
|
+
<xsl:if test="$DTM/Elm[1]/SubElm[3]!='102' ">
|
158
|
+
<xsl:call-template name="Error">
|
159
|
+
<xsl:with-param name="Node" select="$DTM/Elm[1]/SubElm[3]"/>
|
160
|
+
<xsl:with-param name="Text">Kun datotider af typen 102 er tilladt</xsl:with-param>
|
161
|
+
</xsl:call-template>
|
162
|
+
</xsl:if>
|
163
|
+
<xsl:variable name="DT102" select="$DTM/Elm[1]/SubElm[2]"/>
|
164
|
+
<xsl:if test="string-length($DT102)!=8">
|
165
|
+
<xsl:call-template name="Error">
|
166
|
+
<xsl:with-param name="Text">Forkert antal tegn i Datotid:<xsl:value-of
|
167
|
+
select="$DT102"/> - der skal v�re 8 n�r kvalifikatoren er
|
168
|
+
102</xsl:with-param>
|
169
|
+
</xsl:call-template>
|
170
|
+
</xsl:if>
|
171
|
+
<xsl:value-of
|
172
|
+
select="concat(substring($DT102,1,4),'-',substring($DT102,5,2),'-',substring($DT102,7,2))"
|
173
|
+
/>
|
174
|
+
</xsl:template>
|
175
|
+
<!--
|
176
|
+
*********************************************************************
|
177
|
+
* Template der overs�tter DTM segmenter af typen 103 *
|
178
|
+
*********************************************************************
|
179
|
+
-->
|
180
|
+
<xsl:template name="DTM103ToYearsWeeksDays">
|
181
|
+
<xsl:param name="DTM" select="."/>
|
182
|
+
<xsl:if test="$DTM/Elm[1]/SubElm[3]!='103' ">
|
183
|
+
<xsl:call-template name="Error">
|
184
|
+
<xsl:with-param name="Node" select="$DTM/Elm[1]/SubElm[3]"/>
|
185
|
+
<xsl:with-param name="Text">Kun datotider af typen 103 er tilladt</xsl:with-param>
|
186
|
+
</xsl:call-template>
|
187
|
+
</xsl:if>
|
188
|
+
<xsl:variable name="DT103" select="$DTM/Elm[1]/SubElm[2]"/>
|
189
|
+
<xsl:if test="string-length($DT103)!=5">
|
190
|
+
<xsl:call-template name="Error">
|
191
|
+
<xsl:with-param name="Text">Forkert antal tegn i Datotid:<xsl:value-of
|
192
|
+
select="$DT103"/> - der skal v�re 5 n�r kvalifikatoren er
|
193
|
+
102</xsl:with-param>
|
194
|
+
</xsl:call-template>
|
195
|
+
</xsl:if>
|
196
|
+
<xsl:if test="substring($DT103,1,2) >'00' and substring($DT103,1,2) <'99'">
|
197
|
+
<Years>
|
198
|
+
<xsl:value-of select="substring($DT103,1,2)"/>
|
199
|
+
</Years>
|
200
|
+
</xsl:if>
|
201
|
+
<xsl:if test="substring($DT103,3,2) >'00' and substring($DT103,3,2) <'54'">
|
202
|
+
<Weeks>
|
203
|
+
<xsl:value-of select="substring($DT103,3,2)"/>
|
204
|
+
</Weeks>
|
205
|
+
</xsl:if>
|
206
|
+
<xsl:if test="substring($DT103,5,1) >'0' and substring($DT103,5,1) <'8'">
|
207
|
+
<Days>
|
208
|
+
<xsl:value-of select="substring($DT103,5,1)"/>
|
209
|
+
</Days>
|
210
|
+
</xsl:if>
|
211
|
+
</xsl:template>
|
212
|
+
<!--
|
213
|
+
****************************************************************************************************
|
214
|
+
* Template til at overs�tte diverse DTM segmenter til DateTime elementer i XML'en *
|
215
|
+
***************************************************************************************************
|
216
|
+
-->
|
217
|
+
<xsl:template name="DTMToDateTime">
|
218
|
+
<xsl:param name="DTM" select="."/>
|
219
|
+
<xsl:choose>
|
220
|
+
<xsl:when test="$DTM/Elm[1]/SubElm[3]='203' ">
|
221
|
+
<xsl:call-template name="DTM203ToDateTime"/>
|
222
|
+
</xsl:when>
|
223
|
+
<xsl:when test="$DTM/Elm[1]/SubElm[3]='204' ">
|
224
|
+
<xsl:call-template name="DTM204ToDateTimeWithSec"/>
|
225
|
+
</xsl:when>
|
226
|
+
<xsl:otherwise>
|
227
|
+
<xsl:call-template name="Error">
|
228
|
+
<xsl:with-param name="Node" select="$DTM"/>
|
229
|
+
<xsl:with-param name="Text">Ukendt datoformat:<xsl:value-of
|
230
|
+
select="$DTM/Elm[1]/SubElm[3]"/>
|
231
|
+
</xsl:with-param>
|
232
|
+
</xsl:call-template>
|
233
|
+
</xsl:otherwise>
|
234
|
+
</xsl:choose>
|
235
|
+
</xsl:template>
|
236
|
+
<!--
|
237
|
+
**************************************************
|
238
|
+
* OVERS�TTELSE AF FTXSEGMENTER *
|
239
|
+
**************************************************
|
240
|
+
-->
|
241
|
+
|
242
|
+
<!--
|
243
|
+
****************************************************************************************************
|
244
|
+
* Template der overs�tter Tekstelementerne i et FTX segment til en tekst *
|
245
|
+
***************************************************************************************************
|
246
|
+
-->
|
247
|
+
<xsl:template name="FTXSubElmsToText">
|
248
|
+
<xsl:param name="FTXSubElms" select="."/>
|
249
|
+
<xsl:for-each select="$FTXSubElms">
|
250
|
+
<xsl:choose>
|
251
|
+
<xsl:when test=".='.'"> </xsl:when>
|
252
|
+
<xsl:when test="string-length(.)>0 and substring(.,string-length(.),1)='\'">
|
253
|
+
<xsl:value-of select="substring(.,1,string-length(.)-1)"/>
|
254
|
+
</xsl:when>
|
255
|
+
<xsl:otherwise>
|
256
|
+
<xsl:value-of select="."/>
|
257
|
+
</xsl:otherwise>
|
258
|
+
</xsl:choose>
|
259
|
+
</xsl:for-each>
|
260
|
+
</xsl:template>
|
261
|
+
<!--
|
262
|
+
****************************************************************************************************
|
263
|
+
* Template der overs�tter Tekstelementerne i et FTX segment til en Breakable tekst *
|
264
|
+
***************************************************************************************************
|
265
|
+
-->
|
266
|
+
<xsl:template name="FTXSubElmsToBreakableText">
|
267
|
+
<xsl:param name="FTXSubElms" select="."/>
|
268
|
+
<xsl:for-each select="$FTXSubElms">
|
269
|
+
<xsl:choose>
|
270
|
+
<xsl:when test=".='.'">
|
271
|
+
<Break/>
|
272
|
+
</xsl:when>
|
273
|
+
<xsl:when test="string-length(.)>0 and substring(.,string-length(.),1)='\'">
|
274
|
+
<xsl:value-of select="substring(.,1,string-length(.)-1)"/>
|
275
|
+
</xsl:when>
|
276
|
+
<xsl:otherwise>
|
277
|
+
<xsl:value-of select="."/>
|
278
|
+
<Break/>
|
279
|
+
</xsl:otherwise>
|
280
|
+
</xsl:choose>
|
281
|
+
</xsl:for-each>
|
282
|
+
</xsl:template>
|
283
|
+
<!--
|
284
|
+
**************************************************************************************
|
285
|
+
* Template der overs�tter FTX segmenter til en tekst uden formatering *
|
286
|
+
**************************************************************************************
|
287
|
+
-->
|
288
|
+
<xsl:template name="FTXSegmentsToText">
|
289
|
+
<xsl:param name="FTXSegments" select="."/>
|
290
|
+
<xsl:for-each select="$FTXSegments/Elm[4]/SubElm">
|
291
|
+
<xsl:choose>
|
292
|
+
<xsl:when test=".='.'"> </xsl:when>
|
293
|
+
<xsl:when test="string-length(.)>0 and substring(.,string-length(.),1)='\'">
|
294
|
+
<xsl:value-of select="substring(.,1,string-length(.)-1)"/>
|
295
|
+
</xsl:when>
|
296
|
+
<xsl:otherwise>
|
297
|
+
<xsl:value-of select="."/>
|
298
|
+
</xsl:otherwise>
|
299
|
+
</xsl:choose>
|
300
|
+
</xsl:for-each>
|
301
|
+
</xsl:template>
|
302
|
+
<!--
|
303
|
+
*********************************************************************************
|
304
|
+
* FTX segmenter til en breakable tekst uden yderligere formatering *
|
305
|
+
*********************************************************************************
|
306
|
+
-->
|
307
|
+
<xsl:template name="FTXSegmentsToBreakableText">
|
308
|
+
<xsl:param name="FTXSegments" select="."/>
|
309
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
310
|
+
<xsl:with-param name="FTXSubElms" select="$FTXSegments/Elm[4]/SubElm"/>
|
311
|
+
</xsl:call-template>
|
312
|
+
</xsl:template>
|
313
|
+
<!--
|
314
|
+
*************************************************************************************************
|
315
|
+
* Template der overs�tter en m�ngde af FTX segmenter til en formateret tekst *
|
316
|
+
*************************************************************************************************
|
317
|
+
-->
|
318
|
+
<xsl:template name="FTXSegmentsToFormattedText">
|
319
|
+
<xsl:param name="FTXSegments" select="."/>
|
320
|
+
<xsl:for-each select="$FTXSegments">
|
321
|
+
<xsl:choose>
|
322
|
+
<xsl:when test="Elm[2]/SubElm[1]='F00' ">
|
323
|
+
<FixedFont>
|
324
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
325
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
326
|
+
</xsl:call-template>
|
327
|
+
</FixedFont>
|
328
|
+
</xsl:when>
|
329
|
+
<xsl:when test="Elm[2]/SubElm[1]='F0H' ">
|
330
|
+
<FixedFont>
|
331
|
+
<Right>
|
332
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
333
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
334
|
+
</xsl:call-template>
|
335
|
+
</Right>
|
336
|
+
</FixedFont>
|
337
|
+
</xsl:when>
|
338
|
+
<xsl:when test="Elm[2]/SubElm[1]='F0M' ">
|
339
|
+
<FixedFont>
|
340
|
+
<Center>
|
341
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
342
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
343
|
+
</xsl:call-template>
|
344
|
+
</Center>
|
345
|
+
</FixedFont>
|
346
|
+
</xsl:when>
|
347
|
+
<xsl:when test="Elm[2]/SubElm[1]='FF0' ">
|
348
|
+
<FixedFont>
|
349
|
+
<Bold>
|
350
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
351
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
352
|
+
</xsl:call-template>
|
353
|
+
</Bold>
|
354
|
+
</FixedFont>
|
355
|
+
</xsl:when>
|
356
|
+
<xsl:when test="Elm[2]/SubElm[1]='FU0' ">
|
357
|
+
<FixedFont>
|
358
|
+
<Underline>
|
359
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
360
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
361
|
+
</xsl:call-template>
|
362
|
+
</Underline>
|
363
|
+
</FixedFont>
|
364
|
+
</xsl:when>
|
365
|
+
<xsl:when test="Elm[2]/SubElm[1]='FK0' ">
|
366
|
+
<FixedFont>
|
367
|
+
<Italic>
|
368
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
369
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
370
|
+
</xsl:call-template>
|
371
|
+
</Italic>
|
372
|
+
</FixedFont>
|
373
|
+
</xsl:when>
|
374
|
+
<xsl:when test="Elm[2]/SubElm[1]='P00' ">
|
375
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
376
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
377
|
+
</xsl:call-template>
|
378
|
+
</xsl:when>
|
379
|
+
<xsl:when test="Elm[2]/SubElm[1]='P0H' ">
|
380
|
+
<Right>
|
381
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
382
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
383
|
+
</xsl:call-template>
|
384
|
+
</Right>
|
385
|
+
</xsl:when>
|
386
|
+
<xsl:when test="Elm[2]/SubElm[1]='P0M' ">
|
387
|
+
<Center>
|
388
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
389
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
390
|
+
</xsl:call-template>
|
391
|
+
</Center>
|
392
|
+
</xsl:when>
|
393
|
+
<xsl:when test="Elm[2]/SubElm[1]='PF0' ">
|
394
|
+
<Bold>
|
395
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
396
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
397
|
+
</xsl:call-template>
|
398
|
+
</Bold>
|
399
|
+
</xsl:when>
|
400
|
+
<xsl:when test="Elm[2]/SubElm[1]='PU0' ">
|
401
|
+
<Underline>
|
402
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
403
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
404
|
+
</xsl:call-template>
|
405
|
+
</Underline>
|
406
|
+
</xsl:when>
|
407
|
+
<xsl:when test="Elm[2]/SubElm[1]='PK0' ">
|
408
|
+
<Italic>
|
409
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
410
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
411
|
+
</xsl:call-template>
|
412
|
+
</Italic>
|
413
|
+
</xsl:when>
|
414
|
+
<xsl:otherwise>
|
415
|
+
<FixedFont>
|
416
|
+
<xsl:call-template name="FTXSubElmsToBreakableText">
|
417
|
+
<xsl:with-param name="FTXSubElms" select="Elm[4]/SubElm"/>
|
418
|
+
</xsl:call-template>
|
419
|
+
</FixedFont>
|
420
|
+
</xsl:otherwise>
|
421
|
+
</xsl:choose>
|
422
|
+
</xsl:for-each>
|
423
|
+
</xsl:template>
|
424
|
+
<!--
|
425
|
+
********************************************************************
|
426
|
+
* OVERS�TTELSE AF DIVERSE KVALIFIKATORLISTER *
|
427
|
+
********************************************************************
|
428
|
+
-->
|
429
|
+
<!--
|
430
|
+
*********************************************************************
|
431
|
+
* Template for Fejl situationer relateret til kvalifikatorlister *
|
432
|
+
*********************************************************************
|
433
|
+
-->
|
434
|
+
<xsl:template name="ValueListError">
|
435
|
+
<xsl:param name="ValueNode" select="."/>
|
436
|
+
<xsl:param name="Text" select="'Ikke tilladt v�rdi'"/>
|
437
|
+
<xsl:call-template name="Error">
|
438
|
+
<xsl:with-param name="Node" select="$ValueNode"/>
|
439
|
+
<xsl:with-param name="Text">
|
440
|
+
<xsl:value-of select="$Text"/>: <xsl:value-of select="$ValueNode"/>
|
441
|
+
</xsl:with-param>
|
442
|
+
</xsl:call-template>
|
443
|
+
</xsl:template>
|
444
|
+
<!--
|
445
|
+
*********************************************************
|
446
|
+
* Template til at overs�tte afsenders speciale *
|
447
|
+
*********************************************************
|
448
|
+
-->
|
449
|
+
<xsl:template name="AFSSPECToMedicalSpecialityCode">
|
450
|
+
<xsl:param name="AFSSPEC" select="."/>
|
451
|
+
<xsl:if test="$AFSSPEC!='' ">
|
452
|
+
<MedicalSpecialityCode>
|
453
|
+
<xsl:choose>
|
454
|
+
<xsl:when test=" $AFSSPEC='99' ">ikkeklassificeret</xsl:when>
|
455
|
+
<xsl:when test=" $AFSSPEC='1' ">intern_medicin_sygehus</xsl:when>
|
456
|
+
<xsl:when test=" $AFSSPEC='2' ">geriatri</xsl:when>
|
457
|
+
<xsl:when test=" $AFSSPEC='3' ">hepatologi</xsl:when>
|
458
|
+
<xsl:when test=" $AFSSPEC='4' ">haematologi</xsl:when>
|
459
|
+
<xsl:when test=" $AFSSPEC='5' ">infektionsmedicin</xsl:when>
|
460
|
+
<xsl:when test=" $AFSSPEC='6' ">kardiologi</xsl:when>
|
461
|
+
<xsl:when test=" $AFSSPEC='7' ">med_allergologi</xsl:when>
|
462
|
+
<xsl:when test=" $AFSSPEC='8' ">med_endokrinologi</xsl:when>
|
463
|
+
<xsl:when test=" $AFSSPEC='9' ">med_gastroenterologi</xsl:when>
|
464
|
+
<xsl:when test=" $AFSSPEC='10' ">med_lungesygdomme</xsl:when>
|
465
|
+
<xsl:when test=" $AFSSPEC='11' ">nefrologi</xsl:when>
|
466
|
+
<xsl:when test=" $AFSSPEC='12' ">reumatologi</xsl:when>
|
467
|
+
<xsl:when test=" $AFSSPEC='18' ">dermato_venerologi_sygehus</xsl:when>
|
468
|
+
<xsl:when test=" $AFSSPEC='20' ">neurologi</xsl:when>
|
469
|
+
<xsl:when test=" $AFSSPEC='22' ">onkologi</xsl:when>
|
470
|
+
<xsl:when test=" $AFSSPEC='30' ">kirurgi_sygehus</xsl:when>
|
471
|
+
<xsl:when test=" $AFSSPEC='31' ">karkirurgi</xsl:when>
|
472
|
+
<xsl:when test=" $AFSSPEC='32' ">kir_gastroenterologi</xsl:when>
|
473
|
+
<xsl:when test=" $AFSSPEC='33' ">plastikkirurgi</xsl:when>
|
474
|
+
<xsl:when test=" $AFSSPEC='34' ">thoraxkirurgi</xsl:when>
|
475
|
+
<xsl:when test=" $AFSSPEC='35' ">urologi</xsl:when>
|
476
|
+
<xsl:when test=" $AFSSPEC='38' ">gynaekologi_obstetrik_sygehus</xsl:when>
|
477
|
+
<xsl:when test=" $AFSSPEC='40' ">neurokirurgi</xsl:when>
|
478
|
+
<xsl:when test=" $AFSSPEC='42' ">ortopaedisk_kirurgi_sygehus</xsl:when>
|
479
|
+
<xsl:when test=" $AFSSPEC='44' ">oftalmologi</xsl:when>
|
480
|
+
<xsl:when test=" $AFSSPEC='46' ">oto_rhino_laryngologi</xsl:when>
|
481
|
+
<xsl:when test=" $AFSSPEC='48' ">hospitalsodontologi</xsl:when>
|
482
|
+
<xsl:when test=" $AFSSPEC='50' ">psykiatri_sygehus</xsl:when>
|
483
|
+
<xsl:when test=" $AFSSPEC='52' ">boerne_ungdomspsykiatri</xsl:when>
|
484
|
+
<xsl:when test=" $AFSSPEC='60' ">klin_biokemi</xsl:when>
|
485
|
+
<xsl:when test=" $AFSSPEC='61' ">klin_fys_nuklearmedicin</xsl:when>
|
486
|
+
<xsl:when test=" $AFSSPEC='62' ">klin_immunologi</xsl:when>
|
487
|
+
<xsl:when test=" $AFSSPEC='63' ">klin_mikrobiologi</xsl:when>
|
488
|
+
<xsl:when test=" $AFSSPEC='64' ">klin_neurofysiologi</xsl:when>
|
489
|
+
<xsl:when test=" $AFSSPEC='65' ">patologisk_anatomi</xsl:when>
|
490
|
+
<xsl:when test=" $AFSSPEC='66' ">diagnostisk_radiologi</xsl:when>
|
491
|
+
<xsl:when test=" $AFSSPEC='67' ">klin_farmakologi</xsl:when>
|
492
|
+
<xsl:when test=" $AFSSPEC='68' ">klin_genetik</xsl:when>
|
493
|
+
<xsl:when test=" $AFSSPEC='80' ">paediatri_sygehus</xsl:when>
|
494
|
+
<xsl:when test=" $AFSSPEC='84' ">anaestesiologi_sygehus</xsl:when>
|
495
|
+
<xsl:when test=" $AFSSPEC='86' ">arbejdsmedicin</xsl:when>
|
496
|
+
<xsl:when test=" $AFSSPEC='90' ">almen_medicin</xsl:when>
|
497
|
+
<xsl:when test=" $AFSSPEC='91' ">samfundsmedicin</xsl:when>
|
498
|
+
<xsl:when test=" $AFSSPEC='580' ">almenlaege_laegevagt</xsl:when>
|
499
|
+
<xsl:when test=" $AFSSPEC='1519' ">oejenlaege</xsl:when>
|
500
|
+
<xsl:when test=" $AFSSPEC='2021' ">oere_naese_halslaege</xsl:when>
|
501
|
+
<xsl:when test=" $AFSSPEC='2501' ">anaestesiologi_praksis</xsl:when>
|
502
|
+
<xsl:when test=" $AFSSPEC='2503' ">roentgen_kbh</xsl:when>
|
503
|
+
<xsl:when test=" $AFSSPEC='2504' ">dermato_venerologi_praksis</xsl:when>
|
504
|
+
<xsl:when test=" $AFSSPEC='2505' ">roentgen</xsl:when>
|
505
|
+
<xsl:when test=" $AFSSPEC='2506' ">reumatologi_fysiurgi</xsl:when>
|
506
|
+
<xsl:when test=" $AFSSPEC='2507' ">gynaekologi_obstetrik_praksis</xsl:when>
|
507
|
+
<xsl:when test=" $AFSSPEC='2508' ">intern_medicin_praksis</xsl:when>
|
508
|
+
<xsl:when test=" $AFSSPEC='2509' ">kirurgi_praksis</xsl:when>
|
509
|
+
<xsl:when test=" $AFSSPEC='2511' ">klinisk_kemi</xsl:when>
|
510
|
+
<xsl:when test=" $AFSSPEC='2518' ">neuromedicin</xsl:when>
|
511
|
+
<xsl:when test=" $AFSSPEC='2520' ">ortopaedisk_kirurgi_praksis</xsl:when>
|
512
|
+
<xsl:when test=" $AFSSPEC='2522' ">patologi </xsl:when>
|
513
|
+
<xsl:when test=" $AFSSPEC='2523' ">plastkirurgi</xsl:when>
|
514
|
+
<xsl:when test=" $AFSSPEC='2524' ">psykiatri_praksis</xsl:when>
|
515
|
+
<xsl:when test=" $AFSSPEC='2525' ">paediatri</xsl:when>
|
516
|
+
<xsl:when test=" $AFSSPEC='2526' ">boernepsykiatri</xsl:when>
|
517
|
+
<xsl:when test=" $AFSSPEC='2528' ">tropemedicin</xsl:when>
|
518
|
+
<xsl:when test=" $AFSSPEC='4050' ">tandlaege</xsl:when>
|
519
|
+
<xsl:when test=" $AFSSPEC='4551' ">fysioterapi</xsl:when>
|
520
|
+
<xsl:when test=" $AFSSPEC='5053' ">kiropraktor</xsl:when>
|
521
|
+
<xsl:when test=" $AFSSPEC='5552' ">briller</xsl:when>
|
522
|
+
<xsl:when test=" $AFSSPEC='6054' ">fodterapi</xsl:when>
|
523
|
+
<xsl:when test=" $AFSSPEC='6055' ">fodbehandlking</xsl:when>
|
524
|
+
<xsl:when test=" $AFSSPEC='7045' ">med_laboratorier</xsl:when>
|
525
|
+
<xsl:when test=" $AFSSPEC='7046' ">omegnslaboratorier</xsl:when>
|
526
|
+
<xsl:when test=" $AFSSPEC='9463' ">psykolog</xsl:when>
|
527
|
+
<xsl:otherwise>
|
528
|
+
<xsl:call-template name="ValueListError">
|
529
|
+
<xsl:with-param name="ValueNode" select="$AFSSPEC"/>
|
530
|
+
<xsl:with-param name="Text">Kan ikke overs�tte AFSSPEC til
|
531
|
+
MedicalSpecialityCode</xsl:with-param>
|
532
|
+
</xsl:call-template>
|
533
|
+
</xsl:otherwise>
|
534
|
+
</xsl:choose>
|
535
|
+
</MedicalSpecialityCode>
|
536
|
+
</xsl:if>
|
537
|
+
</xsl:template>
|
538
|
+
<xsl:template name="AFSSPECToSpecialityCode">
|
539
|
+
<xsl:param name="SC" select="."/>
|
540
|
+
<xsl:if test="count($SC)=1">
|
541
|
+
<xsl:choose>
|
542
|
+
<xsl:when test=" $SC=1">anaestesi</xsl:when>
|
543
|
+
<xsl:when test=" $SC=3">diagnostisk_radiologi_koebenhavn</xsl:when>
|
544
|
+
<xsl:when test=" $SC=4">dermatologi_venerologi</xsl:when>
|
545
|
+
<xsl:when test=" $SC=5">radiologi</xsl:when>
|
546
|
+
<xsl:when test=" $SC=6">reumatologi</xsl:when>
|
547
|
+
<xsl:when test=" $SC=7">gynaekologi_obstetrik</xsl:when>
|
548
|
+
<xsl:when test=" $SC=8">intern_medicin</xsl:when>
|
549
|
+
<xsl:when test=" $SC=9">kirurgi</xsl:when>
|
550
|
+
<xsl:when test=" $SC=18">neuromedicin</xsl:when>
|
551
|
+
<xsl:when test=" $SC=19">oejenlaege</xsl:when>
|
552
|
+
<xsl:when test=" $SC=20">ortopaedisk_kirurgi</xsl:when>
|
553
|
+
<xsl:when test=" $SC=21">oere_naese_halslaege</xsl:when>
|
554
|
+
<xsl:when test=" $SC=22">patologi</xsl:when>
|
555
|
+
<xsl:when test=" $SC=23">plastikkirurgi</xsl:when>
|
556
|
+
<xsl:when test=" $SC=24">psykiatri</xsl:when>
|
557
|
+
<xsl:when test=" $SC=25">paediatri</xsl:when>
|
558
|
+
<xsl:when test=" $SC=26">boernepsykiatri</xsl:when>
|
559
|
+
<xsl:when test=" $SC=28">tropemedicin</xsl:when>
|
560
|
+
<xsl:when test=" $SC=50">tandlaege</xsl:when>
|
561
|
+
<xsl:when test=" $SC=51">fysioterapi</xsl:when>
|
562
|
+
<xsl:when test=" $SC=53">kiropraktor</xsl:when>
|
563
|
+
<xsl:when test=" $SC=54">fodterapi_sukkersyge</xsl:when>
|
564
|
+
<xsl:when test=" $SC=55">fodterapi_unquis_incarnatus</xsl:when>
|
565
|
+
<xsl:when test=" $SC=57">ridefysioterapi</xsl:when>
|
566
|
+
<xsl:when test=" $SC=59">fodterapi_foelger_radioaktiv_bestraaling</xsl:when>
|
567
|
+
<xsl:when test=" $SC=62">vederlagsfri_fysioterapi</xsl:when>
|
568
|
+
<xsl:when test=" $SC=63">psykolog</xsl:when>
|
569
|
+
<xsl:when test=" $SC=64">kiropraktik_ordning_64</xsl:when>
|
570
|
+
<xsl:when test=" $SC=65">vederlagsfri_ridefysioterapi</xsl:when>
|
571
|
+
<xsl:when test=" $SC='80'">alment_praktiserende_laege</xsl:when>
|
572
|
+
<xsl:otherwise>
|
573
|
+
<FEJL>Ukendt afsenderspeciale: <xsl:value-of select="$SC"/>
|
574
|
+
</FEJL>
|
575
|
+
</xsl:otherwise>
|
576
|
+
</xsl:choose>
|
577
|
+
</xsl:if>
|
578
|
+
</xsl:template>
|
579
|
+
|
580
|
+
|
581
|
+
<xsl:template name="SPRToMedicalSpecialityCode">
|
582
|
+
<xsl:param name="SPR" select="."/>
|
583
|
+
<xsl:call-template name="AFSSPECToMedicalSpecialityCode">
|
584
|
+
<xsl:with-param name="AFSSPEC" select="$SPR/Elm[2]/SubElm[1]"/>
|
585
|
+
</xsl:call-template>
|
586
|
+
</xsl:template>
|
587
|
+
<xsl:template name="SPR31ToMedicalSpecialityCode">
|
588
|
+
<xsl:param name="SPR" select="."/>
|
589
|
+
<xsl:call-template name="AFSSPECToMedicalSpecialityCode">
|
590
|
+
<xsl:with-param name="AFSSPEC" select="$SPR/Elm[3]/SubElm[1]"/>
|
591
|
+
</xsl:call-template>
|
592
|
+
</xsl:template>
|
593
|
+
<!--
|
594
|
+
******************************************************
|
595
|
+
* Template til at overs�tte p�r�rendes rolle *
|
596
|
+
******************************************************
|
597
|
+
-->
|
598
|
+
<xsl:template name="RELToRelationCode">
|
599
|
+
<xsl:param name="REL" select="."/>
|
600
|
+
<RelationCode>
|
601
|
+
<xsl:variable name="RC" select="$REL/Elm[2]/SubElm[1]"/>
|
602
|
+
<xsl:choose>
|
603
|
+
<xsl:when test="$RC='GU'">uspec_paaroerende</xsl:when>
|
604
|
+
<xsl:when test="$RC='MO'">mor</xsl:when>
|
605
|
+
<xsl:when test="$RC='FA'">far</xsl:when>
|
606
|
+
<xsl:when test="$RC='PA'">aegtefaelle</xsl:when>
|
607
|
+
<xsl:when test="$RC='SD'">barn</xsl:when>
|
608
|
+
<xsl:otherwise>
|
609
|
+
<xsl:call-template name="ValueListError">
|
610
|
+
<xsl:with-param name="ValueNode" select="$RC"/>
|
611
|
+
<xsl:with-param name="Text">Kan ikke overs�tte kode for
|
612
|
+
p�r�rende</xsl:with-param>
|
613
|
+
</xsl:call-template>
|
614
|
+
</xsl:otherwise>
|
615
|
+
</xsl:choose>
|
616
|
+
</RelationCode>
|
617
|
+
</xsl:template>
|
618
|
+
<!--
|
619
|
+
******************************************************
|
620
|
+
* Templates til at overs�tte NAD segmenter *
|
621
|
+
******************************************************
|
622
|
+
-->
|
623
|
+
<xsl:template name="NADToIdentifier">
|
624
|
+
<xsl:param name="NAD" select="."/>
|
625
|
+
<xsl:if test="$NAD/Elm[2]/SubElm[1]!='' ">
|
626
|
+
<Identifier>
|
627
|
+
<xsl:value-of select="$NAD/Elm[2]/SubElm[1]"/>
|
628
|
+
</Identifier>
|
629
|
+
</xsl:if>
|
630
|
+
</xsl:template>
|
631
|
+
<xsl:template name="NADToIdentifierCode">
|
632
|
+
<xsl:param name="NAD" select="."/>
|
633
|
+
<IdentifierCode>
|
634
|
+
<xsl:variable name="IC" select="$NAD/Elm[2]/SubElm[2]"/>
|
635
|
+
<xsl:choose>
|
636
|
+
<xsl:when test="$IC='SKS' ">sygehusafdelingsnummer</xsl:when>
|
637
|
+
<xsl:when test="$IC='YNR' ">ydernummer</xsl:when>
|
638
|
+
<xsl:when test="$IC='EAN' ">lokationsnummer</xsl:when>
|
639
|
+
<xsl:when test="$IC='' ">lokationsnummer</xsl:when>
|
640
|
+
<xsl:when test="not($IC)">lokationsnummer</xsl:when>
|
641
|
+
<xsl:when test="$IC='KOM' ">kommunenummer</xsl:when>
|
642
|
+
<xsl:when test="$IC='SOR'">sorkode</xsl:when>
|
643
|
+
<xsl:when test="$IC='NCD' ">lokalt_nummer</xsl:when>
|
644
|
+
<xsl:otherwise>
|
645
|
+
<xsl:call-template name="Error">
|
646
|
+
<xsl:with-param name="Node" select="$IC"/>
|
647
|
+
<xsl:with-param name="Text">Kan ikke oversaette til IdentifierCodeType:
|
648
|
+
<xsl:value-of select="$IC"/>
|
649
|
+
</xsl:with-param>
|
650
|
+
</xsl:call-template>
|
651
|
+
</xsl:otherwise>
|
652
|
+
</xsl:choose>
|
653
|
+
</IdentifierCode>
|
654
|
+
</xsl:template>
|
655
|
+
<xsl:template name="NADToOrganisationName">
|
656
|
+
<xsl:param name="NAD" select="."/>
|
657
|
+
<xsl:if test="$NAD/Elm[4]/SubElm[1]!=''">
|
658
|
+
<OrganisationName>
|
659
|
+
<xsl:value-of select="$NAD/Elm[4]/SubElm[1]"/>
|
660
|
+
</OrganisationName>
|
661
|
+
</xsl:if>
|
662
|
+
</xsl:template>
|
663
|
+
<xsl:template name="NADToDepartmentName">
|
664
|
+
<xsl:param name="NAD" select="."/>
|
665
|
+
<xsl:if test="$NAD/Elm[4]/SubElm[2]!=''">
|
666
|
+
<DepartmentName>
|
667
|
+
<xsl:value-of select="$NAD/Elm[4]/SubElm[2]"/>
|
668
|
+
</DepartmentName>
|
669
|
+
</xsl:if>
|
670
|
+
</xsl:template>
|
671
|
+
<xsl:template name="NADToUnitName">
|
672
|
+
<xsl:param name="NAD" select="."/>
|
673
|
+
<xsl:if test="$NAD/Elm[4]/SubElm[3]!=''">
|
674
|
+
<UnitName>
|
675
|
+
<xsl:value-of select="$NAD/Elm[4]/SubElm[3]"/>
|
676
|
+
</UnitName>
|
677
|
+
</xsl:if>
|
678
|
+
</xsl:template>
|
679
|
+
<!--
|
680
|
+
***********************************
|
681
|
+
* Andre NAD overs�ttelser *
|
682
|
+
***********************************
|
683
|
+
-->
|
684
|
+
<xsl:template name="NADToPersonInitials">
|
685
|
+
<xsl:param name="NAD" select="."/>
|
686
|
+
<PersonInitials>
|
687
|
+
<xsl:value-of select="$NAD/Elm[4]/SubElm[1]"/>
|
688
|
+
</PersonInitials>
|
689
|
+
</xsl:template>
|
690
|
+
<xsl:template name="NADToPersonTitle">
|
691
|
+
<xsl:param name="NAD" select="."/>
|
692
|
+
<xsl:if test="$NAD/Elm[4]/SubElm[1]!=''">
|
693
|
+
<PersonTitle>
|
694
|
+
<xsl:value-of select="$NAD/Elm[4]/SubElm[1]"/>
|
695
|
+
</PersonTitle>
|
696
|
+
</xsl:if>
|
697
|
+
</xsl:template>
|
698
|
+
<xsl:template name="NADToPersonName">
|
699
|
+
<xsl:param name="NAD" select="."/>
|
700
|
+
<xsl:if test="$NAD/Elm[4]/SubElm[2]!=''">
|
701
|
+
<PersonName>
|
702
|
+
<xsl:value-of select="$NAD/Elm[4]/SubElm[2]"/>
|
703
|
+
</PersonName>
|
704
|
+
</xsl:if>
|
705
|
+
</xsl:template>
|
706
|
+
|
707
|
+
<xsl:template name="SpecialPersonName">
|
708
|
+
<xsl:param name="NAD" select="."/>
|
709
|
+
<xsl:if test="$NAD/Elm[4]/SubElm[1]!=''">
|
710
|
+
<PersonName>
|
711
|
+
<xsl:value-of select="$NAD/Elm[4]/SubElm[1]"/>
|
712
|
+
</PersonName>
|
713
|
+
</xsl:if>
|
714
|
+
</xsl:template>
|
715
|
+
|
716
|
+
<xsl:template name="SpecialOrganisationName">
|
717
|
+
<xsl:param name="NAD" select="."/>
|
718
|
+
<xsl:if test="$NAD/Elm[4]/SubElm[2]!=''">
|
719
|
+
<OrganisationName>
|
720
|
+
<xsl:value-of select="$NAD/Elm[4]/SubElm[2]"/>
|
721
|
+
</OrganisationName>
|
722
|
+
</xsl:if>
|
723
|
+
</xsl:template>
|
724
|
+
|
725
|
+
<!--
|
726
|
+
******************************************************
|
727
|
+
* Templates til at overs�tte ADR segmenter *
|
728
|
+
******************************************************
|
729
|
+
-->
|
730
|
+
<xsl:template name="ADRToStreetName">
|
731
|
+
<xsl:param name="ADR" select="."/>
|
732
|
+
<xsl:if test="$ADR/Elm[2]/SubElm[2]!=''">
|
733
|
+
<StreetName>
|
734
|
+
<xsl:value-of select="$ADR/Elm[2]/SubElm[2]"/>
|
735
|
+
</StreetName>
|
736
|
+
</xsl:if>
|
737
|
+
</xsl:template>
|
738
|
+
<xsl:template name="ADRToSuburbName">
|
739
|
+
<xsl:param name="ADR" select="."/>
|
740
|
+
<xsl:if test="$ADR/Elm[2]/SubElm[3]!='' ">
|
741
|
+
<SuburbName>
|
742
|
+
<xsl:value-of select="$ADR/Elm[2]/SubElm[3]"/>
|
743
|
+
</SuburbName>
|
744
|
+
</xsl:if>
|
745
|
+
</xsl:template>
|
746
|
+
<xsl:template name="ADRToDistrictName">
|
747
|
+
<xsl:param name="ADR" select="."/>
|
748
|
+
<xsl:if test="$ADR/Elm[3]/SubElm[1]!='' ">
|
749
|
+
<DistrictName>
|
750
|
+
<xsl:value-of select="$ADR/Elm[3]/SubElm[1]"/>
|
751
|
+
</DistrictName>
|
752
|
+
</xsl:if>
|
753
|
+
</xsl:template>
|
754
|
+
<xsl:template name="ADRToPostCodeIdentifier">
|
755
|
+
<xsl:param name="ADR" select="."/>
|
756
|
+
<xsl:if test="$ADR/Elm[4]/SubElm[1]!='' ">
|
757
|
+
<PostCodeIdentifier>
|
758
|
+
<xsl:value-of select="$ADR/Elm[4]/SubElm[1]"/>
|
759
|
+
</PostCodeIdentifier>
|
760
|
+
</xsl:if>
|
761
|
+
</xsl:template>
|
762
|
+
<xsl:template name="ADRToMunicipalityId">
|
763
|
+
<xsl:param name="ADR" select="."/>
|
764
|
+
<MunicipalityId>
|
765
|
+
<xsl:value-of select="$ADR/Elm[6]/SubElm[1]"/>
|
766
|
+
</MunicipalityId>
|
767
|
+
</xsl:template>
|
768
|
+
<xsl:template name="ADRToMunicipalityName">
|
769
|
+
<xsl:param name="ADR" select="."/>
|
770
|
+
<MunicipalityName>
|
771
|
+
<xsl:value-of select="$ADR/Elm[6]/SubElm[4]"/>
|
772
|
+
</MunicipalityName>
|
773
|
+
</xsl:template>
|
774
|
+
<xsl:template name="ADRToCountryCode">
|
775
|
+
<xsl:param name="ADR" select="."/>
|
776
|
+
<xsl:if test="$ADR/Elm[5]/SubElm[1]!=''">
|
777
|
+
<CountryCode>
|
778
|
+
<xsl:value-of select="$ADR/Elm[5]/SubElm[1]"/>
|
779
|
+
</CountryCode>
|
780
|
+
</xsl:if>
|
781
|
+
</xsl:template>
|
782
|
+
<xsl:template name="ADRToCountyCode">
|
783
|
+
<xsl:param name="ADR" select="."/>
|
784
|
+
<xsl:if test="$ADR/Elm[6]/SubElm[1]!=''">
|
785
|
+
<CountyCode>
|
786
|
+
<xsl:value-of select="$ADR/Elm[6]/SubElm[1]"/>
|
787
|
+
</CountyCode>
|
788
|
+
</xsl:if>
|
789
|
+
</xsl:template>
|
790
|
+
<!--
|
791
|
+
******************************************************
|
792
|
+
* Templates til at overs�tte PNA segmenter *
|
793
|
+
******************************************************
|
794
|
+
-->
|
795
|
+
<xsl:template name="PNAToCivilRegistrationNumber">
|
796
|
+
<xsl:param name="PNA" select="."/>
|
797
|
+
<xsl:if test="$PNA/Elm[2]/SubElm[1]!='' ">
|
798
|
+
<CivilRegistrationNumber>
|
799
|
+
<xsl:value-of select="$PNA/Elm[2]/SubElm[1]"/>
|
800
|
+
</CivilRegistrationNumber>
|
801
|
+
</xsl:if>
|
802
|
+
</xsl:template>
|
803
|
+
<xsl:template name="PNAToAuthorisationIdentifier">
|
804
|
+
<xsl:param name="PNA" select="."/>
|
805
|
+
<xsl:if test="$PNA/Elm[2]/SubElm[1]!='' ">
|
806
|
+
<AuthorisationIdentifier>
|
807
|
+
<xsl:value-of select="$PNA/Elm[2]/SubElm[1]"/>
|
808
|
+
</AuthorisationIdentifier>
|
809
|
+
</xsl:if>
|
810
|
+
</xsl:template>
|
811
|
+
<xsl:template name="PNAToPersonIdentifier">
|
812
|
+
<xsl:param name="PNA" select="."/>
|
813
|
+
<xsl:if test="$PNA/Elm[2]/SubElm[1]!=''">
|
814
|
+
<PersonIdentifier>
|
815
|
+
<xsl:value-of select="$PNA/Elm[2]/SubElm[1]"/>
|
816
|
+
</PersonIdentifier>
|
817
|
+
</xsl:if>
|
818
|
+
</xsl:template>
|
819
|
+
<xsl:template name="PNAToPersonSurnameName">
|
820
|
+
<xsl:param name="PNA" select="."/>
|
821
|
+
<PersonSurnameName>
|
822
|
+
<xsl:value-of select="$PNA/Elm[5]/SubElm[2]"/>
|
823
|
+
</PersonSurnameName>
|
824
|
+
</xsl:template>
|
825
|
+
<xsl:template name="PNAToPersonSurnameNameNM">
|
826
|
+
<!-- Hvis efternavn ikke er mandatory-->
|
827
|
+
<xsl:param name="PNA" select="."/>
|
828
|
+
<xsl:if test="$PNA/Elm[6]/SubElm[2]!='' ">
|
829
|
+
<PersonSurnameName>
|
830
|
+
<xsl:value-of select="$PNA/Elm[5]/SubElm[2]"/>
|
831
|
+
</PersonSurnameName>
|
832
|
+
</xsl:if>
|
833
|
+
</xsl:template>
|
834
|
+
<xsl:template name="PNAToPersonGivenName">
|
835
|
+
<xsl:param name="PNA" select="."/>
|
836
|
+
<xsl:if test="$PNA/Elm[6]/SubElm[2]!='' ">
|
837
|
+
<PersonGivenName>
|
838
|
+
<xsl:value-of select="$PNA/Elm[6]/SubElm[2]"/>
|
839
|
+
</PersonGivenName>
|
840
|
+
</xsl:if>
|
841
|
+
</xsl:template>
|
842
|
+
<!-- RECEPT SPECIFIKKE OVERS�TTELSER -->
|
843
|
+
<xsl:template name="PNAToEANIdentifier">
|
844
|
+
<xsl:param name="PNA" select="."/>
|
845
|
+
<EANIdentifier>
|
846
|
+
<xsl:value-of select="$PNA/Elm[3]/SubElm[1]"/>
|
847
|
+
</EANIdentifier>
|
848
|
+
</xsl:template>
|
849
|
+
<xsl:template name="PNAToIdentifier">
|
850
|
+
<xsl:param name="PNA" select="."/>
|
851
|
+
<Identifier>
|
852
|
+
<xsl:value-of select="$PNA/Elm[3]/SubElm[1]"/>
|
853
|
+
</Identifier>
|
854
|
+
</xsl:template>
|
855
|
+
<xsl:template name="PNAToIdentifierCode">
|
856
|
+
<xsl:param name="PNA" select="."/>
|
857
|
+
<IdentifierCode>
|
858
|
+
<xsl:variable name="IC" select="$PNA/Elm[3]/SubElm[2]"/>
|
859
|
+
<xsl:choose>
|
860
|
+
<xsl:when test="$IC='SKS' ">sygehusafdelingsnummer</xsl:when>
|
861
|
+
<xsl:when test="$IC='YNR' ">ydernummer</xsl:when>
|
862
|
+
<xsl:when test="$IC='EAN' ">lokationsnummer</xsl:when>
|
863
|
+
<xsl:when test="$IC='' ">lokationsnummer</xsl:when>
|
864
|
+
<xsl:when test="$IC='KOM' ">kommunenummer</xsl:when>
|
865
|
+
<xsl:when test="$IC='SOR'">sorkode</xsl:when>
|
866
|
+
<xsl:otherwise>
|
867
|
+
<xsl:call-template name="Error">
|
868
|
+
<xsl:with-param name="Node" select="$IC"/>
|
869
|
+
<xsl:with-param name="Text">Kan ikke oversaette til IdentifierCodeType:
|
870
|
+
<xsl:value-of select="$IC"/>
|
871
|
+
</xsl:with-param>
|
872
|
+
</xsl:call-template>
|
873
|
+
</xsl:otherwise>
|
874
|
+
</xsl:choose>
|
875
|
+
</IdentifierCode>
|
876
|
+
</xsl:template>
|
877
|
+
<!-- RECEPT relaterede overs�ttelser -->
|
878
|
+
<xsl:template name="PNAToTitleAndName">
|
879
|
+
<xsl:param name="PNA" select="."/>
|
880
|
+
<TitleAndName>
|
881
|
+
<xsl:value-of select="$PNA/Elm[6]/SubElm[2]"/>
|
882
|
+
</TitleAndName>
|
883
|
+
</xsl:template>
|
884
|
+
<xsl:template name="PNA62ToOrganisationName">
|
885
|
+
<xsl:param name="PNA" select="."/>
|
886
|
+
<xsl:if test="$PNA/Elm[6]/SubElm[2]!='' ">
|
887
|
+
<OrganisationName>
|
888
|
+
<xsl:value-of select="$PNA/Elm[6]/SubElm[2]"/>
|
889
|
+
</OrganisationName>
|
890
|
+
</xsl:if>
|
891
|
+
</xsl:template>
|
892
|
+
<xsl:template name="PNA72ToOrganisationName">
|
893
|
+
<xsl:param name="PNA" select="."/>
|
894
|
+
<xsl:if test="$PNA/Elm[7]/SubElm[2]!='' ">
|
895
|
+
<OrganisationName>
|
896
|
+
<xsl:value-of select="$PNA/Elm[7]/SubElm[2]"/>
|
897
|
+
</OrganisationName>
|
898
|
+
</xsl:if>
|
899
|
+
</xsl:template>
|
900
|
+
<!--
|
901
|
+
******************************************************
|
902
|
+
* Templates til at overs�tte RFF segmenter *
|
903
|
+
******************************************************
|
904
|
+
-->
|
905
|
+
<xsl:template name="RFFToAlternativeIdentifier">
|
906
|
+
<xsl:param name="RFF" select="."/>
|
907
|
+
<AlternativeIdentifier>
|
908
|
+
<xsl:value-of select="Elm[1]/SubElm[2]"/>
|
909
|
+
</AlternativeIdentifier>
|
910
|
+
</xsl:template>
|
911
|
+
|
912
|
+
<xsl:template name="RFFToBirthStatus1">
|
913
|
+
<xsl:param name="RFF" select="."/>
|
914
|
+
<xsl:if test="$RFF/Elm[1]/SubElm[1]='K01' ">
|
915
|
+
<BirthStatus1>
|
916
|
+
<xsl:value-of select="$RFF/Elm[1]/SubElm[2]"/>
|
917
|
+
</BirthStatus1>
|
918
|
+
</xsl:if>
|
919
|
+
</xsl:template>
|
920
|
+
|
921
|
+
<xsl:template name="RFFToBirthStatus2">
|
922
|
+
<xsl:param name="RFF" select="."/>
|
923
|
+
<xsl:if test="$RFF/Elm[1]/SubElm[1]='K02' ">
|
924
|
+
<BirthStatus2>
|
925
|
+
<xsl:value-of select="$RFF/Elm[1]/SubElm[2]"/>
|
926
|
+
</BirthStatus2>
|
927
|
+
</xsl:if>
|
928
|
+
</xsl:template>
|
929
|
+
<!--
|
930
|
+
******************************************************
|
931
|
+
* Templates til at overs�tte CON segmenter *
|
932
|
+
******************************************************
|
933
|
+
-->
|
934
|
+
<xsl:template name="CONToTelephoneSubscriberIdentifier">
|
935
|
+
<xsl:param name="CON" select="."/>
|
936
|
+
<TelephoneSubscriberIdentifier>
|
937
|
+
<xsl:value-of select="$CON/Elm[2]/SubElm[1]"/>
|
938
|
+
</TelephoneSubscriberIdentifier>
|
939
|
+
<!--m�ske skal der testes for TE-->
|
940
|
+
</xsl:template>
|
941
|
+
<!--
|
942
|
+
******************************************************
|
943
|
+
* Templates til at overs�tte CON segmenter *
|
944
|
+
******************************************************
|
945
|
+
-->
|
946
|
+
<xsl:template name="CONToTelephoneSubscriber">
|
947
|
+
<xsl:param name="CON" select="."/>
|
948
|
+
<xsl:variable name="TS" select="$CON/Elm[1]/SubElm[1]"/>
|
949
|
+
<xsl:choose>
|
950
|
+
<xsl:when test="$TS='HO'">
|
951
|
+
<xsl:element name="PrivateSubscriberIdentifier">
|
952
|
+
<xsl:value-of select="$CON/Elm[2]/SubElm[1]"/>
|
953
|
+
</xsl:element>
|
954
|
+
</xsl:when>
|
955
|
+
<xsl:when test="$TS='WO'">
|
956
|
+
<xsl:element name="WorkSubscriberIdentifier">
|
957
|
+
<xsl:value-of select="$CON/Elm[2]/SubElm[1]"/>
|
958
|
+
</xsl:element>
|
959
|
+
</xsl:when>
|
960
|
+
<xsl:when test="$TS='MO'">
|
961
|
+
<xsl:element name="MobileSubscriberIdentifier">
|
962
|
+
<xsl:value-of select="$CON/Elm[2]/SubElm[1]"/>
|
963
|
+
</xsl:element>
|
964
|
+
</xsl:when>
|
965
|
+
<xsl:otherwise>
|
966
|
+
<xsl:call-template name="ValueListError">
|
967
|
+
<xsl:with-param name="ValueNode" select="$TS"/>
|
968
|
+
<xsl:with-param name="Text">Ukendt TelephoneSubscriberCode</xsl:with-param>
|
969
|
+
</xsl:call-template>
|
970
|
+
</xsl:otherwise>
|
971
|
+
</xsl:choose>
|
972
|
+
|
973
|
+
</xsl:template>
|
974
|
+
<!--
|
975
|
+
******************************************************
|
976
|
+
* Templates til at overs�tte COM segmenter *
|
977
|
+
******************************************************
|
978
|
+
-->
|
979
|
+
<xsl:template name="COMToTelephoneSubscriberIdentifier">
|
980
|
+
<xsl:param name="COM" select="."/>
|
981
|
+
<TelephoneSubscriberIdentifier>
|
982
|
+
<xsl:value-of select="$COM/Elm[1]/SubElm[1]"/>
|
983
|
+
</TelephoneSubscriberIdentifier>
|
984
|
+
</xsl:template>
|
985
|
+
<!--
|
986
|
+
******************************************************
|
987
|
+
* Templates til at overs�tte HAN segmenter *
|
988
|
+
******************************************************
|
989
|
+
-->
|
990
|
+
<xsl:template name="HANToConsentText">
|
991
|
+
<xsl:param name="HAN" select="."/>
|
992
|
+
<Text>
|
993
|
+
<xsl:value-of select="$HAN/Elm[1]/SubElm[4]"/>
|
994
|
+
</Text>
|
995
|
+
</xsl:template>
|
996
|
+
<!--
|
997
|
+
******************************************************
|
998
|
+
* Templates til at overs�tte EMP segmenter *
|
999
|
+
******************************************************
|
1000
|
+
-->
|
1001
|
+
<xsl:template name="EMPToOccupancyText">
|
1002
|
+
<xsl:param name="EMP" select="."/>
|
1003
|
+
<OccupancyText>
|
1004
|
+
<xsl:value-of select="$EMP/Elm[3]/SubElm[4]"/>
|
1005
|
+
</OccupancyText>
|
1006
|
+
</xsl:template>
|
1007
|
+
<xsl:template name="EMPToOccupation">
|
1008
|
+
<xsl:param name="EMP" select="."/>
|
1009
|
+
<Occupation>
|
1010
|
+
<xsl:variable name="Occ" select="$EMP/Elm[2]/SubElm[1]"/>
|
1011
|
+
<xsl:choose>
|
1012
|
+
<xsl:when test="$Occ='DEN'">tandlaege</xsl:when>
|
1013
|
+
<xsl:when test="$Occ='PHY'">laege</xsl:when>
|
1014
|
+
<xsl:otherwise>
|
1015
|
+
<xsl:call-template name="ValueListError">
|
1016
|
+
<xsl:with-param name="ValueNode" select="$Occ"/>
|
1017
|
+
<xsl:with-param name="Text">Ukendt UDSTEDERPROF</xsl:with-param>
|
1018
|
+
</xsl:call-template>
|
1019
|
+
</xsl:otherwise>
|
1020
|
+
</xsl:choose>
|
1021
|
+
</Occupation>
|
1022
|
+
</xsl:template>
|
1023
|
+
<!--
|
1024
|
+
******************************************************
|
1025
|
+
* Templates til at overs�tte PDI segmenter *
|
1026
|
+
******************************************************
|
1027
|
+
-->
|
1028
|
+
<xsl:template name="PDIToPatientSex">
|
1029
|
+
<xsl:param name="PDI" select="."/>
|
1030
|
+
<PatientSex>
|
1031
|
+
<xsl:variable name="PS" select="$PDI/Elm[1]/SubElm[1]"/>
|
1032
|
+
<xsl:choose>
|
1033
|
+
<xsl:when test="$PS='1' ">hankoen</xsl:when>
|
1034
|
+
<xsl:when test="$PS='2' ">hunkoen</xsl:when>
|
1035
|
+
<xsl:otherwise>
|
1036
|
+
<xsl:call-template name="Error">
|
1037
|
+
<xsl:with-param name="Node" select="$PS"/>
|
1038
|
+
<xsl:with-param name="Text">Kan ikke oversaette til PatientSex:
|
1039
|
+
<xsl:value-of select="$PS"/>
|
1040
|
+
</xsl:with-param>
|
1041
|
+
</xsl:call-template>
|
1042
|
+
</xsl:otherwise>
|
1043
|
+
</xsl:choose>
|
1044
|
+
</PatientSex>
|
1045
|
+
</xsl:template>
|
1046
|
+
|
1047
|
+
<xsl:template name="PDIToGenderChild">
|
1048
|
+
<xsl:param name="PDI" select="."/>
|
1049
|
+
<Gender>
|
1050
|
+
<xsl:variable name="PS" select="$PDI/Elm[1]/SubElm[1]"/>
|
1051
|
+
<xsl:choose>
|
1052
|
+
<xsl:when test="$PS='1' ">dreng</xsl:when>
|
1053
|
+
<xsl:when test="$PS='2' ">pige</xsl:when>
|
1054
|
+
<xsl:otherwise>
|
1055
|
+
<xsl:call-template name="Error">
|
1056
|
+
<xsl:with-param name="Node" select="$PS"/>
|
1057
|
+
<xsl:with-param name="Text">Kan ikke oversaette til GenderChild:
|
1058
|
+
<xsl:value-of select="$PS"/>
|
1059
|
+
</xsl:with-param>
|
1060
|
+
</xsl:call-template>
|
1061
|
+
</xsl:otherwise>
|
1062
|
+
</xsl:choose>
|
1063
|
+
</Gender>
|
1064
|
+
</xsl:template>
|
1065
|
+
<xsl:template name="PDIToMaritalStatus">
|
1066
|
+
<xsl:param name="PDI" select="."/>
|
1067
|
+
<MaritalStatus>
|
1068
|
+
<xsl:variable name="PS" select="$PDI/Elm[2]/SubElm[1]"/>
|
1069
|
+
<xsl:choose>
|
1070
|
+
<xsl:when test="$PS='MA' ">gift</xsl:when>
|
1071
|
+
<xsl:when test="$PS='SI' ">single</xsl:when>
|
1072
|
+
<xsl:when test="$PS='SP' ">separeret</xsl:when>
|
1073
|
+
<xsl:when test="$PS='WI' ">enke</xsl:when>
|
1074
|
+
<xsl:when test="$PS='DI' ">skilt</xsl:when>
|
1075
|
+
<xsl:when test="$PS='LI' ">samboende</xsl:when>
|
1076
|
+
<xsl:otherwise>
|
1077
|
+
<xsl:call-template name="Error">
|
1078
|
+
<xsl:with-param name="Node" select="$PS"/>
|
1079
|
+
<xsl:with-param name="Text">Kan ikke oversaette til MaritalStatus:
|
1080
|
+
<xsl:value-of select="$PS"/>
|
1081
|
+
</xsl:with-param>
|
1082
|
+
</xsl:call-template>
|
1083
|
+
</xsl:otherwise>
|
1084
|
+
</xsl:choose>
|
1085
|
+
</MaritalStatus>
|
1086
|
+
</xsl:template>
|
1087
|
+
<!--
|
1088
|
+
******************************************************
|
1089
|
+
* Templates til at overs�tte CIN segmenter *
|
1090
|
+
******************************************************
|
1091
|
+
-->
|
1092
|
+
<xsl:template name="CINToCode">
|
1093
|
+
<xsl:param name="CIN" select="."/>
|
1094
|
+
<xsl:if test="$CIN/Elm[2]/SubElm[1]!=''">
|
1095
|
+
<Code>
|
1096
|
+
<xsl:value-of select="$CIN/Elm[2]/SubElm[1]"/>
|
1097
|
+
</Code>
|
1098
|
+
</xsl:if>
|
1099
|
+
</xsl:template>
|
1100
|
+
<xsl:template name="CINToText">
|
1101
|
+
<xsl:param name="CIN" select="."/>
|
1102
|
+
<xsl:if test="$CIN/Elm[2]/SubElm[4]!=''">
|
1103
|
+
<Text>
|
1104
|
+
<xsl:value-of select="$CIN/Elm[2]/SubElm[4]"/>
|
1105
|
+
</Text>
|
1106
|
+
</xsl:if>
|
1107
|
+
</xsl:template>
|
1108
|
+
<xsl:template name="CINToDiagnoseDescriptionCode">
|
1109
|
+
<xsl:param name="CIN" select="."/>
|
1110
|
+
<DiagnoseDescriptionCode>
|
1111
|
+
<xsl:variable name="CI" select="$CIN/Elm[1]/SubElm[1]"/>
|
1112
|
+
<xsl:choose>
|
1113
|
+
<xsl:when test="$CI='DI' ">uspec_diagnose</xsl:when>
|
1114
|
+
<xsl:when test="$CI='H' ">henv_diagnose</xsl:when>
|
1115
|
+
<xsl:when test="$CI='B' ">bidiagnose</xsl:when>
|
1116
|
+
<xsl:when test="$CI='DM' ">tillaegsdiagnose</xsl:when>
|
1117
|
+
<xsl:when test="$CI='A' ">aktionsdiagnose</xsl:when>
|
1118
|
+
<xsl:when test="$CI='G' ">grundmorbus</xsl:when>
|
1119
|
+
<xsl:when test="$CI='M' ">midlertidig_diagnose</xsl:when>
|
1120
|
+
<xsl:when test="$CI='S' ">forloebsdiagnose</xsl:when>
|
1121
|
+
<xsl:when test="$CI='TR' ">operation</xsl:when>
|
1122
|
+
<xsl:when test="$CI='IN'">roentgenundersoegelse</xsl:when>
|
1123
|
+
<xsl:otherwise>
|
1124
|
+
<xsl:call-template name="Error">
|
1125
|
+
<xsl:with-param name="Node" select="$CI"/>
|
1126
|
+
<xsl:with-param name="Text">Kan ikke oversaette til DiagnoseDescriptionCode:
|
1127
|
+
<xsl:value-of select="$CI"/>
|
1128
|
+
</xsl:with-param>
|
1129
|
+
</xsl:call-template>
|
1130
|
+
</xsl:otherwise>
|
1131
|
+
</xsl:choose>
|
1132
|
+
</DiagnoseDescriptionCode>
|
1133
|
+
</xsl:template>
|
1134
|
+
<xsl:template name="CINToDiagnoseCode">
|
1135
|
+
<xsl:param name="CIN" select="."/>
|
1136
|
+
<DiagnoseCode>
|
1137
|
+
<xsl:value-of select="$CIN/Elm[2]/SubElm[1]"/>
|
1138
|
+
</DiagnoseCode>
|
1139
|
+
</xsl:template>
|
1140
|
+
<xsl:template name="CINToDiagnoseTypeCode">
|
1141
|
+
<xsl:param name="CIN" select="."/>
|
1142
|
+
<DiagnoseTypeCode>
|
1143
|
+
<xsl:variable name="CI" select="$CIN/Elm[2]/SubElm[2]"/>
|
1144
|
+
<xsl:choose>
|
1145
|
+
<xsl:when test="$CI='SKS' ">SKSdiagnosekode</xsl:when>
|
1146
|
+
<xsl:when test="$CI='USP' ">uspecificeretkode</xsl:when>
|
1147
|
+
<xsl:when test="$CI='ICP' ">ICPCkod</xsl:when>
|
1148
|
+
<xsl:otherwise>
|
1149
|
+
<xsl:call-template name="Error">
|
1150
|
+
<xsl:with-param name="Node" select="$CI"/>
|
1151
|
+
<xsl:with-param name="Text">Kan ikke oversaette til DiagnoseTypeCode:
|
1152
|
+
<xsl:value-of select="$CI"/>
|
1153
|
+
</xsl:with-param>
|
1154
|
+
</xsl:call-template>
|
1155
|
+
</xsl:otherwise>
|
1156
|
+
</xsl:choose>
|
1157
|
+
</DiagnoseTypeCode>
|
1158
|
+
</xsl:template>
|
1159
|
+
<xsl:template name="CINToDiagnoseText">
|
1160
|
+
<xsl:param name="CIN" select="."/>
|
1161
|
+
<DiagnoseText>
|
1162
|
+
<xsl:value-of select="$CIN/Elm[2]/SubElm[4]"/>
|
1163
|
+
</DiagnoseText>
|
1164
|
+
</xsl:template>
|
1165
|
+
<!--
|
1166
|
+
*******************************************************************
|
1167
|
+
* Templates til at overs�tte Reference FTX segmenter *
|
1168
|
+
*******************************************************************
|
1169
|
+
-->
|
1170
|
+
<xsl:template name="FTXSegmentToReference">
|
1171
|
+
<xsl:param name="FTX" select="."/>
|
1172
|
+
<Reference>
|
1173
|
+
<RefDescription>
|
1174
|
+
<xsl:value-of select="$FTX/Elm[4]/SubElm[1]"/>
|
1175
|
+
</RefDescription>
|
1176
|
+
<xsl:variable name="RefType" select="$FTX/Elm[1]/SubElm[1]"/>
|
1177
|
+
<xsl:choose>
|
1178
|
+
<xsl:when test="$RefType='BIN' ">
|
1179
|
+
<BIN>
|
1180
|
+
<ObjectIdentifier>
|
1181
|
+
<xsl:value-of select="$FTX/Elm[4]/SubElm[2]"/>
|
1182
|
+
</ObjectIdentifier>
|
1183
|
+
<xsl:call-template name="FTXToObjectCode">
|
1184
|
+
<xsl:with-param name="FTX" select="$FTX"/>
|
1185
|
+
</xsl:call-template>
|
1186
|
+
<xsl:call-template name="FTXToObjectExtensionCode">
|
1187
|
+
<xsl:with-param name="FTX" select="$FTX"/>
|
1188
|
+
</xsl:call-template>
|
1189
|
+
<OriginalObjectSize>
|
1190
|
+
<xsl:value-of select="$FTX/Elm[4]/SubElm[5]"/>
|
1191
|
+
</OriginalObjectSize>
|
1192
|
+
</BIN>
|
1193
|
+
</xsl:when>
|
1194
|
+
<xsl:when test="$RefType='URL' ">
|
1195
|
+
<URL>
|
1196
|
+
<xsl:call-template name="FTXSubElmsToText">
|
1197
|
+
<xsl:with-param name="FTXSubElms"
|
1198
|
+
select="$FTX/Elm[4]/SubElm[position()>1]"/>
|
1199
|
+
</xsl:call-template>
|
1200
|
+
</URL>
|
1201
|
+
</xsl:when>
|
1202
|
+
<xsl:when test="$RefType='SUP' ">
|
1203
|
+
<SUP>true</SUP>
|
1204
|
+
</xsl:when>
|
1205
|
+
<xsl:otherwise>
|
1206
|
+
<xsl:call-template name="Error">
|
1207
|
+
<xsl:with-param name="Node" select="$RefType"/>
|
1208
|
+
<xsl:with-param name="Text">Kan ikke oversaette til Referencetype:
|
1209
|
+
<xsl:value-of select="$RefType"/>
|
1210
|
+
</xsl:with-param>
|
1211
|
+
</xsl:call-template>
|
1212
|
+
</xsl:otherwise>
|
1213
|
+
</xsl:choose>
|
1214
|
+
</Reference>
|
1215
|
+
</xsl:template>
|
1216
|
+
<!--
|
1217
|
+
*******************************************************************
|
1218
|
+
* Templates til at overs�tte UNO segmenter *
|
1219
|
+
*******************************************************************
|
1220
|
+
-->
|
1221
|
+
<xsl:template name="ValueToObjectCode">
|
1222
|
+
<xsl:param name="OC" select="."/>
|
1223
|
+
<ObjectCode>
|
1224
|
+
<xsl:choose>
|
1225
|
+
<xsl:when test="$OC='TXT'">tekstfil</xsl:when>
|
1226
|
+
<xsl:when test="$OC='IMG'">billede</xsl:when>
|
1227
|
+
<xsl:when test="$OC='PRG'">program</xsl:when>
|
1228
|
+
<xsl:when test="$OC='VGR'">vektor_grafik</xsl:when>
|
1229
|
+
<xsl:when test="$OC='BSG'">biosignaler</xsl:when>
|
1230
|
+
<xsl:when test="$OC='MUL'">multimedie</xsl:when>
|
1231
|
+
<xsl:when test="$OC='PRP'">proprietaert_indhold</xsl:when>
|
1232
|
+
<!--Andre ikke godkendte overs�ttelser-->
|
1233
|
+
<xsl:when test="$OC='SND'">multimedie</xsl:when>
|
1234
|
+
<xsl:otherwise>
|
1235
|
+
<xsl:call-template name="ValueListError">
|
1236
|
+
<xsl:with-param name="ValueNode" select="$OC"/>
|
1237
|
+
<xsl:with-param name="Text">Ukendt OBJEKTTYPE</xsl:with-param>
|
1238
|
+
</xsl:call-template>
|
1239
|
+
</xsl:otherwise>
|
1240
|
+
</xsl:choose>
|
1241
|
+
</ObjectCode>
|
1242
|
+
</xsl:template>
|
1243
|
+
<xsl:template name="ValueToObjectExtensionCode">
|
1244
|
+
<xsl:param name="OEC" select="."/>
|
1245
|
+
<ObjectExtensionCode>
|
1246
|
+
<xsl:choose>
|
1247
|
+
<xsl:when test="$OEC='PCX'">pcx</xsl:when>
|
1248
|
+
<xsl:when test="$OEC='TIF'">tiff</xsl:when>
|
1249
|
+
<xsl:when test="$OEC='JPG'">jpeg</xsl:when>
|
1250
|
+
<xsl:when test="$OEC='GIF'">gif</xsl:when>
|
1251
|
+
<xsl:when test="$OEC='BMP'">bmp</xsl:when>
|
1252
|
+
<xsl:when test="$OEC='PNG'">png</xsl:when>
|
1253
|
+
<xsl:when test="$OEC='MPG'">mpg</xsl:when>
|
1254
|
+
<xsl:when test="$OEC='DCM'">dcm</xsl:when>
|
1255
|
+
<xsl:when test="$OEC='SCP'">scp</xsl:when>
|
1256
|
+
<xsl:when test="$OEC='TXT'">txt</xsl:when>
|
1257
|
+
<xsl:when test="$OEC='RTF'">rtf</xsl:when>
|
1258
|
+
<xsl:when test="$OEC='DOC'">doc</xsl:when>
|
1259
|
+
<xsl:when test="$OEC='XLS'">xsl</xsl:when>
|
1260
|
+
<xsl:when test="$OEC='WPD'">wpd</xsl:when>
|
1261
|
+
<xsl:when test="$OEC='EXE'">exe</xsl:when>
|
1262
|
+
<xsl:when test="$OEC='PDF'">pdf</xsl:when>
|
1263
|
+
<xsl:when test="$OEC='WAV'">wav</xsl:when>
|
1264
|
+
<xsl:when test="$OEC='AVI'">avi</xsl:when>
|
1265
|
+
<xsl:when test="$OEC='MID'">mid</xsl:when>
|
1266
|
+
<xsl:when test="$OEC='RMI'">rmi</xsl:when>
|
1267
|
+
<xsl:when test="$OEC='COM'">com</xsl:when>
|
1268
|
+
<xsl:when test="$OEC='ZIP'">zip</xsl:when>
|
1269
|
+
<xsl:when test="$OEC='BIN'">bin</xsl:when>
|
1270
|
+
<xsl:when test="$OEC='INH'">inh</xsl:when>
|
1271
|
+
<xsl:otherwise>
|
1272
|
+
<xsl:call-template name="ValueListError">
|
1273
|
+
<xsl:with-param name="ValueNode" select="$OEC"/>
|
1274
|
+
<xsl:with-param name="Text">Ukendt OBJEKTEXTENSIONTYPE</xsl:with-param>
|
1275
|
+
</xsl:call-template>
|
1276
|
+
</xsl:otherwise>
|
1277
|
+
</xsl:choose>
|
1278
|
+
</ObjectExtensionCode>
|
1279
|
+
</xsl:template>
|
1280
|
+
<xsl:template name="UNOToObjectCode">
|
1281
|
+
<xsl:param name="UNO" select="."/>
|
1282
|
+
<xsl:for-each select="$UNO/Elm[3]/SubElm[2]">
|
1283
|
+
<xsl:call-template name="ValueToObjectCode"/>
|
1284
|
+
</xsl:for-each>
|
1285
|
+
</xsl:template>
|
1286
|
+
<xsl:template name="UNOToObjectExtensionCode">
|
1287
|
+
<xsl:param name="UNO" select="."/>
|
1288
|
+
<xsl:for-each select="$UNO/Elm[3]/SubElm[3]">
|
1289
|
+
<xsl:call-template name="ValueToObjectExtensionCode"/>
|
1290
|
+
</xsl:for-each>
|
1291
|
+
</xsl:template>
|
1292
|
+
<xsl:template name="FTXToObjectCode">
|
1293
|
+
<xsl:param name="FTX" select="."/>
|
1294
|
+
<xsl:for-each select="$FTX/Elm[4]/SubElm[3]">
|
1295
|
+
<xsl:call-template name="ValueToObjectCode"/>
|
1296
|
+
</xsl:for-each>
|
1297
|
+
</xsl:template>
|
1298
|
+
<xsl:template name="FTXToObjectExtensionCode">
|
1299
|
+
<xsl:param name="FTX" select="."/>
|
1300
|
+
<xsl:for-each select="$FTX/Elm[4]/SubElm[4]">
|
1301
|
+
<xsl:call-template name="ValueToObjectExtensionCode"/>
|
1302
|
+
</xsl:for-each>
|
1303
|
+
</xsl:template>
|
1304
|
+
<!--
|
1305
|
+
******************************************************
|
1306
|
+
* Templates til at overs�tte LAN segmenter *
|
1307
|
+
******************************************************
|
1308
|
+
-->
|
1309
|
+
<xsl:template name="LANToInterpretationIsNeededCode">
|
1310
|
+
<xsl:param name="LAN" select="."/>
|
1311
|
+
<xsl:variable name="IINC" select="$LAN/Elm[1]/SubElm[1]"/>
|
1312
|
+
<xsl:if test="$LAN/Elm[1]/SubElm[1]!='' and $IINC!='TJ'">
|
1313
|
+
<InterpretationIsNeededCode>
|
1314
|
+
<xsl:choose>
|
1315
|
+
<xsl:when test="$IINC='TJ' ">tolkebehov_ja</xsl:when>
|
1316
|
+
<xsl:when test="$IINC='TN' ">tolkebehov_nej</xsl:when>
|
1317
|
+
<xsl:when test="$IINC='NO' ">tolkebehov_uafklaret</xsl:when>
|
1318
|
+
<xsl:otherwise>
|
1319
|
+
<xsl:call-template name="Error">
|
1320
|
+
<xsl:with-param name="Node" select="$IINC"/>
|
1321
|
+
<xsl:with-param name="Text">Kan ikke oversaette til
|
1322
|
+
InterpretationIsNeededCode: <xsl:value-of select="$IINC"/>
|
1323
|
+
</xsl:with-param>
|
1324
|
+
</xsl:call-template>
|
1325
|
+
</xsl:otherwise>
|
1326
|
+
</xsl:choose>
|
1327
|
+
</InterpretationIsNeededCode>
|
1328
|
+
</xsl:if>
|
1329
|
+
<xsl:if test="$LAN/Elm[1]/SubElm[1]!='' and $IINC='TJ'">
|
1330
|
+
<xsl:call-template name="LANToISOLanguageCode"/>
|
1331
|
+
<xsl:call-template name="LANToISOLanguageCodeDescription"/>
|
1332
|
+
</xsl:if>
|
1333
|
+
</xsl:template>
|
1334
|
+
<xsl:template name="LANToISOLanguageCode">
|
1335
|
+
<xsl:param name="LAN" select="."/>
|
1336
|
+
<xsl:if test="$LAN/Elm[2]/SubElm[1]!=''">
|
1337
|
+
<ISOLanguageCode>
|
1338
|
+
<xsl:value-of select="$LAN/Elm[2]/SubElm[1]"/>
|
1339
|
+
</ISOLanguageCode>
|
1340
|
+
</xsl:if>
|
1341
|
+
</xsl:template>
|
1342
|
+
<xsl:template name="LANToISOLanguageCodeDescription">
|
1343
|
+
<xsl:param name="LAN" select="."/>
|
1344
|
+
<xsl:if test="$LAN/Elm[2]/SubElm[2]!=''">
|
1345
|
+
<ISOLanguageCodeDescription>
|
1346
|
+
<xsl:value-of select="$LAN/Elm[2]/SubElm[2]"/>
|
1347
|
+
</ISOLanguageCodeDescription>
|
1348
|
+
</xsl:if>
|
1349
|
+
</xsl:template>
|
1350
|
+
</xsl:stylesheet>
|