Class: FHIR::GuidanceResponse::Action
- Defined in:
- lib/fhir/resources/GuidanceResponse.rb
Defined Under Namespace
Classes: RelatedAction
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'timing' => ['dateTime', 'Period', 'Duration', 'Range'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Action.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Action.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Action.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'actionIdentifier' => {'type'=>'Identifier', 'path'=>'Action.actionIdentifier', 'min'=>0, 'max'=>1}, 'label' => {'type'=>'string', 'path'=>'Action.label', 'min'=>0, 'max'=>1}, 'title' => {'type'=>'string', 'path'=>'Action.title', 'min'=>0, 'max'=>1}, 'description' => {'type'=>'string', 'path'=>'Action.description', 'min'=>0, 'max'=>1}, 'textEquivalent' => {'type'=>'string', 'path'=>'Action.textEquivalent', 'min'=>0, 'max'=>1}, 'concept' => {'type'=>'CodeableConcept', 'path'=>'Action.concept', 'min'=>0, 'max'=>Float::INFINITY}, 'documentation' => {'type'=>'RelatedResource', 'path'=>'Action.documentation', 'min'=>0, 'max'=>Float::INFINITY}, 'relatedAction' => {'type'=>'GuidanceResponse::Action::RelatedAction', 'path'=>'Action.relatedAction', 'min'=>0, 'max'=>1}, 'timingDateTime' => {'type'=>'dateTime', 'path'=>'Action.timing[x]', 'min'=>0, 'max'=>1}, 'timingPeriod' => {'type'=>'Period', 'path'=>'Action.timing[x]', 'min'=>0, 'max'=>1}, 'timingDuration' => {'type'=>'Duration', 'path'=>'Action.timing[x]', 'min'=>0, 'max'=>1}, 'timingRange' => {'type'=>'Range', 'path'=>'Action.timing[x]', 'min'=>0, 'max'=>1}, 'participant' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Person', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], 'type'=>'Reference', 'path'=>'Action.participant', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'valid_codes'=>{'http://hl7.org/fhir/action-type'=>['create', 'update', 'remove', 'fire-event', 'create', 'update', 'remove', 'fire-event']}, 'type'=>'Coding', 'path'=>'Action.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', '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'=>'Action.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'=>'Action.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'=>'Action.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'=>'Action.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'=>'Action.cardinalityBehavior', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-cardinality-behavior'}}, 'resource' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Action.resource', 'min'=>0, 'max'=>1}, 'action' => {'type'=>'GuidanceResponse::Action', 'path'=>'Action.action', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#action ⇒ Object
0-* [ GuidanceResponse::Action ].
-
#actionIdentifier ⇒ Object
0-1 Identifier.
-
#cardinalityBehavior ⇒ Object
0-1 code.
-
#concept ⇒ Object
0-* [ CodeableConcept ].
-
#description ⇒ Object
0-1 string.
-
#documentation ⇒ Object
0-* [ RelatedResource ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#groupingBehavior ⇒ Object
0-1 code.
-
#id ⇒ Object
0-1 string.
-
#label ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#participant ⇒ Object
0-* [ Reference(Patient|Person|Practitioner|RelatedPerson) ].
-
#precheckBehavior ⇒ Object
0-1 code.
-
#relatedAction ⇒ Object
0-1 GuidanceResponse::Action::RelatedAction.
-
#requiredBehavior ⇒ Object
0-1 code.
-
#resource ⇒ Object
0-1 Reference(Resource).
-
#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.
-
#title ⇒ Object
0-1 string.
-
#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
#action ⇒ Object
0-* [ GuidanceResponse::Action ]
124 125 126 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 124 def action @action end |
#actionIdentifier ⇒ Object
0-1 Identifier
104 105 106 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 104 def actionIdentifier @actionIdentifier end |
#cardinalityBehavior ⇒ Object
0-1 code
122 123 124 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 122 def cardinalityBehavior @cardinalityBehavior end |
#concept ⇒ Object
0-* [ CodeableConcept ]
109 110 111 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 109 def concept @concept end |
#description ⇒ Object
0-1 string
107 108 109 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 107 def description @description end |
#documentation ⇒ Object
0-* [ RelatedResource ]
110 111 112 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 110 def documentation @documentation end |
#extension ⇒ Object
0-* [ Extension ]
102 103 104 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 102 def extension @extension end |
#groupingBehavior ⇒ Object
0-1 code
118 119 120 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 118 def groupingBehavior @groupingBehavior end |
#id ⇒ Object
0-1 string
101 102 103 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 101 def id @id end |
#label ⇒ Object
0-1 string
105 106 107 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 105 def label @label end |
#modifierExtension ⇒ Object
0-* [ Extension ]
103 104 105 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 103 def modifierExtension @modifierExtension end |
#participant ⇒ Object
0-* [ Reference(Patient|Person|Practitioner|RelatedPerson) ]
116 117 118 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 116 def participant @participant end |
#precheckBehavior ⇒ Object
0-1 code
121 122 123 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 121 def precheckBehavior @precheckBehavior end |
#relatedAction ⇒ Object
0-1 GuidanceResponse::Action::RelatedAction
111 112 113 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 111 def @relatedAction end |
#requiredBehavior ⇒ Object
0-1 code
120 121 122 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 120 def requiredBehavior @requiredBehavior end |
#resource ⇒ Object
0-1 Reference(Resource)
123 124 125 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 123 def resource @resource end |
#selectionBehavior ⇒ Object
0-1 code
119 120 121 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 119 def selectionBehavior @selectionBehavior end |
#textEquivalent ⇒ Object
0-1 string
108 109 110 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 108 def textEquivalent @textEquivalent end |
#timingDateTime ⇒ Object
0-1 dateTime
112 113 114 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 112 def timingDateTime @timingDateTime end |
#timingDuration ⇒ Object
0-1 Duration
114 115 116 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 114 def timingDuration @timingDuration end |
#timingPeriod ⇒ Object
0-1 Period
113 114 115 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 113 def timingPeriod @timingPeriod end |
#timingRange ⇒ Object
0-1 Range
115 116 117 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 115 def timingRange @timingRange end |
#title ⇒ Object
0-1 string
106 107 108 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 106 def title @title end |
#type ⇒ Object
0-1 Coding
117 118 119 |
# File 'lib/fhir/resources/GuidanceResponse.rb', line 117 def type @type end |