Class: FHIR::DSTU2::ElementDefinition::Slicing
- Defined in:
- lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb
Constant Summary collapse
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Slicing.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Slicing.extension', 'min' => 0, 'max' => Float::INFINITY }, 'discriminator' => { 'type' => 'string', 'path' => 'Slicing.discriminator', 'min' => 0, 'max' => Float::INFINITY }, 'description' => { 'type' => 'string', 'path' => 'Slicing.description', 'min' => 0, 'max' => 1 }, 'ordered' => { 'type' => 'boolean', 'path' => 'Slicing.ordered', 'min' => 0, 'max' => 1 }, 'rules' => { 'valid_codes' => { 'http://hl7.org/fhir/resource-slicing-rules' => ['closed', 'open', 'openAtEnd'] }, 'type' => 'code', 'path' => 'Slicing.rules', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/resource-slicing-rules' } } }
Instance Attribute Summary collapse
-
#description ⇒ Object
0-1 string.
-
#discriminator ⇒ Object
0-* [ string ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#ordered ⇒ Object
0-1 boolean.
-
#rules ⇒ Object
1-1 code.
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
262 263 264 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 262 def description @description end |
#discriminator ⇒ Object
0-* [ string ]
261 262 263 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 261 def discriminator @discriminator end |
#extension ⇒ Object
0-* [ Extension ]
260 261 262 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 260 def extension @extension end |
#id ⇒ Object
0-1 id
259 260 261 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 259 def id @id end |
#ordered ⇒ Object
0-1 boolean
263 264 265 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 263 def ordered @ordered end |
#rules ⇒ Object
1-1 code
264 265 266 |
# File 'lib/fhir_dstu2_models/fhir/types/ElementDefinition.rb', line 264 def rules @rules end |