Sha256: 65d311ca551452ac605130a17a6fe1908dc5b46734c1197b6f79405ca6d9ffa5

Contents?: true

Size: 827 Bytes

Versions: 40

Compression:

Stored size: 827 Bytes

Contents

module HealthDataStandards
  module Import
    module GreenC32
      class CareGoalImporter
        include Singleton
        
        def initialize
        end
        
        def import(care_goal_xml)
          importer = case care_goal_xml.at_xpath("/*").try(:name)
                     when "medication" then MedicationImporter.instance
                     when "immunization" then ImmunizationImporter.instance
                     when "procedure" then ProcedureImporter.instance
                     when "encounter" then EncounterImporter.instance
                     when "medicalEquipment" then MedicalEquipmentImporter.instance
                     else SectionImporter.new
                     end
                
          return importer.import(care_goal_xml)
        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/care_goal_importer.rb
health-data-standards-3.5.2 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.5.1 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.5.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.4.6 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.4.5 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.4.4 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.4.3 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.4.2 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.4.1 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.4.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.12 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.3.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.11 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.10 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.8 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.7 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.6 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.5 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.4 lib/health-data-standards/import/green_c32/care_goal_importer.rb