openehr-lang 0.0.2

openEHR LANG 1.0.0: BMM/P_BMM object model (generated from BMM) plus a hand-written ODIN instance parser (the `odin` module — deliberately off the codegen path).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// @generated by openehr-codegen from BMM (`EXPR_LITERAL`) — DO NOT EDIT.

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

#![expect(
    clippy::disallowed_types,
    reason = "adjudicated free-form JSON slots: serde_json::Value is workspace-banned (#1694); a generated carrier exists only where the spec leaves the slot open, and each adjudicated field's NOTE names its citation"
)]
/// Literal value expression tree leaf item. This can represent a literal value of any primitive type included in the `PRIMITIVE_TYPE` enumeration.
#[doc(alias = "EXPR_LITERAL")]
#[derive(Debug, Clone, PartialEq)]
pub struct ExprLiteral {
    /// A statically set constant value of a primitive type.
    pub item: serde_json::Value,
}