// @generated by openehr-codegen from BMM (`BMM_WRITABLE_VARIABLE`) — DO NOT EDIT.
//! The openEHR `BMM_WRITABLE_VARIABLE` spec class, generated from the vendored BMM
//! meta-model.
use crate::bmm3::core::feature::bmm_local::BmmLocal;
use crate::bmm3::core::feature::bmm_result::BmmResult;
/// Closed subtype set of `BMM_WRITABLE_VARIABLE`, dispatched on each payload's `_type`.
///
/// Meta-type for writable variables, including the special variable `Result`.
#[doc(alias = "BMM_WRITABLE_VARIABLE")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmWritableVariable {
/// The `BMM_LOCAL` subtype of `BMM_WRITABLE_VARIABLE`.
BmmLocal(BmmLocal),
/// The `BMM_RESULT` subtype of `BMM_WRITABLE_VARIABLE`.
BmmResult(BmmResult),
}