Sha256: 805d7219e91cd878936dfe7d79f7eb3e8e71090193474bb14e87df847ab0eb61

Contents?: true

Size: 971 Bytes

Versions: 31

Compression:

Stored size: 971 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"
        @reason_xpath = "./cda:entryRelationship[@typeCode='RSON']/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.24.3.88']/cda:value"
        @entry_class = QDM::PatientCharacteristicClinicalTrialParticipant
      end

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

    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
cqm-reports-4.1.3 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-4.1.2 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-4.1.1 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-4.1.0 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-4.0.1 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.10 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.9 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-4.0.0 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.8 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.7 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.6 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.5 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.4 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.3 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-2.1.1 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-2.1.0 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.2 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.1 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.1.0 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb
cqm-reports-3.0.1 lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb