Class: FHIR::TestScript::Variable

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/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},
  'headerField' => {'type'=>'string', 'path'=>'Variable.headerField', '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, 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

#defaultValueObject

0-1 string



215
216
217
# File 'lib/fhir/resources/TestScript.rb', line 215

def defaultValue
  @defaultValue
end

#extensionObject

0-* [ Extension ]



212
213
214
# File 'lib/fhir/resources/TestScript.rb', line 212

def extension
  @extension
end

#headerFieldObject

0-1 string



216
217
218
# File 'lib/fhir/resources/TestScript.rb', line 216

def headerField
  @headerField
end

#idObject

0-1 string



211
212
213
# File 'lib/fhir/resources/TestScript.rb', line 211

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



213
214
215
# File 'lib/fhir/resources/TestScript.rb', line 213

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 string



214
215
216
# File 'lib/fhir/resources/TestScript.rb', line 214

def name
  @name
end

#pathObject

0-1 string



217
218
219
# File 'lib/fhir/resources/TestScript.rb', line 217

def path
  @path
end

#sourceIdObject

0-1 id



218
219
220
# File 'lib/fhir/resources/TestScript.rb', line 218

def sourceId
  @sourceId
end