Introduction
The PRECISE-HBR Score Calculator is a web-based clinical decision support tool designed for healthcare professionals. It implements the PRECISE-HBR (Predicting Bleeding Complications in Patients Undergoing Stent Implantation and Subsequent Dual Antiplatelet Therapy) scoring model.
This application connects to FHIR-compliant electronic health record (EHR) systems using the SMART on FHIR standard to automatically retrieve patient data and calculate the risk score, helping clinicians assess bleeding risk for patients after percutaneous coronary intervention (PCI).
Core Features
PRECISE-HBR Score Calculation
The main feature of the application is the automated calculation of the PRECISE-HBR score. The tool fetches the following data points from the patient's record:
- Demographics: Age
- Lab Results: Hemoglobin, White Blood Cell (WBC) count, eGFR (or Creatinine for calculation)
- Medical History: Prior bleeding events, oral anticoagulation use, and other ARC-HBR factors.
The application presents the total score, the corresponding risk level (e.g., Not High Bleeding Risk, HBR, Very HBR), and a component-by-component breakdown of the score. Users can also interactively modify values to see how they affect the final risk score.
Bleeding vs. Ischemic Risk Trade-off Analysis
For patients identified with a high bleeding risk (PRECISE-HBR score ≥ 23), the application provides a link to an interactive trade-off analysis tool. This feature visualizes the balance between the patient's estimated 1-year bleeding risk and their ischemic/thrombotic risk based on a model of various clinical factors.
Clinicians can select or deselect risk factors to dynamically observe the impact on the patient's risk profile, aiding in shared decision-making regarding treatment strategies.
How to Use the Application
Standalone Launch (for testing or direct use):
- Navigate to the application's home page.
- You will be presented with a "Standalone Launch" screen.
- Enter the FHIR Server URL (the
issparameter) for the EHR system you wish to connect to. For example, for Cerner Sandbox, this would behttps://fhir-myrecord.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d. - Click "Launch".
- You will be redirected to the EHR's login and authorization page.
- After successfully authorizing the application, you will be redirected to the main risk calculation page, pre-filled with the selected patient's data.
EHR Launch (integrated use):
When the application is registered within an EHR system, clinicians can launch it directly from a patient's chart. The launch process is seamless, and the application will open directly to the risk calculation page for that patient.
Technical Stack
- Backend: Python with Flask web framework.
- FHIR Integration:
fhirclientlibrary for Python, compliant with SMART on FHIR v2. - Frontend: HTML, Bootstrap 5 for styling, and JavaScript with Chart.js for visualizations.
- Deployment: Configured for deployment on Google App Engine (Standard Environment for Python).