openehr-lang 0.0.78

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

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

use crate::v1_0::bmm_persistence::p_bmm_schema_descriptor::PBmmSchemaDescriptor;

/// Closed subtype set of `BMM_SCHEMA_DESCRIPTOR`, dispatched on each payload's `_type`.
///
/// Descriptor for a BMM schema. Contains a meta-data table of attributes obtained from a mini-ODIN parse of the  schema file.
#[doc(alias = "BMM_SCHEMA_DESCRIPTOR")]
#[derive(Debug, Clone, PartialEq)]
pub enum BmmSchemaDescriptor {
    /// The `P_BMM_SCHEMA_DESCRIPTOR` subtype of `BMM_SCHEMA_DESCRIPTOR`.
    PBmmSchemaDescriptor(PBmmSchemaDescriptor),
}