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,108 @@
|
|
1
|
+
require 'edifact_converter/edi2xml11'
|
2
|
+
require 'nokogiri'
|
3
|
+
|
4
|
+
module EdifactConverter::EDI2XML11
|
5
|
+
|
6
|
+
class XmlHandler < EdifactConverter::EmptyHandler
|
7
|
+
|
8
|
+
attr_accessor :current, :document
|
9
|
+
|
10
|
+
class XmlElement
|
11
|
+
|
12
|
+
ATTRIBUTES = [:name, :children, :text, :position, :parent, :position, :hidden]
|
13
|
+
|
14
|
+
ATTRIBUTES.each do |attribute|
|
15
|
+
attr_accessor attribute
|
16
|
+
end
|
17
|
+
|
18
|
+
def initialize(options)
|
19
|
+
self.children = []
|
20
|
+
options.each do |attribute, value|
|
21
|
+
if ATTRIBUTES.include? attribute.to_sym
|
22
|
+
send "#{attribute}=", value
|
23
|
+
end
|
24
|
+
end
|
25
|
+
parent.children << self if parent
|
26
|
+
end
|
27
|
+
|
28
|
+
def render(xml)
|
29
|
+
args = []
|
30
|
+
args << text if text
|
31
|
+
attributes = {}
|
32
|
+
unless EdifactConverter::Configuration.hide_position?
|
33
|
+
attributes[:linie] = position.line
|
34
|
+
attributes[:position] = position.column
|
35
|
+
end
|
36
|
+
attributes[:hidden] = true if hidden
|
37
|
+
args << attributes
|
38
|
+
xml.send(name, *args) do |newxml|
|
39
|
+
children.each do |child|
|
40
|
+
child.render xml
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def startDocument
|
47
|
+
self.document = self.current = XmlElement.new name: 'Edifact', position: Position.new(0, 0)
|
48
|
+
super
|
49
|
+
end
|
50
|
+
|
51
|
+
def endDocument
|
52
|
+
unless current == document
|
53
|
+
raise EdifactConverter::EdifactError.new "Internal Error, please report to jacob@medware.dk", Position.new(0,0)
|
54
|
+
end
|
55
|
+
super
|
56
|
+
end
|
57
|
+
|
58
|
+
def startSegmentGroup(name, hidden = false)
|
59
|
+
self.current = XmlElement.new name: name.encode(Encoding::UTF_8), position: locator.position, parent: current, hidden: hidden
|
60
|
+
super
|
61
|
+
end
|
62
|
+
|
63
|
+
def endSegmentGroup(name)
|
64
|
+
self.current = current.parent
|
65
|
+
super
|
66
|
+
end
|
67
|
+
|
68
|
+
def startSegment(name)
|
69
|
+
self.current = XmlElement.new name: name.encode(Encoding::UTF_8), position: locator.position, parent: current
|
70
|
+
super
|
71
|
+
end
|
72
|
+
|
73
|
+
def endSegment(name)
|
74
|
+
self.current = self.current.parent
|
75
|
+
super
|
76
|
+
end
|
77
|
+
|
78
|
+
def startElement
|
79
|
+
self.current = XmlElement.new name: 'Elm', position: locator.position, parent: current
|
80
|
+
super
|
81
|
+
end
|
82
|
+
|
83
|
+
def endElement
|
84
|
+
self.current = current.parent
|
85
|
+
super
|
86
|
+
end
|
87
|
+
|
88
|
+
def value(value)
|
89
|
+
XmlElement.new name: 'SubElm', position: locator.position, parent: current, text: value.encode(Encoding::UTF_8)
|
90
|
+
#val.text = value.encode(Encoding::UTF_8)
|
91
|
+
super
|
92
|
+
end
|
93
|
+
|
94
|
+
def xml
|
95
|
+
builder = Nokogiri::XML::Builder.new(:encoding => 'ISO-8859-1') do |xml|
|
96
|
+
xml.comment "Created from Edifact at #{Time.now.utc}"
|
97
|
+
document.render xml
|
98
|
+
end
|
99
|
+
xml = builder.doc
|
100
|
+
xml.xpath("//Elm").each do |elm|
|
101
|
+
elm.children.last.remove if elm.children.last.content == ""
|
102
|
+
end
|
103
|
+
xml
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
107
|
+
|
108
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require "edifact_converter/edi2xml11/xml_handler"
|
2
|
+
require "edifact_converter/edi2xml11/edi_reader"
|
3
|
+
require "edifact_converter/edi2xml11/brev_handler"
|
4
|
+
require "edifact_converter/edi2xml11/segment_group_handler"
|
5
|
+
require "edifact_converter/edi2xml11/position"
|
6
|
+
require "edifact_converter/edi2xml11/position_io"
|
7
|
+
require "edifact_converter/edi2xml11/settings_handler"
|
8
|
+
require "edifact_converter/edi2xml11/hidden_group_handler"
|
9
|
+
require "edifact_converter/edi2xml11/parent_group_handler"
|
10
|
+
require "edifact_converter/edi2xml11/pipeline"
|
11
|
+
require "edifact_converter/edi2xml11/locator"
|
12
|
+
require "edifact_converter/edi2xml11/properties_handler.rb"
|
13
|
+
|
14
|
+
require "edifact_converter"
|
15
|
+
|
16
|
+
|
17
|
+
module EdifactConverter::EDI2XML11
|
18
|
+
|
19
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
|
2
|
+
require 'edifact_converter/edi2xml11/xml_handler'
|
3
|
+
require 'edifact_converter/edi2xml11/edi_reader'
|
4
|
+
|
5
|
+
# Refactoring work in progress
|
6
|
+
|
7
|
+
module EdifactConverter
|
8
|
+
|
9
|
+
class Edifact
|
10
|
+
|
11
|
+
ATTRIBUTES = [:ast, :text]
|
12
|
+
|
13
|
+
ATTRIBUTES.each do |attribute|
|
14
|
+
attr_accessor attribute
|
15
|
+
end
|
16
|
+
|
17
|
+
def initialize(options = {})
|
18
|
+
options.each do |name, value|
|
19
|
+
if ATTRIBUTES.include? name
|
20
|
+
send "#{name}=", value
|
21
|
+
else
|
22
|
+
raise ArgumentError, 'Argument(#{name}) is not supported '
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def parse(options = {}, &block)
|
28
|
+
return ast unless text
|
29
|
+
handler = EdifactConverter::EDI2XML11::XmlHandler.new
|
30
|
+
reader = EdifactConverter::EDI2XML11::EdiReader.new handler
|
31
|
+
reader.parse_string text, properties
|
32
|
+
xml = handler.xml
|
33
|
+
insert_letters xml
|
34
|
+
self.ast = AbstractSyntaxTree.new xml
|
35
|
+
end
|
36
|
+
|
37
|
+
def serialize(options = {}, &block)
|
38
|
+
|
39
|
+
end
|
40
|
+
|
41
|
+
private
|
42
|
+
|
43
|
+
def properties
|
44
|
+
@properties ||= Hash.new do |hash,key|
|
45
|
+
case key
|
46
|
+
when :errors
|
47
|
+
hash[key] = []
|
48
|
+
when :warnings
|
49
|
+
hash[key] = []
|
50
|
+
else
|
51
|
+
nil
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
def insert_letters(xml)
|
57
|
+
parent = dummy_element
|
58
|
+
xml.root.elements.each do |elm|
|
59
|
+
parent.add_child elm
|
60
|
+
case elm.name
|
61
|
+
when "UNB"
|
62
|
+
parent = xml.create_element "Brev"
|
63
|
+
elm.add_next_sibling parent
|
64
|
+
when "UNT"
|
65
|
+
parent = dummy_element
|
66
|
+
end
|
67
|
+
end
|
68
|
+
xml.xpath("//Brev").each { |brev| insert_letter_content brev }
|
69
|
+
end
|
70
|
+
|
71
|
+
def insert_letter_content(letter)
|
72
|
+
parent = dummy_element
|
73
|
+
letter.elements.each do |elm|
|
74
|
+
case elm.name
|
75
|
+
when "UNH"
|
76
|
+
parent = elm.document.create_element "BrevIndhold"
|
77
|
+
elm.add_next_sibling parent
|
78
|
+
next
|
79
|
+
when "UNT"
|
80
|
+
parent = dummy_element
|
81
|
+
end
|
82
|
+
parent.add_child elm
|
83
|
+
end
|
84
|
+
letter.xpath("//BrevIndhold").each { |content| group_segments content }
|
85
|
+
end
|
86
|
+
|
87
|
+
def group_segments(content)
|
88
|
+
parent = dummy_element
|
89
|
+
content.elements.each do |elm|
|
90
|
+
case elm.name
|
91
|
+
when /S[0-9]{2}/
|
92
|
+
parent = elm
|
93
|
+
next
|
94
|
+
end
|
95
|
+
parent.add_child elm
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
DummyElement = Struct.new :dummy do
|
100
|
+
def add_child(elm)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
def dummy_element
|
105
|
+
@dummy_element ||= DummyElement.new
|
106
|
+
end
|
107
|
+
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require "edifact_converter"
|
2
|
+
|
3
|
+
module EdifactConverter
|
4
|
+
|
5
|
+
class EdifactError < StandardError
|
6
|
+
attr_accessor :message, :position, :edifact_base64
|
7
|
+
|
8
|
+
def initialize(message, position)
|
9
|
+
self.message = message
|
10
|
+
self.position = position
|
11
|
+
end
|
12
|
+
|
13
|
+
def to_message
|
14
|
+
Message.new(position: position, text: message)
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
module EdifactConverter
|
3
|
+
|
4
|
+
class EmptyHandler
|
5
|
+
attr_accessor :next_handler, :locator
|
6
|
+
|
7
|
+
def initialize(nexthandler = nil)
|
8
|
+
self.next_handler = nexthandler
|
9
|
+
end
|
10
|
+
|
11
|
+
def method_missing(sym, *args, &block)
|
12
|
+
if self.next_handler
|
13
|
+
self.next_handler.send(sym, *args, &block)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def locator=(locator)
|
18
|
+
@locator = locator
|
19
|
+
next_handler.locator = locator if next_handler
|
20
|
+
end
|
21
|
+
|
22
|
+
def locator
|
23
|
+
@locator ||= (next_handler.locator if next_handler )
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
@@ -0,0 +1,153 @@
|
|
1
|
+
module EdifactConverter
|
2
|
+
|
3
|
+
class FTXText
|
4
|
+
|
5
|
+
Line = Struct.new(:align) do
|
6
|
+
|
7
|
+
def texts
|
8
|
+
@texts ||= []
|
9
|
+
end
|
10
|
+
|
11
|
+
def texts=(texts)
|
12
|
+
@texts = texts
|
13
|
+
end
|
14
|
+
|
15
|
+
def ==(line)
|
16
|
+
align == line.align and texts == line.texts
|
17
|
+
end
|
18
|
+
|
19
|
+
def to_s
|
20
|
+
txt = "#{align}:\t"
|
21
|
+
texts.each do |text|
|
22
|
+
txt << text.to_s
|
23
|
+
end
|
24
|
+
txt
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
Text = Struct.new(:format, :font, :text) do
|
30
|
+
|
31
|
+
def merge(text)
|
32
|
+
self.text << text.text
|
33
|
+
self
|
34
|
+
end
|
35
|
+
|
36
|
+
def ==(text)
|
37
|
+
format == text.format and font == text.font and self.text == text.text
|
38
|
+
end
|
39
|
+
|
40
|
+
def to_s
|
41
|
+
"(#{font} #{format})#{text}"
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
|
46
|
+
attr_accessor :current_line
|
47
|
+
|
48
|
+
def lines
|
49
|
+
@lines ||= []
|
50
|
+
end
|
51
|
+
|
52
|
+
def self.parse(ftxs)
|
53
|
+
self.new ftxs
|
54
|
+
end
|
55
|
+
|
56
|
+
def initialize(ftxs)
|
57
|
+
ftxs.each do |ftx|
|
58
|
+
font, format, align = extract_style ftx
|
59
|
+
ftx.xpath('Elm[position() > 2]/SubElm/text()').each do |text|
|
60
|
+
text = text.to_s
|
61
|
+
continue_line = if text[-1] == '\\'
|
62
|
+
text.chop!
|
63
|
+
true
|
64
|
+
end
|
65
|
+
current_or_new_line(align).texts << Text.new(format, font, text)
|
66
|
+
self.current_line = nil unless continue_line
|
67
|
+
end
|
68
|
+
end
|
69
|
+
optimize_formatting
|
70
|
+
pack_lines
|
71
|
+
#lines.each { |line| puts line }
|
72
|
+
end
|
73
|
+
|
74
|
+
def ==(ftx_text)
|
75
|
+
lines == ftx_text.lines
|
76
|
+
end
|
77
|
+
|
78
|
+
private
|
79
|
+
|
80
|
+
def new_line(align)
|
81
|
+
self.current_line = Line.new(align)
|
82
|
+
end
|
83
|
+
|
84
|
+
def current_or_new_line(align)
|
85
|
+
if current_line and current_line.align == align
|
86
|
+
current_line
|
87
|
+
else
|
88
|
+
new_line align
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
def current_line=(line)
|
93
|
+
lines << line if line
|
94
|
+
@current_line = line
|
95
|
+
end
|
96
|
+
|
97
|
+
def extract_style(ftx)
|
98
|
+
compressed = ftx.xpath('Elm[2]/SubElm/text()').to_s
|
99
|
+
compressed.chars.map.with_index do |char, index|
|
100
|
+
case char
|
101
|
+
when 'P'
|
102
|
+
:proportional
|
103
|
+
when 'F'
|
104
|
+
if index == 0
|
105
|
+
:fixed
|
106
|
+
else
|
107
|
+
:bold
|
108
|
+
end
|
109
|
+
when 'H'
|
110
|
+
:right
|
111
|
+
when 'M'
|
112
|
+
:center
|
113
|
+
when 'U'
|
114
|
+
:underline
|
115
|
+
when '0'
|
116
|
+
if index == 2
|
117
|
+
:left
|
118
|
+
else
|
119
|
+
:normal
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
def optimize_formatting
|
126
|
+
start_spaces_regex = Regexp.new '^( +)'
|
127
|
+
end_spaces_regex = Regexp.new '( +)$'
|
128
|
+
lines.each do |line|
|
129
|
+
line.texts.each_with_index do |text, index|
|
130
|
+
next if text.format == :normal
|
131
|
+
end_spaces_regex.match(text.text) do |m|
|
132
|
+
line.texts.insert index+1, Text.new(:normal, text.font, m[0])
|
133
|
+
end
|
134
|
+
start_spaces_regex.match(text.text) do |m|
|
135
|
+
line.texts.insert index, Text.new(:normal, text.font, m[0])
|
136
|
+
end
|
137
|
+
text.text.strip!
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
def pack_lines
|
143
|
+
lines.each do |line|
|
144
|
+
chunked = line.texts.chunk { |text| "#{text.format}:#{text.font}" }.map do |set|
|
145
|
+
set[1] = set.last.reduce :merge
|
146
|
+
end
|
147
|
+
line.texts = chunked
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
end
|
152
|
+
|
153
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'edifact_converter'
|
2
|
+
|
3
|
+
module EdifactConverter
|
4
|
+
|
5
|
+
class Message
|
6
|
+
|
7
|
+
ATTRIBUTES = [:position, :text, :source]
|
8
|
+
|
9
|
+
ATTRIBUTES.each do |attribute|
|
10
|
+
attr_accessor attribute
|
11
|
+
end
|
12
|
+
|
13
|
+
def initialize(options)
|
14
|
+
self.position = options[:position]
|
15
|
+
self.text = options.fetch(:text, "Ukendt fejl")
|
16
|
+
self.source = options.fetch(:source, :edifact)
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.from_syntax_error(error)
|
20
|
+
position = EdifactConverter::EDI2XML11::Position.new(error.line, error.column)
|
21
|
+
self.new(position: position, text: error.to_s, source: :xml)
|
22
|
+
end
|
23
|
+
|
24
|
+
def to_s
|
25
|
+
"#{source.to_s.capitalize}: #{text} #{position}"
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'edifact_converter'
|
2
|
+
require 'edifact_converter/converter_methods'
|
3
|
+
|
4
|
+
module EdifactConverter
|
5
|
+
|
6
|
+
class Result
|
7
|
+
|
8
|
+
include EdifactConverter::ConverterMethods
|
9
|
+
|
10
|
+
ATTRIBUTES = [:xml, :ast, :edifact, :properties, :source_format]
|
11
|
+
|
12
|
+
ATTRIBUTES.each do |attribute|
|
13
|
+
attr_accessor attribute
|
14
|
+
end
|
15
|
+
|
16
|
+
def initialize(options)
|
17
|
+
options.each do |key, value|
|
18
|
+
if ATTRIBUTES.member? key.to_sym
|
19
|
+
self.send "#{key}=", value
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def properties
|
25
|
+
@properties ||= Hash.new do |hash,key|
|
26
|
+
case key
|
27
|
+
when :errors
|
28
|
+
hash[key] = []
|
29
|
+
when :warnings
|
30
|
+
hash[key] = []
|
31
|
+
else
|
32
|
+
nil
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
@@ -0,0 +1,183 @@
|
|
1
|
+
require 'edifact_converter/xml'
|
2
|
+
|
3
|
+
module EdifactConverter::XML
|
4
|
+
|
5
|
+
class Paragraph
|
6
|
+
MONOSPACE = 'F'
|
7
|
+
PROPOTIONAL = 'P'
|
8
|
+
CENTER = 'M'
|
9
|
+
RIGHT = 'H'
|
10
|
+
BOLD = 'F'
|
11
|
+
UNDERLINE = 'U'
|
12
|
+
ITALIC = 'K'
|
13
|
+
NORMAL = 'Normal'
|
14
|
+
|
15
|
+
attr_accessor :font, :format, :content
|
16
|
+
|
17
|
+
Break = Struct.new(:break) do
|
18
|
+
def break?
|
19
|
+
true
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
Text = Struct.new(:value) do
|
24
|
+
def break?
|
25
|
+
false
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def initialize()
|
30
|
+
self.font = PROPOTIONAL
|
31
|
+
self.format = NORMAL
|
32
|
+
end
|
33
|
+
|
34
|
+
def remove_start_break
|
35
|
+
content.shift if start_breaks?
|
36
|
+
end
|
37
|
+
|
38
|
+
def start_breaks?
|
39
|
+
content.first.break? if content.any?
|
40
|
+
end
|
41
|
+
|
42
|
+
def add_start_break(text_break)
|
43
|
+
content.unshift text_break
|
44
|
+
end
|
45
|
+
|
46
|
+
def add_end_break(text_break)
|
47
|
+
content.push text_break
|
48
|
+
end
|
49
|
+
|
50
|
+
def remove_end_break
|
51
|
+
content.shift if end_breaks?
|
52
|
+
end
|
53
|
+
|
54
|
+
def end_breaks?
|
55
|
+
content.last.break? if content.any?
|
56
|
+
end
|
57
|
+
|
58
|
+
def add_text(text)
|
59
|
+
content.push Text.new(text)
|
60
|
+
end
|
61
|
+
|
62
|
+
def add_break
|
63
|
+
content.push Break.new
|
64
|
+
end
|
65
|
+
|
66
|
+
def empty?
|
67
|
+
content.empty?
|
68
|
+
end
|
69
|
+
|
70
|
+
def content
|
71
|
+
@content ||= []
|
72
|
+
end
|
73
|
+
|
74
|
+
def texts?
|
75
|
+
content.index { |obj| not obj.break? }
|
76
|
+
end
|
77
|
+
|
78
|
+
def empty_copy
|
79
|
+
copy = Paragraph.new
|
80
|
+
copy.format = format
|
81
|
+
copy.font = font
|
82
|
+
copy
|
83
|
+
end
|
84
|
+
|
85
|
+
def ftx_format
|
86
|
+
text = "#{font}"
|
87
|
+
text << case format
|
88
|
+
when NORMAL
|
89
|
+
'00'
|
90
|
+
when CENTER
|
91
|
+
'0M'
|
92
|
+
when RIGHT
|
93
|
+
'0H'
|
94
|
+
when BOLD
|
95
|
+
'F0'
|
96
|
+
when ITALIC
|
97
|
+
'K0'
|
98
|
+
when UNDERLINE
|
99
|
+
'U0'
|
100
|
+
else
|
101
|
+
'00'
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
def to_subelms(next_paragraph)
|
106
|
+
texts = []
|
107
|
+
text = StringIO.new
|
108
|
+
content_clone = content.clone
|
109
|
+
content_clone.delete_if do |obj|
|
110
|
+
if obj.break?
|
111
|
+
text.write '.' if text.size == 0
|
112
|
+
texts << text.string
|
113
|
+
text.string = ""
|
114
|
+
else
|
115
|
+
text.string = divide_text(obj.value) { |t| texts << t }
|
116
|
+
end
|
117
|
+
true
|
118
|
+
end
|
119
|
+
text.seek text.size
|
120
|
+
if text.size > 0
|
121
|
+
if next_paragraph
|
122
|
+
if next_paragraph.start_breaks?
|
123
|
+
next_paragraph.remove_start_break
|
124
|
+
else
|
125
|
+
if text.size == 70
|
126
|
+
last = text.chars.last
|
127
|
+
text.seek 69
|
128
|
+
text.write('\\')
|
129
|
+
texts << text.string
|
130
|
+
text.string = "#{last}"
|
131
|
+
text.seek text.size
|
132
|
+
end
|
133
|
+
text.write('\\')
|
134
|
+
end
|
135
|
+
end
|
136
|
+
texts << text.string
|
137
|
+
text.string = ''
|
138
|
+
end
|
139
|
+
texts
|
140
|
+
end
|
141
|
+
|
142
|
+
def divide_text(value, &block)
|
143
|
+
chars = value.encode("iso-8859-1").chars
|
144
|
+
text = StringIO.new
|
145
|
+
text.set_encoding("iso-8859-1")
|
146
|
+
chars = chars.reject do |c|
|
147
|
+
if text.size == 69 and chars.count > 1
|
148
|
+
text.string = insert_split(text, &block)
|
149
|
+
end
|
150
|
+
text.seek text.size
|
151
|
+
text.write c
|
152
|
+
true
|
153
|
+
end
|
154
|
+
text.string.encode "UTF-8"
|
155
|
+
end
|
156
|
+
|
157
|
+
def insert_split(text)
|
158
|
+
index = text.string.rindex(/[\s]/)
|
159
|
+
if index and index > 2
|
160
|
+
yield "#{text.string[0..(index)]}\\".encode "UTF-8"
|
161
|
+
text.string[(index+1)..-1]
|
162
|
+
else
|
163
|
+
text.write '\\'
|
164
|
+
yield text.string.encode "UTF-8"
|
165
|
+
''
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
def to_s
|
170
|
+
txt = "<#{ftx_format}:"
|
171
|
+
content.each do |obj|
|
172
|
+
if obj.break?
|
173
|
+
txt << "\n"
|
174
|
+
else
|
175
|
+
txt << obj.value
|
176
|
+
end
|
177
|
+
end
|
178
|
+
txt << ">"
|
179
|
+
end
|
180
|
+
|
181
|
+
end
|
182
|
+
|
183
|
+
end
|