Class: FHIR::MedicationRequest::DispenseRequest

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

Defined Under Namespace

Classes: InitialFill

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'DispenseRequest.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'DispenseRequest.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'DispenseRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'initialFill' => {'type'=>'MedicationRequest::DispenseRequest::InitialFill', 'path'=>'DispenseRequest.initialFill', 'min'=>0, 'max'=>1},
  'dispenseInterval' => {'type'=>'Duration', 'path'=>'DispenseRequest.dispenseInterval', 'min'=>0, 'max'=>1},
  'validityPeriod' => {'type'=>'Period', 'path'=>'DispenseRequest.validityPeriod', 'min'=>0, 'max'=>1},
  'numberOfRepeatsAllowed' => {'type'=>'unsignedInt', 'path'=>'DispenseRequest.numberOfRepeatsAllowed', 'min'=>0, 'max'=>1},
  'quantity' => {'type'=>'Quantity', 'path'=>'DispenseRequest.quantity', 'min'=>0, 'max'=>1},
  'expectedSupplyDuration' => {'type'=>'Duration', 'path'=>'DispenseRequest.expectedSupplyDuration', 'min'=>0, 'max'=>1},
  'performer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'DispenseRequest.performer', '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 FHIR::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

#dispenseIntervalObject

0-1 Duration



99
100
101
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 99

def dispenseInterval
  @dispenseInterval
end

#expectedSupplyDurationObject

0-1 Duration



103
104
105
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 103

def expectedSupplyDuration
  @expectedSupplyDuration
end

#extensionObject

0-* [ Extension ]



96
97
98
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 96

def extension
  @extension
end

#idObject

0-1 string



95
96
97
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 95

def id
  @id
end

#initialFillObject

0-1 MedicationRequest::DispenseRequest::InitialFill



98
99
100
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 98

def initialFill
  @initialFill
end

#modifierExtensionObject

0-* [ Extension ]



97
98
99
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 97

def modifierExtension
  @modifierExtension
end

#numberOfRepeatsAllowedObject

0-1 unsignedInt



101
102
103
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 101

def numberOfRepeatsAllowed
  @numberOfRepeatsAllowed
end

#performerObject

0-1 Reference(Organization)



104
105
106
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 104

def performer
  @performer
end

#quantityObject

0-1 Quantity



102
103
104
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 102

def quantity
  @quantity
end

#validityPeriodObject

0-1 Period



100
101
102
# File 'lib/fhir_models/fhir/resources/MedicationRequest.rb', line 100

def validityPeriod
  @validityPeriod
end