Class: FHIR::SubstancePolymer::Repeat
- Defined in:
- lib/fhir_models/fhir/resources/SubstancePolymer.rb
Defined Under Namespace
Classes: RepeatUnit
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Repeat.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Repeat.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Repeat.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'numberOfUnits' => {'type'=>'integer', 'path'=>'Repeat.numberOfUnits', 'min'=>0, 'max'=>1}, 'averageMolecularFormula' => {'type'=>'string', 'path'=>'Repeat.averageMolecularFormula', 'min'=>0, 'max'=>1}, 'repeatUnitAmountType' => {'type'=>'CodeableConcept', 'path'=>'Repeat.repeatUnitAmountType', 'min'=>0, 'max'=>1}, 'repeatUnit' => {'type'=>'SubstancePolymer::Repeat::RepeatUnit', 'path'=>'Repeat.repeatUnit', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#averageMolecularFormula ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#numberOfUnits ⇒ Object
0-1 integer.
-
#repeatUnit ⇒ Object
0-* [ SubstancePolymer::Repeat::RepeatUnit ].
-
#repeatUnitAmountType ⇒ 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
#averageMolecularFormula ⇒ Object
0-1 string
156 157 158 |
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 156 def averageMolecularFormula @averageMolecularFormula end |
#extension ⇒ Object
0-* [ Extension ]
153 154 155 |
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 153 def extension @extension end |
#id ⇒ Object
0-1 string
152 153 154 |
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 152 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
154 155 156 |
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 154 def modifierExtension @modifierExtension end |
#numberOfUnits ⇒ Object
0-1 integer
155 156 157 |
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 155 def numberOfUnits @numberOfUnits end |
#repeatUnit ⇒ Object
0-* [ SubstancePolymer::Repeat::RepeatUnit ]
158 159 160 |
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 158 def repeatUnit @repeatUnit end |
#repeatUnitAmountType ⇒ Object
0-1 CodeableConcept
157 158 159 |
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 157 def repeatUnitAmountType @repeatUnitAmountType end |