openehr-rm 0.0.128

openEHR RM Reference Model, generated from BMM: generations v1_1 (RM 1.1.0) and v1_2 (RM 1.2.0, 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 (`PARTY_SELF`) — DO NOT EDIT.
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-FileCopyrightText: openEHR Foundation
// SPDX-License-Identifier: Apache-2.0

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

use openehr_base::v1_2::base_types::identification::party_ref::PartyRef;

/// Party proxy representing the subject of the record. Used to indicate that the party is the owner of the record. May or may not have `_external_ref_` set.
#[doc(alias = "PARTY_SELF")]
#[derive(Debug, Clone, PartialEq)]
pub struct PartySelf {
    // inherited: PARTY_PROXY
    /// Optional reference to more detailed demographic or identification information for this party, in an external system.
    pub external_ref: Option<PartyRef>,
}