openehr-am 0.0.128

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

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

use crate::v2_4::aom2::rm_overlay::rm_attribute_visibility::RmAttributeVisibility;

/// The openEHR `RM_OVERLAY` class.
///
/// Container object for archetype statements relating to RM attributes, which may be directly on objects constrained within the archetype, or at deeper non-constrained RM paths from an object or the root.
#[doc(alias = "RM_OVERLAY")]
#[derive(Debug, Clone, PartialEq)]
pub struct RmOverlay {
    /// Optional structure in which visibility and aliasing of reference model elements can be specified.
    ///
    /// Key is path to an RM attribute, which is typically formed from a path to an archetyped node concatenated with a further pure RM attribute path; may also refer to a non-archetyped attribute.
    pub rm_visibility: Option<std::collections::BTreeMap<String, RmAttributeVisibility>>,
}