Class: FHIR::DSTU2::CarePlan::Activity

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

Defined Under Namespace

Classes: Detail

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', '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 },
  'actionResulting' => { 'type' => 'Reference', 'path' => 'Activity.actionResulting', 'min' => 0, 'max' => Float::INFINITY },
  'progress' => { 'type' => 'Annotation', 'path' => 'Activity.progress', 'min' => 0, 'max' => Float::INFINITY },
  'reference' => { '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, #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

#actionResultingObject

0-* [ Reference() ]



150
151
152
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 150

def actionResulting
  @actionResulting
end

#detailObject

0-1 CarePlan::Activity::Detail



153
154
155
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 153

def detail
  @detail
end

#extensionObject

0-* [ Extension ]



148
149
150
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 148

def extension
  @extension
end

#idObject

0-1 id



147
148
149
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 147

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



149
150
151
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 149

def modifierExtension
  @modifierExtension
end

#progressObject

0-* [ Annotation ]



151
152
153
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 151

def progress
  @progress
end

#referenceObject

0-1 Reference()



152
153
154
# File 'lib/fhir_dstu2_models/fhir/resources/CarePlan.rb', line 152

def reference
  @reference
end