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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
//! FHIR Release 5 (R5).
//!
//! This module holds the entire FHIR R5 implementation. The pieces you use
//! day to day are:
//!
//! - [`resources`] — the 158 R5 resources plus the polymorphic
//! [`Resource`](resources::Resource) enum.
//! - [`types`] — the ~50 complex datatypes and 21 primitive newtypes.
//! - [`codes`] — FHIR `CodeSystem`s as type-safe enums.
//! - [`validate`] — the [`Validate`](validate::Validate) trait and the
//! primitive-format constraints.
//!
//! The remaining modules ([`parse`], [`abstract_types`], [`properties`],
//! [`resource`], [`todo`]) support the code generator that produces the model
//! from the official specification JSON, and are not needed for consuming the
//! data model.
//!
//! See the [crate-level guide](crate) for a task-oriented walkthrough.
/// Parse FHIR R5 specifications JSON file.
/// FHIR R5 classes - the complete set - TODO figure out where these go.
// TODO move anywhere better
/// FHIR R5 datatypes
/// FHIR R5 resources
/// FHIR R5 code systems as type-safe enums
/// Lightweight FHIR R5 validation
/// Per-element metadata extracted from the FHIR R5 specification (cardinality,
/// bindings, choice types, reference targets, summary membership).
/// Support types for `value[x]` choice elements (see `spec/11-choice-types.md`).
/// Parsing and precision-aware comparison for the date/time primitives.
/// The [`Coded`](coded::Coded) wrapper for `required`-binding coded fields.
/// Ergonomic extension accessors ([`ExtensionExt`](extension_ext::ExtensionExt)).
/// Support for the generated `#[derive(Builder)]` builders.
/// Utilities for `Bundle`s: iteration, paging, and transaction/batch building.
/// Summary serialization (the FHIR `_summary=true` view).
/// FHIR XML serialization (feature `xml`).
/// Common imports for working with FHIR R5.
/// An async FHIR R5 REST client (feature `client`).
/// The FHIR R5 release, as a type.
///
/// Marker for release-parameterized code such as
/// [`ReleaseClient`](crate::client::ReleaseClient); see [`crate::release`].
;