Sha256: e2bffdb727603afc8e9555ee264b9f77e0cf6fa792e1c490bdbf858a52e8ec3e

Contents?: true

Size: 603 Bytes

Versions: 4

Compression:

Stored size: 603 Bytes

Contents

module HealthDataStandards
  module Import
    module Cat1
      class DiagnosisActiveImporter < CDA::ConditionImporter

        def initialize
          super(CDA::EntryFinder.new("//cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.24.3.11']"))
          @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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
health-data-standards-3.0.6 lib/health-data-standards/import/cat1/diagnosis_active_importer.rb
health-data-standards-3.0.5 lib/health-data-standards/import/cat1/diagnosis_active_importer.rb
health-data-standards-3.0.4 lib/health-data-standards/import/cat1/diagnosis_active_importer.rb
health-data-standards-3.0.3 lib/health-data-standards/import/cat1/diagnosis_active_importer.rb