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.
783 784 785 |
# File 'lib/oddb2xml/fhir_support.rb', line 783 def Preparations @Preparations end |
Class Method Details
.parse(ndjson_file) ⇒ Object
785 786 787 788 789 790 791 |
# File 'lib/oddb2xml/fhir_support.rb', line 785 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 |