openehr-am 0.0.128

openEHR AM Archetype Model, generated from BMM: generations v1_4 (AM 1.4.0, ADL 1.4) and v2_4 (AM 2.4.0, ADL 2; current)
Documentation
// @generated by openehr-codegen from BMM (`P_BMM_PROPERTY`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v2_4::bmm_persistence::p_bmm_container_property::PBmmContainerProperty;
use crate::v2_4::bmm_persistence::p_bmm_generic_property::PBmmGenericProperty;
use crate::v2_4::bmm_persistence::p_bmm_single_property::PBmmSingleProperty;
use crate::v2_4::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),
}