How abishek-kk/aortavision-3d works
AortaVision 3D is a research-oriented coronary disease risk prediction app. A user supplies one patient’s clinical data through the intake page (or uses a sample), then the frontend calls the FastAPI prediction service. The backend validates inputs, preprocesses them and produces CAD plus LAD/LCX/RCA probabilities, thresholds and SHAP contributions; the analysis dashboard presents these with a 3D heart, clinical measurements and validation metrics. The graph also preserves the educational guide and disclaimer capabilities. Several backend internals and dashboard details are documented in the README but were not sampled, so those links cite the README.
Main entry points: Analyze.jsx Analysis dashboard · main.py FastAPI service · Home.jsx Patient intake · predict.js Prediction client
Components 19
Patient intake
- App routes
frontend/src/App.jsx - Patient intake
frontend/src/pages/Home.jsx - Sample patient
frontend/src/data/samplePatient.js - Patient session state
frontend/src/context/PatientDataContext.jsx
Prediction service
- Prediction client
frontend/src/services/predict.js - FastAPI service
backend/main.py - Input validation
backend/schemas/patient_schema.py - Feature preprocessing
model/aortavision_preprocessing.py - Four trained models
model/serialized - SHAP explanations
backend/main.py
Analysis experience
- Analysis dashboard
frontend/src/pages/Analyze.jsx - Interactive 3D heart
frontend/src/pages/Analyze.jsx - Clinical reference ranges
frontend/src/config/referenceRanges.js - Risk level mapping
frontend/src/utils/risk.js - Validation metrics
backend/main.py
Education and safety
- Clinical glossary
frontend/src/pages/Guide.jsx - Glossary terms
frontend/src/data/glossary.js - Safety disclaimer
frontend/src/components/DisclaimerModal.jsx
Other components
- Patient / clinician
Connections 21
- Patient / clinician → Patient intake: provides data
README.md - App routes → Patient intake: routes to
frontend/src/App.jsx - Patient intake → Sample patient: loads sample
frontend/src/pages/Home.jsx - Patient intake → Patient session state: stores inputs
frontend/src/pages/Home.jsx - Patient intake → Prediction client: requests prediction
frontend/src/pages/Home.jsx - Analysis dashboard → Prediction client: requests prediction
frontend/src/pages/Analyze.jsx - Prediction client → FastAPI service: POSTs features
README.md - FastAPI service → Input validation: validates request
backend/main.py - FastAPI service → Feature preprocessing: preprocesses features
README.md - FastAPI service → Four trained models: runs models
README.md - FastAPI service → SHAP explanations: computes SHAP
README.md - FastAPI service → Validation metrics: serves metrics
README.md - Prediction client → Analysis dashboard: returns results
frontend/src/pages/Analyze.jsx - Analysis dashboard → Patient session state: reads results
frontend/src/pages/Analyze.jsx - Analysis dashboard → Interactive 3D heart: renders risk
README.md - Analysis dashboard → Clinical reference ranges: uses ranges
frontend/src/pages/Analyze.jsx - Analysis dashboard → Risk level mapping: maps risk
frontend/src/pages/Analyze.jsx - Analysis dashboard → Validation metrics: displays metrics
README.md - App routes → Clinical glossary: routes to
frontend/src/App.jsx - Clinical glossary → Glossary terms: renders terms
frontend/src/pages/Guide.jsx - App routes → Safety disclaimer: shows safety notice
README.md