Related Experiment Video
Updated: Jul 24, 2025

The Participant-Reported Implementation Update and Score PRIUS: A Novel Method for Capturing Implementation-Related Data Over Time
Published on: February 19, 2021
FHIR-PYrate: a data science friendly Python package to query FHIR servers
René Hosch1,2, Giulia Baldini3,4, Vicky Parmar1,2
1Institute of Interventional and Diagnostic Radiology and Neuroradiology, University Hospital Essen, Hufelandstraße 55, Essen, 45147, Germany.
Background:
We present FHIR-PYrate, a Python package to handle the full clinical data collection and extraction process. The software is to be plugged into a modern hospital domain, where electronic patient records are used to handle the entire patient's history. Most research institutes follow the same procedures to build study cohorts, but mainly in a non-standardized and repetitive way. As a result, researchers spend time writing boilerplate code, which could be used for more challenging tasks.
Methods:
The package can improve and simplify existing processes in the clinical research environment. It collects all needed functionalities into a straightforward interface that can be used to query a FHIR server, download imaging studies and filter clinical documents. The full capacity of the search mechanism of the FHIR REST API is available to the user, leading to a uniform querying process for all resources, thus simplifying the customization of each use case. Additionally, valuable features like parallelization and filtering are included to make it more performant.
Results:
As an exemplary practical application, the package can be used to analyze the prognostic significance of routine CT imaging and clinical data in breast cancer with tumor metastases in the lungs. In this example, the initial patient cohort is first collected using ICD-10 codes. For these patients, the survival information is also gathered. Some additional clinical data is retrieved, and CT scans of the thorax are downloaded. Finally, the survival analysis can be computed using a deep learning model with the CT scans, the TNM staging and positivity of relevant markers as input. This process may vary depending on the FHIR server and available clinical data, and can be customized to cover even more use cases.
Conclusions:
FHIR-PYrate opens up the possibility to quickly and easily retrieve FHIR data, download image data, and search medical documents for keywords within a Python package. With the demonstrated functionality, FHIR-PYrate opens an easy way to assemble research collectives automatically.
Related Concept Videos
Fates of Pyruvate
In aerobic organisms, pyruvate is metabolized via the citric acid cycle to produce reduced coenzymes NADH and FADH2. These coenzymes are then oxidized in the electron transport chain to produce ATP and, in the process, regenerate the NAD+ and FAD. As seen in some cell types and organisms, fermentation...
Hepatic Portal System
At its core, the hepatic portal vein is the result of a confluence of the superior and inferior mesenteric veins along with the splenic vein. Each of these veins has a unique role. The superior mesenteric vein is...
Purpose of Health Records II
Integrated Healthcare System
Purpose of Health Records I
Here's a breakdown of how health records serve these purposes:
Health Information Technology and Healthcare Information System
Health Information Technology, commonly called HIT, integrates advanced information systems and technology in healthcare settings. Its primary functions include:

