Class: FHIR::DSTU2::Element
- Defined in:
- lib/fhir_dstu2_models/fhir/types/Element.rb
Constant Summary collapse
- SEARCH_PARAMS =
['code', 'context', 'date', 'description', 'identifier', 'name', 'publisher', 'status', 'stringency', 'url', 'version']
- METADATA =
{ 'id' => { 'type' => 'id', '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 id.
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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#extension ⇒ Object
0-* [ Extension ]
15 16 17 |
# File 'lib/fhir_dstu2_models/fhir/types/Element.rb', line 15 def extension @extension end |
#id ⇒ Object
0-1 id
14 15 16 |
# File 'lib/fhir_dstu2_models/fhir/types/Element.rb', line 14 def id @id end |