openehr-lang 0.0.128

openEHR LANG BMM/P_BMM object model, generated from BMM: generations v1_0 (LANG 1.0.0) and v1_1 (LANG 1.1.0, current; the stable BMM v2.x unit beside the paused BMM3 unit), plus hand-written ODIN/BEL/EL readers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// @generated by openehr-codegen from BMM (`EL_LITERAL`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v1_0::bmm::core::literal_value::bmm_literal_value::BmmLiteralValue;

/// Literal value of any type known in the model, including primitive types. Defined via a `BMM_LITERAL_VALUE`.
#[doc(alias = "EL_LITERAL")]
#[derive(Debug, Clone, PartialEq)]
pub struct ElLiteral {
    /// The reference item from which the value of this node can be computed.
    pub value: BmmLiteralValue,
}