Class: FHIR::ValueSet::Compose::Include

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

Defined Under Namespace

Classes: Concept, Filter

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'id', 'path'=>'Include.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Include.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Include.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'system' => {'type'=>'uri', 'path'=>'Include.system', 'min'=>1, 'max'=>1},
  'version' => {'type'=>'string', 'path'=>'Include.version', 'min'=>0, 'max'=>1},
  'concept' => {'type'=>'ValueSet::Compose::Include::Concept', 'path'=>'Include.concept', 'min'=>0, 'max'=>Float::INFINITY},
  'filter' => {'type'=>'ValueSet::Compose::Include::Filter', 'path'=>'Include.filter', '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

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

#conceptObject

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



157
158
159
# File 'lib/fhir/resources/ValueSet.rb', line 157

def concept
  @concept
end

#extensionObject

0-* [ Extension ]



153
154
155
# File 'lib/fhir/resources/ValueSet.rb', line 153

def extension
  @extension
end

#filterObject

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



158
159
160
# File 'lib/fhir/resources/ValueSet.rb', line 158

def filter
  @filter
end

#idObject

0-1 id



152
153
154
# File 'lib/fhir/resources/ValueSet.rb', line 152

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



154
155
156
# File 'lib/fhir/resources/ValueSet.rb', line 154

def modifierExtension
  @modifierExtension
end

#systemObject

1-1 uri



155
156
157
# File 'lib/fhir/resources/ValueSet.rb', line 155

def system
  @system
end

#versionObject

0-1 string



156
157
158
# File 'lib/fhir/resources/ValueSet.rb', line 156

def version
  @version
end