Class: OpenehrRails::Rm::Version

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/openehr_rails/rm/version.rb

Overview

One version of a VERSIONED_COMPOSITION (immutable-append): points at the immutable composition graph snapshot for that version.

Constant Summary collapse

LIFECYCLE_COMPLETE =
'532'
LIFECYCLE_INCOMPLETE =
'553'
LIFECYCLE_DELETED =
'523'

Instance Method Summary collapse

Instance Method Details

#object_version_idObject



29
30
31
# File 'lib/openehr_rails/rm/version.rb', line 29

def object_version_id
  "#{versioned_object_uid}::#{system_id}::#{version_tree_id}"
end