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