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,185 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11'
|
2
|
+
require "base64"
|
3
|
+
|
4
|
+
module EdifactConverter::EDI2XML11
|
5
|
+
class EdiReader
|
6
|
+
attr_accessor :handler, :edifile, :locator
|
7
|
+
|
8
|
+
def initialize(handler = Pipeline.handler)
|
9
|
+
self.locator = Locator.new
|
10
|
+
self.handler = handler
|
11
|
+
handler.locator = locator
|
12
|
+
end
|
13
|
+
|
14
|
+
def parse_string(edistring, properties)
|
15
|
+
parse StringIO.new(edistring), properties
|
16
|
+
end
|
17
|
+
|
18
|
+
def parse(edifile, properties, close = false)
|
19
|
+
locator.properties = properties
|
20
|
+
if edifile.kind_of? String
|
21
|
+
close = true
|
22
|
+
self.edifile = PositionIO.new (File.open edifile, 'rb', encoding: 'ISO-8859-1')
|
23
|
+
else
|
24
|
+
self.edifile = PositionIO.new edifile
|
25
|
+
end
|
26
|
+
handler.startDocument
|
27
|
+
begin
|
28
|
+
eatCrap
|
29
|
+
parseUNA
|
30
|
+
eatCrap
|
31
|
+
while(parseSegment)
|
32
|
+
eatCrap
|
33
|
+
end
|
34
|
+
rescue EOFError
|
35
|
+
handler.endDocument
|
36
|
+
end
|
37
|
+
self.edifile.close if close
|
38
|
+
handler.xml
|
39
|
+
end
|
40
|
+
|
41
|
+
private
|
42
|
+
|
43
|
+
def parseUNA
|
44
|
+
segname = edifile.read 3
|
45
|
+
if segname != "UNA"
|
46
|
+
edifile.unread 3
|
47
|
+
locator.properties[:warnings] << EdifactConverter::Message.new(
|
48
|
+
position: edifile.position,
|
49
|
+
text: "Missing UNA segment"
|
50
|
+
)
|
51
|
+
return
|
52
|
+
end
|
53
|
+
handler.una
|
54
|
+
while edifile.read != '\''
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
def parseSegment
|
59
|
+
locator.position = edifile.position
|
60
|
+
name = edifile.read 3
|
61
|
+
return false unless name
|
62
|
+
raise EdifactConverter::EdifactError.new "Bad Segment name \"#{name}\"", locator.position unless name =~ /[A-Z][A-Z0-9]{2}/
|
63
|
+
handler.startSegment name
|
64
|
+
if name == 'UNO'
|
65
|
+
3.times { parseElement }
|
66
|
+
size = parseElementWithSize
|
67
|
+
while parseElement
|
68
|
+
end
|
69
|
+
handler.endSegment name
|
70
|
+
parseBinary(size.to_i)
|
71
|
+
else
|
72
|
+
while parseElement
|
73
|
+
end
|
74
|
+
handler.endSegment name
|
75
|
+
end
|
76
|
+
true
|
77
|
+
end
|
78
|
+
|
79
|
+
def parseElement
|
80
|
+
locator.position = edifile.position
|
81
|
+
nextchar = edifile.read
|
82
|
+
case nextchar
|
83
|
+
when '+'
|
84
|
+
handler.startElement
|
85
|
+
when '\''
|
86
|
+
return false
|
87
|
+
else
|
88
|
+
raise EdifactConverter::EdifactError.new "Bad Syntax at #{locator.position}", locator.position
|
89
|
+
end
|
90
|
+
while(parseValue)
|
91
|
+
end
|
92
|
+
handler.endElement
|
93
|
+
return true
|
94
|
+
end
|
95
|
+
|
96
|
+
def parseValue
|
97
|
+
locator.position = edifile.position
|
98
|
+
text = ''
|
99
|
+
while not((nextchar = edifile.read) =~ /[+:']/)
|
100
|
+
case nextchar
|
101
|
+
when '?'
|
102
|
+
text << escape
|
103
|
+
when '\n'
|
104
|
+
else
|
105
|
+
text << nextchar
|
106
|
+
end
|
107
|
+
end
|
108
|
+
handler.value text
|
109
|
+
case nextchar
|
110
|
+
when /[+']/
|
111
|
+
edifile.unread
|
112
|
+
return false
|
113
|
+
end
|
114
|
+
return true
|
115
|
+
end
|
116
|
+
|
117
|
+
def escape
|
118
|
+
escapable = edifile.read
|
119
|
+
unless escapable =~ /[':?+]/
|
120
|
+
locator.properties[:errors] << EdifactConverter::Message.new(position: edifile.position, text: "Wrong use of escape for #{escapable}")
|
121
|
+
end
|
122
|
+
return escapable
|
123
|
+
end
|
124
|
+
|
125
|
+
def eatCrap
|
126
|
+
begin
|
127
|
+
nextchar = edifile.read
|
128
|
+
end while nextchar =~ /[\s\r]/
|
129
|
+
edifile.unread
|
130
|
+
end
|
131
|
+
|
132
|
+
def parseElementWithSize
|
133
|
+
locator.position = edifile.position
|
134
|
+
nextchar = edifile.read
|
135
|
+
case nextchar
|
136
|
+
when '+'
|
137
|
+
handler.startElement
|
138
|
+
else
|
139
|
+
raise EdifactConverter::EdifactError.new "Bad Syntax #{locator.position}", locator.position
|
140
|
+
end
|
141
|
+
size = parseValueSize
|
142
|
+
while(parseValue)
|
143
|
+
end
|
144
|
+
handler.endElement
|
145
|
+
return size
|
146
|
+
end
|
147
|
+
|
148
|
+
def parseValueSize
|
149
|
+
locator.position = edifile.position
|
150
|
+
text = ''
|
151
|
+
while not((nextchar = edifile.read) =~ /[+:']/)
|
152
|
+
case nextchar
|
153
|
+
when '\n'
|
154
|
+
else
|
155
|
+
text << nextchar
|
156
|
+
end
|
157
|
+
end
|
158
|
+
handler.value text
|
159
|
+
case nextchar
|
160
|
+
when /[+']/
|
161
|
+
edifile.unread
|
162
|
+
end
|
163
|
+
begin
|
164
|
+
Integer(text)
|
165
|
+
rescue ArgumentError
|
166
|
+
raise EdifactConverter::EdifactError.new "Wrong format for binary size (#{text})", locator.position
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
def parseBinary(size)
|
171
|
+
locator.position = edifile.position
|
172
|
+
handler.startSegment "OBJ"
|
173
|
+
handler.startElement
|
174
|
+
data = edifile.binread(size)
|
175
|
+
if data.size < size
|
176
|
+
raise EdifactConverter::EdifactError.new "Binary size is larger than edifact file", locator.position
|
177
|
+
end
|
178
|
+
handler.value Base64.encode64(data)
|
179
|
+
handler.endElement
|
180
|
+
handler.endSegment "OBJ"
|
181
|
+
end
|
182
|
+
|
183
|
+
end
|
184
|
+
|
185
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11'
|
2
|
+
|
3
|
+
module EdifactConverter::EDI2XML11
|
4
|
+
|
5
|
+
class HiddenGroupHandler < EdifactConverter::EmptyHandler
|
6
|
+
|
7
|
+
attr_accessor :inserted_group, :groups
|
8
|
+
|
9
|
+
def startSegmentGroup(name, hidden = false)
|
10
|
+
groups << name
|
11
|
+
super
|
12
|
+
end
|
13
|
+
|
14
|
+
def endSegmentGroup(name)
|
15
|
+
if inserted_group
|
16
|
+
super(inserted_group)
|
17
|
+
self.inserted_group = nil
|
18
|
+
super if name == 'BrevIndhold'
|
19
|
+
else
|
20
|
+
super
|
21
|
+
end
|
22
|
+
groups.pop
|
23
|
+
end
|
24
|
+
|
25
|
+
def startSegment(name)
|
26
|
+
if locator.rules.hidden? name
|
27
|
+
self.inserted_group = locator.rules.hidden[name]
|
28
|
+
next_handler.endSegmentGroup(groups.last) unless groups.last == 'BrevIndhold'
|
29
|
+
next_handler.startSegmentGroup(inserted_group, true)
|
30
|
+
groups << group
|
31
|
+
end
|
32
|
+
super
|
33
|
+
end
|
34
|
+
|
35
|
+
def endSegment(name)
|
36
|
+
super
|
37
|
+
end
|
38
|
+
|
39
|
+
private
|
40
|
+
|
41
|
+
def groups
|
42
|
+
@groups ||= []
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11'
|
2
|
+
|
3
|
+
module EdifactConverter::EDI2XML11
|
4
|
+
|
5
|
+
class Locator
|
6
|
+
|
7
|
+
attr_writer :rules, :settings, :position, :properties
|
8
|
+
|
9
|
+
def settings
|
10
|
+
raise 'hell'
|
11
|
+
@settings ||= EdifactConverter::Configuration.rules['default']
|
12
|
+
end
|
13
|
+
|
14
|
+
def rules
|
15
|
+
@rules ||= EdifactConverter::Configuration.edifact_rules(properties[:type], 'default')
|
16
|
+
end
|
17
|
+
|
18
|
+
def position
|
19
|
+
@position ||= Position.new
|
20
|
+
end
|
21
|
+
|
22
|
+
def properties
|
23
|
+
@properties
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11'
|
2
|
+
|
3
|
+
module EdifactConverter::EDI2XML11
|
4
|
+
|
5
|
+
class ParentGroupHandler < EdifactConverter::EmptyHandler
|
6
|
+
|
7
|
+
attr_accessor :ancestors
|
8
|
+
|
9
|
+
def ancestors
|
10
|
+
@ancestors ||= []
|
11
|
+
end
|
12
|
+
|
13
|
+
def startSegmentGroup(name, hidden = false)
|
14
|
+
if ancestors
|
15
|
+
self.ancestors = ancestors.drop_while do |parent_group|
|
16
|
+
if locator.rules.child?(name)
|
17
|
+
false
|
18
|
+
else
|
19
|
+
next_handler.endSegmentGroup(parent_group)
|
20
|
+
true
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
super
|
25
|
+
end
|
26
|
+
|
27
|
+
def endSegmentGroup(name)
|
28
|
+
if name == 'BrevIndhold'
|
29
|
+
ancestors.reverse_each do |parent|
|
30
|
+
super(parent)
|
31
|
+
end
|
32
|
+
super
|
33
|
+
self.ancestors = nil
|
34
|
+
elsif locator.rules.children.any?
|
35
|
+
ancestors << name
|
36
|
+
else
|
37
|
+
super
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11'
|
2
|
+
require 'edifact_converter/debug_handler'
|
3
|
+
|
4
|
+
module EdifactConverter::EDI2XML11
|
5
|
+
|
6
|
+
class Pipeline
|
7
|
+
|
8
|
+
attr_accessor :handler
|
9
|
+
|
10
|
+
def initialize
|
11
|
+
xml_handler = XmlHandler.new
|
12
|
+
settings = SettingsHandler.new(xml_handler)
|
13
|
+
parent = ParentGroupHandler.new(settings)
|
14
|
+
self.handler = BrevHandler.new(
|
15
|
+
PropertiesHandler.new(
|
16
|
+
SegmentGroupHandler.new(
|
17
|
+
HiddenGroupHandler.new(parent)
|
18
|
+
)
|
19
|
+
)
|
20
|
+
)
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.handler
|
24
|
+
xml_handler = XmlHandler.new
|
25
|
+
settings = SettingsHandler.new(xml_handler)
|
26
|
+
parent = ParentGroupHandler.new(settings)
|
27
|
+
BrevHandler.new(
|
28
|
+
PropertiesHandler.new(
|
29
|
+
SegmentGroupHandler.new(
|
30
|
+
HiddenGroupHandler.new(parent)
|
31
|
+
)
|
32
|
+
)
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module EdifactConverter::EDI2XML11
|
2
|
+
|
3
|
+
class Position
|
4
|
+
attr_reader :line, :column
|
5
|
+
|
6
|
+
def initialize(line = 0, column = 0)
|
7
|
+
@line, @column = line, column
|
8
|
+
end
|
9
|
+
|
10
|
+
def ==(other)
|
11
|
+
@line == other.line and @column == other.column
|
12
|
+
end
|
13
|
+
|
14
|
+
def to_s
|
15
|
+
"At line #{@line}, column #{@column}"
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
|
20
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11/position'
|
2
|
+
|
3
|
+
module EdifactConverter::EDI2XML11
|
4
|
+
|
5
|
+
class PositionIO
|
6
|
+
attr_accessor :file, :lines, :line, :column
|
7
|
+
|
8
|
+
def initialize(file)
|
9
|
+
@file = file
|
10
|
+
@file.set_encoding (Encoding::ASCII_8BIT)
|
11
|
+
@column = @line = 0
|
12
|
+
@lines = []
|
13
|
+
end
|
14
|
+
|
15
|
+
def read(amount = 1)
|
16
|
+
text = ''
|
17
|
+
while(amount > 0)
|
18
|
+
nextchar = @file.getc
|
19
|
+
raise EOFError.new unless nextchar
|
20
|
+
nextchar.encode!(Encoding::UTF_8, Encoding::ISO_8859_1) #force_encoding Encoding::ISO_8859_1
|
21
|
+
case nextchar
|
22
|
+
when /\n/
|
23
|
+
@lines[@line] = @column
|
24
|
+
@line += 1
|
25
|
+
@column = 0
|
26
|
+
when /\r/
|
27
|
+
@column += 1
|
28
|
+
else
|
29
|
+
text << nextchar
|
30
|
+
amount -= 1
|
31
|
+
@column += 1
|
32
|
+
end
|
33
|
+
end
|
34
|
+
text
|
35
|
+
end
|
36
|
+
|
37
|
+
def unread(amount = 1)
|
38
|
+
while amount > 0
|
39
|
+
@file.pos -= 1
|
40
|
+
old_pos = @file.pos
|
41
|
+
nextchar = @file.getc
|
42
|
+
# Hack for windows
|
43
|
+
if @file.pos - old_pos > 1
|
44
|
+
@file.pos -= 3
|
45
|
+
nextchar = @file.getc
|
46
|
+
end
|
47
|
+
@file.pos -= 1
|
48
|
+
case nextchar
|
49
|
+
when /\r/
|
50
|
+
when /\n/
|
51
|
+
@line -= 1
|
52
|
+
@column = @lines[@line]
|
53
|
+
else
|
54
|
+
@column -= 1
|
55
|
+
amount -= 1
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
def binread(amount)
|
61
|
+
@column += amount
|
62
|
+
@file.read amount
|
63
|
+
end
|
64
|
+
|
65
|
+
def position
|
66
|
+
Position.new @line, @column
|
67
|
+
end
|
68
|
+
|
69
|
+
def close
|
70
|
+
@file.close
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11'
|
2
|
+
|
3
|
+
module EdifactConverter::EDI2XML11
|
4
|
+
|
5
|
+
class UNBHandler < EdifactConverter::EmptyHandler
|
6
|
+
|
7
|
+
attr_accessor :elements, :values, :date_str, :time_str
|
8
|
+
|
9
|
+
def initialize
|
10
|
+
clear
|
11
|
+
end
|
12
|
+
|
13
|
+
def clear
|
14
|
+
self.elements = 0
|
15
|
+
self.values = 0
|
16
|
+
end
|
17
|
+
|
18
|
+
def startElement
|
19
|
+
self.elements += 1
|
20
|
+
self.values = 0
|
21
|
+
end
|
22
|
+
|
23
|
+
def value(value)
|
24
|
+
self.values += 1
|
25
|
+
case
|
26
|
+
when elements == 2 && values == 1
|
27
|
+
locator.properties[:sender_ean] = value
|
28
|
+
when elements == 3 && values == 1
|
29
|
+
locator.properties[:receiver_ean] = value
|
30
|
+
when elements == 4 && values == 1
|
31
|
+
self.time_str = value
|
32
|
+
when elements == 4 && values == 2
|
33
|
+
self.time_str << value
|
34
|
+
locator.properties[:sent_at] = Time.strptime time_str, "%y%m%d%H%M"
|
35
|
+
when elements == 5 && values == 1
|
36
|
+
locator.properties[:envelope_id] = value
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
|
42
|
+
class UNHHandler < EdifactConverter::EmptyHandler
|
43
|
+
attr_accessor :elements, :values
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
clear
|
47
|
+
end
|
48
|
+
|
49
|
+
def clear
|
50
|
+
self.elements = 0
|
51
|
+
self.values = 0
|
52
|
+
end
|
53
|
+
|
54
|
+
def startElement
|
55
|
+
self.elements += 1
|
56
|
+
self.values = 0
|
57
|
+
end
|
58
|
+
|
59
|
+
def value(value)
|
60
|
+
self.values += 1
|
61
|
+
case
|
62
|
+
when elements == 2 && values == 1
|
63
|
+
locator.properties[:type] = value
|
64
|
+
#locator.settings = EdifactConverter::Configuration.rules[locator.properties[:type]]
|
65
|
+
when elements == 2 && values == 5
|
66
|
+
locator.properties[:version] = value
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
|
72
|
+
class PropertiesHandler < EdifactConverter::EmptyHandler
|
73
|
+
|
74
|
+
attr_accessor :state
|
75
|
+
|
76
|
+
def method_missing(sym, *args, &block)
|
77
|
+
state.send(sym, *args, &block) if state
|
78
|
+
if next_handler
|
79
|
+
next_handler.send(sym, *args, &block)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
def startSegment(name)
|
84
|
+
case name
|
85
|
+
when 'UNB'
|
86
|
+
self.state = UNBHandler.new
|
87
|
+
when 'UNH'
|
88
|
+
self.state = UNHHandler.new
|
89
|
+
end
|
90
|
+
state.locator = locator if state
|
91
|
+
super
|
92
|
+
end
|
93
|
+
|
94
|
+
def endSegment(name)
|
95
|
+
self.state = nil
|
96
|
+
super
|
97
|
+
end
|
98
|
+
|
99
|
+
end
|
100
|
+
|
101
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'edifact_converter'
|
2
|
+
|
3
|
+
module EdifactConverter::EDI2XML11
|
4
|
+
|
5
|
+
class SegmentGroupHandler < EdifactConverter::EmptyHandler
|
6
|
+
|
7
|
+
attr_accessor :indhold
|
8
|
+
|
9
|
+
alias :indhold? :indhold
|
10
|
+
|
11
|
+
def open_groups
|
12
|
+
@open_groups ||= []
|
13
|
+
end
|
14
|
+
|
15
|
+
def startSegmentGroup(name, hidden = false)
|
16
|
+
super
|
17
|
+
self.indhold = (name == 'BrevIndhold') unless indhold?
|
18
|
+
end
|
19
|
+
|
20
|
+
def startSegment(name)
|
21
|
+
if indhold? && name =~ /S[0-9]{2}/
|
22
|
+
if open_groups.last
|
23
|
+
endSegmentGroup(open_groups.pop)
|
24
|
+
end
|
25
|
+
open_groups.push name
|
26
|
+
startSegmentGroup name, false
|
27
|
+
else
|
28
|
+
super
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def endSegment(name)
|
33
|
+
super unless indhold? and name =~ /S[0-9]{2}/
|
34
|
+
end
|
35
|
+
|
36
|
+
def endSegmentGroup(name)
|
37
|
+
if name == 'BrevIndhold'
|
38
|
+
self.indhold = false
|
39
|
+
open_groups.reject! do |group_name|
|
40
|
+
endSegmentGroup group_name
|
41
|
+
true
|
42
|
+
end
|
43
|
+
end
|
44
|
+
super
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
49
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11'
|
2
|
+
|
3
|
+
module EdifactConverter::EDI2XML11
|
4
|
+
|
5
|
+
class SettingsHandler < EdifactConverter::EmptyHandler
|
6
|
+
|
7
|
+
attr_accessor :groups, :segment, :element_index, :value_index
|
8
|
+
|
9
|
+
def startDocument
|
10
|
+
self.groups = []
|
11
|
+
self.segment = 'Edifact'
|
12
|
+
self.element_index = 0
|
13
|
+
self.value_index = 0
|
14
|
+
super
|
15
|
+
end
|
16
|
+
|
17
|
+
def startSegmentGroup(name, hidden = false)
|
18
|
+
groups << name
|
19
|
+
locator.rules = EdifactConverter::Configuration.edifact_rules(locator.properties[:type], name)
|
20
|
+
super
|
21
|
+
end
|
22
|
+
|
23
|
+
def endSegmentGroup(name)
|
24
|
+
groups.pop
|
25
|
+
locator.rules = EdifactConverter::Configuration.edifact_rules(locator.properties[:type], groups.last)
|
26
|
+
super
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|