Class: FHIR::ExampleScenario::Process::Step::Operation

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Operation.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Operation.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Operation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'number' => {'type'=>'string', 'path'=>'Operation.number', 'min'=>1, 'max'=>1},
  'type' => {'type'=>'string', 'path'=>'Operation.type', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'Operation.name', 'min'=>0, 'max'=>1},
  'initiator' => {'type'=>'string', 'path'=>'Operation.initiator', 'min'=>0, 'max'=>1},
  'receiver' => {'type'=>'string', 'path'=>'Operation.receiver', 'min'=>0, 'max'=>1},
  'description' => {'type'=>'markdown', 'path'=>'Operation.description', 'min'=>0, 'max'=>1},
  'initiatorActive' => {'type'=>'boolean', 'path'=>'Operation.initiatorActive', 'min'=>0, 'max'=>1},
  'receiverActive' => {'type'=>'boolean', 'path'=>'Operation.receiverActive', 'min'=>0, 'max'=>1},
  'request' => {'type'=>'ExampleScenario::Instance::ContainedInstance', 'path'=>'Operation.request', 'min'=>0, 'max'=>1},
  'response' => {'type'=>'ExampleScenario::Instance::ContainedInstance', 'path'=>'Operation.response', '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

#descriptionObject

0-1 markdown



188
189
190
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 188

def description
  @description
end

#extensionObject

0-* [ Extension ]



181
182
183
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 181

def extension
  @extension
end

#idObject

0-1 string



180
181
182
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 180

def id
  @id
end

#initiatorObject

0-1 string



186
187
188
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 186

def initiator
  @initiator
end

#initiatorActiveObject

0-1 boolean



189
190
191
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 189

def initiatorActive
  @initiatorActive
end

#modifierExtensionObject

0-* [ Extension ]



182
183
184
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 182

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



185
186
187
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 185

def name
  @name
end

#numberObject

1-1 string



183
184
185
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 183

def number
  @number
end

#receiverObject

0-1 string



187
188
189
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 187

def receiver
  @receiver
end

#receiverActiveObject

0-1 boolean



190
191
192
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 190

def receiverActive
  @receiverActive
end

#requestObject

0-1 ExampleScenario::Instance::ContainedInstance



191
192
193
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 191

def request
  @request
end

#responseObject

0-1 ExampleScenario::Instance::ContainedInstance



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

def response
  @response
end

#typeObject

0-1 string



184
185
186
# File 'lib/fhir_models/fhir/resources/ExampleScenario.rb', line 184

def type
  @type
end