class HealthDataStandards::Import::CCDA::ConditionImporter

Public Class Methods

new() click to toggle source
# File lib/health-data-standards/import/ccda/condition_importer.rb, line 6
def initialize
  super
  @entry_finder = CDA::EntryFinder.new("//cda:section[cda:templateId/@root='2.16.840.1.113883.10.20.22.2.5' or cda:templateId/@root='2.16.840.1.113883.10.20.22.2.5.1']/cda:entry/cda:act/cda:entryRelationship/cda:observation")
  @status_xpath = "./cda:entryRelationship/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.6']/cda:value"
  
  #optional
  #health status
  #age at onset
end