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

Inherits:
AuditDetails
  • Object
show all
Defined in:
lib/openehr/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.



186
187
188
189
190
191
192
193
# File 'lib/openehr/rm/common/generic.rb', line 186

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.



184
185
186
# File 'lib/openehr/rm/common/generic.rb', line 184

def attested_view
  @attested_view
end

#is_pendingObject

Returns the value of attribute is_pending.



184
185
186
# File 'lib/openehr/rm/common/generic.rb', line 184

def is_pending
  @is_pending
end

#itemsObject

Returns the value of attribute items.



184
185
186
# File 'lib/openehr/rm/common/generic.rb', line 184

def items
  @items
end

#proofObject

Returns the value of attribute proof.



184
185
186
# File 'lib/openehr/rm/common/generic.rb', line 184

def proof
  @proof
end

#reasonObject

Returns the value of attribute reason.



183
184
185
# File 'lib/openehr/rm/common/generic.rb', line 183

def reason
  @reason
end

Instance Method Details

#is_pending?Boolean

Returns:

  • (Boolean)


207
208
209
# File 'lib/openehr/rm/common/generic.rb', line 207

def is_pending?
  return is_pending
end