Class: FHIR::TestScript::Variable

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Variable.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Variable.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Variable.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'name' => {'type'=>'string', 'path'=>'Variable.name', 'min'=>1, 'max'=>1},
  'defaultValue' => {'type'=>'string', 'path'=>'Variable.defaultValue', 'min'=>0, 'max'=>1},
  'description' => {'type'=>'string', 'path'=>'Variable.description', 'min'=>0, 'max'=>1},
  'expression' => {'type'=>'string', 'path'=>'Variable.expression', 'min'=>0, 'max'=>1},
  'headerField' => {'type'=>'string', 'path'=>'Variable.headerField', 'min'=>0, 'max'=>1},
  'hint' => {'type'=>'string', 'path'=>'Variable.hint', 'min'=>0, 'max'=>1},
  'path' => {'type'=>'string', 'path'=>'Variable.path', 'min'=>0, 'max'=>1},
  'sourceId' => {'type'=>'id', 'path'=>'Variable.sourceId', '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

#defaultValueObject

0-1 string



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

def defaultValue
  @defaultValue
end

#descriptionObject

0-1 string



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

def description
  @description
end

#expressionObject

0-1 string



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

def expression
  @expression
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#headerFieldObject

0-1 string



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

def headerField
  @headerField
end

#hintObject

0-1 string



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

def hint
  @hint
end

#idObject

0-1 string



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

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 string



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

def name
  @name
end

#pathObject

0-1 string



203
204
205
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 203

def path
  @path
end

#sourceIdObject

0-1 id



204
205
206
# File 'lib/fhir_models/fhir/resources/TestScript.rb', line 204

def sourceId
  @sourceId
end