Class: FHIR::DSTU2::ValueSet::Expansion::Contains

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' => 'Contains.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Contains.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Contains.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'system' => { 'type' => 'uri', 'path' => 'Contains.system', 'min' => 0, 'max' => 1 },
  'abstract' => { 'type' => 'boolean', 'path' => 'Contains.abstract', 'min' => 0, 'max' => 1 },
  'version' => { 'type' => 'string', 'path' => 'Contains.version', 'min' => 0, 'max' => 1 },
  'code' => { 'type' => 'code', 'path' => 'Contains.code', 'min' => 0, 'max' => 1 },
  'display' => { 'type' => 'string', 'path' => 'Contains.display', 'min' => 0, 'max' => 1 },
  'contains' => { 'type' => 'ValueSet::Expansion::Contains', 'path' => 'Contains.contains', '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



294
295
296
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 294

def abstract
  @abstract
end

#codeObject

0-1 code



296
297
298
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 296

def code
  @code
end

#containsObject

0-* [ ValueSet::Expansion::Contains ]



298
299
300
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 298

def contains
  @contains
end

#displayObject

0-1 string



297
298
299
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 297

def display
  @display
end

#extensionObject

0-* [ Extension ]



291
292
293
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 291

def extension
  @extension
end

#idObject

0-1 id



290
291
292
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 290

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



292
293
294
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 292

def modifierExtension
  @modifierExtension
end

#systemObject

0-1 uri



293
294
295
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 293

def system
  @system
end

#versionObject

0-1 string



295
296
297
# File 'lib/fhir_dstu2_models/fhir/resources/ValueSet.rb', line 295

def version
  @version
end