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

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

Defined Under Namespace

Classes: Designation

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Concept.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Concept.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Concept.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'code' => { 'type' => 'code', 'path' => 'Concept.code', 'min' => 1, 'max' => 1 },
  'abstract' => { 'type' => 'boolean', 'path' => 'Concept.abstract', 'min' => 0, 'max' => 1 },
  'display' => { 'type' => 'string', 'path' => 'Concept.display', 'min' => 0, 'max' => 1 },
  'definition' => { 'type' => 'string', 'path' => 'Concept.definition', 'min' => 0, 'max' => 1 },
  'designation' => { 'type' => 'ValueSet::CodeSystem::Concept::Designation', 'path' => 'Concept.designation', 'min' => 0, 'max' => Float::INFINITY },
  'concept' => { 'type' => 'ValueSet::CodeSystem::Concept', 'path' => 'Concept.concept', 'min' => 0, 'max' => Float::INFINITY }
}

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

#abstractObject

0-1 boolean



117
118
119
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 117

def abstract
  @abstract
end

#codeObject

1-1 code



116
117
118
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 116

def code
  @code
end

#conceptObject

0-* [ ValueSet::CodeSystem::Concept ]



121
122
123
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 121

def concept
  @concept
end

#definitionObject

0-1 string



119
120
121
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 119

def definition
  @definition
end

#designationObject

0-* [ ValueSet::CodeSystem::Concept::Designation ]



120
121
122
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 120

def designation
  @designation
end

#displayObject

0-1 string



118
119
120
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 118

def display
  @display
end

#extensionObject

0-* [ Extension ]



114
115
116
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 114

def extension
  @extension
end

#idObject

0-1 id



113
114
115
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 113

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



115
116
117
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 115

def modifierExtension
  @modifierExtension
end