Class: FHIR::SubstanceSpecification::Structure::Isotope

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

Defined Under Namespace

Classes: MolecularWeight

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Isotope.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Isotope.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Isotope.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'Isotope.identifier', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'CodeableConcept', 'path'=>'Isotope.name', 'min'=>0, 'max'=>1},
  'substitution' => {'type'=>'CodeableConcept', 'path'=>'Isotope.substitution', 'min'=>0, 'max'=>1},
  'halfLife' => {'type'=>'Quantity', 'path'=>'Isotope.halfLife', 'min'=>0, 'max'=>1},
  'molecularWeight' => {'type'=>'SubstanceSpecification::Structure::Isotope::MolecularWeight', 'path'=>'Isotope.molecularWeight', 'min'=>0, 'max'=>1}
}

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

#extensionObject

0-* [ Extension ]



165
166
167
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 165

def extension
  @extension
end

#halfLifeObject

0-1 Quantity



170
171
172
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 170

def halfLife
  @halfLife
end

#idObject

0-1 string



164
165
166
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 164

def id
  @id
end

#identifierObject

0-1 Identifier



167
168
169
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 167

def identifier
  @identifier
end

#modifierExtensionObject

0-* [ Extension ]



166
167
168
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 166

def modifierExtension
  @modifierExtension
end

#molecularWeightObject

0-1 SubstanceSpecification::Structure::Isotope::MolecularWeight



171
172
173
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 171

def molecularWeight
  @molecularWeight
end

#nameObject

0-1 CodeableConcept



168
169
170
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 168

def name
  @name
end

#substitutionObject

0-1 CodeableConcept



169
170
171
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 169

def substitution
  @substitution
end