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 (`P_BMM_PROPERTY`) — DO NOT EDIT.

//! The openEHR `P_BMM_PROPERTY` spec class, generated from the vendored BMM
//! meta-model.

use crate::bmm_persistence::p_bmm_container_property::PBmmContainerProperty;
use crate::bmm_persistence::p_bmm_generic_property::PBmmGenericProperty;
use crate::bmm_persistence::p_bmm_single_property::PBmmSingleProperty;
use crate::bmm_persistence::p_bmm_single_property_open::PBmmSinglePropertyOpen;

/// Closed subtype set of `P_BMM_PROPERTY`, dispatched on each payload's `_type`.
///
/// Persistent form of `BMM_PROPERTY`.
#[doc(alias = "P_BMM_PROPERTY")]
#[derive(Debug, Clone, PartialEq)]
pub enum PBmmProperty {
    /// The `P_BMM_CONTAINER_PROPERTY` subtype of `P_BMM_PROPERTY`.
    PBmmContainerProperty(PBmmContainerProperty),
    /// The `P_BMM_GENERIC_PROPERTY` subtype of `P_BMM_PROPERTY`.
    PBmmGenericProperty(PBmmGenericProperty),
    /// The `P_BMM_SINGLE_PROPERTY` subtype of `P_BMM_PROPERTY`.
    PBmmSingleProperty(PBmmSingleProperty),
    /// The `P_BMM_SINGLE_PROPERTY_OPEN` subtype of `P_BMM_PROPERTY`.
    PBmmSinglePropertyOpen(PBmmSinglePropertyOpen),
}