devrup404's picture
BeatSense: unified FastAPI + Next.js deployment
f4102c2
Raw
History Blame Contribute Delete
5.66 kB
{
"app": {
"name": "BeatSense",
"tagline": "Cardiovascular Risk Intelligence",
"institution": "BeatSense Cardiology Unit"
},
"nav": {
"dashboard": "Dashboard",
"newEvaluation": "New Evaluation",
"patients": "Patient History",
"eda": "Data Analysis",
"model": "Model Insights",
"settings": "Settings"
},
"header": {
"search": "Search patient ID...",
"shift": "Day Shift",
"role": "Nurse Station",
"user": "Nurse Practitioner"
},
"common": {
"save": "Save",
"cancel": "Cancel",
"submit": "Submit",
"loading": "Loading...",
"error": "An error occurred",
"tryAgain": "Try again",
"print": "Print",
"download": "Download",
"export": "Export CSV",
"noData": "No data available",
"high": "High",
"low": "Low",
"yes": "Yes",
"no": "No",
"male": "Male",
"female": "Female",
"today": "Today",
"predict": "Run Prediction"
},
"dashboard": {
"title": "Clinical Dashboard",
"subtitle": "Real-time overview of risk assessments",
"kpi": {
"totalAssessments": "Total Assessments",
"todayAssessments": "Today",
"highRiskPct": "High-Risk Rate",
"lowRisk": "Low Risk",
"highRisk": "High Risk"
},
"recentTitle": "Recent Assessments",
"recentEmpty": "No assessments yet. Run your first evaluation.",
"riskDistribution": "Risk Distribution",
"quickAction": "Start New Evaluation"
},
"form": {
"title": "New Cardiovascular Evaluation",
"subtitle": "Fill in the patient's clinical data to compute coronary risk.",
"sections": {
"demographics": "Patient Identification",
"vitals": "Vitals & Lab",
"symptoms": "Symptoms & ECG"
},
"fields": {
"patientId": "Patient ID",
"patientIdPlaceholder": "Optional — auto-generated if empty",
"age": "Age (years)",
"sex": "Sex",
"restingBp": "Resting BP (mm Hg)",
"cholesterol": "Cholesterol (mg/dL)",
"maxHr": "Max Heart Rate (bpm)",
"fastingBs": "Fasting Blood Sugar > 120 mg/dL",
"exerciseAngina": "Exercise-Induced Angina",
"chestPainType": "Chest Pain Type",
"restingEcg": "Resting ECG",
"stSlope": "ST Slope",
"oldpeak": "Oldpeak (ST depression)"
},
"options": {
"chestPain": {
"ASY": "Asymptomatic (ASY)",
"ATA": "Atypical Angina (ATA)",
"NAP": "Non-Anginal Pain (NAP)",
"TA": "Typical Angina (TA)"
},
"stSlope": {
"Up": "Up",
"Flat": "Flat",
"Down": "Down"
},
"restingEcg": {
"Normal": "Normal",
"ST": "ST-T abnormality",
"LVH": "Left Ventricular Hypertrophy"
}
},
"actions": {
"reset": "Clear form",
"submit": "Run Prediction"
},
"validation": {
"required": "Required",
"invalidNumber": "Invalid number",
"ageRange": "Age must be between 1 and 120",
"hrRange": "Heart rate must be between 40 and 240"
}
},
"ticket": {
"title": "Cardiovascular Risk Report",
"facility": "BeatSense Cardiology Unit",
"code": "Reference",
"patient": "Patient",
"date": "Date",
"time": "Time",
"clinician": "Clinician",
"vitals": "Clinical Snapshot",
"result": "Result",
"riskScore": "Risk Score",
"threshold": "Decision Threshold",
"classification": "Classification",
"highRisk": "HIGH RISK",
"lowRisk": "LOW RISK",
"recommendation": "Recommendation",
"recHigh": "Refer to cardiologist. Schedule ECG + stress test.",
"recLow": "Continue routine monitoring. Reassess in 12 months.",
"footer": "Generated by BeatSense — Not a substitute for clinical judgment.",
"newAssessment": "New Assessment"
},
"history": {
"title": "Patient History",
"subtitle": "All recorded cardiovascular risk assessments.",
"columns": {
"date": "Date",
"time": "Time",
"patientId": "Patient ID",
"age": "Age",
"sex": "Sex",
"maxHr": "Max HR",
"fastingBs": "Fasting BS",
"exerciseAngina": "Angina",
"chestPain": "Chest Pain",
"stSlope": "ST Slope",
"probability": "Probability",
"risk": "Risk"
},
"search": "Search...",
"filterAll": "All",
"filterHigh": "High Risk",
"filterLow": "Low Risk"
},
"eda": {
"title": "Exploratory Data Analysis",
"subtitle": "Distributions and clinical correlations from 918 patient records.",
"ageDist": "Age Distribution",
"sexDist": "Sex Distribution",
"chestPainDist": "Chest Pain Type",
"riskBySex": "Risk Rate by Sex",
"maxHrVsAge": "Max HR vs Age"
},
"model": {
"title": "Model Insights",
"subtitle": "Performance of the production model and alternatives evaluated.",
"selected": "Selected Model",
"metrics": {
"accuracy": "Accuracy",
"recall": "Recall (class 1)",
"rocAuc": "ROC-AUC",
"cv": "Cross-Validation"
},
"comparison": "Model Comparison",
"rationale": "Selection Rationale",
"rationaleText": "Logistic Regression with a 0.4 decision threshold was chosen because in cardiology a false negative (missing a sick patient) is far costlier than a false positive. The 0.94 recall maximizes detection while preserving 88% accuracy and full interpretability."
},
"settings": {
"title": "Settings",
"language": "Language",
"theme": "Theme",
"themeLight": "Light",
"themeDark": "Dark",
"themeSystem": "System"
},
"result": {
"predicting": "Computing risk...",
"error": "Could not compute prediction. Is the API running?"
}
}