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

Version Path
health-data-standards-3.5.0 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.4.6 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.4.5 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.4.4 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.4.3 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.4.2 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.4.1 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.4.0 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.12 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.3.0 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.11 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.10 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.8 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.7 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.6 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.5 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.4 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.3 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.2 lib/health-data-standards/import/ccda/patient_importer.rb
health-data-standards-3.2.1 lib/health-data-standards/import/ccda/patient_importer.rb