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

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

Defined Under Namespace

Classes: Concept

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'id', 'path'=>'CodeSystem.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'CodeSystem.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'CodeSystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'system' => {'type'=>'uri', 'path'=>'CodeSystem.system', 'min'=>1, 'max'=>1},
  'version' => {'type'=>'string', 'path'=>'CodeSystem.version', 'min'=>0, 'max'=>1},
  'caseSensitive' => {'type'=>'boolean', 'path'=>'CodeSystem.caseSensitive', 'min'=>0, 'max'=>1},
  'concept' => {'type'=>'ValueSet::CodeSystem::Concept', 'path'=>'CodeSystem.concept', 'min'=>1, '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?, #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

#caseSensitiveObject

0-1 boolean



129
130
131
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 129

def caseSensitive
  @caseSensitive
end

#conceptObject

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



130
131
132
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 130

def concept
  @concept
end

#extensionObject

0-* [ Extension ]



125
126
127
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 125

def extension
  @extension
end

#idObject

0-1 id



124
125
126
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 124

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



126
127
128
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 126

def modifierExtension
  @modifierExtension
end

#systemObject

1-1 uri



127
128
129
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 127

def system
  @system
end

#versionObject

0-1 string



128
129
130
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 128

def version
  @version
end