openehr-lang 0.0.128

openEHR LANG BMM/P_BMM object model, generated from BMM: generations v1_0 (LANG 1.0.0) and v1_1 (LANG 1.1.0, current; the stable BMM v2.x unit beside the paused BMM3 unit), plus hand-written ODIN/BEL/EL readers
Documentation
// @generated by openehr-codegen from BMM (`BMM_STATEMENT`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v1_1::bmm3::statement::bmm_action_table::BmmActionTable;
use crate::v1_1::bmm3::statement::bmm_assertion::BmmAssertion;
use crate::v1_1::bmm3::statement::bmm_assignment::BmmAssignment;
use crate::v1_1::bmm3::statement::bmm_declaration::BmmDeclaration;
use crate::v1_1::bmm3::statement::bmm_procedure_call::BmmProcedureCall;

/// Closed subtype set of `BMM_STATEMENT`, dispatched on each payload's `_type`.
///
/// Abstract parent of 'statement' types that may be defined to implement BMM Routines.
#[doc(alias = "BMM_STATEMENT")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmStatement {
    /// The `BMM_ACTION_TABLE` subtype of `BMM_STATEMENT`.
    BmmActionTable(BmmActionTable),
    /// The `BMM_ASSERTION` subtype of `BMM_STATEMENT`.
    BmmAssertion(BmmAssertion),
    /// The `BMM_ASSIGNMENT` subtype of `BMM_STATEMENT`.
    BmmAssignment(BmmAssignment),
    /// The `BMM_DECLARATION` subtype of `BMM_STATEMENT`.
    BmmDeclaration(BmmDeclaration),
    /// The `BMM_PROCEDURE_CALL` subtype of `BMM_STATEMENT`.
    BmmProcedureCall(BmmProcedureCall),
}