Class: FHIR::ValueSet::Expansion::Parameter

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'value' => ['string', 'boolean', 'integer', 'decimal', 'uri', 'code', 'dateTime']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Parameter.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Parameter.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Parameter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'name' => {'type'=>'string', 'path'=>'Parameter.name', 'min'=>1, 'max'=>1},
  'valueString' => {'type'=>'string', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueBoolean' => {'type'=>'boolean', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueInteger' => {'type'=>'integer', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueDecimal' => {'type'=>'decimal', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueUri' => {'type'=>'uri', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueCode' => {'type'=>'code', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1},
  'valueDateTime' => {'type'=>'dateTime', 'path'=>'Parameter.value[x]', 'min'=>0, 'max'=>1}
}

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

#extensionObject

0-* [ Extension ]



193
194
195
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 193

def extension
  @extension
end

#idObject

0-1 string



192
193
194
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 192

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



194
195
196
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 194

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 string



195
196
197
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 195

def name
  @name
end

#valueBooleanObject

0-1 boolean



197
198
199
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 197

def valueBoolean
  @valueBoolean
end

#valueCodeObject

0-1 code



201
202
203
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 201

def valueCode
  @valueCode
end

#valueDateTimeObject

0-1 dateTime



202
203
204
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 202

def valueDateTime
  @valueDateTime
end

#valueDecimalObject

0-1 decimal



199
200
201
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 199

def valueDecimal
  @valueDecimal
end

#valueIntegerObject

0-1 integer



198
199
200
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 198

def valueInteger
  @valueInteger
end

#valueStringObject

0-1 string



196
197
198
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 196

def valueString
  @valueString
end

#valueUriObject

0-1 uri



200
201
202
# File 'lib/fhir_models/fhir/resources/ValueSet.rb', line 200

def valueUri
  @valueUri
end