Sha256: 32a3c2a9ea5d00c09855f645f2181a60ded23b17c67a331256e28158871bcc8c

Contents?: true

Size: 792 Bytes

Versions: 10

Compression:

Stored size: 792 Bytes

Contents

module HealthDataStandards
  module Import
    module CCDA
      class ImmunizationImporter < C32::ImmunizationImporter

        def initialize
          @entry_xpath = "//cda:section[cda:templateId/@root='2.16.840.1.113883.10.20.22.2.2' or cda:templateId/@root='2.16.840.1.113883.10.20.22.2.2.1']/cda:entry/cda:substanceAdministration"
          @code_xpath = "./cda:consumable/cda:manufacturedProduct/cda:manufacturedMaterial/cda:code"
          @description_xpath = "./cda:consumable/cda:manufacturedProduct/cda:manufacturedMaterial/cda:code/cda:originalText/cda:reference[@value]"
          @refusal_reason_xpath = "./cda:entryRelationship[@typeCode='MFST']/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.9']/cda:value"
        end
        
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
health-data-standards-2.2.1 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-2.2.0 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-2.1.4 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-2.1.3 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-2.1.2 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-2.1.1 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-2.1.0 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-2.0.0 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-1.0.1 lib/health-data-standards/import/ccda/immunization_importer.rb
health-data-standards-1.0.0 lib/health-data-standards/import/ccda/immunization_importer.rb