Class: FHIR::DSTU2::CarePlan
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/CarePlan.rb
Defined Under Namespace
Classes: Activity, Participant, RelatedPlan
Constant Summary collapse
- SEARCH_PARAMS =
['activitycode', 'activitydate', 'activityreference', 'condition', 'date', 'goal', 'participant', 'patient', 'performer', 'relatedcode', 'relatedplan', 'subject']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'CarePlan.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'CarePlan.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'CarePlan.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'CarePlan.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'CarePlan.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'CarePlan.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'CarePlan.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'CarePlan.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'identifier' => { 'type' => 'Identifier', 'path' => 'CarePlan.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'subject' => { 'type' => 'Reference', 'path' => 'CarePlan.subject', 'min' => 0, 'max' => 1 }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/care-plan-status' => ['proposed', 'draft', 'active', 'completed', 'cancelled'] }, 'type' => 'code', 'path' => 'CarePlan.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/care-plan-status' } }, 'context' => { 'type' => 'Reference', 'path' => 'CarePlan.context', 'min' => 0, 'max' => 1 }, 'period' => { 'type' => 'Period', 'path' => 'CarePlan.period', 'min' => 0, 'max' => 1 }, 'author' => { 'type' => 'Reference', 'path' => 'CarePlan.author', 'min' => 0, 'max' => Float::INFINITY }, 'modified' => { 'type' => 'dateTime', 'path' => 'CarePlan.modified', 'min' => 0, 'max' => 1 }, 'category' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'CarePlan.category', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/care-plan-category' } }, 'description' => { 'type' => 'string', 'path' => 'CarePlan.description', 'min' => 0, 'max' => 1 }, 'addresses' => { 'type' => 'Reference', 'path' => 'CarePlan.addresses', 'min' => 0, 'max' => Float::INFINITY }, 'support' => { 'type' => 'Reference', 'path' => 'CarePlan.support', 'min' => 0, 'max' => Float::INFINITY }, 'relatedPlan' => { 'type' => 'CarePlan::RelatedPlan', 'path' => 'CarePlan.relatedPlan', 'min' => 0, 'max' => Float::INFINITY }, 'participant' => { 'type' => 'CarePlan::Participant', 'path' => 'CarePlan.participant', 'min' => 0, 'max' => Float::INFINITY }, 'goal' => { 'type' => 'Reference', 'path' => 'CarePlan.goal', 'min' => 0, 'max' => Float::INFINITY }, 'activity' => { 'type' => 'CarePlan::Activity', 'path' => 'CarePlan.activity', 'min' => 0, 'max' => Float::INFINITY }, 'note' => { 'type' => 'Annotation', 'path' => 'CarePlan.note', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#activity ⇒ Object
0-* [ CarePlan::Activity ].
-
#addresses ⇒ Object
0-* [ Reference() ].
-
#author ⇒ Object
0-* [ Reference() ].
-
#category ⇒ Object
0-* [ CodeableConcept ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#context ⇒ Object
0-1 Reference().
-
#description ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#goal ⇒ Object
0-* [ Reference() ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modified ⇒ Object
0-1 dateTime.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-1 Annotation.
-
#participant ⇒ Object
0-* [ CarePlan::Participant ].
-
#period ⇒ Object
0-1 Period.
-
#relatedPlan ⇒ Object
0-* [ CarePlan::RelatedPlan ].
-
#status ⇒ Object
1-1 code.
-
#subject ⇒ Object
0-1 Reference().
-
#support ⇒ Object
0-* [ Reference() ].
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #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
#activity ⇒ Object
0-* [ CarePlan::Activity ]
178 179 180 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 178 def activity @activity end |
#addresses ⇒ Object
0-* [ Reference() ]
173 174 175 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 173 def addresses @addresses end |
#author ⇒ Object
0-* [ Reference() ]
169 170 171 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 169 def @author end |
#category ⇒ Object
0-* [ CodeableConcept ]
171 172 173 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 171 def category @category end |
#contained ⇒ Object
0-* [ Resource ]
161 162 163 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 161 def contained @contained end |
#context ⇒ Object
0-1 Reference()
167 168 169 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 167 def context @context end |
#description ⇒ Object
0-1 string
172 173 174 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 172 def description @description end |
#extension ⇒ Object
0-* [ Extension ]
162 163 164 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 162 def extension @extension end |
#goal ⇒ Object
0-* [ Reference() ]
177 178 179 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 177 def goal @goal end |
#id ⇒ Object
0-1 id
156 157 158 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 156 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
164 165 166 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 164 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
158 159 160 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 158 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
159 160 161 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 159 def language @language end |
#meta ⇒ Object
0-1 Meta
157 158 159 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 157 def @meta end |
#modified ⇒ Object
0-1 dateTime
170 171 172 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 170 def modified @modified end |
#modifierExtension ⇒ Object
0-* [ Extension ]
163 164 165 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 163 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-1 Annotation
179 180 181 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 179 def note @note end |
#participant ⇒ Object
0-* [ CarePlan::Participant ]
176 177 178 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 176 def participant @participant end |
#period ⇒ Object
0-1 Period
168 169 170 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 168 def period @period end |
#relatedPlan ⇒ Object
0-* [ CarePlan::RelatedPlan ]
175 176 177 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 175 def @relatedPlan end |
#status ⇒ Object
1-1 code
166 167 168 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 166 def status @status end |
#subject ⇒ Object
0-1 Reference()
165 166 167 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 165 def subject @subject end |
#support ⇒ Object
0-* [ Reference() ]
174 175 176 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 174 def support @support end |
#text ⇒ Object
0-1 Narrative
160 161 162 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 160 def text @text end |
Instance Method Details
#resourceType ⇒ Object
181 182 183 |
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 181 def resourceType 'CarePlan' end |