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.
//! Common imports for working with FHIR R5.
//!
//! ```
//! use fhir::r5::prelude::*;
//!
//! let patient = Patient::default();
//! let outcome = patient.validate(); // `Validate` is in scope
//! assert!(outcome.is_empty());
//! ```
//!
//! The FHIR `String` primitive is re-exported as [`FhirString`] to avoid
//! shadowing [`std::string::String`].

// The polymorphic resource enum and the most-used resources.
pub use crate::r5::resources::{
    Bundle, Condition, Encounter, MedicationRequest, Observation, Organization, Patient,
    Practitioner, Procedure, Resource,
};

// The most-used datatypes. `String` is aliased to avoid shadowing std.
pub use crate::r5::types::{
    Boolean, Code, CodeableConcept, Coding, Date, DateTime, Decimal, Element, Extension, HumanName,
    Identifier, Instant, Integer, Period, Quantity, Reference, Uri,
};
pub use crate::r5::types::String as FhirString;

// Coded values, choice/extension support, and validation.
pub use crate::r5::choice::Primitive;
pub use crate::r5::coded::Coded;
pub use crate::r5::extension_ext::{ExtensionExt, HasExtension, HasModifierExtension, ModifierExtensionExt};
pub use crate::r5::validate::{Validate, ValidationIssue};

// A few frequently-used code enums.
pub use crate::r5::codes::{
    AdministrativeGender, BundleType, ObservationStatus, PublicationStatus,
};