Class: FHIR::DSTU2::AuditEvent

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

Defined Under Namespace

Classes: Event, Object, Participant, Source

Constant Summary collapse

SEARCH_PARAMS =
['action', 'address', 'altid', 'date', 'desc', 'identity', 'name', 'object-type', 'participant', 'patient', 'policy', 'reference', 'site', 'source', 'subtype', 'type', 'user']
METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'AuditEvent.id', 'min' => 0, 'max' => 1 },
  'meta' => { 'type' => 'Meta', 'path' => 'AuditEvent.meta', 'min' => 0, 'max' => 1 },
  'implicitRules' => { 'type' => 'uri', 'path' => 'AuditEvent.implicitRules', 'min' => 0, 'max' => 1 },
  'language' => { 'type' => 'code', 'path' => 'AuditEvent.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
  'text' => { 'type' => 'Narrative', 'path' => 'AuditEvent.text', 'min' => 0, 'max' => 1 },
  'contained' => { 'type' => 'Resource', 'path' => 'AuditEvent.contained', 'min' => 0, 'max' => Float::INFINITY },
  'extension' => { 'type' => 'Extension', 'path' => 'AuditEvent.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'AuditEvent.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'event' => { 'type' => 'AuditEvent::Event', 'path' => 'AuditEvent.event', 'min' => 1, 'max' => 1 },
  'participant' => { 'type' => 'AuditEvent::Participant', 'path' => 'AuditEvent.participant', 'min' => 1, 'max' => Float::INFINITY },
  'source' => { 'type' => 'AuditEvent::Source', 'path' => 'AuditEvent.source', 'min' => 1, 'max' => 1 },
  'object' => { 'type' => 'AuditEvent::Object', 'path' => 'AuditEvent.object', 'min' => 0, 'max' => Float::INFINITY }
}

Instance Attribute Summary collapse

Instance Method Summary collapse

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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model

Instance Attribute Details

#containedObject

0-* [ Resource ]



195
196
197
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 195

def contained
  @contained
end

#eventObject

1-1 AuditEvent::Event



198
199
200
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 198

def event
  @event
end

#extensionObject

0-* [ Extension ]



196
197
198
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 196

def extension
  @extension
end

#idObject

0-1 id



190
191
192
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 190

def id
  @id
end

#implicitRulesObject

0-1 uri



192
193
194
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 192

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



193
194
195
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 193

def language
  @language
end

#metaObject

0-1 Meta



191
192
193
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 191

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



197
198
199
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 197

def modifierExtension
  @modifierExtension
end

#objectObject

0-* [ AuditEvent::Object ]



201
202
203
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 201

def object
  @object
end

#participantObject

1-* [ AuditEvent::Participant ]



199
200
201
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 199

def participant
  @participant
end

#sourceObject

1-1 AuditEvent::Source



200
201
202
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 200

def source
  @source
end

#textObject

0-1 Narrative



194
195
196
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 194

def text
  @text
end

Instance Method Details

#resourceTypeObject



203
204
205
# File 'lib/fhir_dstu2_models/fhir/resources/AuditEvent.rb', line 203

def resourceType
  'AuditEvent'
end