Class: FHIR::ElementDefinition::Type
- Defined in:
- lib/fhir_models/fhir/types/ElementDefinition.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Type.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Type.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'code' => {'type'=>'uri', 'path'=>'Type.code', 'min'=>1, 'max'=>1}, 'profile' => {'type'=>'canonical', 'path'=>'Type.profile', 'min'=>0, 'max'=>Float::INFINITY}, 'targetProfile' => {'type'=>'canonical', 'path'=>'Type.targetProfile', 'min'=>0, 'max'=>Float::INFINITY}, 'aggregation' => {'valid_codes'=>{'http://hl7.org/fhir/resource-aggregation-mode'=>['contained', 'referenced', 'bundled']}, 'type'=>'code', 'path'=>'Type.aggregation', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/resource-aggregation-mode|4.0.0'}}, 'versioning' => {'valid_codes'=>{'http://hl7.org/fhir/reference-version-rules'=>['either', 'independent', 'specific']}, 'type'=>'code', 'path'=>'Type.versioning', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/reference-version-rules|4.0.0'}} }
Instance Attribute Summary collapse
-
#aggregation ⇒ Object
0-* [ code ].
-
#code ⇒ Object
1-1 uri.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#profile ⇒ Object
0-* [ canonical ].
-
#targetProfile ⇒ Object
0-* [ canonical ].
-
#versioning ⇒ Object
0-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, #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
#aggregation ⇒ Object
0-* [ code ]
295 296 297 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 295 def aggregation @aggregation end |
#code ⇒ Object
1-1 uri
292 293 294 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 292 def code @code end |
#extension ⇒ Object
0-* [ Extension ]
291 292 293 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 291 def extension @extension end |
#id ⇒ Object
0-1 string
290 291 292 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 290 def id @id end |
#profile ⇒ Object
0-* [ canonical ]
293 294 295 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 293 def profile @profile end |
#targetProfile ⇒ Object
0-* [ canonical ]
294 295 296 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 294 def targetProfile @targetProfile end |
#versioning ⇒ Object
0-1 code
296 297 298 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 296 def versioning @versioning end |