Class: FHIR::ProductShelfLife
- Defined in:
- lib/fhir_models/fhir/types/ProductShelfLife.rb
Constant Summary collapse
- SEARCH_PARAMS =
[]
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'ProductShelfLife.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'ProductShelfLife.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'ProductShelfLife.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'ProductShelfLife.identifier', 'min'=>0, 'max'=>1}, 'type' => {'type'=>'CodeableConcept', 'path'=>'ProductShelfLife.type', 'min'=>1, 'max'=>1}, 'period' => {'type'=>'Quantity', 'path'=>'ProductShelfLife.period', 'min'=>1, 'max'=>1}, 'specialPrecautionsForStorage' => {'type'=>'CodeableConcept', 'path'=>'ProductShelfLife.specialPrecautionsForStorage', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#identifier ⇒ Object
0-1 Identifier.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#period ⇒ Object
1-1 Quantity.
-
#specialPrecautionsForStorage ⇒ Object
0-* [ CodeableConcept ].
-
#type ⇒ Object
1-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 ]
19 20 21 |
# File 'lib/fhir_models/fhir/types/ProductShelfLife.rb', line 19 def extension @extension end |
#id ⇒ Object
0-1 string
18 19 20 |
# File 'lib/fhir_models/fhir/types/ProductShelfLife.rb', line 18 def id @id end |
#identifier ⇒ Object
0-1 Identifier
21 22 23 |
# File 'lib/fhir_models/fhir/types/ProductShelfLife.rb', line 21 def identifier @identifier end |
#modifierExtension ⇒ Object
0-* [ Extension ]
20 21 22 |
# File 'lib/fhir_models/fhir/types/ProductShelfLife.rb', line 20 def modifierExtension @modifierExtension end |
#period ⇒ Object
1-1 Quantity
23 24 25 |
# File 'lib/fhir_models/fhir/types/ProductShelfLife.rb', line 23 def period @period end |
#specialPrecautionsForStorage ⇒ Object
0-* [ CodeableConcept ]
24 25 26 |
# File 'lib/fhir_models/fhir/types/ProductShelfLife.rb', line 24 def specialPrecautionsForStorage @specialPrecautionsForStorage end |
#type ⇒ Object
1-1 CodeableConcept
22 23 24 |
# File 'lib/fhir_models/fhir/types/ProductShelfLife.rb', line 22 def type @type end |