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

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

use crate::bmm_persistence::p_bmm_container_function_parameter::PBmmContainerFunctionParameter;
use crate::bmm_persistence::p_bmm_generic_function_parameter::PBmmGenericFunctionParameter;
use crate::bmm_persistence::p_bmm_single_function_parameter::PBmmSingleFunctionParameter;
use crate::bmm_persistence::p_bmm_single_function_parameter_open::PBmmSingleFunctionParameterOpen;

/// Closed subtype set of `P_BMM_FUNCTION_PARAMETER`, dispatched on each payload's `_type`.
///
/// Persistent form of a BMM function (routine) parameter; abstract parent of the concrete persisted parameter kinds.
#[doc(alias = "P_BMM_FUNCTION_PARAMETER")]
#[derive(Debug, Clone, PartialEq)]
pub enum PBmmFunctionParameter {
    /// The `P_BMM_CONTAINER_FUNCTION_PARAMETER` subtype of `P_BMM_FUNCTION_PARAMETER`.
    PBmmContainerFunctionParameter(PBmmContainerFunctionParameter),
    /// The `P_BMM_GENERIC_FUNCTION_PARAMETER` subtype of `P_BMM_FUNCTION_PARAMETER`.
    PBmmGenericFunctionParameter(PBmmGenericFunctionParameter),
    /// The `P_BMM_SINGLE_FUNCTION_PARAMETER` subtype of `P_BMM_FUNCTION_PARAMETER`.
    PBmmSingleFunctionParameter(PBmmSingleFunctionParameter),
    /// The `P_BMM_SINGLE_FUNCTION_PARAMETER_OPEN` subtype of `P_BMM_FUNCTION_PARAMETER`.
    PBmmSingleFunctionParameterOpen(PBmmSingleFunctionParameterOpen),
}