fhir_diff/lib.rs
1//! Semantic diff of FHIR packages and profiles.
2//!
3//! Each package's StructureDefinitions are converted to FHIR Schema
4//! ([octofhir-fhirschema](https://github.com/octofhir/fhirschema)) and every profile is merged
5//! over its base chain into an effective element tree; two versions of a profile are compared
6//! on those trees and every change is classified as breaking, warning or info
7//! ([`diff::RULES`]). Packages come from a folder or from the package registry through
8//! [octofhir-canonical-manager](https://github.com/octofhir/canonical-manager-rs).
9
10pub mod diff;
11pub mod model;
12pub mod package;
13pub mod report;
14
15pub use diff::{Change, Filter, ProfileDiff, Report, Severity, Status, diff};
16pub use model::{Node, Pool, Profile};
17pub use package::{Definition, Loaded, Package, load};