Skip to main content

fml_engine/
lib.rs

1//! StructureMap engine for the FHIR Mapping Language.
2//!
3//! Runs a [`StructureMap`](fml_model::StructureMap) over FHIR JSON, as the HL7 reference engine
4//! does. Structure definitions come from [`fml_check::Definitions`]; FHIRPath from an
5//! [`Expressions`] implementation, such as the one the `fhirpath` feature provides; imported maps
6//! from a [`MapResolver`].
7
8mod datetime;
9mod engine;
10mod expressions;
11#[cfg(feature = "fhirpath")]
12mod fhirpath;
13mod terminology;
14mod trace;
15mod transforms;
16mod tree;
17
18pub use engine::{Engine, Error, MapResolver, MapSet, NoMaps, Transformed};
19pub use expressions::{Expressions, Item, NoExpressions, bind_variables};
20#[cfg(feature = "fhirpath")]
21pub use fhirpath::FhirPathExpressions;
22pub use terminology::{ConceptMapResolver, ConceptMapSet, NoConceptMaps, Translation, translate};
23pub use trace::{Phase, Trace, TraceEvent, TraceStatus, TraceVariable, debug_parameters};