Class: FHIR::DSTU2::MedicationStatement::Dosage
- Inherits:
-
FHIR::DSTU2::Model
- Object
- FHIR::DSTU2::Model
- FHIR::DSTU2::MedicationStatement::Dosage
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'asNeeded' => ['boolean', 'CodeableConcept'], 'site' => ['CodeableConcept', 'Reference'], 'quantity' => ['Quantity', 'Range'], 'rate' => ['Ratio', 'Range'] }
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Dosage.id', 'min' => 0, 'max' => 1 }, 'extension' => { 'type' => 'Extension', 'path' => 'Dosage.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Dosage.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'text' => { 'type' => 'string', 'path' => 'Dosage.text', 'min' => 0, 'max' => 1 }, 'timing' => { 'type' => 'Timing', 'path' => 'Dosage.timing', 'min' => 0, 'max' => 1 }, 'asNeededBoolean' => { 'type' => 'boolean', 'path' => 'Dosage.asNeeded[x]', 'min' => 0, 'max' => 1 }, 'asNeededCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'Dosage.asNeeded[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'siteCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Dosage.site[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/approach-site-codes' } }, 'siteReference' => { 'type' => 'Reference', 'path' => 'Dosage.site[x]', 'min' => 0, 'max' => 1 }, 'route' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Dosage.route', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/route-codes' } }, 'method' => { 'local_name' => 'local_method', 'type' => 'CodeableConcept', 'path' => 'Dosage.method', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'quantityQuantity' => { 'type' => 'Quantity', 'path' => 'Dosage.quantity[x]', 'min' => 0, 'max' => 1 }, 'quantityRange' => { 'type' => 'Range', 'path' => 'Dosage.quantity[x]', 'min' => 0, 'max' => 1 }, 'rateRatio' => { 'type' => 'Ratio', 'path' => 'Dosage.rate[x]', 'min' => 0, 'max' => 1 }, 'rateRange' => { 'type' => 'Range', 'path' => 'Dosage.rate[x]', 'min' => 0, 'max' => 1 }, 'maxDosePerPeriod' => { 'type' => 'Ratio', 'path' => 'Dosage.maxDosePerPeriod', 'min' => 0, 'max' => 1 } }
Instance Attribute Summary collapse
-
#asNeededBoolean ⇒ Object
0-1 boolean.
-
#asNeededCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#local_method ⇒ Object
0-1 CodeableConcept.
-
#maxDosePerPeriod ⇒ Object
0-1 Ratio.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#quantityQuantity ⇒ Object
0-1 Quantity.
-
#quantityRange ⇒ Object
0-1 Range.
-
#rateRange ⇒ Object
0-1 Range.
-
#rateRatio ⇒ Object
0-1 Ratio.
-
#route ⇒ Object
0-1 CodeableConcept.
-
#siteCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#siteReference ⇒ Object
0-1 Reference().
-
#text ⇒ Object
0-1 string.
-
#timing ⇒ Object
0-1 Timing.
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
#asNeededBoolean ⇒ Object
0-1 boolean
76 77 78 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 76 def asNeededBoolean @asNeededBoolean end |
#asNeededCodeableConcept ⇒ Object
0-1 CodeableConcept
77 78 79 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 77 def asNeededCodeableConcept @asNeededCodeableConcept end |
#extension ⇒ Object
0-* [ Extension ]
72 73 74 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 72 def extension @extension end |
#id ⇒ Object
0-1 id
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 71 def id @id end |
#local_method ⇒ Object
0-1 CodeableConcept
81 82 83 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 81 def local_method @local_method end |
#maxDosePerPeriod ⇒ Object
0-1 Ratio
86 87 88 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 86 def maxDosePerPeriod @maxDosePerPeriod end |
#modifierExtension ⇒ Object
0-* [ Extension ]
73 74 75 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 73 def modifierExtension @modifierExtension end |
#quantityQuantity ⇒ Object
0-1 Quantity
82 83 84 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 82 def quantityQuantity @quantityQuantity end |
#quantityRange ⇒ Object
0-1 Range
83 84 85 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 83 def quantityRange @quantityRange end |
#rateRange ⇒ Object
0-1 Range
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 85 def rateRange @rateRange end |
#rateRatio ⇒ Object
0-1 Ratio
84 85 86 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 84 def rateRatio @rateRatio end |
#route ⇒ Object
0-1 CodeableConcept
80 81 82 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 80 def route @route end |
#siteCodeableConcept ⇒ Object
0-1 CodeableConcept
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 78 def siteCodeableConcept @siteCodeableConcept end |
#siteReference ⇒ Object
0-1 Reference()
79 80 81 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 79 def siteReference @siteReference end |
#text ⇒ Object
0-1 string
74 75 76 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 74 def text @text end |
#timing ⇒ Object
0-1 Timing
75 76 77 |
# File 'lib/fhir_dstu2_models/fhir/resources/MedicationStatement.rb', line 75 def timing @timing end |