Skip to main content

A FHIR cohort extractor and de-identification tool for clinical research.

Project description

FHIR-READA

FHIR Research Extractor And De-identified Analyzer

A Python CLI tool for extracting, de-identifying, and exporting patient data from FHIR servers — built for research teams, clinicians, and medical institutions.


🔍 Features

  • Filter patients by age range and diagnosis
  • Extract from any FHIR-compliant server
  • Fetch Conditions and Observations
  • Automatically de-identify patient IDs
  • Export results to CSV
  • Easy-to-use CLI with flexible filters

💻 Installation

From PyPI

pip install fhir-reada

From Source (for development or testing)

git clone https://github.com/TOduah/fhir-reada.git
cd fhir-reada
pip install -e .

🚀 Usage (CLI)

fhir-reada --url https://hapi.fhir.org/baseR4 --min-age 25 --max-age 40 --diagnosis diabetes --out output.csv

⚙️ CLI Options

Option Description
--url FHIR base URL (e.g. https://hapi.fhir.org/baseR4)
--min-age Minimum age for cohort (e.g. 25)
--max-age Maximum age for cohort (e.g. 40)
--diagnosis Diagnosis keyword (optional, e.g. diabetes)
--out Output filename for CSV export

🏥 Who Is This For?

  • Research institutions running clinical studies
  • Hospital data science or IT departments
  • Medical schools teaching FHIR and analytics
  • Independent developers working with public or private FHIR APIs

📄 License

This project is licensed under the MIT License.


💬 Author

Built by Tobenna Oduah.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fhir_reada-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fhir_reada-0.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file fhir_reada-0.1.1.tar.gz.

File metadata

  • Download URL: fhir_reada-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.0

File hashes

Hashes for fhir_reada-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0ef634e0dd7200f6ed5db091146e3ad18ff9de448ab52c4c24de8fa1c63f360b
MD5 c7c5ac0d791a2a883ec22fa36e17601f
BLAKE2b-256 7acdcb7d645b46e954eb7fa32d500260819d0fdac03a12d93c612b47717b520c

See more details on using hashes here.

File details

Details for the file fhir_reada-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fhir_reada-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.0

File hashes

Hashes for fhir_reada-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 405e2862685004874efdfac2c40e5510d7cedace0168135373373f3525df39f4
MD5 80fb36c64e7fe4b006021ead1007d3c0
BLAKE2b-256 288966b2198671978bd37a6d922ecd51902a1a6a0ef2d4d31f1750ba7d75a228

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page