Class: FHIR::DSTU2::ElementDefinition::Binding
- Defined in:
- lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'valueSet' => ['uri', 'Reference'] }
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Binding.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Binding.extension', 'min' => 0, 'max' => Float::INFINITY }, 'strength' => { 'valid_codes' => { 'http://hl7.org/fhir/binding-strength' => ['required', 'extensible', 'preferred', 'example'] }, 'type' => 'code', 'path' => 'Binding.strength', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/binding-strength' } }, 'description' => { 'type' => 'string', 'path' => 'Binding.description', 'min' => 0, 'max' => 1 }, 'valueSetUri' => { 'type' => 'uri', 'path' => 'Binding.valueSet[x]', 'min' => 0, 'max' => 1 }, 'valueSetReference' => { 'type' => 'Reference', 'path' => 'Binding.valueSet[x]', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#description ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#strength ⇒ Object
1-1 code.
-
#valueSetReference ⇒ Object
0-1 Reference().
-
#valueSetUri ⇒ Object
0-1 uri.
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
#description ⇒ Object
0-1 string
351 352 353 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 351 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
349 350 351 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 349 def extension @extension end |
#id ⇒ Object
0-1 id
348 349 350 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 348 def id @id end |
#strength ⇒ Object
1-1 code
350 351 352 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 350 def strength @strength end |
#valueSetReference ⇒ Object
0-1 Reference()
353 354 355 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 353 def valueSetReference @valueSetReference end |
#valueSetUri ⇒ Object
0-1 uri
352 353 354 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 352 def valueSetUri @valueSetUri end |