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
79
//! Parser for the FHIR R5 "search-parameters.json" definitions bundle, one of the
//! official FHIR specification conformance resources published alongside the R5
//! release. The bundle is a FHIR `Bundle` whose entries wrap `SearchParameter`
//! resources describing every search parameter defined by the base FHIR
//! specification, and this module deserializes that JSON directly into typed
//! structures (`Bundle`, `Entry`, `Resource`, `Snapshot`, `Element`, and related
//! submodules) via `serde_json`. Those typed structures are then walked by the
//! code generator to emit corresponding Rust source, most notably struct
//! attributes produced by `element_into_rust_struct_attribute`, so that search
//! parameter metadata becomes part of the generated `fhir` crate output. As
//! such, this module is one of many per-resource parsing modules that make up
//! the larger generation pipeline turning the official FHIR specification JSON
//! into idiomatic Rust code.
// Namespace conveniences
pub static DIR: LazyLock =
new;
pub static DEFINITIONS_FILE: LazyLock =
new;
// Submodules
pub use Base;
pub use Bundle;
pub use Component;
pub use Differential;
pub use Element;
pub use element_into_rust_struct_attribute;
pub use Entry;
pub use Resource;
pub use Snapshot;