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,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="windows-1252"?>
|
2
|
+
<Emessage xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2007/02/01/"><Envelope><Sent><Date>2011-09-20</Date><Time>12:47</Time></Sent><Identifier>00114124637000</Identifier><AcknowledgementCode>minuspositivkvitt</AcknowledgementCode></Envelope><LaboratoryReport><Letter><Identifier>80901082504854</Identifier><VersionCode>XR0130K</VersionCode><StatisticalCode>XRPT01</StatisticalCode><Authorisation><Date>2011-09-19</Date><Time>22:06</Time></Authorisation><TypeCode>XRPT01</TypeCode></Letter><Sender><EANIdentifier>5790000123456</EANIdentifier><Identifier>685886</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>Lise Let p� t�</OrganisationName><DepartmentName>Fodterapeut</DepartmentName><MedicalSpecialityCode>ikkeklassificeret</MedicalSpecialityCode></Sender><Receiver><EANIdentifier>5790000123456</EANIdentifier><Identifier>079741</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>Bo Hansen</OrganisationName><DepartmentName>L�ge</DepartmentName><StreetName>Vandv�rksvej 99</StreetName><DistrictName>Hiller�d</DistrictName><PostCodeIdentifier>3400</PostCodeIdentifier></Receiver><Patient><CivilRegistrationNumber>0101604896</CivilRegistrationNumber><PersonSurnameName>Lauridsen</PersonSurnameName><PersonGivenName>Lonni</PersonGivenName></Patient><RequisitionInformation><Comments>Fodstatus konklusionsark<Break/></Comments><Sample><LaboratoryInternalSampleIdentifier>00000001abc</LaboratoryInternalSampleIdentifier><SamplingDateTime><Date>2011-09-19</Date><Time>22:06</Time></SamplingDateTime></Sample></RequisitionInformation><LaboratoryResults><GeneralResultInformation><LaboratoryInternalProductionIdentifier>00000001abc</LaboratoryInternalProductionIdentifier><ResultsDateTime><Date>2011-09-19</Date><Time>22:06</Time></ResultsDateTime></GeneralResultInformation><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89001</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Risikogruppe</AnalysisShortName><AnalysisCompleteName>Risikogruppe 1/2/3/4 pr. dato<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>2;20111115</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89002</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Fodstatus</AnalysisShortName><AnalysisCompleteName>Udvikling i fodstatus<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Forv�rret</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89004</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Neuropati;h�jre fod</AnalysisShortName><AnalysisCompleteName>Neuropati;h�jre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89005</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Neuropati;venstre fod</AnalysisShortName><AnalysisCompleteName>Neuropati;venstre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Nej</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89006</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Isk�mi</AnalysisShortName><AnalysisCompleteName>Isk�mi<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Nej</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>DIB0018</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Fods�r;h�jre fod</AnalysisShortName><AnalysisCompleteName>Fods�r;h�jre fod = ? Ja, Nej<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value><ResultComments>Wagner 2<Break/></ResultComments></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>DIB0019</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Fods�r;venstre fod</AnalysisShortName><AnalysisCompleteName>Fods�r;venstre fod = ? Ja, Nej<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value><ResultComments>Wagner 3<Break/></ResultComments></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>DIB0020</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Tidligere fods�r;h�jre fod</AnalysisShortName><AnalysisCompleteName>Tidligere fods�r;h�jre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value><ResultComments>Hallux;Crus<Break/></ResultComments></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>DIB0021</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Tidligere fods�r;venstre fod</AnalysisShortName><AnalysisCompleteName>Tidligere fods�r;venstre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Nej</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89021</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>F�lger pt. behandlingsplan</AnalysisShortName><AnalysisCompleteName>F�lger pt. behandlingsplan<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89014</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>�demer;h�jre fod</AnalysisShortName><AnalysisCompleteName>�demer;h�jre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89015</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>�demer;venstre fod</AnalysisShortName><AnalysisCompleteName>�demer;venstre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Nej</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89016</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>V�sentlige fejlstillinger;h�. fod</AnalysisShortName><AnalysisCompleteName>V�sentlige fejlstillinger;h�jre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value><ResultComments>Rigid pes planus tranversus<Break/></ResultComments><ResultComments>Mobil digitus malleus<Break/></ResultComments></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89017</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>V�sentlige fejlstillinger;ve. fod</AnalysisShortName><AnalysisCompleteName>V�sentlige fejlstillinger;venstre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Nej</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89018</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Charcots fod;h�jre fod</AnalysisShortName><AnalysisCompleteName>Charcots fod;h�jre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value><ResultComments>Aktiv<Break/></ResultComments></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89019</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Charcots fod;venstre fod</AnalysisShortName><AnalysisCompleteName>Charcots fod;venstre fod<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Nej</Value></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89020</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>Anbefalinger fodt�j mm.</AnalysisShortName><AnalysisCompleteName>Anbefalinger fodt�j mm.<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>Ja</Value><ResultComments>Ortop�disk?<Break/> Hensigtsm�ssigt<Break/></ResultComments><ResultComments>Kompressionsterapi?<Break/> Uhensigtsm�ssigt<Break/></ResultComments></Result><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>MCS89022</AnalysisCode><AnalysisCodeType>lokal</AnalysisCodeType><AnalysisCodeResponsible>MCS</AnalysisCodeResponsible><AnalysisShortName>�vrige kommentarer</AnalysisShortName><AnalysisCompleteName>�vrige kommentarer<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>989897;Klinik for fodterapi</Identifier><IdentifierCode>PNT</IdentifierCode></ProducerOfLabResult><ResultType>alfanumerisk</ResultType><Value>KOMM</Value><ResultComments>Har fors�gt at overbevise pt. om at det vil v�re en rigtig god ide at droppe cigaretterne, men uden held.<Break/></ResultComments></Result></LaboratoryResults></LaboratoryReport></Emessage>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="windows-1252"?>
|
2
|
+
<Emessage xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2007/02/01/"><Envelope><Sent><Date>2000-01-16</Date><Time>12:47</Time></Sent><Identifier>00114124637002</Identifier><AcknowledgementCode>minuspositivkvitt</AcknowledgementCode></Envelope><LaboratoryReport><Letter><Identifier>80901082504859</Identifier><VersionCode>XR0130K</VersionCode><StatisticalCode>XRPT01</StatisticalCode><Authorisation><Date>2000-01-16</Date><Time>12:52</Time></Authorisation><TypeCode>XRPT01</TypeCode></Letter><Sender><EANIdentifier>5790000120284</EANIdentifier><Identifier>4201050</Identifier><IdentifierCode>sygehusafdelingsnummer</IdentifierCode><OrganisationName>Sygehus Fyn, Svendborg</OrganisationName><DepartmentName>Klinisk Kemisk Afdeling</DepartmentName><MedicalSpecialityCode>klin_biokemi</MedicalSpecialityCode></Sender><Receiver><EANIdentifier>5790000125012</EANIdentifier><Identifier>989897</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>Finn Klamer</OrganisationName><DepartmentName>L�ge</DepartmentName><StreetName>L�gehuset</StreetName><DistrictName>Erslev</DistrictName><PostCodeIdentifier>5777</PostCodeIdentifier><Physician><PersonInitials>FK</PersonInitials></Physician></Receiver><Patient><CivilRegistrationNumber>1212778221</CivilRegistrationNumber><PersonSurnameName>Mortensen</PersonSurnameName><PersonGivenName>Jens</PersonGivenName></Patient><RequisitionInformation><Sample><LaboratoryInternalSampleIdentifier>00875137</LaboratoryInternalSampleIdentifier><RequesterSampleIdentifier>00875137</RequesterSampleIdentifier><SamplingDateTime><Date>1998-08-27</Date><Time>06:30</Time></SamplingDateTime></Sample></RequisitionInformation><LaboratoryResults><GeneralResultInformation><LaboratoryInternalProductionIdentifier>0000426825</LaboratoryInternalProductionIdentifier><ResultsDateTime><Date>2000-01-16</Date><Time>12:47</Time></ResultsDateTime></GeneralResultInformation><Result><ResultStatusCode>svar_endeligt</ResultStatusCode><Analysis><AnalysisCode>NPU01807</AnalysisCode><AnalysisCodeType>iupac</AnalysisCodeType><AnalysisCodeResponsible>SST</AnalysisCodeResponsible><AnalysisShortName>Creatinin;P</AnalysisShortName><AnalysisCompleteName>P-Creatininium,stofk.(Jaffe).<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>4202120 KKA Odense UNI.Hospital</Identifier><IdentifierCode>OUH</IdentifierCode></ProducerOfLabResult><ReferenceInterval><TypeOfInterval>uspecificeret</TypeOfInterval><LowerLimit>60</LowerLimit><UpperLimit>130</UpperLimit></ReferenceInterval><ResultType>numerisk</ResultType><Value>128</Value><Unit>�mol/l</Unit></Result></LaboratoryResults></LaboratoryReport></Emessage>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="windows-1252"?>
|
2
|
+
<Emessage xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2007/02/01/"><Envelope><Sent><Date>2000-01-16</Date><Time>13:47</Time></Sent><Identifier>00114124637003</Identifier><AcknowledgementCode>minuspositivkvitt</AcknowledgementCode></Envelope><LaboratoryReport><Letter><Identifier>80901082504860</Identifier><VersionCode>XR0130K</VersionCode><StatisticalCode>XRPT01</StatisticalCode><Authorisation><Date>2000-01-16</Date><Time>12:52</Time></Authorisation><TypeCode>XRPT01</TypeCode></Letter><Sender><EANIdentifier>5790000120284</EANIdentifier><Identifier>4201050</Identifier><IdentifierCode>sygehusafdelingsnummer</IdentifierCode><OrganisationName>Sygehus Fyn, Svendborg</OrganisationName><DepartmentName>Klinisk Kemisk Afdeling</DepartmentName><MedicalSpecialityCode>klin_biokemi</MedicalSpecialityCode></Sender><Receiver><EANIdentifier>5790000125012</EANIdentifier><Identifier>989897</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>Finn Klamer</OrganisationName><DepartmentName>L�ge</DepartmentName><StreetName>L�gehuset</StreetName><DistrictName>Erslev</DistrictName><PostCodeIdentifier>5777</PostCodeIdentifier><Physician><PersonInitials>FK</PersonInitials></Physician></Receiver><Patient><CivilRegistrationNumber>1212778221</CivilRegistrationNumber><PersonSurnameName>Mortensen</PersonSurnameName><PersonGivenName>Jens</PersonGivenName></Patient><RequisitionInformation><Sample><LaboratoryInternalSampleIdentifier>00875137</LaboratoryInternalSampleIdentifier><RequesterSampleIdentifier>00875137</RequesterSampleIdentifier><SamplingDateTime><Date>1998-08-27</Date><Time>06:30</Time></SamplingDateTime></Sample></RequisitionInformation><LaboratoryResults><GeneralResultInformation><LaboratoryInternalProductionIdentifier>0000426825</LaboratoryInternalProductionIdentifier><ResultsDateTime><Date>2000-01-16</Date><Time>13:47</Time></ResultsDateTime></GeneralResultInformation><Result><ResultStatusCode>svar_rettet</ResultStatusCode><Analysis><AnalysisCode>NPU01807</AnalysisCode><AnalysisCodeType>iupac</AnalysisCodeType><AnalysisCodeResponsible>SST</AnalysisCodeResponsible><AnalysisShortName>Creatinin;P</AnalysisShortName><AnalysisCompleteName>P-Creatininium,stofk.(Jaffe).<Break/></AnalysisCompleteName></Analysis><ProducerOfLabResult><Identifier>4202120 KKA Odense UNI.Hospital</Identifier><IdentifierCode>OUH</IdentifierCode></ProducerOfLabResult><ReferenceInterval><TypeOfInterval>uspecificeret</TypeOfInterval><LowerLimit>60</LowerLimit><UpperLimit>130</UpperLimit></ReferenceInterval><ResultType>numerisk</ResultType><Value>212</Value><Unit>�mol/l</Unit></Result></LaboratoryResults></LaboratoryReport></Emessage>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="windows-1252"?>
|
2
|
+
<Emessage xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"><Envelope><Sent><Date>2000-12-20</Date><Time>13:47</Time></Sent><Identifier>P1235</Identifier><AcknowledgementCode>minuspositivkvitt</AcknowledgementCode></Envelope><CervixcytologyReport><Letter><Identifier>200012201345</Identifier><VersionCode>XR0330P</VersionCode><StatisticalCode>XRPT03</StatisticalCode><Authorisation><Date>2000-12-20</Date><Time>13:45</Time></Authorisation><TypeCode>XRPT03</TypeCode></Letter><Sender><EANIdentifier>5790000195510</EANIdentifier><Identifier>7602090</Identifier><IdentifierCode>sygehusafdelingsnummer</IdentifierCode><OrganisationName>Skive Sygehus</OrganisationName><DepartmentName>Patologisk-Anatomisk Institut</DepartmentName><MedicalSpecialityCode>patologisk_anatomi</MedicalSpecialityCode><Examinator><PersonInitials>Vera Olsen /bioanalytiker</PersonInitials></Examinator></Sender><Receiver><EANIdentifier>5790000125012</EANIdentifier><Identifier>1234567</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>L�gehuset</OrganisationName><DepartmentName>Hiller�d</DepartmentName><StreetName>Vandv�rksvej 99</StreetName><DistrictName>Hiller�d</DistrictName><PostCodeIdentifier>3400</PostCodeIdentifier><Physician><PersonInitials>FK</PersonInitials></Physician></Receiver><CCReceiver><Identifier>069248</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>L�ge</OrganisationName><DepartmentName>Finn Klamer</DepartmentName></CCReceiver><Patient><CivilRegistrationNumber>1010561206</CivilRegistrationNumber><PersonSurnameName>Rasmusen</PersonSurnameName><PersonGivenName>Sofie</PersonGivenName><StreetName>Grusgraven 3</StreetName><PostCodeIdentifier>3400</PostCodeIdentifier><MunicipalityId>219</MunicipalityId><MunicipalityName>Hiller�d</MunicipalityName><Consent><Given>true</Given><Text>Samtykke givet</Text></Consent></Patient><RequisitionInformation><LaboratoryInternalSampleIdentifier>99004739</LaboratoryInternalSampleIdentifier><RequesterSampleIdentifier>125001200000204</RequesterSampleIdentifier><SamplingDateTime><Date>2000-12-16</Date><Time>13:14</Time></SamplingDateTime><SampleReceivedDateTime><Date>2000-12-17</Date><Time>08:00</Time></SampleReceivedDateTime><ClinicalInformation>Folkeunders�gelse, pt.fremm�dt efter 2. rykker og telefonisk kontakt.<Break/></ClinicalInformation><Comments>pr�ven har v�ret mere end 48 timer undervejs.<Break/></Comments></RequisitionInformation><LaboratoryResults><GeneralResultInformation><ResultStatusCode>svar_endeligt</ResultStatusCode><ResultsDateTime><Date>2000-12-20</Date><Time>13:45</Time></ResultsDateTime><LaboratoryInternalProductionIdentifier>200012201344099004739</LaboratoryInternalProductionIdentifier></GeneralResultInformation><CodedFormat><DiagnosisHeadline>Diagnoser</DiagnosisHeadline><Sample><LaboratoryInternalSampleIdentifier>99004739</LaboratoryInternalSampleIdentifier><MaterialDescription>Smear</MaterialDescription><CodedResults><Topography><Code>T8X312</Code><Text>Cytologi,cervix og endocervix</Text></Topography><Result><Code>M09462</Code><Text>Ingen malignitetssuspekte celler</Text></Result></CodedResults></Sample></CodedFormat><TableFormat><ResultHeadline>Cervixcytologi</ResultHeadline><TableResult>i.a.</TableResult></TableFormat><TextualFormat><Conclusion><Headline>Konklusion</Headline><Text>i.a.<Break/></Text></Conclusion></TextualFormat></LaboratoryResults></CervixcytologyReport></Emessage>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="windows-1252"?>
|
2
|
+
<Emessage xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"><Envelope><Sent><Date>2000-12-20</Date><Time>13:47</Time></Sent><Identifier>P1234</Identifier><AcknowledgementCode>minuspositivkvitt</AcknowledgementCode></Envelope><HistopathologyReport><Letter><Identifier>200012201344</Identifier><VersionCode>XR0430P</VersionCode><StatisticalCode>XRPT04</StatisticalCode><Authorisation><Date>2000-12-20</Date><Time>13:44</Time></Authorisation><TypeCode>XRPT04</TypeCode></Letter><Sender><EANIdentifier>5790000195510</EANIdentifier><Identifier>7602090</Identifier><IdentifierCode>sygehusafdelingsnummer</IdentifierCode><OrganisationName>Skive Sygehus</OrganisationName><DepartmentName>Patologisk-Anatomisk Institut</DepartmentName><MedicalSpecialityCode>patologisk_anatomi</MedicalSpecialityCode><Examinator><PersonInitials>Peter B�k Kristensen</PersonInitials></Examinator></Sender><Receiver><EANIdentifier>5790000125012</EANIdentifier><Identifier>1234567</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>L�gehuset</OrganisationName><DepartmentName>Hiller�d</DepartmentName><StreetName>Vandv�rksvej 99</StreetName><DistrictName>Hiller�d</DistrictName><PostCodeIdentifier>3400</PostCodeIdentifier><Physician><PersonInitials>FK</PersonInitials></Physician></Receiver><CCReceiver><Identifier>069248</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>Finn Klamer</OrganisationName><DepartmentName>L�ge</DepartmentName></CCReceiver><Patient><CivilRegistrationNumber>1502824933</CivilRegistrationNumber><PersonSurnameName>Mosebryggersen</PersonSurnameName><PersonGivenName>Knut Odvar</PersonGivenName><StreetName>Grusgraven 3</StreetName><PostCodeIdentifier>3400</PostCodeIdentifier><MunicipalityId>219</MunicipalityId><MunicipalityName>Hiller�d</MunicipalityName><Consent><Given>true</Given><Text>Samtykke givet</Text></Consent></Patient><Relative><RelationCode>mor</RelationCode><PersonIdentifier>2727121212</PersonIdentifier><PersonSurnameName>Berggren</PersonSurnameName><PersonGivenName>Johanne</PersonGivenName></Relative><RequisitionInformation><RequestersRequisitionIdentifier>125001200000255</RequestersRequisitionIdentifier><ReceiversRequisitionIdentifier>99012344</ReceiversRequisitionIdentifier><SamplingDateTime><Date>2000-12-16</Date><Time>13:13</Time></SamplingDateTime><SampleReceivedDateTime><Date>2000-12-17</Date><Time>08:00</Time></SampleReceivedDateTime><ClinicalInformation>Indurrent, inflammeret naevus fra h�. Femur. Stansebiopsi.<Break/></ClinicalInformation><Comments>NB:DETTE ER EN RETTELSE TIL SVAR AF 17.12.2000<Break/>pr�ven har v�ret mere end 48 timer undervejs. Fixeringsv�ske mangler.<Break/></Comments></RequisitionInformation><LaboratoryResults><GeneralResultInformation><ResultStatusCode>svar_rettet</ResultStatusCode><ResultsDateTime><Date>2000-12-20</Date><Time>13:44</Time></ResultsDateTime><LaboratoryInternalProductionIdentifier>20001220134409901234</LaboratoryInternalProductionIdentifier></GeneralResultInformation><CodedFormat><DiagnosisHeadline>Diagnoser</DiagnosisHeadline><Sample><LaboratoryInternalSampleIdentifier>99012344-1</LaboratoryInternalSampleIdentifier><MaterialDescription>Hud p� l�r</MaterialDescription><CodedResults><Headline>MaterialeA</Headline><Topography><Code>T02424</Code><Text>Hud p� l�r</Text></Topography><Result><Code>M88100</Code><Text>Halo Naevus</Text></Result><Result><Code>M33333</Code><Text> Inflammation med eosinofili</Text></Result></CodedResults></Sample></CodedFormat><TableFormat><ResultHeadline>Histologi</ResultHeadline><TableResult>PATO</TableResult></TableFormat><TextualFormat><Macroscopic><Headline>Makroskopi</Headline><Text>Cylindrisk v�vsstykke, m�lende 6 mm i diameter, h�jde 2,5 mm. Der er Uskarpt, afgr�nset, ensartet pigmenteret, 4 mm stort naevus. 2 tv�rsnit i 1 kapsel. Alt er med.<Break/></Text></Macroscopic><Microscopic><Headline>Mikroskopi</Headline><Text>Der er snit igennem et hudstykke hvor epidermis er akantotisk og lettere hyperplastisk med en basal melanocyt�r hyperplasi af lentigoid type. I corium finder man multifokale infiltrater, prim�rt best�ende af bet�ndelsesceller., men ogs� en del eosinofile granulocytter. I tilknytning hertil findes spredte degenererede cellegrupper, som m� repr�sentere degenererede naevusceller. I forbindelse hermed er der mange pigmentholdige makrofager. Det er vor opfattelse, at der er tale om et regredieret naevus svarende til halonaevus og der er ikke holdepunkter for malignitet.<Break/></Text></Microscopic><Conclusion><Headline>Konklusion</Headline><Text>Regredieret naevus svarende til halonaevus og der er ikke holdepunkter for malignitet.<Break/></Text></Conclusion></TextualFormat></LaboratoryResults></HistopathologyReport></Emessage>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0" encoding="windows-1252"?>
|
2
|
+
<Emessage xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/"><Envelope><Sent><Date>2001-06-07</Date><Time>07:43</Time></Sent><Identifier>10607074258001</Identifier><AcknowledgementCode>minuspositivkvitt</AcknowledgementCode></Envelope><HistopathologyReport><Letter><Identifier>10606141805123</Identifier><VersionCode>XR0430P</VersionCode><StatisticalCode>XRPT04</StatisticalCode><Authorisation><Date>2001-06-07</Date><Time>07:43</Time></Authorisation><TypeCode>XRPT04</TypeCode></Letter><Sender><EANIdentifier>5790000120284</EANIdentifier><Identifier>4202220</Identifier><IdentifierCode>sygehusafdelingsnummer</IdentifierCode><OrganisationName>Odense Universitetshospital</OrganisationName><DepartmentName>Patologisk Institut</DepartmentName><MedicalSpecialityCode>patologisk_anatomi</MedicalSpecialityCode><Examinator><PersonInitials>hmk</PersonInitials></Examinator></Sender><Receiver><EANIdentifier>5790000121144</EANIdentifier><Identifier>989898</Identifier><IdentifierCode>ydernummer</IdentifierCode><OrganisationName>Fyns Amt IT-Kontor</OrganisationName><DepartmentName>Lars Poulsen</DepartmentName></Receiver><Patient><CivilRegistrationNumber>2512484916</CivilRegistrationNumber><PersonSurnameName>Berggren</PersonSurnameName><PersonGivenName>Nancy Ann</PersonGivenName><StreetName>Sdr. Boulevard 100</StreetName><PostCodeIdentifier>5000</PostCodeIdentifier><MunicipalityId>461</MunicipalityId><MunicipalityName>Odense</MunicipalityName></Patient><RequisitionInformation><ReceiversRequisitionIdentifier>01000909</ReceiversRequisitionIdentifier><SamplingDateTime><Date>2001-06-06</Date><Time>00:00</Time></SamplingDateTime><SampleReceivedDateTime><Date>2001-06-06</Date><Time>00:00</Time></SampleReceivedDateTime><ClinicalInformation>Meget interessant tilf�lde<Break/></ClinicalInformation></RequisitionInformation><LaboratoryResults><GeneralResultInformation><ResultStatusCode>svar_endeligt</ResultStatusCode><ResultsDateTime><Date>2001-06-07</Date><Time>07:43</Time></ResultsDateTime><LaboratoryInternalProductionIdentifier>01000909</LaboratoryInternalProductionIdentifier></GeneralResultInformation><CodedFormat><DiagnosisHeadline>Diagnoser</DiagnosisHeadline><Sample><LaboratoryInternalSampleIdentifier>01000909</LaboratoryInternalSampleIdentifier><MaterialDescription>A: qw1</MaterialDescription><CodedResults><Headline>Materiale(rne)</Headline><Topography><Code>T0X000</Code><Text>Blod</Text></Topography><Result><Code>M69210</Code><Text>K�mpecelle</Text></Result></CodedResults></Sample></CodedFormat><TableFormat><ResultHeadline>Cytologi</ResultHeadline><TableResult>PATO</TableResult></TableFormat><TextualFormat><Conclusion><Headline>Konklusion</Headline><Text>Intet sikkert abnormt<Break/></Text></Conclusion><Hematology><Headline>H�matologi</Headline><Labels><CellTypes>T�lling af marv og blod</CellTypes><Marrow>MARV</Marrow><Peripheral>BLOD</Peripheral></Labels><Result><CellType>Myeloblaster</CellType><Marrow>03 %</Marrow><Peripheral>01 %</Peripheral></Result><Result><CellType>Promyelocytter</CellType><Marrow>02 %</Marrow><Peripheral>01 %</Peripheral></Result><Result><CellType>Myelocytter neutrofile</CellType><Marrow>02 %</Marrow><Peripheral>02 %</Peripheral></Result><Result><CellType>Metamyelocytter</CellType><Marrow>03 %</Marrow><Peripheral>05 %</Peripheral></Result><Result><CellType>Granulocytter stavkernede</CellType><Marrow>00 %</Marrow><Peripheral>25 %</Peripheral></Result><Result><CellType>Granulocytter segmentkernede</CellType><Marrow>10 %</Marrow><Peripheral>20 %</Peripheral></Result><Result><CellType>Modne granulocyt�re celler ialt</CellType><Marrow>%</Marrow><Peripheral>%</Peripheral></Result><Result><CellType>Myelocytter eosinofile</CellType><Marrow>10 %</Marrow><Peripheral>05 %</Peripheral></Result><Result><CellType>Granulocytter eosinofile</CellType><Marrow>10 %</Marrow><Peripheral>05 %</Peripheral></Result><Result><CellType>Granulocytter basofile</CellType><Marrow>10 %</Marrow><Peripheral>05 %</Peripheral></Result><Result><CellType>Lymfoblaster</CellType><Marrow>15 %</Marrow><Peripheral>03 %</Peripheral></Result><Result><CellType>Lymfocytter</CellType><Marrow>05 %</Marrow><Peripheral>13 %</Peripheral></Result><Result><CellType>Monoblaster</CellType><Marrow>10 %</Marrow><Peripheral>05 %</Peripheral></Result><Result><CellType>Monocytter</CellType><Marrow>05 %</Marrow><Peripheral>07 %</Peripheral></Result><Result><CellType>Plasmaceller</CellType><Marrow>02 %</Marrow><Peripheral>01 %</Peripheral></Result><Result><CellType>Mystiske forekomster</CellType><Marrow>00 %</Marrow><Peripheral>02 %</Peripheral></Result><Result><CellType>Erytroblaster basofile</CellType><Marrow>05 %</Marrow><Peripheral>00 %</Peripheral></Result><Result><CellType>Erytroblaster polykrome</CellType><Marrow>05 %</Marrow><Peripheral>00 %</Peripheral></Result><Result><CellType>Erytroblaster ortokrome</CellType><Marrow>02 %</Marrow><Peripheral>00 %</Peripheral></Result><Result><CellType>Erytropoiese ialt</CellType><Marrow>%</Marrow><Peripheral>%</Peripheral></Result><Result><CellType>Megakaryoblaster</CellType><Marrow>01 %</Marrow><Peripheral>00 %</Peripheral></Result></Hematology></TextualFormat></LaboratoryResults></HistopathologyReport></Emessage>
|
@@ -0,0 +1,110 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'edifact_converter'
|
3
|
+
|
4
|
+
module EdifactConverter
|
5
|
+
|
6
|
+
class ConverterMethodsTest < Test::Unit::TestCase
|
7
|
+
|
8
|
+
def xmedbin
|
9
|
+
<<-EOS
|
10
|
+
<Emessage xmlns="http://rep.oio.dk/sundcom.dk/medcom.dk/xml/schemas/2005/08/07/">
|
11
|
+
<Envelope>
|
12
|
+
<Sent>
|
13
|
+
<Date>2002-11-20</Date>
|
14
|
+
<Time>17:29</Time>
|
15
|
+
</Sent>
|
16
|
+
<Identifier>MEDBIN62528</Identifier>
|
17
|
+
<AcknowledgementCode>minuspositivkvitt</AcknowledgementCode>
|
18
|
+
</Envelope>
|
19
|
+
<BinaryLetter>
|
20
|
+
<Letter>
|
21
|
+
<Identifier>021120PWE62528</Identifier>
|
22
|
+
<VersionCode>XB0130X</VersionCode>
|
23
|
+
<StatisticalCode>XBIN01</StatisticalCode>
|
24
|
+
<Authorisation>
|
25
|
+
<Date>2002-11-20</Date>
|
26
|
+
<Time>17:29</Time>
|
27
|
+
</Authorisation>
|
28
|
+
<TypeCode>XBIN01</TypeCode>
|
29
|
+
<StatusCode>nytbrev</StatusCode>
|
30
|
+
</Letter>
|
31
|
+
<Sender>
|
32
|
+
<EANIdentifier>5790000128686</EANIdentifier>
|
33
|
+
<Identifier>054496</Identifier>
|
34
|
+
<IdentifierCode>ydernummer</IdentifierCode>
|
35
|
+
<OrganisationName>Lægerne i Viuf</OrganisationName>
|
36
|
+
<UnitName>Claus Noringriis</UnitName>
|
37
|
+
<StreetName>Storgaden 67</StreetName>
|
38
|
+
<DistrictName>Viuf</DistrictName>
|
39
|
+
<PostCodeIdentifier>6052</PostCodeIdentifier>
|
40
|
+
<MedicalSpecialityCode>almenlaege_laegevagt</MedicalSpecialityCode>
|
41
|
+
</Sender>
|
42
|
+
<Receiver>
|
43
|
+
<EANIdentifier>5790000129508</EANIdentifier>
|
44
|
+
<Identifier>277878</Identifier>
|
45
|
+
<IdentifierCode>ydernummer</IdentifierCode>
|
46
|
+
<OrganisationName>Peter Wendelboe</OrganisationName>
|
47
|
+
<UnitName>Hudlæge</UnitName>
|
48
|
+
<StreetName>Østergade 20</StreetName>
|
49
|
+
<DistrictName>Grenå</DistrictName>
|
50
|
+
<PostCodeIdentifier>8500</PostCodeIdentifier>
|
51
|
+
</Receiver>
|
52
|
+
<Patient>
|
53
|
+
<CivilRegistrationNumber>0312851849</CivilRegistrationNumber>
|
54
|
+
<PersonSurnameName>Petersen</PersonSurnameName>
|
55
|
+
<PersonGivenName>Peter Helge</PersonGivenName>
|
56
|
+
</Patient>
|
57
|
+
<BinaryObject>
|
58
|
+
<ObjectIdentifier>031285-1849_021121SKR0XX0166OBJ001</ObjectIdentifier>
|
59
|
+
<ObjectCode>billede</ObjectCode>
|
60
|
+
<ObjectExtensionCode>gif</ObjectExtensionCode>
|
61
|
+
<OriginalObjectSize>1606</OriginalObjectSize>
|
62
|
+
<Object_Base64Encoded>R0lGODlhMAAwAPYAAKel3Q6JqSfb/f/+Aybp/4t2Bv///xClwM3M+u3VmXt2tPzZA9akbdnEkg0H
|
63
|
+
Ighvj820BPzVAwgqS19ZmXtqCSXP9sezhOWmAyLH7mpbDEEsERFPaRjo///lAwKMyQGr8P/0A6uT
|
64
|
+
BNLP19HBBGdWRmtWauTGr7iqA1ZMMgBpsTdITpaHBAjJ/CTx/1JGEnhmV76pf//sAwRVieTm/5aK
|
65
|
+
kK6OiYp6gGo8Cn1qfBj7/+LWA1NMbJFXOHFmJ7KtsqR2AxHe/eDe34pTA9C7irynfdeqsgB1yoNw
|
66
|
+
WTFohw7V/CG/5+/v8QCT6P3BA4FIMPTcBAfA4yLF7F5KS+jNBP/cA/Ly/S9ZWkU3PP/b07eje/Xt
|
67
|
+
AyLG7fXjA66Wd//ZAyLE6yHE7NaiBP/gA6hdNCLC6/vaA8CrgCLE7yTF7yTK8pqGaCfT4fz6+Cz+
|
68
|
+
/+XiA9C6lBq20UdyYv/17+7VBJKOxyrn7gZDaBBjgiPD7YAxFz1ELMeJVb2olsq0mxrL6wLi9iH/
|
69
|
+
C05FVFNDQVBFMi4wAwEAAAAh+QQEZAD/ACwAAAAAMAAwAAAH/4AYgoOEg2BpBEoBcAcPd3cHBGlg
|
70
|
+
hZWWl5ZRiA8bdw4SEox3AS0CX1GYqaoYZwR3G3UBARwpEh4eDnYsHAJkW6vAg1EEAXZtcA4BKj0F
|
71
|
+
PyEhBSgyHy2TwcECG34fEhlhESAD4uJiYS4pHBWU16lpFXcyGUI6A1ReC/gLEVThQjIcaX6xswSm
|
72
|
+
AgcHQgasoDAgn0N9YgYISdGCzEBLaFrc0TBlwAgIHR4+jHiDCYEvFwmRaWFECIgpCzrEiCDSIbgm
|
73
|
+
EoCkSSloSwUWV8BRoVlTZASJRgigSjnMyI8BRIsaBXHBDgc0PLdwkBEGhFSpXkC4+CBA4MA0Saw0
|
74
|
+
Cfm15tEfFP9RXkzDQi3btiJjNNkAhCdau3hrhh0rYB07rXe6fqVi76EXKgN+yCCAdWDTp1HzgRsg
|
75
|
+
5kkMzhG8DAAxp+MPD2UHbhHAhIJXmxFPZOjxgtmT0SsykCBR4AYpi2frRhCjuQOIDDsAzJiBQAGK
|
76
|
+
EBQmIJhRBUEJqzstb70AokOH0AMyKDBAvjwCB+PLk3/x4KRlAimeTnkCOcQE9epF2MBvQI4KKBWw
|
77
|
+
EwUYbXyQwQAauDBADBkgwF95OIjAHw4BCLDUKj6BscEHcZRBgQZzRPACeUv4UAV+NNBgQBBSSGiA
|
78
|
+
De1dqIpPFXyCRBgnULBCDCMa4IMDLpZHgw8GLHFFEOSVgJr/WcAIEIAnBYQwwoE9zFCkCGzgVwId
|
79
|
+
AADApQFY5JRdMFsQsAEcDzgQwgAu6BBCevydR0EBdLpgQwkBuHfNMHc8kIMDEAwQwglsAhDnFSOM
|
80
|
+
Ns4NMrQB3J4CHLBBDncUMAIIYsSggwvSVVGdAlcQGpoXooVgEh4pgbHGB3qsUMAU38UAQgG61baC
|
81
|
+
OLLGEAMXJzjgQUUXRVEBECr8QKcOxIE32ggnnFAABRTM1gMKV3RxRSSPksnaCj9osMIIMejTwQA5
|
82
|
+
7lYCDjbYQEMN7L6RwB5iqvaTHtwNEGIEsmZwhQ18NODvEENYILAFZmSRgBMpKDUQGAR4cEMYGayA
|
83
|
+
qRYulGBC/wNmEKExDBx3DAMRQ+yxAQdMBoMHAdxQoIVoFOyQwMYex8yxBQyowMKY12yBB6VNYKrD
|
84
|
+
FX1kLPPQZtTMQoAppbWWQiU0APLQMmfRAA8xziVcRAXgEHAWAZtBtBkWNJBAHlUPJMAHKMQQFgU2
|
85
|
+
JHCEA2pkYcEQ/tYNcMhjXPGAADgHE4UAHjB0FAU4JPDCbiigIIUUuyFOwhUbPECNNQKm0UJ8UA1Q
|
86
|
+
QNNhN2BBF2ocIbroFowhQQ6lgFHyjCez8Mcd3OE7whUNfAwD2HTXncAY/5my+ionB2AFEnp0kGx4
|
87
|
+
hWcRMxEGO2EHEL2kGqkUJuBQAFT4xOCGBjQkYMHGRJix+5Dp0ad0Bgd2YLGEmgN4EUEZR+mgQQn9
|
88
|
+
6s6DBEmUHyzgJZAnwhXXAwFNwKEFCqCABCUowQs0IIMcCEAJPMHAF7ZShPJUYQIuINRMhjMAXq1g
|
89
|
+
BSdgIBRaUIFs5awCUNhBltQDgB1kIFAbFEM4BvAEGxQBcvkzITD4VIMHGYAOLhzBXSLQAQj0qAYq
|
90
|
+
gEMFfleIQAAAOw==</Object_Base64Encoded>
|
91
|
+
</BinaryObject>
|
92
|
+
</BinaryLetter>
|
93
|
+
</Emessage>
|
94
|
+
EOS
|
95
|
+
end
|
96
|
+
|
97
|
+
def test_binary
|
98
|
+
#file_path = "/Users/jacob/Desktop/xbin_gif.xml" # "#{File.dirname(__FILE__)}/complete/files/xml/BIN01_1.xml"
|
99
|
+
result = EdifactConverter.convert_xml(xmedbin)
|
100
|
+
binary = result.binary "031285-1849_021121SKR0XX0166OBJ001"
|
101
|
+
assert binary
|
102
|
+
File.open("/tmp/image.gif", "wb") do |file|
|
103
|
+
file.write binary.binary
|
104
|
+
end
|
105
|
+
assert true
|
106
|
+
end
|
107
|
+
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'edifact_converter'
|
3
|
+
require_relative 'log_reader_handler'
|
4
|
+
|
5
|
+
|
6
|
+
module EdifactConverter::EDI2XML11
|
7
|
+
|
8
|
+
class BrevHandlerTest < Test::Unit::TestCase
|
9
|
+
|
10
|
+
def log_handler
|
11
|
+
@log_handler ||= LogReaderHandler.new
|
12
|
+
end
|
13
|
+
|
14
|
+
def handler
|
15
|
+
@handler ||= BrevHandler.new log_handler
|
16
|
+
end
|
17
|
+
|
18
|
+
def reader
|
19
|
+
@reader ||= EdiReader.new handler
|
20
|
+
end
|
21
|
+
|
22
|
+
def setup
|
23
|
+
handler.startDocument
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_all
|
27
|
+
handler.startDocument
|
28
|
+
assert not(handler.brev?)
|
29
|
+
assert not(handler.indhold?)
|
30
|
+
handler.locator = Locator.new
|
31
|
+
handler.locator.position = "Pos"
|
32
|
+
handler.startSegment("UNH")
|
33
|
+
assert_equal 1, log_handler.number_of(:segment_group)
|
34
|
+
assert_equal 'Brev', log_handler.last[:segment_group].value
|
35
|
+
assert_equal 'Pos', log_handler.last[:segment_group].position
|
36
|
+
assert_equal 'UNH', log_handler.last[:segment].value
|
37
|
+
assert_equal 1, log_handler.number_of(:segment)
|
38
|
+
assert_equal 1, log_handler.last[:segment_group].select(:segment).size
|
39
|
+
|
40
|
+
handler.endSegment("UNH")
|
41
|
+
assert_equal 2, log_handler.number_of(:segment_group)
|
42
|
+
assert_equal 'BrevIndhold', log_handler.last[:segment_group].value
|
43
|
+
assert_equal 'Pos', log_handler.last[:segment_group].position
|
44
|
+
assert_equal 'UNH', log_handler.last[:segment].value
|
45
|
+
assert_equal 1, log_handler.number_of(:segment)
|
46
|
+
assert_equal 0, log_handler.last[:segment_group].select(:segment).size
|
47
|
+
|
48
|
+
handler.startSegment("TST")
|
49
|
+
assert_equal 2, log_handler.number_of(:segment_group)
|
50
|
+
assert_equal 'BrevIndhold', log_handler.last[:segment_group].value
|
51
|
+
assert_equal 'Pos', log_handler.last[:segment_group].position
|
52
|
+
assert_equal 'TST', log_handler.last[:segment].value
|
53
|
+
assert_equal 2, log_handler.number_of(:segment)
|
54
|
+
assert_equal 1, log_handler.last[:segment_group].select(:segment).size
|
55
|
+
|
56
|
+
handler.endSegment "TST"
|
57
|
+
assert_equal 2, log_handler.number_of(:segment_group)
|
58
|
+
assert_equal 'BrevIndhold', log_handler.last[:segment_group].value
|
59
|
+
assert_equal 'Pos', log_handler.last[:segment_group].position
|
60
|
+
assert_equal 'TST', log_handler.last[:segment].value
|
61
|
+
assert_equal 2, log_handler.number_of(:segment)
|
62
|
+
assert_equal 1, log_handler.last[:segment_group].select(:segment).size
|
63
|
+
|
64
|
+
handler.startSegment("UNT")
|
65
|
+
assert_equal 2, log_handler.number_of(:segment_group)
|
66
|
+
assert_equal 'BrevIndhold', log_handler.last[:segment_group].value
|
67
|
+
assert_equal 'Pos', log_handler.last[:segment_group].position
|
68
|
+
assert_equal 'UNT', log_handler.last[:segment].value
|
69
|
+
assert_equal 3, log_handler.number_of(:segment)
|
70
|
+
assert_equal 1, log_handler.last[:segment_group].select(:segment).size
|
71
|
+
|
72
|
+
handler.endSegment("UNT")
|
73
|
+
assert_equal 2, log_handler.number_of(:segment_group)
|
74
|
+
assert_equal 'Pos', log_handler.last[:segment_group].position
|
75
|
+
assert_equal 'UNT', log_handler.last[:segment].value
|
76
|
+
assert_equal 3, log_handler.number_of(:segment)
|
77
|
+
assert_equal 3, log_handler.document.select(:segment).size
|
78
|
+
assert_equal 2, log_handler.document.select(:segment_group).size
|
79
|
+
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
|
84
|
+
end
|
@@ -0,0 +1,287 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
require 'edifact_converter'
|
3
|
+
require_relative 'log_reader_handler'
|
4
|
+
|
5
|
+
|
6
|
+
module EdifactConverter::EDI2XML11
|
7
|
+
|
8
|
+
class EdiReaderTest < Test::Unit::TestCase
|
9
|
+
|
10
|
+
def handler
|
11
|
+
@handler ||= LogReaderHandler.new
|
12
|
+
end
|
13
|
+
|
14
|
+
def reader
|
15
|
+
@reader || begin
|
16
|
+
@reader = EdiReader.new handler
|
17
|
+
@reader.locator.properties = fresh_properties
|
18
|
+
@reader
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def fresh_properties
|
23
|
+
Hash.new do |hash,key|
|
24
|
+
case key
|
25
|
+
when :errors
|
26
|
+
hash[key] = []
|
27
|
+
when :warnings
|
28
|
+
hash[key] = []
|
29
|
+
else
|
30
|
+
nil
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def setup
|
36
|
+
handler.startDocument
|
37
|
+
#EdifactConverter.properties = nil
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_parses_edifact
|
41
|
+
edifact = %#UNA:+.? '
|
42
|
+
UNB+UNOC:3+DKKMDKMDNET:14+5790000181872:14+991111:1850+KuvertNr1234'
|
43
|
+
UNH+BrevNr5678+CONTRL:D:93A:ZZ:C0130Q+CTL01'
|
44
|
+
UCI+MEDREF01095+5790000181872:14+5790000120420:14+4'
|
45
|
+
FTX+LOK+P00++EDI-kuvert afsendt 11/11 1999 kl 18.46 har ikke kunnet modtages. :Modtagerlokationsnummer har ikke kunnet identificeres.'
|
46
|
+
UCM+1111FRE01095+MEDREF:D:93A:UN:H0130R+4'
|
47
|
+
UCM+1111MAN01095+MEDREF:D:93A:UN:H0130R+4'
|
48
|
+
UNT+6+BrevNr5678'
|
49
|
+
UNZ+1+KuvertNr1234#
|
50
|
+
reader.parse_string(edifact, props = fresh_properties)
|
51
|
+
assert_equal 0, props[:errors].size
|
52
|
+
end
|
53
|
+
|
54
|
+
def test_missing_una
|
55
|
+
edifact = %#TST+1'TST+2'TST+3'TST+4'TST+5'#
|
56
|
+
reader.parse_string edifact, fresh_properties
|
57
|
+
assert_equal Position.new(0,0), reader.locator.properties[:warnings].first.position
|
58
|
+
end
|
59
|
+
|
60
|
+
def test_announces_segments
|
61
|
+
edifact = %#UNA:+.? '
|
62
|
+
TST+1'TST+2'TST+3'TST+4'TST+5'#
|
63
|
+
reader.parse_string edifact, fresh_properties
|
64
|
+
assert_equal 5, handler.number_of(:segment)
|
65
|
+
assert handler.balanced?
|
66
|
+
edifact = %#TST+1'TST+2'TST+3'TST+4'TST+5'#
|
67
|
+
handler.startDocument
|
68
|
+
reader.parse_string edifact, fresh_properties
|
69
|
+
assert_equal 5, handler.number_of(:segment)
|
70
|
+
assert handler.balanced?
|
71
|
+
end
|
72
|
+
|
73
|
+
def test_announces_elements
|
74
|
+
edifact = %#TST+1'TST+2+2'TST+3+3:3+3'TST+4+4:4+:4'TST++5'#
|
75
|
+
reader.parse_string edifact, fresh_properties
|
76
|
+
assert_equal 11, handler.number_of(:element)
|
77
|
+
assert handler.balanced?
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_passes_values
|
81
|
+
edifact = %#UNB+1:2'
|
82
|
+
TST+3:4+5:6:::9'#
|
83
|
+
reader.parse_string edifact, fresh_properties
|
84
|
+
assert_equal 9, handler.number_of(:value)
|
85
|
+
end
|
86
|
+
|
87
|
+
def test_sends_line_and_column
|
88
|
+
edifact = %#UNB+1:2'
|
89
|
+
TST+3:4+5:6:::9'#
|
90
|
+
reader.parse_string edifact, fresh_properties
|
91
|
+
assert_equal Position.new(1, 6), handler.last[:segment].position
|
92
|
+
assert_equal Position.new(1, 13), handler.last[:element].position
|
93
|
+
assert_equal Position.new(1, 20), handler.last[:value].position
|
94
|
+
end
|
95
|
+
|
96
|
+
def test_finds_illegal_escape
|
97
|
+
edifact = %#UNB+UN?OC:3'#
|
98
|
+
reader.parse_string edifact, props = fresh_properties
|
99
|
+
# Ignore warning from missing UNA
|
100
|
+
assert_equal Position.new(0, 8), props[:errors].last.position
|
101
|
+
end
|
102
|
+
|
103
|
+
def test_throws_edifact_error_when_bad_syntax
|
104
|
+
edifacts = []
|
105
|
+
edifacts << %#SEQ++1''UNZ+1'#
|
106
|
+
edifacts << %#S1111'#
|
107
|
+
edifacts << %#A?D+1'#
|
108
|
+
edifacts << %#S1++11'#
|
109
|
+
edifacts.each do |edifact|
|
110
|
+
assert_raise EdifactConverter::EdifactError do
|
111
|
+
reader.parse_string edifact, fresh_properties
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
def test_binary
|
117
|
+
edifact = %#UNA:+.? '
|
118
|
+
UNO+1+AID:2BE66629DA66406D9E3FCD78219E1377+OBJ:IMG:TIF:91+17:14:1:A'
|
119
|
+
HelloWorld
|
120
|
+
UNP+1327700+1'#
|
121
|
+
reader.parse_string edifact, props = fresh_properties
|
122
|
+
assert_equal 0, props[:errors].size
|
123
|
+
edifact = %#UNA:+.? '
|
124
|
+
UNO+1+AID:2BE66629DA66406D9E3FCD78219E1377+OBJ:IMG:TIF:91+10:14:1:A'
|
125
|
+
HelloWorld
|
126
|
+
UNP+1327700+1'#
|
127
|
+
assert_raise EdifactConverter::EdifactError do
|
128
|
+
reader.parse_string edifact, fresh_properties
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
#Test private methods
|
133
|
+
|
134
|
+
def test_parseUNA
|
135
|
+
edifact_ok = %#UNA:+? '#
|
136
|
+
edifact_error = "UNP+1'"
|
137
|
+
|
138
|
+
reader.edifile = PositionIO.new StringIO.new(edifact_ok)
|
139
|
+
reader.send :parseUNA
|
140
|
+
assert_equal 0, reader.locator.properties[:errors].size
|
141
|
+
assert_equal Position.new(0, edifact_ok.size), reader.edifile.position
|
142
|
+
|
143
|
+
reader.edifile = PositionIO.new StringIO.new(edifact_error)
|
144
|
+
reader.send :parseUNA
|
145
|
+
assert_equal 1, reader.locator.properties[:warnings].size
|
146
|
+
assert_equal Position.new(0, 0), reader.edifile.position
|
147
|
+
|
148
|
+
end
|
149
|
+
|
150
|
+
def test_parseSegment
|
151
|
+
edifact_ok = "TST+1:2+3:4'"
|
152
|
+
reader.edifile = PositionIO.new StringIO.new(edifact_ok)
|
153
|
+
reader.send :parseSegment
|
154
|
+
assert_equal 0, reader.locator.properties[:errors].size
|
155
|
+
assert_equal 1, handler.number_of(:segment)
|
156
|
+
assert_equal 2, handler.number_of(:element)
|
157
|
+
assert_equal 4, handler.number_of(:value)
|
158
|
+
edifact_error = "TØT+1'".encode!('iso-8859-1')
|
159
|
+
reader.edifile = PositionIO.new StringIO.new(edifact_error)
|
160
|
+
assert_raise EdifactConverter::EdifactError do
|
161
|
+
reader.send :parseSegment
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
def test_parseSegment_binary
|
166
|
+
image_hex = ["47494638376102000200800000000000ffffff2c00000000020002000002028451003b"]
|
167
|
+
image_data = image_hex.pack('H*')
|
168
|
+
file = StringIO.new "".encode(Encoding::ASCII_8BIT)
|
169
|
+
file.write "UNO+1+2+3+35:5'"
|
170
|
+
file.write image_data
|
171
|
+
file.write "UNP+1+2'"
|
172
|
+
file.rewind
|
173
|
+
reader.edifile = PositionIO.new file
|
174
|
+
reader.send :parseSegment
|
175
|
+
assert handler.balanced?
|
176
|
+
assert_equal 2, handler.number_of(:segment)
|
177
|
+
assert_equal 5, handler.number_of(:element)
|
178
|
+
assert_equal 6, handler.number_of(:value)
|
179
|
+
reader.send :parseSegment
|
180
|
+
assert handler.balanced?
|
181
|
+
assert_equal 3, handler.number_of(:segment)
|
182
|
+
assert_equal 7, handler.number_of(:element)
|
183
|
+
assert_equal 8, handler.number_of(:value)
|
184
|
+
end
|
185
|
+
|
186
|
+
def test_parseElement
|
187
|
+
edifact_ok = "+1:2+3:4'"
|
188
|
+
reader.edifile = PositionIO.new StringIO.new(edifact_ok)
|
189
|
+
reader.send :parseElement
|
190
|
+
assert_equal 0, reader.locator.properties[:errors].size
|
191
|
+
assert_equal 1, handler.number_of(:element)
|
192
|
+
assert_equal 2, handler.number_of(:value)
|
193
|
+
edifact_error = "TØT+1'".encode!('iso-8859-1')
|
194
|
+
reader.edifile = PositionIO.new StringIO.new(edifact_error)
|
195
|
+
assert_raise EdifactConverter::EdifactError do
|
196
|
+
reader.send :parseElement
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
def test_parseElementWithSize
|
201
|
+
edi_ok = "+35:5'"
|
202
|
+
reader.edifile = PositionIO.new(StringIO.new(edi_ok))
|
203
|
+
size = reader.send :parseElementWithSize
|
204
|
+
assert_equal 35, size
|
205
|
+
assert_equal 1, handler.number_of(:element)
|
206
|
+
assert_equal 2, handler.number_of(:value)
|
207
|
+
edi_errors = %w(35A:5' :5' +' 5' 5'5 '5)
|
208
|
+
edi_errors.each do |edifact|
|
209
|
+
assert_raise EdifactConverter::EdifactError do
|
210
|
+
reader.edifile = PositionIO.new(StringIO.new(edifact))
|
211
|
+
reader.send :parseElementWithSize
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
def test_parseValueSize
|
217
|
+
edi_ok = "35:"
|
218
|
+
reader.edifile = PositionIO.new(StringIO.new(edi_ok))
|
219
|
+
size = reader.send :parseValueSize
|
220
|
+
assert_equal 35, size
|
221
|
+
assert_equal 1, handler.number_of(:value)
|
222
|
+
assert_equal "35", handler.last[:value].value
|
223
|
+
edi_errors = %w(35A: ')
|
224
|
+
edi_errors.each do |edifact|
|
225
|
+
reader.edifile = PositionIO.new(StringIO.new(edifact))
|
226
|
+
assert_raise EdifactConverter::EdifactError do
|
227
|
+
reader.send :parseValueSize
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
def test_parseValue
|
233
|
+
edifact_ok = "1:2'"
|
234
|
+
reader.edifile = PositionIO.new StringIO.new(edifact_ok)
|
235
|
+
reader.send :parseValue
|
236
|
+
assert_equal 0, reader.locator.properties[:errors].size
|
237
|
+
assert_equal 1, handler.number_of(:value)
|
238
|
+
assert_equal "1", handler.last[:value].value
|
239
|
+
edifact_error = "?1:2'"
|
240
|
+
reader.edifile = PositionIO.new StringIO.new(edifact_error)
|
241
|
+
reader.send :parseValue
|
242
|
+
assert_equal 1, reader.locator.properties[:errors].size
|
243
|
+
end
|
244
|
+
|
245
|
+
def test_escape
|
246
|
+
reader.edifile = PositionIO.new StringIO.new('?ø'.encode('iso-8859-1'))
|
247
|
+
escapable = reader.send :escape
|
248
|
+
assert_equal '?', escapable
|
249
|
+
assert_equal 0, reader.locator.properties[:errors].size
|
250
|
+
|
251
|
+
escapable = reader.send :escape
|
252
|
+
assert_equal 'ø', escapable
|
253
|
+
assert_equal 1, reader.locator.properties[:errors].size
|
254
|
+
end
|
255
|
+
|
256
|
+
def test_eatCrap
|
257
|
+
edifact = " \n \t \r 1"
|
258
|
+
reader.edifile = PositionIO.new StringIO.new(edifact)
|
259
|
+
reader.send :eatCrap
|
260
|
+
assert_equal Position.new(1, 5), reader.edifile.position
|
261
|
+
end
|
262
|
+
|
263
|
+
def test_parseBinary
|
264
|
+
edi_ok = "Hello World!:'+"
|
265
|
+
reader.edifile = PositionIO.new(StringIO.new(edi_ok))
|
266
|
+
reader.send :parseBinary, edi_ok.size
|
267
|
+
assert handler.balanced?
|
268
|
+
assert_equal Base64.encode64(edi_ok), handler.last[:value].value
|
269
|
+
assert_equal 1, handler.number_of(:segment)
|
270
|
+
assert_equal 1, handler.number_of(:element)
|
271
|
+
assert_equal 1, handler.number_of(:value)
|
272
|
+
reader.edifile = PositionIO.new(StringIO.new(edi_ok))
|
273
|
+
assert_raise EdifactConverter::EdifactError do
|
274
|
+
reader.send :parseBinary, edi_ok.size + 23
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
def test_throws_edifact_error_when_wrong_encoding
|
279
|
+
# assert_raise EdifactError do
|
280
|
+
# reader.parse 'test/files/DIS20_ERROR_ENC0.edi'
|
281
|
+
# end
|
282
|
+
# Dont do anything...
|
283
|
+
end
|
284
|
+
|
285
|
+
end
|
286
|
+
|
287
|
+
end
|