Class: FHIR::SubstanceSourceMaterial::Organism::OrganismGeneral

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'OrganismGeneral.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'OrganismGeneral.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'OrganismGeneral.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'kingdom' => {'type'=>'CodeableConcept', 'path'=>'OrganismGeneral.kingdom', 'min'=>0, 'max'=>1},
  'phylum' => {'type'=>'CodeableConcept', 'path'=>'OrganismGeneral.phylum', 'min'=>0, 'max'=>1},
  'class' => {'local_name'=>'local_class', 'type'=>'CodeableConcept', 'path'=>'OrganismGeneral.class', 'min'=>0, 'max'=>1},
  'order' => {'type'=>'CodeableConcept', 'path'=>'OrganismGeneral.order', '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 ]



133
134
135
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 133

def extension
  @extension
end

#idObject

0-1 string



132
133
134
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 132

def id
  @id
end

#kingdomObject

0-1 CodeableConcept



135
136
137
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 135

def kingdom
  @kingdom
end

#local_classObject

0-1 CodeableConcept



137
138
139
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 137

def local_class
  @local_class
end

#modifierExtensionObject

0-* [ Extension ]



134
135
136
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 134

def modifierExtension
  @modifierExtension
end

#orderObject

0-1 CodeableConcept



138
139
140
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 138

def order
  @order
end

#phylumObject

0-1 CodeableConcept



136
137
138
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 136

def phylum
  @phylum
end