Class: FHIR::SubstanceSpecification::Structure::Isotope::MolecularWeight
- Inherits:
-
Model
- Object
- Model
- FHIR::SubstanceSpecification::Structure::Isotope::MolecularWeight
- Defined in:
- lib/fhir_models/fhir/resources/SubstanceSpecification.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'MolecularWeight.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'MolecularWeight.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'MolecularWeight.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'method' => {'local_name'=>'local_method', 'type'=>'CodeableConcept', 'path'=>'MolecularWeight.method', 'min'=>0, 'max'=>1}, 'type' => {'type'=>'CodeableConcept', 'path'=>'MolecularWeight.type', 'min'=>0, 'max'=>1}, 'amount' => {'type'=>'Quantity', 'path'=>'MolecularWeight.amount', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#amount ⇒ Object
0-1 Quantity.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#local_method ⇒ Object
0-1 CodeableConcept.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#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
#amount ⇒ Object
0-1 Quantity
161 162 163 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 161 def amount @amount end |
#extension ⇒ Object
0-* [ Extension ]
157 158 159 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 157 def extension @extension end |
#id ⇒ Object
0-1 string
156 157 158 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 156 def id @id end |
#local_method ⇒ Object
0-1 CodeableConcept
159 160 161 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 159 def local_method @local_method end |
#modifierExtension ⇒ Object
0-* [ Extension ]
158 159 160 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 158 def modifierExtension @modifierExtension end |
#type ⇒ Object
0-1 CodeableConcept
160 161 162 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 160 def type @type end |