// @generated by openehr-codegen from BMM (`BMM_VARIABLE`) — DO NOT EDIT.
//! The openEHR `BMM_VARIABLE` spec class, generated from the vendored BMM
//! meta-model.
use crate::bmm3::core::feature::bmm_local::BmmLocal;
use crate::bmm3::core::feature::bmm_parameter::BmmParameter;
use crate::bmm3::core::feature::bmm_result::BmmResult;
use crate::bmm3::core::feature::bmm_self::BmmSelf;
/// Closed subtype set of `BMM_VARIABLE`, dispatched on each payload's `_type`.
///
/// A routine-scoped formal element.
#[doc(alias = "BMM_VARIABLE")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmVariable {
/// The `BMM_LOCAL` subtype of `BMM_VARIABLE`.
BmmLocal(BmmLocal),
/// The `BMM_PARAMETER` subtype of `BMM_VARIABLE`.
BmmParameter(BmmParameter),
/// The `BMM_RESULT` subtype of `BMM_VARIABLE`.
BmmResult(BmmResult),
/// The `BMM_SELF` subtype of `BMM_VARIABLE`.
BmmSelf(BmmSelf),
}