fhir 1.2.0

Fast Healthcare Interoperability Resources (FHIR) data model for Rust: the complete FHIR R5, R4, and R3 resources, datatypes, and code systems as serde-serializable types, plus a spec-driven code generator.
//! 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")
});