openehr-lang 0.0.78

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
// @generated by openehr-codegen from BMM (`OP_DEF_EXAMPLE`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Vernum Projecten B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

//! The openEHR `OP_DEF_EXAMPLE` 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"
)]
/// Example custom operator definition as a class, for an operator whose identifier is 'xxx' and for which the symbols "xxx" and "%" can be used, and with a two-argument numeric signature.
#[doc(alias = "OP_DEF_EXAMPLE")]
#[derive(Debug, Clone, PartialEq)]
pub struct OpDefExample {
    /// The `evaluation_agent` attribute of openEHR `OP_DEF_EXAMPLE` (the vendored BMM carries no documentation for it).
    pub evaluation_agent: serde_json::Value,
    /// The `identifier` attribute of openEHR `OP_DEF_EXAMPLE` (the vendored BMM carries no documentation for it).
    pub identifier: String,
    /// The `symbols` attribute of openEHR `OP_DEF_EXAMPLE` (the vendored BMM carries no documentation for it).
    pub symbols: Option<Vec<String>>,
}