Class: FHIR::SubstancePolymer::Repeat::RepeatUnit

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/SubstancePolymer.rb

Defined Under Namespace

Classes: DegreeOfPolymerisation, StructuralRepresentation

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'RepeatUnit.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'RepeatUnit.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'RepeatUnit.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'orientationOfPolymerisation' => {'type'=>'CodeableConcept', 'path'=>'RepeatUnit.orientationOfPolymerisation', 'min'=>0, 'max'=>1},
  'repeatUnit' => {'type'=>'string', 'path'=>'RepeatUnit.repeatUnit', 'min'=>0, 'max'=>1},
  'amount' => {'type'=>'SubstanceAmount', 'path'=>'RepeatUnit.amount', 'min'=>0, 'max'=>1},
  'degreeOfPolymerisation' => {'type'=>'SubstancePolymer::Repeat::RepeatUnit::DegreeOfPolymerisation', 'path'=>'RepeatUnit.degreeOfPolymerisation', 'min'=>0, 'max'=>Float::INFINITY},
  'structuralRepresentation' => {'type'=>'SubstancePolymer::Repeat::RepeatUnit::StructuralRepresentation', 'path'=>'RepeatUnit.structuralRepresentation', '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

#amountObject

0-1 SubstanceAmount



147
148
149
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 147

def amount
  @amount
end

#degreeOfPolymerisationObject

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



148
149
150
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 148

def degreeOfPolymerisation
  @degreeOfPolymerisation
end

#extensionObject

0-* [ Extension ]



143
144
145
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 143

def extension
  @extension
end

#idObject

0-1 string



142
143
144
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 142

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



144
145
146
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 144

def modifierExtension
  @modifierExtension
end

#orientationOfPolymerisationObject

0-1 CodeableConcept



145
146
147
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 145

def orientationOfPolymerisation
  @orientationOfPolymerisation
end

#repeatUnitObject

0-1 string



146
147
148
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 146

def repeatUnit
  @repeatUnit
end

#structuralRepresentationObject

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



149
150
151
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 149

def structuralRepresentation
  @structuralRepresentation
end