Class: FHIR::MedicationOrder::EventHistory

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'EventHistory.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'EventHistory.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'EventHistory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/medication-order-status'=>['active', 'on-hold', 'completed', 'entered-in-error', 'stopped', 'draft', 'active', 'on-hold', 'completed', 'entered-in-error', 'stopped', 'draft']}, 'type'=>'code', 'path'=>'EventHistory.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/medication-order-status'}},
  'action' => {'type'=>'CodeableConcept', 'path'=>'EventHistory.action', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
  'dateTime' => {'type'=>'dateTime', 'path'=>'EventHistory.dateTime', 'min'=>1, 'max'=>1},
  'actor' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner'], 'type'=>'Reference', 'path'=>'EventHistory.actor', 'min'=>0, 'max'=>1},
  'reason' => {'type'=>'CodeableConcept', 'path'=>'EventHistory.reason', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>nil}}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, is_valid?, #to_xml, validate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from FHIR::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

#actionObject

0-1 CodeableConcept



159
160
161
# File 'lib/fhir/resources/MedicationOrder.rb', line 159

def action
  @action
end

#actorObject

0-1 Reference(Practitioner)



161
162
163
# File 'lib/fhir/resources/MedicationOrder.rb', line 161

def actor
  @actor
end

#dateTimeObject

1-1 dateTime



160
161
162
# File 'lib/fhir/resources/MedicationOrder.rb', line 160

def dateTime
  @dateTime
end

#extensionObject

0-* [ Extension ]



156
157
158
# File 'lib/fhir/resources/MedicationOrder.rb', line 156

def extension
  @extension
end

#idObject

0-1 string



155
156
157
# File 'lib/fhir/resources/MedicationOrder.rb', line 155

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



157
158
159
# File 'lib/fhir/resources/MedicationOrder.rb', line 157

def modifierExtension
  @modifierExtension
end

#reasonObject

0-1 CodeableConcept



162
163
164
# File 'lib/fhir/resources/MedicationOrder.rb', line 162

def reason
  @reason
end

#statusObject

1-1 code



158
159
160
# File 'lib/fhir/resources/MedicationOrder.rb', line 158

def status
  @status
end