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.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Common imports for working with FHIR R5.
//!
//! ```
//! use fhir::prelude::*;
//!
//! let patient = Patient::default();
//! let outcome = patient.validate(); // `Validate` is in scope
//! assert!(outcome.is_empty());
//! ```
//!
//! This is the R5 prelude, kept at the crate root because R5 is the default
//! release. It re-exports [`r5::prelude`](crate::r5::prelude); for R4, use
//! [`r4::prelude`](crate::r4::prelude).

pub use crate::r5::prelude::*;