Class: FHIR::ValueSet::Expansion

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

Defined Under Namespace

Classes: Contains, Parameter

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Expansion.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Expansion.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Expansion.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'uri', 'path'=>'Expansion.identifier', 'min'=>0, 'max'=>1},
  'timestamp' => {'type'=>'dateTime', 'path'=>'Expansion.timestamp', 'min'=>1, 'max'=>1},
  'total' => {'type'=>'integer', 'path'=>'Expansion.total', 'min'=>0, 'max'=>1},
  'offset' => {'type'=>'integer', 'path'=>'Expansion.offset', 'min'=>0, 'max'=>1},
  'parameter' => {'type'=>'ValueSet::Expansion::Parameter', 'path'=>'Expansion.parameter', 'min'=>0, 'max'=>Float::INFINITY},
  'contains' => {'type'=>'ValueSet::Expansion::Contains', 'path'=>'Expansion.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

#containsObject

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



245
246
247
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 245

def contains
  @contains
end

#extensionObject

0-* [ Extension ]



238
239
240
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 238

def extension
  @extension
end

#idObject

0-1 string



237
238
239
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 237

def id
  @id
end

#identifierObject

0-1 uri



240
241
242
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 240

def identifier
  @identifier
end

#modifierExtensionObject

0-* [ Extension ]



239
240
241
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 239

def modifierExtension
  @modifierExtension
end

#offsetObject

0-1 integer



243
244
245
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 243

def offset
  @offset
end

#parameterObject

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



244
245
246
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 244

def parameter
  @parameter
end

#timestampObject

1-1 dateTime



241
242
243
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 241

def timestamp
  @timestamp
end

#totalObject

0-1 integer



242
243
244
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 242

def total
  @total
end