Class: FHIR::TestScript::Variable
- 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
-
#defaultValue ⇒ Object
0-1 string.
-
#extension ⇒ Object
0-* [ Extension ].
-
#headerField ⇒ Object
0-1 string.
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#name ⇒ Object
1-1 string.
-
#path ⇒ Object
0-1 string.
-
#sourceId ⇒ Object
0-1 id.
Method Summary
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
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
#defaultValue ⇒ Object
0-1 string
215 216 217 |
# File 'lib/fhir/resources/TestScript.rb', line 215 def defaultValue @defaultValue end |
#extension ⇒ Object
0-* [ Extension ]
212 213 214 |
# File 'lib/fhir/resources/TestScript.rb', line 212 def extension @extension end |
#headerField ⇒ Object
0-1 string
216 217 218 |
# File 'lib/fhir/resources/TestScript.rb', line 216 def headerField @headerField end |
#id ⇒ Object
0-1 string
211 212 213 |
# File 'lib/fhir/resources/TestScript.rb', line 211 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
213 214 215 |
# File 'lib/fhir/resources/TestScript.rb', line 213 def modifierExtension @modifierExtension end |
#name ⇒ Object
1-1 string
214 215 216 |
# File 'lib/fhir/resources/TestScript.rb', line 214 def name @name end |
#path ⇒ Object
0-1 string
217 218 219 |
# File 'lib/fhir/resources/TestScript.rb', line 217 def path @path end |
#sourceId ⇒ Object
0-1 id
218 219 220 |
# File 'lib/fhir/resources/TestScript.rb', line 218 def sourceId @sourceId end |