Class: FHIR::Element
- Defined in:
- lib/fhir_models/fhir/types/Element.rb
Constant Summary collapse
- SEARCH_PARAMS =
[]
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Element.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Element.extension', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::Model
Instance Attribute Details
#extension ⇒ Object
0-* [ Extension ]
14 15 16 |
# File 'lib/fhir_models/fhir/types/Element.rb', line 14 def extension @extension end |
#id ⇒ Object
0-1 string
13 14 15 |
# File 'lib/fhir_models/fhir/types/Element.rb', line 13 def id @id end |