Class: FhirPreparationsEntry
- Inherits:
-
Object
- Object
- FhirPreparationsEntry
- Defined in:
- lib/oddb2xml/fhir_support.rb
Overview
Compatibility layer - makes FHIR parser compatible with existing XML parser usage
Instance Attribute Summary collapse
-
#Preparations ⇒ Object
Returns the value of attribute Preparations.
Class Method Summary collapse
Instance Attribute Details
#Preparations ⇒ Object
Returns the value of attribute Preparations.
833 834 835 |
# File 'lib/oddb2xml/fhir_support.rb', line 833 def Preparations @Preparations end |
Class Method Details
.parse(ndjson_file) ⇒ Object
835 836 837 838 839 840 841 |
# File 'lib/oddb2xml/fhir_support.rb', line 835 def self.parse(ndjson_file) parser = Oddb2xml::FHIR::PreparationsParser.new(ndjson_file) entry = new entry.Preparations = OpenStruct.new entry.Preparations.Preparation = parser.preparations entry end |