Class: FHIR::NutritionOrder::Supplement
- Defined in:
- lib/fhir_models/fhir/resources/NutritionOrder.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Supplement.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Supplement.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Supplement.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'valid_codes'=>{'http://snomed.info/sct'=>['442901000124106', '443031000124106', '443051000124104', '442911000124109', '443021000124108', '442971000124100', '442981000124102', '442991000124104', '443011000124100', '442961000124107', '442951000124105', '442941000124108', '442921000124101', '442931000124103', '444331000124106', '443361000124100', '443391000124108', '443401000124105', '443491000124103', '443501000124106', '443421000124100', '443471000124104', '444431000124104', '443451000124109', '444321000124108', '441561000124106', '443461000124106', '441531000124102', '443561000124107', '443481000124101', '441571000124104', '441591000124103', '441601000124106', '443351000124102', '443771000124106', '441671000124100', '443111000124101', '443431000124102', '443411000124108', '444361000124102', '444401000124107', '444381000124107', '444371000124109', '443441000124107', '442651000124102']}, 'type'=>'CodeableConcept', 'path'=>'Supplement.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/supplement-type'}}, 'productName' => {'type'=>'string', 'path'=>'Supplement.productName', 'min'=>0, 'max'=>1}, 'schedule' => {'type'=>'Timing', 'path'=>'Supplement.schedule', 'min'=>0, 'max'=>Float::INFINITY}, 'quantity' => {'type'=>'Quantity', 'path'=>'Supplement.quantity', 'min'=>0, 'max'=>1}, 'instruction' => {'type'=>'string', 'path'=>'Supplement.instruction', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#instruction ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#productName ⇒ Object
0-1 string.
-
#quantity ⇒ Object
0-1 Quantity.
-
#schedule ⇒ Object
0-* [ Timing ].
-
#type ⇒ Object
0-1 CodeableConcept.
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 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
#extension ⇒ Object
0-* [ Extension ]
121 122 123 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 121 def extension @extension end |
#id ⇒ Object
0-1 string
120 121 122 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 120 def id @id end |
#instruction ⇒ Object
0-1 string
127 128 129 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 127 def instruction @instruction end |
#modifierExtension ⇒ Object
0-* [ Extension ]
122 123 124 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 122 def modifierExtension @modifierExtension end |
#productName ⇒ Object
0-1 string
124 125 126 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 124 def productName @productName end |
#quantity ⇒ Object
0-1 Quantity
126 127 128 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 126 def quantity @quantity end |
#schedule ⇒ Object
0-* [ Timing ]
125 126 127 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 125 def schedule @schedule end |
#type ⇒ Object
0-1 CodeableConcept
123 124 125 |
# File 'lib/fhir_models/fhir/resources/NutritionOrder.rb', line 123 def type @type end |