// @generated by openehr-codegen from BMM (`EL_CASE`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Vernum Projecten B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0
//! The openEHR `EL_CASE` spec class, generated from the vendored BMM
//! meta-model.
use crate::v2_4::aom2::constraint_model::c_object::CObject;
/// One branch of a Case table, consisting of a value constraint (the match criterion) and a result, of the generic parameter type T.
#[doc(alias = "EL_CASE")]
#[derive(Debug, Clone, PartialEq)]
pub struct ElCase<T> {
// inherited: EL_DECISION_BRANCH
/// Result expression of conditional, if its `_condition_` evaluates to True.
pub result: T,
/// Constraint on
pub value_constraint: CObject,
}