Class: FHIR::SubstanceSpecification::Structure
- Defined in:
- lib/fhir_models/fhir/resources/SubstanceSpecification.rb
Defined Under Namespace
Classes: Isotope, Representation
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Structure.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Structure.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Structure.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'stereochemistry' => {'type'=>'CodeableConcept', 'path'=>'Structure.stereochemistry', 'min'=>0, 'max'=>1}, 'opticalActivity' => {'type'=>'CodeableConcept', 'path'=>'Structure.opticalActivity', 'min'=>0, 'max'=>1}, 'molecularFormula' => {'type'=>'string', 'path'=>'Structure.molecularFormula', 'min'=>0, 'max'=>1}, 'molecularFormulaByMoiety' => {'type'=>'string', 'path'=>'Structure.molecularFormulaByMoiety', 'min'=>0, 'max'=>1}, 'isotope' => {'type'=>'SubstanceSpecification::Structure::Isotope', 'path'=>'Structure.isotope', 'min'=>0, 'max'=>Float::INFINITY}, 'molecularWeight' => {'type'=>'SubstanceSpecification::Structure::Isotope::MolecularWeight', 'path'=>'Structure.molecularWeight', 'min'=>0, 'max'=>1}, 'source' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/DocumentReference'], 'type'=>'Reference', 'path'=>'Structure.source', 'min'=>0, 'max'=>Float::INFINITY}, 'representation' => {'type'=>'SubstanceSpecification::Structure::Representation', 'path'=>'Structure.representation', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#isotope ⇒ Object
0-* [ SubstanceSpecification::Structure::Isotope ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#molecularFormula ⇒ Object
0-1 string.
-
#molecularFormulaByMoiety ⇒ Object
0-1 string.
-
#molecularWeight ⇒ Object
0-1 SubstanceSpecification::Structure::Isotope::MolecularWeight.
-
#opticalActivity ⇒ Object
0-1 CodeableConcept.
-
#representation ⇒ Object
0-* [ SubstanceSpecification::Structure::Representation ].
-
#source ⇒ Object
0-* [ Reference(DocumentReference) ].
-
#stereochemistry ⇒ 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 ]
197 198 199 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 197 def extension @extension end |
#id ⇒ Object
0-1 string
196 197 198 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 196 def id @id end |
#isotope ⇒ Object
0-* [ SubstanceSpecification::Structure::Isotope ]
203 204 205 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 203 def isotope @isotope end |
#modifierExtension ⇒ Object
0-* [ Extension ]
198 199 200 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 198 def modifierExtension @modifierExtension end |
#molecularFormula ⇒ Object
0-1 string
201 202 203 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 201 def molecularFormula @molecularFormula end |
#molecularFormulaByMoiety ⇒ Object
0-1 string
202 203 204 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 202 def molecularFormulaByMoiety @molecularFormulaByMoiety end |
#molecularWeight ⇒ Object
0-1 SubstanceSpecification::Structure::Isotope::MolecularWeight
204 205 206 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 204 def molecularWeight @molecularWeight end |
#opticalActivity ⇒ Object
0-1 CodeableConcept
200 201 202 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 200 def opticalActivity @opticalActivity end |
#representation ⇒ Object
0-* [ SubstanceSpecification::Structure::Representation ]
206 207 208 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 206 def representation @representation end |
#source ⇒ Object
0-* [ Reference(DocumentReference) ]
205 206 207 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 205 def source @source end |
#stereochemistry ⇒ Object
0-1 CodeableConcept
199 200 201 |
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 199 def stereochemistry @stereochemistry end |