projectcypress/health-data-standards

View on GitHub
lib/health-data-standards/import/cat1/diagnosis_inactive_importer.rb

Summary

Maintainability
A
0 mins
Test Coverage
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 inactive in create entry because this is from the 
                              # diagnosis active template
        end
      end
    end
  end
end