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
//! Parse FHIR R5 specifications JSON file.
//!
//! Files:
//!
//! - conceptmaps.json
//! - dataelements.json
//! - profiles-others.json
//! - profiles-resources.json
//! - profiles-types.json
//! - valuesets.json
//!
//! And the version information file:
//!
//! - version.info
pub mod all;
pub mod choice_gen;
pub mod coded_gen;
pub mod concept_maps;
pub mod meta;
pub mod option_vec_gen;
pub mod siblings;
pub mod vec1_gen;
pub mod data_elements;
pub mod profiles_others;
pub mod profiles_resources;
pub mod profiles_types;
pub mod search_parameters;
pub mod value_sets;
// Namespace conveniences
use std::path::PathBuf;
use std::sync::LazyLock;
pub static DIR: LazyLock<PathBuf> = LazyLock::new(|| {
PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.join("src")
.join("r5")
.join("parse")
});
pub static DEFINITIONS_DIR: LazyLock<PathBuf> = LazyLock::new(|| {
PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.join("doc")
.join("fhir-specifications")
.join("r5")
.join("fhir-definitions-json")
});