module HealthDataStandards module Import module Cat1 class DiagnosisInactiveImporter < CDA::ConditionImporter def initialize super(CDA::EntryFinder.new("//cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.24.3.13']")) @status_xpath = nil # We'll hardcode this to active in create entry because this is from the # diagnosis active template end def create_entry(entry_element, nrh = CDA::NarrativeReferenceHandler.new) condition = super condition end end end end end