Class: FHIR::CarePlan::Activity

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/CarePlan.rb

Defined Under Namespace

Classes: Detail

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Activity.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Activity.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Activity.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'outcomeCodeableConcept' => {'valid_codes'=>{'http://snomed.info/sct'=>['54777007', '129862009', '129863004', '129864005', '129865006', '129866007', '129867003', '129868008', '182891003', '397588000', '397598006', '397675006', '397699006', '397724004', '408364003', '423875000', '424537004', '704375003', '704377006', '704379009', '704381006', '704383009', '704400005', '704402002', '704403007', '704404001', '704406004', '704446005', '704491001', '704680001', '705086000', '706869001', '708571001', '713398008', '713447003', '713448008', '713449000', '713451001', '713452008', '714670007', '716391009', '716438000']}, 'type'=>'CodeableConcept', 'path'=>'Activity.outcomeCodeableConcept', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/care-plan-activity-outcome'}},
  'outcomeReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Activity.outcomeReference', 'min'=>0, 'max'=>Float::INFINITY},
  'progress' => {'type'=>'Annotation', 'path'=>'Activity.progress', 'min'=>0, 'max'=>Float::INFINITY},
  'reference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Appointment', 'http://hl7.org/fhir/StructureDefinition/CommunicationRequest', 'http://hl7.org/fhir/StructureDefinition/DeviceRequest', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/NutritionOrder', 'http://hl7.org/fhir/StructureDefinition/Task', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest', 'http://hl7.org/fhir/StructureDefinition/VisionPrescription', 'http://hl7.org/fhir/StructureDefinition/RequestGroup'], 'type'=>'Reference', 'path'=>'Activity.reference', 'min'=>0, 'max'=>1},
  'detail' => {'type'=>'CarePlan::Activity::Detail', 'path'=>'Activity.detail', 'min'=>0, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::Model

Instance Attribute Details

#detailObject

0-1 CarePlan::Activity::Detail



125
126
127
# File 'lib/fhir_models/fhir/resources/CarePlan.rb', line 125

def detail
  @detail
end

#extensionObject

0-* [ Extension ]



119
120
121
# File 'lib/fhir_models/fhir/resources/CarePlan.rb', line 119

def extension
  @extension
end

#idObject

0-1 string



118
119
120
# File 'lib/fhir_models/fhir/resources/CarePlan.rb', line 118

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



120
121
122
# File 'lib/fhir_models/fhir/resources/CarePlan.rb', line 120

def modifierExtension
  @modifierExtension
end

#outcomeCodeableConceptObject

0-* [ CodeableConcept ]



121
122
123
# File 'lib/fhir_models/fhir/resources/CarePlan.rb', line 121

def outcomeCodeableConcept
  @outcomeCodeableConcept
end

#outcomeReferenceObject

0-* [ Reference(Resource) ]



122
123
124
# File 'lib/fhir_models/fhir/resources/CarePlan.rb', line 122

def outcomeReference
  @outcomeReference
end

#progressObject

0-* [ Annotation ]



123
124
125
# File 'lib/fhir_models/fhir/resources/CarePlan.rb', line 123

def progress
  @progress
end

#referenceObject

0-1 Reference(Appointment|CommunicationRequest|DeviceRequest|MedicationRequest|NutritionOrder|Task|ServiceRequest|VisionPrescription|RequestGroup)



124
125
126
# File 'lib/fhir_models/fhir/resources/CarePlan.rb', line 124

def reference
  @reference
end