FHIR Query Validator is a Python package distributed via PyPI. This page covers installation requirements, recommended setup using virtual environments, and how to verify your installation is working correctly.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dhanyasukumaran1/fhir_query_validator/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- Python: 3.8 or later
- pip: 21.0 or later (comes with Python 3.8+)
- Operating system: Linux, macOS, or Windows
Install with pip
The recommended way to install FHIR Query Validator is with pip:Virtual environment setup (recommended)
Using a virtual environment keeps your project dependencies isolated. This is especially important in data science and healthcare environments where dependency conflicts can be subtle.Install in a Jupyter notebook
If you’re using FHIR Query Validator in a Jupyter notebook, install the package from within the notebook to ensure it’s available in the correct kernel:Jupyter cell
Jupyter cell
Verify your installation
After installation, verify the package is available:Troubleshooting
ModuleNotFoundError: No module named 'fhir_query_validator'
ModuleNotFoundError: No module named 'fhir_query_validator'
This usually means the package was installed in a different Python environment than the one you’re running. Check which Python is active:Make sure you’ve activated your virtual environment before running your script, and that pip installed into the correct environment.
Permission denied when running pip install
Permission denied when running pip install
Avoid using
sudo pip install as this modifies your system Python. Instead, use a virtual environment (recommended) or install with the --user flag:pip install fails with dependency conflicts
pip install fails with dependency conflicts
Try installing in a fresh virtual environment to avoid conflicts with other packages. If you need FHIR Query Validator alongside specific library versions, check the package’s dependency requirements with:
Next steps
Quickstart
Validate your first FHIR query with a step-by-step working example.