Class: FHIR::ExampleScenario::Process

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

Defined Under Namespace

Classes: Step

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Process.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Process.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Process.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'title' => {'type'=>'string', 'path'=>'Process.title', 'min'=>1, 'max'=>1},
  'description' => {'type'=>'markdown', 'path'=>'Process.description', 'min'=>0, 'max'=>1},
  'preConditions' => {'type'=>'markdown', 'path'=>'Process.preConditions', 'min'=>0, 'max'=>1},
  'postConditions' => {'type'=>'markdown', 'path'=>'Process.postConditions', 'min'=>0, 'max'=>1},
  'step' => {'type'=>'ExampleScenario::Process::Step', 'path'=>'Process.step', '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

#descriptionObject

0-1 markdown



230
231
232
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 230

def description
  @description
end

#extensionObject

0-* [ Extension ]



227
228
229
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 227

def extension
  @extension
end

#idObject

0-1 string



226
227
228
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 226

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



228
229
230
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 228

def modifierExtension
  @modifierExtension
end

#postConditionsObject

0-1 markdown



232
233
234
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 232

def postConditions
  @postConditions
end

#preConditionsObject

0-1 markdown



231
232
233
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 231

def preConditions
  @preConditions
end

#stepObject

0-* [ ExampleScenario::Process::Step ]



233
234
235
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 233

def step
  @step
end

#titleObject

1-1 string



229
230
231
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 229

def title
  @title
end