Class: OpenEHR::RM::Common::ChangeControl::OriginalVersion
- Defined in:
- lib/open_ehr/rm/common/change_control.rb
Instance Attribute Summary collapse
-
#attestations ⇒ Object
Returns the value of attribute attestations.
-
#other_input_version_uids ⇒ Object
Returns the value of attribute other_input_version_uids.
Attributes inherited from Version
#commit_audit, #contribution, #data, #lifecycle_state, #preceding_version_uid, #signature, #uid
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ OriginalVersion
constructor
A new instance of OriginalVersion.
- #is_merged? ⇒ Boolean
Methods inherited from Version
#canonical_form, #is_branch?, #lifcycle_state=, #owner_id
Constructor Details
#initialize(args = { }) ⇒ OriginalVersion
Returns a new instance of OriginalVersion.
136 137 138 139 140 |
# File 'lib/open_ehr/rm/common/change_control.rb', line 136 def initialize(args = { }) super(args) self.attestations = args[:attestations] self.other_input_version_uids = args[:other_input_version_uids] end |
Instance Attribute Details
#attestations ⇒ Object
Returns the value of attribute attestations.
134 135 136 |
# File 'lib/open_ehr/rm/common/change_control.rb', line 134 def attestations @attestations end |
#other_input_version_uids ⇒ Object
Returns the value of attribute other_input_version_uids.
134 135 136 |
# File 'lib/open_ehr/rm/common/change_control.rb', line 134 def other_input_version_uids @other_input_version_uids end |
Instance Method Details
#is_merged? ⇒ Boolean
156 157 158 |
# File 'lib/open_ehr/rm/common/change_control.rb', line 156 def is_merged? return !other_input_version_uids.nil? end |