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'=>'uri', 'path'=>'Type.profile', 'min'=>0, 'max'=>1}, 'targetProfile' => {'type'=>'uri', 'path'=>'Type.targetProfile', 'min'=>0, 'max'=>1}, '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'}}, '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'}} }
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-1 uri.
-
#targetProfile ⇒ Object
0-1 uri.
-
#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 ]
259 260 261 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 259 def aggregation @aggregation end |
#code ⇒ Object
1-1 uri
256 257 258 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 256 def code @code end |
#extension ⇒ Object
0-* [ Extension ]
255 256 257 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 255 def extension @extension end |
#id ⇒ Object
0-1 string
254 255 256 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 254 def id @id end |
#profile ⇒ Object
0-1 uri
257 258 259 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 257 def profile @profile end |
#targetProfile ⇒ Object
0-1 uri
258 259 260 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 258 def targetProfile @targetProfile end |
#versioning ⇒ Object
0-1 code
260 261 262 |
# File 'lib/fhir_models/fhir/types/ElementDefinition.rb', line 260 def versioning @versioning end |