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
//! Code generator module for the FHIR R5 "concept maps" specification bundle.
//!
//! This module parses `conceptmaps.json`, the official FHIR R5 definitions file that
//! contains the `ConceptMap` example bundle, and drives generation of the corresponding
//! Rust source types. The JSON is deserialized into a `Bundle` of `Entry` values, each
//! wrapping a `Resource` (a `ConceptMap`) built from nested `Group`, `Element`, `Unmapped`,
//! and other structures declared in the submodules below. As part of the broader generation
//! pipeline under `src/r5/parse`, this module's output is used to emit or validate the
//! statically typed representations found under `src/r5/types` for concept maps.
// Namespace conveniences
pub static DIR: LazyLock =
new;
pub static DEFINITIONS_FILE: LazyLock =
new;
// Submodules
pub use Base;
pub use Bundle;
pub use Element;
pub use Entry;
pub use Group;
pub use Resource;
pub use Unmapped;
pub use UseContext;