Class: FHIR::MedicinalProductIngredient::Substance
- Inherits:
-
FHIR::Model
- Object
- FHIR::Model
- FHIR::MedicinalProductIngredient::Substance
- Defined in:
- lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Substance.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Substance.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Substance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'code' => {'type'=>'CodeableConcept', 'path'=>'Substance.code', 'min'=>1, 'max'=>1}, 'strength' => {'type'=>'MedicinalProductIngredient::SpecifiedSubstance::Strength', 'path'=>'Substance.strength', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#code ⇒ Object
1-1 CodeableConcept.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#strength ⇒ Object
0-* [ MedicinalProductIngredient::SpecifiedSubstance::Strength ].
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
#code ⇒ Object
1-1 CodeableConcept
121 122 123 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 121 def code @code end |
#extension ⇒ Object
0-* [ Extension ]
119 120 121 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 119 def extension @extension end |
#id ⇒ Object
0-1 string
118 119 120 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 118 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
120 121 122 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 120 def modifierExtension @modifierExtension end |
#strength ⇒ Object
0-* [ MedicinalProductIngredient::SpecifiedSubstance::Strength ]
122 123 124 |
# File 'lib/fhir_models/fhir/resources/MedicinalProductIngredient.rb', line 122 def strength @strength end |