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_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),
}