Class: FHIR::DSTU2::CarePlan::Activity::Detail
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/CarePlan.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'scheduled' => ['Timing', 'Period', 'string'], 'product' => ['CodeableConcept', 'Reference'] }
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'Detail.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Detail.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Detail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'category' => {'valid_codes'=>{'http://hl7.org/fhir/care-plan-activity-category'=>['diet', 'drug', 'encounter', 'observation', 'procedure', 'supply', 'other']}, 'type'=>'CodeableConcept', 'path'=>'Detail.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-activity-category'}}, 'code' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Detail.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-activity'}}, 'reasonCode' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Detail.reasonCode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/activity-reason'}}, 'reasonReference' => {'type'=>'Reference', 'path'=>'Detail.reasonReference', 'min'=>0, 'max'=>Float::INFINITY}, 'goal' => {'type'=>'Reference', 'path'=>'Detail.goal', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/care-plan-activity-status'=>['not-started', 'scheduled', 'in-progress', 'on-hold', 'completed', 'cancelled']}, 'type'=>'code', 'path'=>'Detail.status', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-activity-status'}}, 'statusReason' => {'valid_codes'=>{'http://hl7.org/fhir/goal-status-reason'=>['surgery', 'life-event', 'replaced', 'patient-request']}, 'type'=>'CodeableConcept', 'path'=>'Detail.statusReason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/goal-status-reason'}}, 'prohibited' => {'type'=>'boolean', 'path'=>'Detail.prohibited', 'min'=>1, 'max'=>1}, 'scheduledTiming' => {'type'=>'Timing', 'path'=>'Detail.scheduled[x]', 'min'=>0, 'max'=>1}, 'scheduledPeriod' => {'type'=>'Period', 'path'=>'Detail.scheduled[x]', 'min'=>0, 'max'=>1}, 'scheduledString' => {'type'=>'string', 'path'=>'Detail.scheduled[x]', 'min'=>0, 'max'=>1}, 'location' => {'type'=>'Reference', 'path'=>'Detail.location', 'min'=>0, 'max'=>1}, 'performer' => {'type'=>'Reference', 'path'=>'Detail.performer', 'min'=>0, 'max'=>Float::INFINITY}, 'productCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'Detail.product[x]', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-codes'}}, 'productReference' => {'type'=>'Reference', 'path'=>'Detail.product[x]', 'min'=>0, 'max'=>1}, 'dailyAmount' => {'type'=>'Quantity', 'path'=>'Detail.dailyAmount', 'min'=>0, 'max'=>1}, 'quantity' => {'type'=>'Quantity', 'path'=>'Detail.quantity', 'min'=>0, 'max'=>1}, 'description' => {'type'=>'string', 'path'=>'Detail.description', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#category ⇒ Object
0-1 CodeableConcept.
-
#code ⇒ Object
0-1 CodeableConcept.
-
#dailyAmount ⇒ Object
0-1 Quantity.
-
#description ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#goal ⇒ Object
0-* [ Reference() ].
-
#id ⇒ Object
0-1 id.
-
#location ⇒ Object
0-1 Reference().
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#performer ⇒ Object
0-* [ Reference() ].
-
#productCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#productReference ⇒ Object
0-1 Reference().
-
#prohibited ⇒ Object
1-1 boolean.
-
#quantity ⇒ Object
0-1 Quantity.
-
#reasonCode ⇒ Object
0-* [ CodeableConcept ].
-
#reasonReference ⇒ Object
0-* [ Reference() ].
-
#scheduledPeriod ⇒ Object
0-1 Period.
-
#scheduledString ⇒ Object
0-1 string.
-
#scheduledTiming ⇒ Object
0-1 Timing.
-
#status ⇒ Object
0-1 code.
-
#statusReason ⇒ Object
0-1 CodeableConcept.
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::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#category ⇒ Object
0-1 CodeableConcept
127 128 129 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 127 def category @category end |
#code ⇒ Object
0-1 CodeableConcept
128 129 130 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 128 def code @code end |
#dailyAmount ⇒ Object
0-1 Quantity
142 143 144 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 142 def dailyAmount @dailyAmount end |
#description ⇒ Object
0-1 string
144 145 146 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 144 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
125 126 127 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 125 def extension @extension end |
#goal ⇒ Object
0-* [ Reference() ]
131 132 133 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 131 def goal @goal end |
#id ⇒ Object
0-1 id
124 125 126 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 124 def id @id end |
#location ⇒ Object
0-1 Reference()
138 139 140 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 138 def location @location end |
#modifierExtension ⇒ Object
0-* [ Extension ]
126 127 128 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 126 def modifierExtension @modifierExtension end |
#performer ⇒ Object
0-* [ Reference() ]
139 140 141 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 139 def performer @performer end |
#productCodeableConcept ⇒ Object
0-1 CodeableConcept
140 141 142 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 140 def productCodeableConcept @productCodeableConcept end |
#productReference ⇒ Object
0-1 Reference()
141 142 143 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 141 def productReference @productReference end |
#prohibited ⇒ Object
1-1 boolean
134 135 136 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 134 def prohibited @prohibited end |
#quantity ⇒ Object
0-1 Quantity
143 144 145 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 143 def quantity @quantity end |
#reasonCode ⇒ Object
0-* [ CodeableConcept ]
129 130 131 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 129 def reasonCode @reasonCode end |
#reasonReference ⇒ Object
0-* [ Reference() ]
130 131 132 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 130 def reasonReference @reasonReference end |
#scheduledPeriod ⇒ Object
0-1 Period
136 137 138 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 136 def scheduledPeriod @scheduledPeriod end |
#scheduledString ⇒ Object
0-1 string
137 138 139 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 137 def scheduledString @scheduledString end |
#scheduledTiming ⇒ Object
0-1 Timing
135 136 137 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 135 def scheduledTiming @scheduledTiming end |
#status ⇒ Object
0-1 code
132 133 134 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 132 def status @status end |
#statusReason ⇒ Object
0-1 CodeableConcept
133 134 135 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 133 def statusReason @statusReason end |