Class: FHIR::PlanDefinition::Action::RelatedAction
- Defined in:
- lib/fhir_models/fhir/resources/PlanDefinition.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'offset' => ['Duration', 'Range'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'RelatedAction.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'RelatedAction.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'RelatedAction.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'actionId' => {'type'=>'id', 'path'=>'RelatedAction.actionId', 'min'=>1, 'max'=>1}, 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/action-relationship-type'=>['before-start', 'before', 'before-end', 'concurrent-with-start', 'concurrent', 'concurrent-with-end', 'after-start', 'after', 'after-end']}, 'type'=>'code', 'path'=>'RelatedAction.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-relationship-type|4.0.0'}}, 'offsetDuration' => {'type'=>'Duration', 'path'=>'RelatedAction.offset[x]', 'min'=>0, 'max'=>1}, 'offsetRange' => {'type'=>'Range', 'path'=>'RelatedAction.offset[x]', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#actionId ⇒ Object
1-1 id.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#offsetDuration ⇒ Object
0-1 Duration.
-
#offsetRange ⇒ Object
0-1 Range.
-
#relationship ⇒ 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, #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
#actionId ⇒ Object
1-1 id
204 205 206 |
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 204 def actionId @actionId end |
#extension ⇒ Object
0-* [ Extension ]
202 203 204 |
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 202 def extension @extension end |
#id ⇒ Object
0-1 string
201 202 203 |
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 201 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
203 204 205 |
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 203 def modifierExtension @modifierExtension end |
#offsetDuration ⇒ Object
0-1 Duration
206 207 208 |
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 206 def offsetDuration @offsetDuration end |
#offsetRange ⇒ Object
0-1 Range
207 208 209 |
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 207 def offsetRange @offsetRange end |
#relationship ⇒ Object
1-1 code
205 206 207 |
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 205 def relationship @relationship end |