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

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', '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},
  'inactive' => {'type'=>'boolean', 'path'=>'Contains.inactive', '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},
  'designation' => {'type'=>'ValueSet::Compose::Include::Concept::Designation', 'path'=>'Contains.designation', 'min'=>0, 'max'=>Float::INFINITY},
  '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, #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

#abstractObject

0-1 boolean



228
229
230
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 228

def abstract
  @abstract
end

#codeObject

0-1 code



231
232
233
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 231

def code
  @code
end

#containsObject

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



234
235
236
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 234

def contains
  @contains
end

#designationObject

0-* [ ValueSet::Compose::Include::Concept::Designation ]



233
234
235
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 233

def designation
  @designation
end

#displayObject

0-1 string



232
233
234
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 232

def display
  @display
end

#extensionObject

0-* [ Extension ]



225
226
227
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 225

def extension
  @extension
end

#idObject

0-1 string



224
225
226
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 224

def id
  @id
end

#inactiveObject

0-1 boolean



229
230
231
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 229

def inactive
  @inactive
end

#modifierExtensionObject

0-* [ Extension ]



226
227
228
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 226

def modifierExtension
  @modifierExtension
end

#systemObject

0-1 uri



227
228
229
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 227

def system
  @system
end

#versionObject

0-1 string



230
231
232
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 230

def version
  @version
end