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 IHE audit trail, one feature per layer:
//!
//! - `atna`: Audit Trail and Node Authentication, the sending half of ITI-20
//! Record Audit Event (ITI TF-2 ยง3.20): the DICOM PS3.15 audit message over
//! syslog with TLS, the store-and-forward spool and the forwarder.
//! - `balp`: the Basic Audit Log Patterns, the FHIR R4 `AuditEvent` an IHE
//! FHIR transaction is audited as, sent over ITI-20's ATX: FHIR Feed
//! through the same spool and forwarder.
//!
//! Module `user` names whom an audited exchange is made for, a user an OAuth
//! 2.0 access token names, a local user, or the system itself, and compiles
//! with or without a feature. Module `redact` is the `Debug` rendering of a
//! value that may name a patient or carry a credential, and `fhir_base` the
//! URL of an interaction under a FHIR base. Module `escape` (with `atna` or
//! `balp`) is the escape every value of a written record goes through.
//!
//! The syslog sender is shown in the docs of `atna::repository` and a BALP
//! record sent over the FHIR Feed in those of `atna::feed`, each a compiled
//! example.
//!
//! The profiles are published at <https://profiles.ihe.net/ITI/>. The crate
//! depends on no application: it is the audit transactions as Rust, for any
//! caller.