Class: FHIR::SubstanceSourceMaterial

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

Defined Under Namespace

Classes: FractionDescription, Organism, PartDescription

Constant Summary collapse

SEARCH_PARAMS =
[]
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'SubstanceSourceMaterial.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'SubstanceSourceMaterial.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'SubstanceSourceMaterial.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pl', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-RS', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'SubstanceSourceMaterial.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'SubstanceSourceMaterial.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'SubstanceSourceMaterial.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'SubstanceSourceMaterial.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'SubstanceSourceMaterial.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'sourceMaterialClass' => {'type'=>'CodeableConcept', 'path'=>'SubstanceSourceMaterial.sourceMaterialClass', 'min'=>0, 'max'=>1},
  'sourceMaterialType' => {'type'=>'CodeableConcept', 'path'=>'SubstanceSourceMaterial.sourceMaterialType', 'min'=>0, 'max'=>1},
  'sourceMaterialState' => {'type'=>'CodeableConcept', 'path'=>'SubstanceSourceMaterial.sourceMaterialState', 'min'=>0, 'max'=>1},
  'organismId' => {'type'=>'Identifier', 'path'=>'SubstanceSourceMaterial.organismId', 'min'=>0, 'max'=>1},
  'organismName' => {'type'=>'string', 'path'=>'SubstanceSourceMaterial.organismName', 'min'=>0, 'max'=>1},
  'parentSubstanceId' => {'type'=>'Identifier', 'path'=>'SubstanceSourceMaterial.parentSubstanceId', 'min'=>0, 'max'=>Float::INFINITY},
  'parentSubstanceName' => {'type'=>'string', 'path'=>'SubstanceSourceMaterial.parentSubstanceName', 'min'=>0, 'max'=>Float::INFINITY},
  'countryOfOrigin' => {'type'=>'CodeableConcept', 'path'=>'SubstanceSourceMaterial.countryOfOrigin', 'min'=>0, 'max'=>Float::INFINITY},
  'geographicalLocation' => {'type'=>'string', 'path'=>'SubstanceSourceMaterial.geographicalLocation', 'min'=>0, 'max'=>Float::INFINITY},
  'developmentStage' => {'type'=>'CodeableConcept', 'path'=>'SubstanceSourceMaterial.developmentStage', 'min'=>0, 'max'=>1},
  'fractionDescription' => {'type'=>'SubstanceSourceMaterial::FractionDescription', 'path'=>'SubstanceSourceMaterial.fractionDescription', 'min'=>0, 'max'=>Float::INFINITY},
  'organism' => {'type'=>'SubstanceSourceMaterial::Organism', 'path'=>'SubstanceSourceMaterial.organism', 'min'=>0, 'max'=>1},
  'partDescription' => {'type'=>'SubstanceSourceMaterial::PartDescription', 'path'=>'SubstanceSourceMaterial.partDescription', 'min'=>0, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#containedObject

0-* [ Resource ]



179
180
181
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 179

def contained
  @contained
end

#countryOfOriginObject

0-* [ CodeableConcept ]



189
190
191
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 189

def countryOfOrigin
  @countryOfOrigin
end

#developmentStageObject

0-1 CodeableConcept



191
192
193
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 191

def developmentStage
  @developmentStage
end

#extensionObject

0-* [ Extension ]



180
181
182
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 180

def extension
  @extension
end

#fractionDescriptionObject

0-* [ SubstanceSourceMaterial::FractionDescription ]



192
193
194
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 192

def fractionDescription
  @fractionDescription
end

#geographicalLocationObject

0-* [ string ]



190
191
192
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 190

def geographicalLocation
  @geographicalLocation
end

#idObject

0-1 id



174
175
176
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 174

def id
  @id
end

#implicitRulesObject

0-1 uri



176
177
178
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 176

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



177
178
179
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 177

def language
  @language
end

#metaObject

0-1 Meta



175
176
177
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 175

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



181
182
183
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 181

def modifierExtension
  @modifierExtension
end

#organismObject

0-1 SubstanceSourceMaterial::Organism



193
194
195
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 193

def organism
  @organism
end

#organismIdObject

0-1 Identifier



185
186
187
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 185

def organismId
  @organismId
end

#organismNameObject

0-1 string



186
187
188
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 186

def organismName
  @organismName
end

#parentSubstanceIdObject

0-* [ Identifier ]



187
188
189
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 187

def parentSubstanceId
  @parentSubstanceId
end

#parentSubstanceNameObject

0-* [ string ]



188
189
190
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 188

def parentSubstanceName
  @parentSubstanceName
end

#partDescriptionObject

0-* [ SubstanceSourceMaterial::PartDescription ]



194
195
196
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 194

def partDescription
  @partDescription
end

#sourceMaterialClassObject

0-1 CodeableConcept



182
183
184
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 182

def sourceMaterialClass
  @sourceMaterialClass
end

#sourceMaterialStateObject

0-1 CodeableConcept



184
185
186
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 184

def sourceMaterialState
  @sourceMaterialState
end

#sourceMaterialTypeObject

0-1 CodeableConcept



183
184
185
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 183

def sourceMaterialType
  @sourceMaterialType
end

#textObject

0-1 Narrative



178
179
180
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 178

def text
  @text
end

Instance Method Details

#resourceTypeObject



196
197
198
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 196

def resourceType
  'SubstanceSourceMaterial'
end