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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// @generated by openehr-codegen from BMM (`VALUE_SET`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

/// Representation of a flat value set within the archetype terminology.
#[doc(alias = "VALUE_SET")]
#[derive(Debug, Clone, PartialEq)]
pub struct ValueSet {
    // inherited: TERMINOLOGY_RELATION
    /// Code of source term of this relation.
    pub id: String,
    /// List of target terms in this relation.
    pub members: openehr_base::containers::NonEmptyVec<String>,
}