// @generated by openehr-codegen from BMM (`BMM_ROUTINE`) — DO NOT EDIT.
//! The openEHR `BMM_ROUTINE` spec class, generated from the vendored BMM
//! meta-model.
use crate::bmm3::core::feature::bmm_function::BmmFunction;
use crate::bmm3::core::feature::bmm_procedure::BmmProcedure;
/// Closed subtype set of `BMM_ROUTINE`, dispatched on each payload's `_type`.
///
/// A feature defining a routine, scoped to a class.
#[doc(alias = "BMM_ROUTINE")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmRoutine {
/// The `BMM_FUNCTION` subtype of `BMM_ROUTINE`.
BmmFunction(Box<BmmFunction>),
/// The `BMM_PROCEDURE` subtype of `BMM_ROUTINE`.
BmmProcedure(BmmProcedure),
}