Skip to main content
fhir-core is a facade crate that re-exports TLQ’s FHIR core libraries. FHIRPath support is behind a Cargo feature so consumers can opt in only when needed.

Enable the feature

Add fhir-core with the fhirpath feature:
[dependencies]
fhir-core = { path = "../tlq-fhir-core/crates/fhir-core", features = ["fhirpath"] }
If you already depend on fhir-core, just extend features:
fhir-core = { path = "../tlq-fhir-core/crates/fhir-core", default-features = false, features = ["context", "models", "fhirpath"] }

What gets enabled

The fhirpath feature turns on the optional fhir-fhirpath dependency in fhir-core (see crates/fhir-core/Cargo.toml). If you need the concrete API surface (parser/evaluator/types), use the items re-exported by fhir-core or depend on fhir-fhirpath directly.