Sha256: 9a275fa96df4dbdcb33d11cc63f860e926017d51108ce4c173ec62ca207557ca
Contents?: true
Size: 843 Bytes
Versions: 1
Compression:
Stored size: 843 Bytes
Contents
module QRDA module Cat1 class ImmunizationAdministeredImporter < MedicationImporter def initialize(entry_finder = QRDA::Cat1::EntryFinder.new("./cda:entry/cda:substanceAdministration[cda:templateId/@root = '2.16.840.1.113883.10.20.24.3.140']")) super(entry_finder) @relevant_period_xpath = nil @author_datetime_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::ImmunizationAdministered end def create_entry(entry_element, nrh = NarrativeReferenceHandler.new) immunization_administered = super immunization_administered.reason = extract_reason(entry_element) immunization_administered end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cqm-parsers-0.2.4 | lib/qrda-import/data-element-importers/immunization_administered_importer.rb |