// @generated by openehr-codegen from BMM (`BMM_MODULE`) — DO NOT EDIT.
//! The openEHR `BMM_MODULE` spec class, generated from the vendored BMM
//! meta-model.
use crate::bmm3::core::entity::bmm_generic_class::BmmGenericClass;
use crate::bmm3::core::entity::bmm_simple_class::BmmSimpleClass;
/// Closed subtype set of `BMM_MODULE`, dispatched on each payload's `_type`.
///
/// Meta-type defining a generalised module concept. Descendants define actual structure and contents.
#[doc(alias = "BMM_MODULE")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmModule {
/// The `BMM_GENERIC_CLASS` subtype of `BMM_MODULE`.
BmmGenericClass(BmmGenericClass),
/// The `BMM_SIMPLE_CLASS` subtype of `BMM_MODULE`.
BmmSimpleClass(BmmSimpleClass),
}