Class: FHIR::PlanDefinition::ActionDefinition
- Defined in:
- lib/fhir/resources/PlanDefinition.rb
Defined Under Namespace
Classes: Condition, DynamicValue, RelatedAction
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'timing' => ['dateTime', 'Period', 'Duration', 'Range', 'Timing'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'ActionDefinition.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'ActionDefinition.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'ActionDefinition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'actionIdentifier' => {'type'=>'Identifier', 'path'=>'ActionDefinition.actionIdentifier', 'min'=>0, 'max'=>1}, 'label' => {'type'=>'string', 'path'=>'ActionDefinition.label', 'min'=>0, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'ActionDefinition.title', 'min'=>0, 'max'=>1}, 'description' => {'type'=>'string', 'path'=>'ActionDefinition.description', 'min'=>0, 'max'=>1}, 'textEquivalent' => {'type'=>'string', 'path'=>'ActionDefinition.textEquivalent', 'min'=>0, 'max'=>1}, 'concept' => {'type'=>'CodeableConcept', 'path'=>'ActionDefinition.concept', 'min'=>0, 'max'=>Float::INFINITY}, 'documentation' => {'type'=>'RelatedResource', 'path'=>'ActionDefinition.documentation', 'min'=>0, 'max'=>Float::INFINITY}, 'triggerDefinition' => {'type'=>'TriggerDefinition', 'path'=>'ActionDefinition.triggerDefinition', 'min'=>0, 'max'=>Float::INFINITY}, 'condition' => {'type'=>'PlanDefinition::ActionDefinition::Condition', 'path'=>'ActionDefinition.condition', 'min'=>0, 'max'=>1}, 'relatedAction' => {'type'=>'PlanDefinition::ActionDefinition::RelatedAction', 'path'=>'ActionDefinition.relatedAction', 'min'=>0, 'max'=>Float::INFINITY}, 'timingDateTime' => {'type'=>'dateTime', 'path'=>'ActionDefinition.timing[x]', 'min'=>0, 'max'=>1}, 'timingPeriod' => {'type'=>'Period', 'path'=>'ActionDefinition.timing[x]', 'min'=>0, 'max'=>1}, 'timingDuration' => {'type'=>'Duration', 'path'=>'ActionDefinition.timing[x]', 'min'=>0, 'max'=>1}, 'timingRange' => {'type'=>'Range', 'path'=>'ActionDefinition.timing[x]', 'min'=>0, 'max'=>1}, 'timingTiming' => {'type'=>'Timing', 'path'=>'ActionDefinition.timing[x]', 'min'=>0, 'max'=>1}, 'participantType' => {'valid_codes'=>{'http://hl7.org/fhir/action-participant-type'=>['patient', 'practitioner', 'related-person', 'patient', 'practitioner', 'related-person']}, 'type'=>'code', 'path'=>'ActionDefinition.participantType', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-participant-type'}}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/action-type'=>['create', 'update', 'remove', 'fire-event', 'create', 'update', 'remove', 'fire-event']}, 'type'=>'Coding', 'path'=>'ActionDefinition.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-type'}}, 'groupingBehavior' => {'valid_codes'=>{'http://hl7.org/fhir/action-grouping-behavior'=>['visual-group', 'logical-group', 'sentence-group', 'visual-group', 'logical-group', 'sentence-group']}, 'type'=>'code', 'path'=>'ActionDefinition.groupingBehavior', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-grouping-behavior'}}, 'selectionBehavior' => {'valid_codes'=>{'http://hl7.org/fhir/action-selection-behavior'=>['any', 'all', 'all-or-none', 'exactly-one', 'at-most-one', 'one-or-more', 'any', 'all', 'all-or-none', 'exactly-one', 'at-most-one', 'one-or-more']}, 'type'=>'code', 'path'=>'ActionDefinition.selectionBehavior', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-selection-behavior'}}, 'requiredBehavior' => {'valid_codes'=>{'http://hl7.org/fhir/action-required-behavior'=>['must', 'could', 'must-unless-documented', 'must', 'could', 'must-unless-documented']}, 'type'=>'code', 'path'=>'ActionDefinition.requiredBehavior', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-required-behavior'}}, 'precheckBehavior' => {'valid_codes'=>{'http://hl7.org/fhir/action-precheck-behavior'=>['yes', 'no', 'yes', 'no']}, 'type'=>'code', 'path'=>'ActionDefinition.precheckBehavior', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-precheck-behavior'}}, 'cardinalityBehavior' => {'valid_codes'=>{'http://hl7.org/fhir/action-cardinality-behavior'=>['single', 'multiple', 'single', 'multiple']}, 'type'=>'code', 'path'=>'ActionDefinition.cardinalityBehavior', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-cardinality-behavior'}}, 'activityDefinition' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/ActivityDefinition'], 'type'=>'Reference', 'path'=>'ActionDefinition.activityDefinition', 'min'=>0, 'max'=>1}, 'transform' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/StructureMap'], 'type'=>'Reference', 'path'=>'ActionDefinition.transform', 'min'=>0, 'max'=>1}, 'dynamicValue' => {'type'=>'PlanDefinition::ActionDefinition::DynamicValue', 'path'=>'ActionDefinition.dynamicValue', 'min'=>0, 'max'=>Float::INFINITY}, 'actionDefinition' => {'type'=>'PlanDefinition::ActionDefinition', 'path'=>'ActionDefinition.actionDefinition', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#actionDefinition ⇒ Object
0-* [ PlanDefinition::ActionDefinition ].
-
#actionIdentifier ⇒ Object
0-1 Identifier.
-
#activityDefinition ⇒ Object
0-1 Reference(ActivityDefinition).
-
#cardinalityBehavior ⇒ Object
0-1 code.
-
#concept ⇒ Object
0-* [ CodeableConcept ].
-
#condition ⇒ Object
0-1 PlanDefinition::ActionDefinition::Condition.
-
#description ⇒ Object
0-1 string.
-
#documentation ⇒ Object
0-* [ RelatedResource ].
-
#dynamicValue ⇒ Object
0-* [ PlanDefinition::ActionDefinition::DynamicValue ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#groupingBehavior ⇒ Object
0-1 code.
-
#id ⇒ Object
0-1 string.
-
#label ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#participantType ⇒ Object
0-* [ code ].
-
#precheckBehavior ⇒ Object
0-1 code.
-
#relatedAction ⇒ Object
0-* [ PlanDefinition::ActionDefinition::RelatedAction ].
-
#requiredBehavior ⇒ Object
0-1 code.
-
#selectionBehavior ⇒ Object
0-1 code.
-
#textEquivalent ⇒ Object
0-1 string.
-
#timingDateTime ⇒ Object
0-1 dateTime.
-
#timingDuration ⇒ Object
0-1 Duration.
-
#timingPeriod ⇒ Object
0-1 Period.
-
#timingRange ⇒ Object
0-1 Range.
-
#timingTiming ⇒ Object
0-1 Timing.
-
#title ⇒ Object
0-1 string.
-
#transform ⇒ Object
0-1 Reference(StructureMap).
-
#triggerDefinition ⇒ Object
0-* [ TriggerDefinition ].
-
#type ⇒ Object
0-1 Coding.
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
#actionDefinition ⇒ Object
0-* [ PlanDefinition::ActionDefinition ]
185 186 187 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 185 def actionDefinition @actionDefinition end |
#actionIdentifier ⇒ Object
0-1 Identifier
160 161 162 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 160 def actionIdentifier @actionIdentifier end |
#activityDefinition ⇒ Object
0-1 Reference(ActivityDefinition)
182 183 184 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 182 def activityDefinition @activityDefinition end |
#cardinalityBehavior ⇒ Object
0-1 code
181 182 183 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 181 def cardinalityBehavior @cardinalityBehavior end |
#concept ⇒ Object
0-* [ CodeableConcept ]
165 166 167 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 165 def concept @concept end |
#condition ⇒ Object
0-1 PlanDefinition::ActionDefinition::Condition
168 169 170 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 168 def condition @condition end |
#description ⇒ Object
0-1 string
163 164 165 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 163 def description @description end |
#documentation ⇒ Object
0-* [ RelatedResource ]
166 167 168 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 166 def documentation @documentation end |
#dynamicValue ⇒ Object
0-* [ PlanDefinition::ActionDefinition::DynamicValue ]
184 185 186 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 184 def dynamicValue @dynamicValue end |
#extension ⇒ Object
0-* [ Extension ]
158 159 160 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 158 def extension @extension end |
#groupingBehavior ⇒ Object
0-1 code
177 178 179 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 177 def groupingBehavior @groupingBehavior end |
#id ⇒ Object
0-1 string
157 158 159 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 157 def id @id end |
#label ⇒ Object
0-1 string
161 162 163 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 161 def label @label end |
#modifierExtension ⇒ Object
0-* [ Extension ]
159 160 161 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 159 def modifierExtension @modifierExtension end |
#participantType ⇒ Object
0-* [ code ]
175 176 177 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 175 def participantType @participantType end |
#precheckBehavior ⇒ Object
0-1 code
180 181 182 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 180 def precheckBehavior @precheckBehavior end |
#relatedAction ⇒ Object
0-* [ PlanDefinition::ActionDefinition::RelatedAction ]
169 170 171 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 169 def @relatedAction end |
#requiredBehavior ⇒ Object
0-1 code
179 180 181 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 179 def requiredBehavior @requiredBehavior end |
#selectionBehavior ⇒ Object
0-1 code
178 179 180 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 178 def selectionBehavior @selectionBehavior end |
#textEquivalent ⇒ Object
0-1 string
164 165 166 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 164 def textEquivalent @textEquivalent end |
#timingDateTime ⇒ Object
0-1 dateTime
170 171 172 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 170 def timingDateTime @timingDateTime end |
#timingDuration ⇒ Object
0-1 Duration
172 173 174 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 172 def timingDuration @timingDuration end |
#timingPeriod ⇒ Object
0-1 Period
171 172 173 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 171 def timingPeriod @timingPeriod end |
#timingRange ⇒ Object
0-1 Range
173 174 175 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 173 def timingRange @timingRange end |
#timingTiming ⇒ Object
0-1 Timing
174 175 176 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 174 def timingTiming @timingTiming end |
#title ⇒ Object
0-1 string
162 163 164 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 162 def title @title end |
#transform ⇒ Object
0-1 Reference(StructureMap)
183 184 185 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 183 def transform @transform end |
#triggerDefinition ⇒ Object
0-* [ TriggerDefinition ]
167 168 169 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 167 def triggerDefinition @triggerDefinition end |
#type ⇒ Object
0-1 Coding
176 177 178 |
# File 'lib/fhir/resources/PlanDefinition.rb', line 176 def type @type end |