| View: | Hide Browser | Browser on the left | Browser on the right | Dictionary |
| Report: | General Info | Attributes | Operations | Template Parameters | Relations | Constraints |
| Attributes | ||||
| Signature | Optionality | Multiplicity | Constant | Documentation |
| 1 | -- | Contribution in which this version was added. | ||
| 0..1 | -- | OpenPGP digital signature or digest of content committed in this Version. | ||
| Attributes from Associations | ||||
| Signature | Optionality | Multiplicity | Documentation | |
| commit_audit : AUDIT_DETAILS | 1 | -- | Audit trail corresponding to the committal of this version to the VERSION_REPOSITORY where it is currently located. | |
| attestations : Set<ATTESTATION> | 0..1 | 0..* | Set of attestations relating to this version. | |
| data : T | 0..1 | -- | The data being versioned. | |
| Template Parameters | ||
| Name | Type | Default Value |
| T | ||
| Operations | ||
| Signature | Constraints | Documentation |
| Constraints | ||
| Name | Expression | |
| Contribution_valid | inv: contribution <> Void and contribution.type.is_equal('CONTRIBUTION') | |
| Data_valid | inv: data <> Void | |
| Uid_valid | inv: uid <> Void | |
| Owner_id_valid | inv: owner_id <> Void and owner_id.value.is_equal(uid.object_id.value) | |
| Lifecycle_state_valid | inv: lifecycle_state <> Void and terminology( Term_id_openehr). codes_for_group_name(Group_id_version_lifecycle_state, 'en').has(lifecycle_state.defining_code) | |
| Commit_audit_valid | inv: commit_audit <> Void | |
| Create_audit_valid | inv: create_audit <> Void and create_audit = commit_audit | |
| Preceding_version_uid_validity | inv: uid.version_tree_id.is_first xor preceding_version_uid <> Void | |