Class: FHIR::DSTU2::MedicationOrder::DispenseRequest
- Inherits:
-
FHIR::DSTU2::Model
- Object
- FHIR::DSTU2::Model
- FHIR::DSTU2::MedicationOrder::DispenseRequest
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'medication' => ['CodeableConcept', 'Reference'] }
- METADATA =
{ 'id' => { 'type' => 'id', '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 }, 'medicationCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'DispenseRequest.medication[x]', 'min' => 0, 'max' => 1 }, 'medicationReference' => { 'type' => 'Reference', 'path' => 'DispenseRequest.medication[x]', 'min' => 0, 'max' => 1 }, 'validityPeriod' => { 'type' => 'Period', 'path' => 'DispenseRequest.validityPeriod', 'min' => 0, 'max' => 1 }, 'numberOfRepeatsAllowed' => { 'type' => 'positiveInt', 'path' => 'DispenseRequest.numberOfRepeatsAllowed', 'min' => 0, 'max' => 1 }, 'quantity' => { 'type' => 'Quantity', 'path' => 'DispenseRequest.quantity', 'min' => 0, 'max' => 1 }, 'expectedSupplyDuration' => { 'type' => 'Quantity', 'path' => 'DispenseRequest.expectedSupplyDuration', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#expectedSupplyDuration ⇒ Object
0-1 Quantity.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#medicationCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#medicationReference ⇒ Object
0-1 Reference().
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#numberOfRepeatsAllowed ⇒ Object
0-1 positiveInt.
-
#quantity ⇒ Object
0-1 Quantity.
-
#validityPeriod ⇒ Object
0-1 Period.
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from FHIR::DSTU2::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
#expectedSupplyDuration ⇒ Object
0-1 Quantity
119 120 121 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 119 def expectedSupplyDuration @expectedSupplyDuration end |
#extension ⇒ Object
0-* [ Extension ]
112 113 114 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 112 def extension @extension end |
#id ⇒ Object
0-1 id
111 112 113 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 111 def id @id end |
#medicationCodeableConcept ⇒ Object
0-1 CodeableConcept
114 115 116 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 114 def medicationCodeableConcept @medicationCodeableConcept end |
#medicationReference ⇒ Object
0-1 Reference()
115 116 117 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 115 def medicationReference @medicationReference end |
#modifierExtension ⇒ Object
0-* [ Extension ]
113 114 115 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 113 def modifierExtension @modifierExtension end |
#numberOfRepeatsAllowed ⇒ Object
0-1 positiveInt
117 118 119 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 117 def numberOfRepeatsAllowed @numberOfRepeatsAllowed end |
#quantity ⇒ Object
0-1 Quantity
118 119 120 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 118 def quantity @quantity end |
#validityPeriod ⇒ Object
0-1 Period
116 117 118 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationOrder.rb', line 116 def validityPeriod @validityPeriod end |