Skip to main content
Implementation Guides are commonly distributed as “FHIR NPM packages” (e.g. .tgz archives). In TLQ, package support is exposed via fhir-core behind feature flags.

Enable package support

To read and work with packages locally, enable package:
[dependencies]
fhir-core = { path = "../tlq-fhir-core/crates/fhir-core", features = ["package"] }
To also fetch from a registry, enable registry:
fhir-core = { path = "../tlq-fhir-core/crates/fhir-core", features = ["package", "registry"] }
  • snapshot: generate profile snapshots after loading packages
  • fhirpath: evaluate FHIRPath against resources using the same model/context
Package support in fhir-core is powered by the optional fhir-package and registry-client dependencies.