Class: HealthDataStandards::Import::CCDA::MedicationImporter
- Inherits:
-
HealthDataStandards::Import::CDA::MedicationImporter
- Object
- HealthDataStandards::Import::CDA::SectionImporter
- HealthDataStandards::Import::CDA::MedicationImporter
- HealthDataStandards::Import::CCDA::MedicationImporter
- Defined in:
- lib/health-data-standards/import/ccda/medication_importer.rb
Instance Attribute Summary
Attributes inherited from HealthDataStandards::Import::CDA::SectionImporter
#check_for_usable, #code_xpath, #status_xpath
Instance Method Summary collapse
-
#initialize ⇒ MedicationImporter
constructor
A new instance of MedicationImporter.
Methods inherited from HealthDataStandards::Import::CDA::MedicationImporter
Methods inherited from HealthDataStandards::Import::CDA::SectionImporter
#create_entries, #create_entry
Methods included from HealthDataStandards::Import::CDA::LocatableImportUtils
#import_address, #import_telecom
Constructor Details
#initialize ⇒ MedicationImporter
Returns a new instance of MedicationImporter.
7 8 9 10 11 12 |
# File 'lib/health-data-standards/import/ccda/medication_importer.rb', line 7 def initialize super(CDA::EntryFinder.new("//cda:section[cda:templateId/@root='2.16.840.1.113883.10.20.22.2.1' or cda:templateId/@root='2.16.840.1.113883.10.20.22.2.1.1']/cda:entry/cda:substanceAdministration")) @indication_xpath = "./cda:entryRelationship[@typeCode='RSON']/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.19']/cda:code" @vehicle_xpath = "./cda:participant/cda:participantRole[cda:templateId/@root='2.16.840.1.113883.10.20.22.4.24']/cda:playingEntity/cda:code" @fill_number_xpath = './cda:repeatNumber' end |