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

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

use crate::bmm3::core::feature::bmm_feature::BmmFeature;
use crate::bmm3::core::feature::bmm_visibility::BmmVisibility;

/// A logical group of features, with a name and set of properties that applies to the group.
#[doc(alias = "BMM_FEATURE_GROUP")]
#[derive(Debug, Clone, PartialEq)]
pub struct BmmFeatureGroup {
    /// Name of this feature group; defaults to 'feature'.
    pub name: String,
    /// Set of properties of this group, represented as name/value pairs. These are understood to apply logically to all of the features contained within the group.
    pub properties: std::collections::BTreeMap<String, String>,
    /// Set of features in this group.
    pub features: Option<Vec<BmmFeature>>,
    /// Optional visibility to apply to all features in this group.
    pub visibility: Option<BmmVisibility>,
}