Class: FHIR::SubstanceSourceMaterial
- 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
-
#contained ⇒ Object
0-* [ Resource ].
-
#countryOfOrigin ⇒ Object
0-* [ CodeableConcept ].
-
#developmentStage ⇒ Object
0-1 CodeableConcept.
-
#extension ⇒ Object
0-* [ Extension ].
-
#fractionDescription ⇒ Object
0-* [ SubstanceSourceMaterial::FractionDescription ].
-
#geographicalLocation ⇒ Object
0-* [ string ].
-
#id ⇒ Object
0-1 id.
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#organism ⇒ Object
0-1 SubstanceSourceMaterial::Organism.
-
#organismId ⇒ Object
0-1 Identifier.
-
#organismName ⇒ Object
0-1 string.
-
#parentSubstanceId ⇒ Object
0-* [ Identifier ].
-
#parentSubstanceName ⇒ Object
0-* [ string ].
-
#partDescription ⇒ Object
0-* [ SubstanceSourceMaterial::PartDescription ].
-
#sourceMaterialClass ⇒ Object
0-1 CodeableConcept.
-
#sourceMaterialState ⇒ Object
0-1 CodeableConcept.
-
#sourceMaterialType ⇒ Object
0-1 CodeableConcept.
-
#text ⇒ Object
0-1 Narrative.
Instance Method Summary collapse
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#contained ⇒ Object
0-* [ Resource ]
179 180 181 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 179 def contained @contained end |
#countryOfOrigin ⇒ Object
0-* [ CodeableConcept ]
189 190 191 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 189 def countryOfOrigin @countryOfOrigin end |
#developmentStage ⇒ Object
0-1 CodeableConcept
191 192 193 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 191 def developmentStage @developmentStage end |
#extension ⇒ Object
0-* [ Extension ]
180 181 182 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 180 def extension @extension end |
#fractionDescription ⇒ Object
0-* [ SubstanceSourceMaterial::FractionDescription ]
192 193 194 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 192 def fractionDescription @fractionDescription end |
#geographicalLocation ⇒ Object
0-* [ string ]
190 191 192 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 190 def geographicalLocation @geographicalLocation end |
#id ⇒ Object
0-1 id
174 175 176 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 174 def id @id end |
#implicitRules ⇒ Object
0-1 uri
176 177 178 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 176 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
177 178 179 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 177 def language @language end |
#meta ⇒ Object
0-1 Meta
175 176 177 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 175 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
181 182 183 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 181 def modifierExtension @modifierExtension end |
#organism ⇒ Object
0-1 SubstanceSourceMaterial::Organism
193 194 195 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 193 def organism @organism end |
#organismId ⇒ Object
0-1 Identifier
185 186 187 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 185 def organismId @organismId end |
#organismName ⇒ Object
0-1 string
186 187 188 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 186 def organismName @organismName end |
#parentSubstanceId ⇒ Object
0-* [ Identifier ]
187 188 189 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 187 def parentSubstanceId @parentSubstanceId end |
#parentSubstanceName ⇒ Object
0-* [ string ]
188 189 190 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 188 def parentSubstanceName @parentSubstanceName end |
#partDescription ⇒ Object
0-* [ SubstanceSourceMaterial::PartDescription ]
194 195 196 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 194 def partDescription @partDescription end |
#sourceMaterialClass ⇒ Object
0-1 CodeableConcept
182 183 184 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 182 def sourceMaterialClass @sourceMaterialClass end |
#sourceMaterialState ⇒ Object
0-1 CodeableConcept
184 185 186 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 184 def sourceMaterialState @sourceMaterialState end |
#sourceMaterialType ⇒ Object
0-1 CodeableConcept
183 184 185 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 183 def sourceMaterialType @sourceMaterialType end |
#text ⇒ Object
0-1 Narrative
178 179 180 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 178 def text @text end |
Instance Method Details
#resourceType ⇒ Object
196 197 198 |
# File 'lib/fhir_models/fhir/resources/SubstanceSourceMaterial.rb', line 196 def resourceType 'SubstanceSourceMaterial' end |