Class: FHIR::SubstancePolymer

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

Defined Under Namespace

Classes: MonomerSet, Repeat

Constant Summary collapse

SEARCH_PARAMS =
[]
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'SubstancePolymer.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'SubstancePolymer.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'SubstancePolymer.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'=>'SubstancePolymer.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'SubstancePolymer.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'SubstancePolymer.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'SubstancePolymer.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'SubstancePolymer.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'class' => {'local_name'=>'local_class', 'type'=>'CodeableConcept', 'path'=>'SubstancePolymer.class', 'min'=>0, 'max'=>1},
  'geometry' => {'type'=>'CodeableConcept', 'path'=>'SubstancePolymer.geometry', 'min'=>0, 'max'=>1},
  'copolymerConnectivity' => {'type'=>'CodeableConcept', 'path'=>'SubstancePolymer.copolymerConnectivity', 'min'=>0, 'max'=>Float::INFINITY},
  'modification' => {'type'=>'string', 'path'=>'SubstancePolymer.modification', 'min'=>0, 'max'=>Float::INFINITY},
  'monomerSet' => {'type'=>'SubstancePolymer::MonomerSet', 'path'=>'SubstancePolymer.monomerSet', 'min'=>0, 'max'=>Float::INFINITY},
  'repeat' => {'type'=>'SubstancePolymer::Repeat', 'path'=>'SubstancePolymer.repeat', '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 ]



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

def contained
  @contained
end

#copolymerConnectivityObject

0-* [ CodeableConcept ]



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

def copolymerConnectivity
  @copolymerConnectivity
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#geometryObject

0-1 CodeableConcept



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

def geometry
  @geometry
end

#idObject

0-1 id



161
162
163
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 161

def id
  @id
end

#implicitRulesObject

0-1 uri



163
164
165
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 163

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



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

def language
  @language
end

#local_classObject

0-1 CodeableConcept



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

def local_class
  @local_class
end

#metaObject

0-1 Meta



162
163
164
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 162

def meta
  @meta
end

#modificationObject

0-* [ string ]



172
173
174
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 172

def modification
  @modification
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#monomerSetObject

0-* [ SubstancePolymer::MonomerSet ]



173
174
175
# File 'lib/fhir_models/fhir/resources/SubstancePolymer.rb', line 173

def monomerSet
  @monomerSet
end

#repeatObject

0-* [ SubstancePolymer::Repeat ]



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

def repeat
  @repeat
end

#textObject

0-1 Narrative



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

def text
  @text
end

Instance Method Details

#resourceTypeObject



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

def resourceType
  'SubstancePolymer'
end