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,91 @@
|
|
1
|
+
require 'edifact_converter/configuration'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
module EdifactConverter::Configuration
|
5
|
+
|
6
|
+
class JSONConfigurator
|
7
|
+
|
8
|
+
attr_accessor :default_ns, :binary_versions
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
load
|
12
|
+
end
|
13
|
+
|
14
|
+
def edifact_rules(type, segment_group)
|
15
|
+
edifact_settings[type][segment_group]
|
16
|
+
end
|
17
|
+
|
18
|
+
def xml_rules(*args) #Either namespace or type and version
|
19
|
+
case args.size
|
20
|
+
when 1
|
21
|
+
xml_settings[args.first]
|
22
|
+
when 2
|
23
|
+
rules = xml_settings.find do |namespace, values|
|
24
|
+
values.versions && values.versions.include?(args[1])
|
25
|
+
end
|
26
|
+
rules &&= rules.last
|
27
|
+
rules || xml_settings[default_ns]
|
28
|
+
else
|
29
|
+
raise RuntimeError "Wrong number of arguments #{args.size}"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def binary?(version)
|
34
|
+
binary_versions.include? version
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def load_from_file(filename)
|
40
|
+
settings = JSON.load(File.open(filename) { |file| file.read })
|
41
|
+
settings['EDIFACT'].each do |type, segments|
|
42
|
+
rules_for_type = edifact_settings[type]
|
43
|
+
segments.each do |segment, rules|
|
44
|
+
rule = rules_for_type[segment]
|
45
|
+
rule.register_hidden rules['hidden']
|
46
|
+
rule.register_children rules['children']
|
47
|
+
end
|
48
|
+
end
|
49
|
+
settings['XML'].each do |namespace, values|
|
50
|
+
unless namespace == 'default'
|
51
|
+
values.values.each do |urls|
|
52
|
+
urls.map! do |url|
|
53
|
+
url % { gem_data: EdifactConverter.data}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
xml_settings[namespace] = XMLRule.new values
|
57
|
+
else
|
58
|
+
self.default_ns = values
|
59
|
+
end
|
60
|
+
end
|
61
|
+
self.binary_versions = settings['binary_versions']
|
62
|
+
end
|
63
|
+
|
64
|
+
def load
|
65
|
+
load_from_file(
|
66
|
+
File.join(
|
67
|
+
EdifactConverter.data,
|
68
|
+
'configuration.json'
|
69
|
+
)
|
70
|
+
)
|
71
|
+
end
|
72
|
+
|
73
|
+
def edifact_settings
|
74
|
+
@edifact_settings ||= Hash.new do |letters, type|
|
75
|
+
letters[type] = Hash.new do |segments, segment|
|
76
|
+
segments[segment] = EdifactRule.new
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def xml_settings
|
82
|
+
@xml_settings ||= Hash.new do |namespaces, namespace|
|
83
|
+
if namespace.nil? or namespace.empty?
|
84
|
+
namespaces[default_ns]
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
require 'edifact_converter/configuration'
|
2
|
+
|
3
|
+
module EdifactConverter::Configuration
|
4
|
+
|
5
|
+
class XMLRule
|
6
|
+
|
7
|
+
ATTRIBUTES = [
|
8
|
+
:namespace,
|
9
|
+
:versions,
|
10
|
+
:schema,
|
11
|
+
:schema_urls,
|
12
|
+
:from_xml,
|
13
|
+
:from_xml_urls,
|
14
|
+
:to_xml,
|
15
|
+
:to_xml_urls,
|
16
|
+
:to_html,
|
17
|
+
:to_html_urls
|
18
|
+
]
|
19
|
+
|
20
|
+
attr_accessor *ATTRIBUTES
|
21
|
+
|
22
|
+
def initialize(options)
|
23
|
+
options.each do |name, value|
|
24
|
+
if ATTRIBUTES.include? name.to_sym
|
25
|
+
send "#{name}=", value
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def schema
|
31
|
+
@schema ||= begin
|
32
|
+
xmldoc = load_doc_from_urls schema_urls
|
33
|
+
Nokogiri::XML::Schema.from_document xmldoc
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def from_xml
|
38
|
+
@from_xml ||= begin
|
39
|
+
xmldoc = load_doc_from_urls from_xml_urls
|
40
|
+
Nokogiri::XSLT::Stylesheet.parse_stylesheet_doc xmldoc
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def to_xml
|
45
|
+
@to_xml ||= begin
|
46
|
+
xmldoc = load_doc_from_urls to_xml_urls
|
47
|
+
Nokogiri::XSLT::Stylesheet.parse_stylesheet_doc xmldoc
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def to_html
|
52
|
+
@to_html ||= begin
|
53
|
+
xmldoc = load_doc_from_urls to_html_urls
|
54
|
+
Nokogiri::XSLT::Stylesheet.parse_stylesheet_doc xmldoc
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
private
|
59
|
+
|
60
|
+
def load_doc_from_urls(urls)
|
61
|
+
urls.each do |url|
|
62
|
+
begin
|
63
|
+
xmldoc = Nokogiri::XML(open(url), url)
|
64
|
+
rescue StandardError => error
|
65
|
+
$stderr.puts error
|
66
|
+
next
|
67
|
+
end
|
68
|
+
break xmldoc
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
require 'edifact_converter/configuration'
|
2
|
+
require 'yaml'
|
3
|
+
|
4
|
+
module EdifactConverter::Configuration
|
5
|
+
|
6
|
+
class YAMLConfigurator
|
7
|
+
|
8
|
+
attr_accessor :default_ns, :binary_versions
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
load
|
12
|
+
end
|
13
|
+
|
14
|
+
def edifact_rules(type, segment_group)
|
15
|
+
edifact_settings[type][segment_group]
|
16
|
+
end
|
17
|
+
|
18
|
+
def xml_rules(*args) #Either namespace or type and version
|
19
|
+
case args.size
|
20
|
+
when 1
|
21
|
+
xml_settings[args.first]
|
22
|
+
when 2
|
23
|
+
rules = xml_settings.find do |namespace, values|
|
24
|
+
values.versions && values.versions.include?(args[1])
|
25
|
+
end
|
26
|
+
rules &&= rules.last
|
27
|
+
rules || xml_settings[default_ns]
|
28
|
+
else
|
29
|
+
raise RuntimeError "Wrong number of arguments #{args.size}"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def binary?(version)
|
34
|
+
binary_versions.include? version
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def load_from_file(filename)
|
40
|
+
settings = YAML.load_file(filename)
|
41
|
+
settings['EDIFACT'].each do |type, segments|
|
42
|
+
rules_for_type = edifact_settings[type]
|
43
|
+
segments.each do |segment, rules|
|
44
|
+
rule = rules_for_type[segment]
|
45
|
+
rule.register_hidden rules['hidden']
|
46
|
+
rule.register_children rules['children']
|
47
|
+
end
|
48
|
+
end
|
49
|
+
settings['XML'].each do |namespace, values|
|
50
|
+
unless namespace == 'default'
|
51
|
+
values.values.each do |urls|
|
52
|
+
urls.map! do |url|
|
53
|
+
url % { gem_data: EdifactConverter.data}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
xml_settings[namespace] = XMLRule.new values
|
57
|
+
else
|
58
|
+
self.default_ns = values
|
59
|
+
end
|
60
|
+
end
|
61
|
+
self.binary_versions = settings['binary_versions']
|
62
|
+
end
|
63
|
+
|
64
|
+
def load
|
65
|
+
load_from_file(
|
66
|
+
File.join(
|
67
|
+
EdifactConverter.data,
|
68
|
+
'configuration.yaml'
|
69
|
+
)
|
70
|
+
)
|
71
|
+
end
|
72
|
+
|
73
|
+
def edifact_settings
|
74
|
+
@edifact_settings ||= Hash.new do |letters, type|
|
75
|
+
letters[type] = Hash.new do |segments, segment|
|
76
|
+
segments[segment] = EdifactRule.new
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def xml_settings
|
82
|
+
@xml_settings ||= Hash.new do |namespaces, namespace|
|
83
|
+
if namespace.nil? or namespace.empty?
|
84
|
+
namespaces[default_ns]
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'edifact_converter'
|
2
|
+
require 'edifact_converter/configuration/edifact_rule'
|
3
|
+
require 'edifact_converter/configuration/xml_rule'
|
4
|
+
require 'edifact_converter/configuration/yaml_configurator'
|
5
|
+
require 'edifact_converter/configuration/json_configurator'
|
6
|
+
require 'open-uri'
|
7
|
+
|
8
|
+
module EdifactConverter
|
9
|
+
|
10
|
+
module Configuration
|
11
|
+
|
12
|
+
class << self
|
13
|
+
|
14
|
+
attr_accessor :hide_position, :format_edi
|
15
|
+
|
16
|
+
alias :hide_position? :hide_position
|
17
|
+
|
18
|
+
def edifact_rules(type, segment_group)
|
19
|
+
configurator.edifact_rules(type, segment_group)
|
20
|
+
end
|
21
|
+
|
22
|
+
def xml_rules(*args) #Either namespace or type and version
|
23
|
+
configurator.xml_rules *args
|
24
|
+
end
|
25
|
+
|
26
|
+
def configurator
|
27
|
+
@configurator ||= JSONConfigurator.new
|
28
|
+
end
|
29
|
+
|
30
|
+
def configurator=(configurator)
|
31
|
+
@configurator = configurator
|
32
|
+
end
|
33
|
+
|
34
|
+
def binary?(version)
|
35
|
+
configurator.binary? version.to_s
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'nokogiri'
|
2
|
+
require 'edifact_converter'
|
3
|
+
require 'edifact_converter/edi2xml11'
|
4
|
+
|
5
|
+
module EdifactConverter
|
6
|
+
|
7
|
+
class Converter
|
8
|
+
|
9
|
+
def convert(text, &proc)
|
10
|
+
self.error_proc = proc || Proc.new { |msg| STDERR.puts msg }
|
11
|
+
xml = Nokogiri::XML(text)
|
12
|
+
if xml.errors.empty?
|
13
|
+
convert_xml(xml)
|
14
|
+
else
|
15
|
+
convert_edifact(text)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
attr_accessor :error_proc
|
22
|
+
|
23
|
+
def convert_edifact(text)
|
24
|
+
handler = EdifactConverter::EDI2XML11::XmlHandler.new
|
25
|
+
reader = EdifactConverter::EDI2XML11::EdiReader.new handler
|
26
|
+
reader.parse_string text, properties
|
27
|
+
puts handler.xml
|
28
|
+
end
|
29
|
+
|
30
|
+
def convert_xml(xml)
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
def properties
|
35
|
+
@properties ||= Hash.new do |hash,key|
|
36
|
+
case key
|
37
|
+
when :errors
|
38
|
+
hash[key] = []
|
39
|
+
when :warnings
|
40
|
+
hash[key] = []
|
41
|
+
else
|
42
|
+
nil
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
@@ -0,0 +1,137 @@
|
|
1
|
+
require 'edifact_converter'
|
2
|
+
|
3
|
+
module EdifactConverter
|
4
|
+
|
5
|
+
module ConverterMethods
|
6
|
+
|
7
|
+
def convert
|
8
|
+
self.ast = build_ast if ast.nil?
|
9
|
+
self.edifact = build_edifact if edifact.nil?
|
10
|
+
self.xml = build_xml if xml.nil?
|
11
|
+
end
|
12
|
+
|
13
|
+
def format_edifact
|
14
|
+
if edifact
|
15
|
+
formatted = edifact.encode 'utf-8'
|
16
|
+
formatted.gsub! /[\n\r]/, ""
|
17
|
+
formatted.gsub! /([^?]{1}')/, "\\1\n"
|
18
|
+
formatted.gsub! /^\s*/, ""
|
19
|
+
formatted.encode 'iso8859-1'
|
20
|
+
else
|
21
|
+
build_edifact(true)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def html
|
26
|
+
if xml && xml.root && xml.root.namespace
|
27
|
+
rules = Configuration.xml_rules xml.root.namespace.href
|
28
|
+
if rules
|
29
|
+
rules.to_html.transform xml
|
30
|
+
else
|
31
|
+
"<html><head><title>Fejl</title></head><body><h1>Ukendt namespace</h1><b>#{xml.root.namespace}</b></body></html>"
|
32
|
+
end
|
33
|
+
else
|
34
|
+
"<html><head><title>Fejl</title></head><body><h1>Ingen xml tilgængelig</h1></body></html>"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def binary(id)
|
39
|
+
if xml
|
40
|
+
xml2 = Nokogiri::XML xml.to_s
|
41
|
+
xml2.remove_namespaces!
|
42
|
+
binary_object = xml2.root.at("//BinaryObject[ObjectIdentifier = '#{id}']")
|
43
|
+
Binary.from_element binary_object if binary_object
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
def verify
|
48
|
+
compare_xml11
|
49
|
+
end
|
50
|
+
|
51
|
+
private
|
52
|
+
|
53
|
+
def build_ast(from_source = source_format)
|
54
|
+
ast = case from_source
|
55
|
+
when :edifact
|
56
|
+
xml11 = parse_edifact (format_edifact)
|
57
|
+
if Configuration.binary? properties[:version]
|
58
|
+
self.properties = nil
|
59
|
+
xml11 = parse_edifact(edifact)
|
60
|
+
end
|
61
|
+
AbstractSyntaxTree.new xml11
|
62
|
+
when :xml
|
63
|
+
ast = AbstractSyntaxTree.new XML.xml_to_xml11(self.xml, properties)
|
64
|
+
ast.pack
|
65
|
+
ast.set_checksums
|
66
|
+
ast
|
67
|
+
end
|
68
|
+
ast.verify_segments_checksum &error_proc
|
69
|
+
ast
|
70
|
+
end
|
71
|
+
|
72
|
+
def build_edifact(pretty = false)
|
73
|
+
return nil if ast.nil?
|
74
|
+
Configuration.format_edi = pretty
|
75
|
+
parser = EdifactConverter::XML112EDI::XmlReader.new
|
76
|
+
parser.parse(ast.document, properties)
|
77
|
+
end
|
78
|
+
|
79
|
+
def build_xml
|
80
|
+
return nil if ast.nil?
|
81
|
+
XML.xml11_to_xml(ast.document, properties)
|
82
|
+
end
|
83
|
+
|
84
|
+
def parse_edifact(edifact_string)
|
85
|
+
parser = EdifactConverter::EDI2XML11::EdiReader.new
|
86
|
+
parser.parse_string(edifact_string, properties)
|
87
|
+
rescue EdifactConverter::EdifactError => error
|
88
|
+
properties[:errors] << error.to_message
|
89
|
+
Nokogiri::XML "<Edifact/>"
|
90
|
+
end
|
91
|
+
|
92
|
+
def compare_xml11
|
93
|
+
return if source_format != :edifact || ast.nil? || xml.nil?
|
94
|
+
ast_facit = AbstractSyntaxTree.new XML.xml_to_xml11(xml, properties)
|
95
|
+
ast_facit.pack
|
96
|
+
ast_facit.set_checksums
|
97
|
+
comparator = Comparator.new
|
98
|
+
comparator.compare_docs ast.document, ast_facit.document, &error_proc
|
99
|
+
end
|
100
|
+
|
101
|
+
def error_proc
|
102
|
+
@proc ||= Proc.new do |diff|
|
103
|
+
if diff.source
|
104
|
+
pos = EdifactConverter::EDI2XML11::Position.new diff.source["linie"], diff.source["position"]
|
105
|
+
end
|
106
|
+
text = comparison_error_text diff
|
107
|
+
properties[diff.type] << Message.new(position: pos, text: text)
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
def comparison_error_text(diff)
|
112
|
+
return diff.message if diff.message
|
113
|
+
case diff.kind
|
114
|
+
when :added
|
115
|
+
"Der mangler et #{diff.facit.name} her"
|
116
|
+
when :removed
|
117
|
+
"Der er et #{diff.source.name} for meget her"
|
118
|
+
when :root
|
119
|
+
"Dokumenterne er for forskellige til sammenligning. Forventede #{diff.facit.name} men det var #{diff.source.name}"
|
120
|
+
when :text
|
121
|
+
"Teksten #{diff.source.text} skal være #{diff.facit.text}"
|
122
|
+
when :removed_children
|
123
|
+
"Dette element (#{diff.source.name}) burde ikke have noget indhold"
|
124
|
+
when :added_children
|
125
|
+
"Dette element (#{diff.source.name}) burde have følgende indhold: #{diff.facit.text}"
|
126
|
+
when :no_unt
|
127
|
+
"Denne besked mangler et UNT element"
|
128
|
+
when :unt
|
129
|
+
"Der er #{diff.facit} segmenter, men der er kun angivet #{diff.source.at("Elm[1]/SubElm/text()")}"
|
130
|
+
else
|
131
|
+
"Ukendt fejl(#{diff.kind})"
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
end
|
136
|
+
|
137
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'edifact_converter'
|
2
|
+
|
3
|
+
module EdifactConverter
|
4
|
+
|
5
|
+
class DebugHandler < EmptyHandler
|
6
|
+
|
7
|
+
def startDocument
|
8
|
+
@level = 1
|
9
|
+
print 'Edifact'
|
10
|
+
super
|
11
|
+
end
|
12
|
+
|
13
|
+
def endDocument
|
14
|
+
p @level
|
15
|
+
#@level -= 1
|
16
|
+
#print 'Edifact'
|
17
|
+
super
|
18
|
+
end
|
19
|
+
|
20
|
+
def startSegmentGroup(name, position = nil, hidden = false)
|
21
|
+
@level += 1
|
22
|
+
print "Start Group #{name} #{position}"
|
23
|
+
super
|
24
|
+
end
|
25
|
+
|
26
|
+
def endSegmentGroup(name)
|
27
|
+
print "End Group #{name}"
|
28
|
+
@level -= 1
|
29
|
+
super
|
30
|
+
end
|
31
|
+
|
32
|
+
def startSegment(name, position = nil)
|
33
|
+
print "#{name} #{position}"
|
34
|
+
#@level += 1
|
35
|
+
super
|
36
|
+
end
|
37
|
+
|
38
|
+
def endSegment(name)
|
39
|
+
#@level -= 1
|
40
|
+
super
|
41
|
+
end
|
42
|
+
|
43
|
+
def print(name)
|
44
|
+
text = " #{@level} - #{name}"
|
45
|
+
puts text
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
|
2
|
+
module EdifactConverter
|
3
|
+
|
4
|
+
class Difference
|
5
|
+
|
6
|
+
ATTRIBUTES = [:source, :facit, :kind, :type, :message]
|
7
|
+
|
8
|
+
ATTRIBUTES.each do |attribute|
|
9
|
+
attr_accessor attribute
|
10
|
+
end
|
11
|
+
|
12
|
+
def initialize(options)
|
13
|
+
options.fetch(:type) { |key| options[key] = :errors }
|
14
|
+
options.each do |name, value|
|
15
|
+
if ATTRIBUTES.include? name
|
16
|
+
send "#{name}=", value
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def eql?(diff)
|
22
|
+
return false unless diff.kind == kind
|
23
|
+
if kind == :unt
|
24
|
+
diff.source == source && diff.facit == facit
|
25
|
+
else
|
26
|
+
diff.source.name == source.name && diff.facit.name == facit.name
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def to_s
|
31
|
+
"#{source.path} afviger fra #{facit.path} ved at #{kind} af typen #{type} og meddelelsen #{message}"
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'edifact_converter'
|
2
|
+
|
3
|
+
module EdifactConverter::EDI2XML11
|
4
|
+
|
5
|
+
class BrevHandler < EdifactConverter::EmptyHandler
|
6
|
+
|
7
|
+
attr_accessor :last_position, :brev, :indhold
|
8
|
+
|
9
|
+
def brev?
|
10
|
+
@brev ||= false
|
11
|
+
end
|
12
|
+
|
13
|
+
def indhold?
|
14
|
+
@indhold ||= false
|
15
|
+
end
|
16
|
+
|
17
|
+
def startDocument
|
18
|
+
self.brev = self.indhold = false
|
19
|
+
super
|
20
|
+
end
|
21
|
+
|
22
|
+
def startSegment(name)
|
23
|
+
case name
|
24
|
+
when 'UNH'
|
25
|
+
startSegmentGroup('Brev', true)
|
26
|
+
self.brev = true
|
27
|
+
when 'UNT'
|
28
|
+
endSegmentGroup 'BrevIndhold' if indhold?
|
29
|
+
end
|
30
|
+
super
|
31
|
+
end
|
32
|
+
|
33
|
+
def endSegment(name)
|
34
|
+
super
|
35
|
+
if brev?
|
36
|
+
case name
|
37
|
+
when 'UNT'
|
38
|
+
endSegmentGroup('Brev')
|
39
|
+
self.brev = false
|
40
|
+
when 'UNH'
|
41
|
+
unless indhold?
|
42
|
+
startSegmentGroup 'BrevIndhold', true
|
43
|
+
self.indhold = true
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|