Sha256: 542903ca243c6187beca9d1e1562830caecb503ced666dc1269da17a9a1b8b99

Contents?: true

Size: 724 Bytes

Versions: 2

Compression:

Stored size: 724 Bytes

Contents

module QRDA
  module Cat1
    class PatientCharacteristicClinicalTrialParticipantImporter < SectionImporter
      def initialize(entry_finder = QRDA::Cat1::EntryFinder.new("./cda:entry/cda:observation[cda:templateId/@root = '2.16.840.1.113883.10.20.24.3.51']"))
        super(entry_finder)
        @id_xpath = './cda:id'
        @code_xpath = './cda:value'
        @relevant_period_xpath = "./cda:effectiveTime"
        @entry_class = QDM::PatientCharacteristicClinicalTrialParticipant
      end

      def create_entry(entry_element, nrh = NarrativeReferenceHandler.new)
        patient_characteristic_clinical_trial_participant = super
        patient_characteristic_clinical_trial_participant
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cqm-reports-2.0.0 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-1.0.0.0 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb