Class: FHIR::CarePlan::RelatedPlan
- Defined in:
- lib/fhir/resources/CarePlan.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'RelatedPlan.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'RelatedPlan.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'RelatedPlan.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'code' => {'valid_codes'=>{'http://hl7.org/fhir/care-plan-relationship'=>['includes', 'replaces', 'fulfills', 'includes', 'replaces', 'fulfills']}, 'type'=>'code', 'path'=>'RelatedPlan.code', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-relationship'}}, 'plan' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/CarePlan'], 'type'=>'Reference', 'path'=>'RelatedPlan.plan', 'min'=>1, 'max'=>1} }
Instance Attribute Summary collapse
-
#code ⇒ Object
0-1 code.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#plan ⇒ Object
1-1 Reference(CarePlan).
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
#code ⇒ Object
0-1 code
51 52 53 |
# File 'lib/fhir/resources/CarePlan.rb', line 51 def code @code end |
#extension ⇒ Object
0-* [ Extension ]
49 50 51 |
# File 'lib/fhir/resources/CarePlan.rb', line 49 def extension @extension end |
#id ⇒ Object
0-1 string
48 49 50 |
# File 'lib/fhir/resources/CarePlan.rb', line 48 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
50 51 52 |
# File 'lib/fhir/resources/CarePlan.rb', line 50 def modifierExtension @modifierExtension end |
#plan ⇒ Object
1-1 Reference(CarePlan)
52 53 54 |
# File 'lib/fhir/resources/CarePlan.rb', line 52 def plan @plan end |