1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// @generated by openehr-codegen from BMM (`P_C_TERMINOLOGY_CODE`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0
//! The openEHR `P_C_TERMINOLOGY_CODE` spec class, generated from the vendored BMM
//! meta-model.
use TerminologyCode;
/// Constrainer type for instances of TERMINOLOGY_CODE.
///
/// The primary expression of the constraint is in the property \`tuple_constraint', and comes in 3 variations:
/// * a single at-code
/// * a single ac-code, representing a value-set that is defined in the archetype terminology
/// * a list of at- and/or ac-codes, representing the possibilities of a tuple constraint
/// The last possibility above is enabled by the merge_tuple routine, which enables the constraint of another single-valued C_TERMINOLOGY_CODE to be merged with the current one.