Sha256: befb0e636331f6757d56a46681b7bebfe67bc67d864f27fa2b91c97bf09f1f42
Contents?: true
Size: 1.27 KB
Versions: 47
Compression:
Stored size: 1.27 KB
Contents
module HealthDataStandards module Import module CCDA class PatientImporter < C32::PatientImporter def initialize(check_usable = true) @section_importers = {} @section_importers[:encounters] = EncounterImporter.new @section_importers[:procedures] = ProcedureImporter.new @section_importers[:results] = ResultImporter.new @section_importers[:vital_signs] = VitalSignImporter.new @section_importers[:medications] = MedicationImporter.new @section_importers[:conditions] = ConditionImporter.new @section_importers[:social_history] = CDA::SectionImporter.new(CDA::EntryFinder.new("//cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.38' or cda:templateId/@root='2.16.840.1.113883.10.20.15.3.8']")) @section_importers[:care_goals] = CareGoalImporter.new @section_importers[:medical_equipment] = MedicalEquipmentImporter.new @section_importers[:allergies] = AllergyImporter.new @section_importers[:immunizations] = ImmunizationImporter.new @section_importers[:insurance_providers] = InsuranceProviderImporter.new end def parse_ccda(doc) parse_c32(doc) end end end end end
Version data entries
47 entries across 47 versions & 1 rubygems