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
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-License-Identifier: BUSL-1.1
//! The identifiers a run offers as the subject reference of its EHR.
//!
//! `EHR_STATUS` is its own versioned object, and its `subject` is a
//! `PARTY_SELF` whose `external_ref` "can be used to contain a direct
//! reference to the subject in a demographic or identity service" (openEHR
//! RM EHR IM Release 1.1.0, the `EHR_STATUS` class). No composition node holds
//! it, so a `mappingCode` function that writes it hands its identifiers to
//! the run's [`crate::engine::outcome::Outcome::subject`] and the caller that
//! commits decides which one the CDR's `EHR_STATUS` takes. No specification
//! defines this channel: our own design.
/// One FHIR `Identifier` a run offers as the subject of its EHR.