Class: FHIR::MedicationKnowledge::Packaging
- Inherits:
-
FHIR::Model
- Object
- FHIR::Model
- FHIR::MedicationKnowledge::Packaging
- Defined in:
- lib/fhir_models/fhir/resources/MedicationKnowledge.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Packaging.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Packaging.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Packaging.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/medicationknowledge-package-type'=>['amp', 'bag', 'blstrpk', 'bot', 'box', 'can', 'cart', 'disk', 'doset', 'jar', 'jug', 'minim', 'nebamp', 'ovul', 'pch', 'pkt', 'sash', 'strip', 'tin', 'tub', 'tube', 'vial']}, 'type'=>'CodeableConcept', 'path'=>'Packaging.type', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/medicationknowledge-package-type'}}, 'quantity' => {'type'=>'Quantity', 'path'=>'Packaging.quantity', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#quantity ⇒ Object
0-1 Quantity.
-
#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 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
#extension ⇒ Object
0-* [ Extension ]
256 257 258 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 256 def extension @extension end |
#id ⇒ Object
0-1 string
255 256 257 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 255 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
257 258 259 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 257 def modifierExtension @modifierExtension end |
#quantity ⇒ Object
0-1 Quantity
259 260 261 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 259 def quantity @quantity end |
#type ⇒ Object
0-1 CodeableConcept
258 259 260 |
# File 'lib/fhir_models/fhir/resources/MedicationKnowledge.rb', line 258 def type @type end |