Class: FHIR::DSTU2::ValueSet::CodeSystem::Concept::Designation

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Designation.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Designation.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Designation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'language' => { 'type' => 'code', 'path' => 'Designation.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
  'use' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'Coding', 'path' => 'Designation.use', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'extensible', 'uri' => 'http://hl7.org/fhir/ValueSet/designation-use' } },
  'value' => { 'type' => 'string', 'path' => 'Designation.value', 'min' => 1, '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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model

Instance Attribute Details

#extensionObject

0-* [ Extension ]



106
107
108
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 106

def extension
  @extension
end

#idObject

0-1 id



105
106
107
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 105

def id
  @id
end

#languageObject

0-1 code



108
109
110
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 108

def language
  @language
end

#modifierExtensionObject

0-* [ Extension ]



107
108
109
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 107

def modifierExtension
  @modifierExtension
end

#useObject

0-1 Coding



109
110
111
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 109

def use
  @use
end

#valueObject

1-1 string



110
111
112
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 110

def value
  @value
end