Class: OpenEHR::RM::Common::Generic::Attestation

Inherits:
AuditDetails
  • Object
show all
Defined in:
lib/open_ehr/rm/common/generic.rb

Instance Attribute Summary collapse

Attributes inherited from AuditDetails

#change_type, #committer, #description, #system_id, #time_committed

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ Attestation

Returns a new instance of Attestation.



188
189
190
191
192
193
194
195
# File 'lib/open_ehr/rm/common/generic.rb', line 188

def initialize(args = { })
  super(args)
  self.reason = args[:reason]
  self.proof = args[:proof]
  self.items = args[:items]
  self.attested_view = args[:attested_view]
  self.is_pending = args[:is_pending]
end

Instance Attribute Details

#attested_viewObject

Returns the value of attribute attested_view.



186
187
188
# File 'lib/open_ehr/rm/common/generic.rb', line 186

def attested_view
  @attested_view
end

#is_pendingObject

Returns the value of attribute is_pending.



186
187
188
# File 'lib/open_ehr/rm/common/generic.rb', line 186

def is_pending
  @is_pending
end

#itemsObject

Returns the value of attribute items.



186
187
188
# File 'lib/open_ehr/rm/common/generic.rb', line 186

def items
  @items
end

#proofObject

Returns the value of attribute proof.



186
187
188
# File 'lib/open_ehr/rm/common/generic.rb', line 186

def proof
  @proof
end

#reasonObject

Returns the value of attribute reason.



185
186
187
# File 'lib/open_ehr/rm/common/generic.rb', line 185

def reason
  @reason
end

Instance Method Details

#is_pending?Boolean

Returns:

  • (Boolean)


209
210
211
# File 'lib/open_ehr/rm/common/generic.rb', line 209

def is_pending?
  return is_pending
end