// @generated by openehr-codegen from BMM (`EL_DECISION_TABLE`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0
//! The openEHR `EL_DECISION_TABLE` spec class, generated from the vendored BMM
//! meta-model.
use crate::v1_1::bmm3::expression::el_case_table::ElCaseTable;
use crate::v1_1::bmm3::expression::el_condition_chain::ElConditionChain;
/// Closed subtype set of `EL_DECISION_TABLE`, dispatched on each payload's `_type`.
///
/// Meta-type for decision tables. Generic on the meta-type of the `_result_` attribute of the branches, to allow specialised forms of if/else and case structures to be created.
#[doc(alias = "EL_DECISION_TABLE")]
#[derive(Debug, Clone, PartialEq)]
pub enum ElDecisionTable<T> {
/// The `EL_CASE_TABLE` subtype of `EL_DECISION_TABLE`.
ElCaseTable(ElCaseTable<T>),
/// The `EL_CONDITION_CHAIN` subtype of `EL_DECISION_TABLE`.
ElConditionChain(ElConditionChain<T>),
}