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
45
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-License-Identifier: BUSL-1.1
//! openEHR **Simplified Formats**: FLAT and STRUCTURED data instances and
//! the Web Template model.
//!
//! The wire authority is the ITS-REST Simplified Formats specification
//! (`docs/specs/openehr/ITS-REST/docs/simplified_formats/`, STABLE):
//! field-identifier syntax and node-id generation (`master04`), the
//! per-RM-type mapping tables (`master05`), the `ctx/` context vocabulary
//! (`master06`), and the FLAT ↔ STRUCTURED conversion algorithms
//! (`master04 §Conversion Between Formats`). Media types
//! (`master02 §MIME Types`): `application/openehr.wt.flat+json`,
//! `application/openehr.wt.structured+json`, and (for the template
//! resource) `application/openehr.wt+json`.
//!
//! Both wire variants are codecs over one internal tree ([`sim::SimNode`]);
//! the template-driven RM conversion is written once against it.
//!
//! Doc prose here is dense with openEHR spec class names (`COMPOSITION`,
//! `DV_QUANTITY`, `PARTY_IDENTIFIED`, …); backticking every occurrence is
//! noise, so `clippy::doc_markdown` is allowed module-wide.
// The WebTemplate cache is the crate's only `moka` user, and a browser-side
// consumer of the Simplified Formats keeps no such cache.
pub
pub
pub
pub