openehr-am 0.0.78

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_GENERIC_PARAMETER`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Vernum Projecten B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use crate::v2_4::bmm::core::bmm_generic_parameter::BmmGenericParameter;

/// Persistent form of `BMM_GENERIC_PARAMETER`.
#[doc(alias = "P_BMM_GENERIC_PARAMETER")]
#[derive(Debug, Clone, PartialEq)]
pub struct PBmmGenericParameter {
    // inherited: P_BMM_MODEL_ELEMENT
    /// Optional documentation of this element.
    pub documentation: Option<String>,
    /// Name of the parameter, e.g. 'T' etc. Persisted attribute. Name is limited to 1 character, upper case.
    pub name: String,
    /// Optional conformance constraint - the name of a type to which a concrete substitution of this generic parameter must conform. Persisted attribute.
    pub conforms_to_type: Option<String>,
    /// `BMM_GENERIC_PARAMETER` created by `_create_bmm_generic_parameter_`.
    pub bmm_generic_parameter: Option<BmmGenericParameter>,
}