000K utf8 1100 2023$c2023-07-06 1500 eng 2050 urn:nbn:de:hbz:465-20240404-141308-8 2051 10.1186/s12913-023-09498-1 3000 Hosch, René 3010 Arzideh, Kamyar 3010 Baldini, Giulia 3010 Borys, Katarzyna 3010 Engelke, Merlin 3010 Koitka, Sven 3010 Nensa, Felix 3010 Parmar, Vicky 3010 Ulrich, Moritz 4000 FHIR-PYrate$da data science friendly Python package to query FHIR servers [Hosch, René] 4209 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. 4950 https://doi.org/10.1186/s12913-023-09498-1$xR$3Volltext$534 4950 https://nbn-resolving.org/urn:nbn:de:hbz:465-20240404-141308-8$xR$3Volltext$534 4961 https://duepublico2.uni-due.de/receive/duepublico_mods_00081399 5051 610 5550 Dataframe 5550 Dicom 5550 Electronic patient record 5550 FHIR 5550 Information extraction 5550 Python