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.2.3 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.2 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.1 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.2.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.1.1 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.1.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.0.6 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.0.5 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.0.4 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-3.0.3 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-2.2.1 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-2.2.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-2.1.4 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-2.1.3 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-2.1.2 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-2.1.1 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-2.1.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-2.0.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-1.0.1 lib/health-data-standards/import/green_c32/care_goal_importer.rb
health-data-standards-1.0.0 lib/health-data-standards/import/green_c32/care_goal_importer.rb