openehr-rm 0.0.128

openEHR RM Reference Model, generated from BMM: generations v1_1 (RM 1.1.0) and v1_2 (RM 1.2.0, current)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// @generated by openehr-codegen from BMM (`VIEW_ENTRY`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v1_1::common::archetyped::locatable::Locatable;
use crate::v1_1::composition::view::citation::Citation;

/// Closed subtype set of `VIEW_ENTRY`, dispatched on each payload's `_type`.
#[doc(alias = "VIEW_ENTRY")]
#[derive(Debug, Clone, PartialEq)]
pub enum ViewEntry {
    /// The `CITATION` subtype of `VIEW_ENTRY`.
    Citation(Citation<Locatable>),
}