Sha256: 4e00c69962212e8c98b81b9ec551c8d40115adfe6bc0abdcadb70a9198ab7d5b

Contents?: true

Size: 670 Bytes

Versions: 40

Compression:

Stored size: 670 Bytes

Contents

module HealthDataStandards
  module Import
    module GreenC32
      class MedicalEquipmentImporter < SectionImporter
        include Singleton
        
        def initialize
          super
          @value = "./gc32:quantity"
        end
        
        def import(me_xml)
          me_xml.root.add_namespace_definition('gc32', "urn:hl7-org:greencda:c32")
          me_element = me_xml.at_xpath("./gc32:medicalEquipment")
          me = MedicalEquipment.new
          extract_entry(me_element, me)
          me.manufacturer = extract_node_text(me_element.at_xpath("./gc32:manufacturer")).try(:strip)
          me
        end
        
       end
     end
   end 
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
health-data-standards-3.2.3 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.2.2 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.2.1 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.2.0 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.1.1 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.1.0 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.0.6 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.0.5 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.0.4 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-3.0.3 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-2.2.1 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-2.2.0 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-2.1.4 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-2.1.3 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-2.1.2 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-2.1.1 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-2.1.0 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-2.0.0 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-1.0.1 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb
health-data-standards-1.0.0 lib/health-data-standards/import/green_c32/medical_equipment_importer.rb