openehr-rm 0.0.4

openEHR RM 1.2.0 Reference Model, generated from BMM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// @generated by openehr-codegen from BMM (`REVISION_HISTORY`) — DO NOT EDIT.
// Hand-written spec functions/invariants live in the sibling `*_impl.rs`.

//! The openEHR `REVISION_HISTORY` spec class, generated from the vendored BMM
//! meta-model.

use crate::common::generic::revision_history_item::RevisionHistoryItem;

/// Purpose Defines the notion of a revision history of audit items, each associated with the version for which that audit was committed. The list is in most-recent-first order.
#[doc(alias = "REVISION_HISTORY")]
#[derive(Debug, Clone, PartialEq)]
pub struct RevisionHistory {
    /// The items in this history in most-recent-last order.
    pub items: openehr_base::containers::NonEmptyVec<RevisionHistoryItem>,
}