Class: FHIR::SubstancePolymer::Repeat

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
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

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

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

#averageMolecularFormulaObject

0-1 string



156
157
158
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 156

def averageMolecularFormula
  @averageMolecularFormula
end

#extensionObject

0-* [ Extension ]



153
154
155
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 153

def extension
  @extension
end

#idObject

0-1 string



152
153
154
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 152

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



154
155
156
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 154

def modifierExtension
  @modifierExtension
end

#numberOfUnitsObject

0-1 integer



155
156
157
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 155

def numberOfUnits
  @numberOfUnits
end

#repeatUnitObject

0-* [ SubstancePolymer::Repeat::RepeatUnit ]



158
159
160
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 158

def repeatUnit
  @repeatUnit
end

#repeatUnitAmountTypeObject

0-1 CodeableConcept



157
158
159
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 157

def repeatUnitAmountType
  @repeatUnitAmountType
end