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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
//! Parses the FHIR R5 "Data Elements" specification bundle, loaded from
//! `definitions/dataelements.json`, which is a FHIR `Bundle` resource whose entries hold the
//! `StructureDefinition`s for reusable data elements. The submodules here (`Bundle`, `Entry`,
//! `Resource`, `Element`, `Snapshot`, `Differential`, `Slicing`, `Discriminator`, and `Base`)
//! mirror the JSON shape of that bundle and its nested structure definitions, with each type
//! deriving `serde::Deserialize` so the raw specification file can be loaded directly into
//! Rust values. This parsed representation is the input that the crate's code generator walks
//! in order to emit the strongly typed FHIR data-element model used elsewhere in the crate,
//! making this module one stage in the overall specification-to-Rust generation pipeline.
// Namespace conveniences
pub static DIR: LazyLock =
new;
pub static DEFINITIONS_FILE: LazyLock =
new;
// Submodules
pub use Base;
pub use Bundle;
pub use Differential;
pub use Discriminator;
pub use Element;
pub use Entry;
pub use Resource;
pub use Slicing;
pub use Snapshot;