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
// @generated by openehr-codegen from BMM (`BMM_READONLY_VARIABLE`) — DO NOT EDIT.

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

use crate::bmm3::core::feature::bmm_parameter::BmmParameter;
use crate::bmm3::core::feature::bmm_self::BmmSelf;

/// Closed subtype set of `BMM_READONLY_VARIABLE`, dispatched on each payload's `_type`.
///
/// Meta-type for writable variables, including routine parameters and the special variable `Self`.
#[doc(alias = "BMM_READONLY_VARIABLE")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmReadonlyVariable {
    /// The `BMM_PARAMETER` subtype of `BMM_READONLY_VARIABLE`.
    BmmParameter(BmmParameter),
    /// The `BMM_SELF` subtype of `BMM_READONLY_VARIABLE`.
    BmmSelf(BmmSelf),
}