Class: FHIR::ValueSet::Compose

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

Defined Under Namespace

Classes: Include

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Compose.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Compose.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Compose.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'import' => {'type'=>'uri', 'path'=>'Compose.import', 'min'=>0, 'max'=>Float::INFINITY},
  'include' => {'type'=>'ValueSet::Compose::Include', 'path'=>'Compose.include', 'min'=>0, 'max'=>Float::INFINITY},
  'exclude' => {'type'=>'ValueSet::Compose::Include', 'path'=>'Compose.exclude', 'min'=>0, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, is_valid?, #to_xml, validate

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?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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

#excludeObject

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



166
167
168
# File 'lib/fhir/resources/ValueSet.rb', line 166

def exclude
  @exclude
end

#extensionObject

0-* [ Extension ]



162
163
164
# File 'lib/fhir/resources/ValueSet.rb', line 162

def extension
  @extension
end

#idObject

0-1 string



161
162
163
# File 'lib/fhir/resources/ValueSet.rb', line 161

def id
  @id
end

#importObject

0-* [ uri ]



164
165
166
# File 'lib/fhir/resources/ValueSet.rb', line 164

def import
  @import
end

#includeObject

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



165
166
167
# File 'lib/fhir/resources/ValueSet.rb', line 165

def include
  @include
end

#modifierExtensionObject

0-* [ Extension ]



163
164
165
# File 'lib/fhir/resources/ValueSet.rb', line 163

def modifierExtension
  @modifierExtension
end