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
//! 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