Sha256: 97d7ba1dc178dff79b3adfd0795ab68052d85fd9ae4bb7d1280c17a1175ed766

Contents?: true

Size: 683 Bytes

Versions: 40

Compression:

Stored size: 683 Bytes

Contents

module HealthDataStandards
  module Import
    module GreenC32
      class ProcedureImporter < SectionImporter
        
        include Singleton
        
        def initialize
          super
        end
        
        def import(procedure_xml)
          procedure_xml.root.add_namespace_definition('gc32', "urn:hl7-org:greencda:c32")
          
          procedure_element = procedure_xml.xpath("./gc32:procedure")
          
          procedure = Procedure.new
          
          extract_entry(procedure_element, procedure)
          extract_code(procedure_element, procedure, xpath="./gc32:site", attribute=:site)
          procedure
        end

      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
health-data-standards-3.5.3 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.5.2 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.5.1 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.5.0 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.4.6 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.4.5 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.4.4 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.4.3 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.4.2 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.4.1 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.4.0 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.2.12 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.3.0 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.2.11 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.2.10 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.2.8 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.2.7 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.2.6 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.2.5 lib/health-data-standards/import/green_c32/procedure_importer.rb
health-data-standards-3.2.4 lib/health-data-standards/import/green_c32/procedure_importer.rb