Class: FHIR::PlanDefinition::ActionDefinition::RelatedAction
- Defined in:
- lib/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}, 'actionIdentifier' => {'type'=>'Identifier', 'path'=>'RelatedAction.actionIdentifier', 'min'=>1, 'max'=>1}, 'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/action-relationship-type'=>['before', 'after', 'concurrent', 'before', 'after', 'concurrent']}, 'type'=>'code', 'path'=>'RelatedAction.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-relationship-type'}}, 'offsetDuration' => {'type'=>'Duration', 'path'=>'RelatedAction.offset[x]', 'min'=>0, 'max'=>1}, 'offsetRange' => {'type'=>'Range', 'path'=>'RelatedAction.offset[x]', 'min'=>0, 'max'=>1}, 'anchor' => {'valid_codes'=>{'http://hl7.org/fhir/action-relationship-anchor'=>['start', 'end', 'start', 'end']}, 'type'=>'code', 'path'=>'RelatedAction.anchor', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-relationship-anchor'}} }
Instance Attribute Summary collapse
-
#actionIdentifier ⇒ Object
1-1 Identifier.
-
#anchor ⇒ Object
0-1 code.
-
#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, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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
#actionIdentifier ⇒ Object
1-1 Identifier
126 127 128 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 126 def actionIdentifier @actionIdentifier end |
#anchor ⇒ Object
0-1 code
130 131 132 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 130 def anchor @anchor end |
#extension ⇒ Object
0-* [ Extension ]
124 125 126 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 124 def extension @extension end |
#id ⇒ Object
0-1 string
123 124 125 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 123 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
125 126 127 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 125 def modifierExtension @modifierExtension end |
#offsetDuration ⇒ Object
0-1 Duration
128 129 130 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 128 def offsetDuration @offsetDuration end |
#offsetRange ⇒ Object
0-1 Range
129 130 131 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 129 def offsetRange @offsetRange end |
#relationship ⇒ Object
1-1 code
127 128 129 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 127 def relationship @relationship end |