Skip to main content

fhir-linter

Python bindings for the FHIR R5 linter and validator.

import fhir_linter

for d in fhir_linter.validate(resource_json) + fhir_linter.lint(resource_json):
    print(d.severity, d.code, d.path, d.message)

FHIR definitions

The wheel does not bundle the FHIR R5 definitions (about 60 MB). Download them once with scripts/download-definitions.sh from the repository, then either pass definitions_dir= to each call or set FHIR_DEFINITIONS_DIR. Without them, calls raise ValueError.

definitions_dir is read from disk: only pass paths you trust.

Errors

  • ValueError: unparsable JSON, invalid lint config, unknown rule, no definitions.
  • RuntimeError: the definitions directory cannot be loaded.

Metadata

Release files for fhir-linter 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fhir-linter 0.5.1
File Size Uploaded Provenance Actions
fhir_linter-0.5.1.tar.gz 98.5 kB Without provenance Details for fhir_linter-0.5.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for fhir-linter 0.5.1
File Interpreter ABI Platform Actions
fhir_linter-0.5.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for fhir_linter-0.5.1-cp310-abi3-win_amd64.whl
fhir_linter-0.5.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for fhir_linter-0.5.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
fhir_linter-0.5.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for fhir_linter-0.5.1-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 2.3 MB

Release files / fhir_linter-0.5.1.tar.gz

Download URL fhir_linter-0.5.1.tar.gz
Size 98.5 kB
Tags Source
SHA-256 checksum
How to use checksums
366e6a97ff56de7458ee2baf18f5b44d5f6c2a69e62688ac16237e1f2f55ed03
BLAKE2b-256 checksum
How to use checksums
9dc3b23c28f1a2001363686452e55afbb3b45040f09b9e481a9b7027525a3f59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Release files / fhir_linter-0.5.1-cp310-abi3-win_amd64.whl

Download URL fhir_linter-0.5.1-cp310-abi3-win_amd64.whl
Size 641.0 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
846520ab8325c33cb1d650c99c9f957d7ef45c964cb039f333c5f7ab6860e955
BLAKE2b-256 checksum
How to use checksums
a3775411f56eb174dd734d960777e6a743efaf07a37b05def6143efd24841335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Release files / fhir_linter-0.5.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL fhir_linter-0.5.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 828.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
23c18f2b2326d5afbe2e5132ae787263053cb954bb9f1970cdf4ca248c6cd379
BLAKE2b-256 checksum
How to use checksums
12ce6115aa22f9cad1ee835110c59e38bdf115e6756c184dc093a1bbb2302010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Release files / fhir_linter-0.5.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL fhir_linter-0.5.1-cp310-abi3-macosx_11_0_arm64.whl
Size 738.0 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9368e5ea6155fa3966ebd56bc41f65b50bcfcd0ee4b12cb04ee6b6459c716b0f
BLAKE2b-256 checksum
How to use checksums
969ac7f9f3f269d7d2712a6bd3294742687422d73b3cc8c25092a083a9af4a21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.9

Security for fhir-linter 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page