You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor ReportItem and ReportDetailPage components for improved styling and functionality
- Updated ReportItem component to use new category translation keys and improved bookmark icon styling.
- Modified ReportDetailPage styles for better layout and responsiveness, including adjustments to padding, margins, and colors.
- Enhanced ReportDetailPage structure by replacing IonButton with a custom button for closing the report.
- Implemented new sections for displaying flagged and normal lab values with improved UI elements.
- Added functionality to display uploaded file details with formatted date.
- Removed unnecessary AI Assistant help section from ReportDetailPage.
"errorLoading": "Error loading report. Please try again later.",
6
-
"aiInsights": "AI Insights",
7
-
"testResults": "Test Results",
8
-
"test": "Test",
9
-
"results": "Results",
10
-
"refRange": "Ref. Range",
11
-
"reportDate": "Report Date",
12
-
"medicalComments": "Medical Comments",
13
-
"hemoglobin": "Hemoglobin",
14
-
"ldl": "LDL Cholesterol",
15
-
"glucose": "Fasting Blood Glucose",
16
-
"alt": "ALT (Liver Enzyme)",
17
-
"wbc": "WBC (White Blood Cells)",
18
-
"vitaminD": "Vitamin D (25-OH)",
19
-
"cholesterol": "Total Cholesterol",
20
-
"bookmarkAdded": "Report added to bookmarks",
21
-
"bookmarkRemoved": "Report removed from bookmarks",
22
-
"aiInsightsContent": "Based on the blood test results, our AI has identified several points of interest that may require attention or further discussion with your healthcare provider.",
23
-
"insight1Title": "Hemoglobin Level",
24
-
"insight1Content": "Your hemoglobin level is slightly below the reference range. This could indicate mild anemia, which may cause fatigue and weakness.",
25
-
"insight2Title": "Cholesterol Levels",
26
-
"insight2Content": "Both your LDL cholesterol and total cholesterol are elevated, which may increase your risk for cardiovascular disease.",
27
-
"insight3Title": "Blood Glucose",
28
-
"insight3Content": "Your fasting blood glucose is elevated, potentially indicating prediabetes. Lifestyle modifications may help improve this value.",
29
-
"hemoglobinComment": "The patient's hemoglobin level is 12.5 g/dL, which falls within the lower end of the normal reference range for most adults. While this value may still be considered acceptable, it is important to assess it in the context of the patient's age, sex, clinical symptoms, and medical history.",
30
-
"emergencyWarning": "Please contact your doctor or seek emergency care immediately.",
31
-
"flaggedValues": "Flagged values",
32
-
"highLdl": "High LDL Cholesterol",
33
-
"lowHemoglobin": "Low Hemoglobin (10.1 g/dL)",
34
-
"conclusion": "Conclusion:",
35
-
"suggestions": "Suggestions:",
36
-
"ldlConclusion": "Elevated LDL (bad cholesterol) increases your risk of cardiovascular disease",
37
-
"ldlSuggestion1": "Consider a heart-healthy diet (e.g., Mediterranean).",
38
-
"ldlSuggestion2": "Increase physical activity.",
39
-
"ldlSuggestion3": "Discuss statin therapy with your doctor if not already on one.",
40
-
"hemoglobinConclusion": "This level suggests anemia, which may cause fatigue and weakness.",
41
-
"hemoglobinSuggestion1": "Test for iron, B12, and folate deficiency.",
42
-
"hemoglobinSuggestion2": "Consider iron-rich foods or supplements after medical consultation already on one."
43
-
},
44
-
"list": {
45
-
"title": "Reports",
46
-
"emptyState": "No reports found",
47
-
"uploadPrompt": "Upload a medical report to get started",
48
-
"filterAll": "All",
49
-
"filterBookmarked": "Bookmarked",
50
-
"noBookmarksTitle": "No Bookmarked Reports",
51
-
"noBookmarksMessage": "Bookmark reports to find them quickly here",
52
-
"sortButton": "Sort reports",
53
-
"filterButton": "Filter reports",
54
-
"categoryGeneral": "General",
55
-
"categoryBrain": "Brain",
56
-
"categoryHeart": "Heart"
57
-
}
58
-
}
2
+
"detail": {
3
+
"title": "Report Detail",
4
+
"loading": "Loading report...",
5
+
"errorLoading": "Error loading report. Please try again later.",
6
+
"aiInsights": "AI Insights",
7
+
"testResults": "Test Results",
8
+
"test": "Test",
9
+
"results": "Results",
10
+
"refRange": "Ref. Range",
11
+
"reportDate": "Report Date",
12
+
"medicalComments": "Medical Comments",
13
+
"hemoglobin": "Hemoglobin",
14
+
"ldl": "LDL Cholesterol",
15
+
"glucose": "Fasting Blood Glucose",
16
+
"alt": "ALT (Liver Enzyme)",
17
+
"wbc": "WBC (White Blood Cells)",
18
+
"vitaminD": "Vitamin D (25-OH)",
19
+
"cholesterol": "Total Cholesterol",
20
+
"bookmarkAdded": "Report added to bookmarks",
21
+
"bookmarkRemoved": "Report removed from bookmarks",
22
+
"aiInsightsContent": "Based on the blood test results, our AI has identified several points of interest that may require attention or further discussion with your healthcare provider.",
23
+
"insight1Title": "Hemoglobin Level",
24
+
"insight1Content": "Your hemoglobin level is slightly below the reference range. This could indicate mild anemia, which may cause fatigue and weakness.",
25
+
"insight2Title": "Cholesterol Levels",
26
+
"insight2Content": "Both your LDL cholesterol and total cholesterol are elevated, which may increase your risk for cardiovascular disease.",
27
+
"insight3Title": "Blood Glucose",
28
+
"insight3Content": "Your fasting blood glucose is elevated, potentially indicating prediabetes. Lifestyle modifications may help improve this value.",
29
+
"hemoglobinComment": "The patient's hemoglobin level is 12.5 g/dL, which falls within the lower end of the normal reference range for most adults. While this value may still be considered acceptable, it is important to assess it in the context of the patient's age, sex, clinical symptoms, and medical history.",
30
+
"emergencyWarning": "Please contact your doctor or seek emergency care immediately.",
31
+
"flaggedValues": "Flagged values",
32
+
"highLdl": "High LDL Cholesterol",
33
+
"lowHemoglobin": "Low Hemoglobin (10.1 g/dL)",
34
+
"conclusion": "Conclusion:",
35
+
"suggestions": "Suggestions:",
36
+
"ldlConclusion": "Elevated LDL (bad cholesterol) increases your risk of cardiovascular disease",
37
+
"ldlSuggestion1": "Consider a heart-healthy diet (e.g., Mediterranean).",
38
+
"ldlSuggestion2": "Increase physical activity.",
39
+
"ldlSuggestion3": "Discuss statin therapy with your doctor if not already on one.",
40
+
"hemoglobinConclusion": "This level suggests anemia, which may cause fatigue and weakness.",
41
+
"hemoglobinSuggestion1": "Test for iron, B12, and folate deficiency.",
42
+
"hemoglobinSuggestion2": "Consider iron-rich foods or supplements after medical consultation already on one."
43
+
},
44
+
"list": {
45
+
"title": "Reports",
46
+
"emptyState": "No reports found",
47
+
"uploadPrompt": "Upload a medical report to get started",
48
+
"filterAll": "All",
49
+
"filterBookmarked": "Bookmarked",
50
+
"noBookmarksTitle": "No Bookmarked Reports",
51
+
"noBookmarksMessage": "Bookmark reports to find them quickly here",
"errorLoading": "Error loading report. Please try again later.",
6
-
"aiInsights": "AI Insights",
7
-
"testResults": "Test Results",
8
-
"test": "Test",
9
-
"results": "Results",
10
-
"refRange": "Ref. Range",
11
-
"reportDate": "Report Date",
12
-
"medicalComments": "Medical Comments",
13
-
"hemoglobin": "Hemoglobin",
14
-
"ldl": "LDL Cholesterol",
15
-
"glucose": "Fasting Blood Glucose",
16
-
"alt": "ALT (Liver Enzyme)",
17
-
"wbc": "WBC (White Blood Cells)",
18
-
"vitaminD": "Vitamin D (25-OH)",
19
-
"cholesterol": "Total Cholesterol",
20
-
"bookmarkAdded": "Report added to bookmarks",
21
-
"bookmarkRemoved": "Report removed from bookmarks",
22
-
"aiInsightsContent": "Based on the blood test results, our AI has identified several points of interest that may require attention or further discussion with your healthcare provider.",
23
-
"insight1Title": "Hemoglobin Level",
24
-
"insight1Content": "Your hemoglobin level is slightly below the reference range. This could indicate mild anemia, which may cause fatigue and weakness.",
25
-
"insight2Title": "Cholesterol Levels",
26
-
"insight2Content": "Both your LDL cholesterol and total cholesterol are elevated, which may increase your risk for cardiovascular disease.",
27
-
"insight3Title": "Blood Glucose",
28
-
"insight3Content": "Your fasting blood glucose is elevated, potentially indicating prediabetes. Lifestyle modifications may help improve this value.",
29
-
"hemoglobinComment": "The patient's hemoglobin level is 12.5 g/dL, which falls within the lower end of the normal reference range for most adults. While this value may still be considered acceptable, it is important to assess it in the context of the patient's age, sex, clinical symptoms, and medical history.",
30
-
"emergencyWarning": "Please contact your doctor or seek emergency care immediately.",
31
-
"flaggedValues": "Flagged values",
32
-
"highLdl": "High LDL Cholesterol",
33
-
"lowHemoglobin": "Low Hemoglobin (10.1 g/dL)",
34
-
"conclusion": "Conclusion:",
35
-
"suggestions": "Suggestions:",
36
-
"ldlConclusion": "Elevated LDL (bad cholesterol) increases your risk of cardiovascular disease",
37
-
"ldlSuggestion1": "Consider a heart-healthy diet (e.g., Mediterranean).",
38
-
"ldlSuggestion2": "Increase physical activity.",
39
-
"ldlSuggestion3": "Discuss statin therapy with your doctor if not already on one.",
40
-
"hemoglobinConclusion": "This level suggests anemia, which may cause fatigue and weakness.",
41
-
"hemoglobinSuggestion1": "Test for iron, B12, and folate deficiency.",
42
-
"hemoglobinSuggestion2": "Consider iron-rich foods or supplements after medical consultation already on one."
43
-
},
44
-
"list": {
45
-
"title": "Reports",
46
-
"emptyState": "No reports found",
47
-
"uploadPrompt": "Upload a medical report to get started",
48
-
"filterAll": "All",
49
-
"filterBookmarked": "Bookmarked",
50
-
"noBookmarksTitle": "No Bookmarked Reports",
51
-
"noBookmarksMessage": "Bookmark reports to find them quickly here",
52
-
"sortButton": "Sort reports",
53
-
"filterButton": "Filter reports",
54
-
"categoryGeneral": "General",
55
-
"categoryBrain": "Brain",
56
-
"categoryHeart": "Heart"
57
-
},
58
-
"report": {
59
-
"analysis": {
60
-
"title": "Results Analysis"
2
+
"detail": {
3
+
"title": "Report Detail",
4
+
"loading": "Loading report...",
5
+
"errorLoading": "Error loading report. Please try again later.",
6
+
"aiInsights": "AI Insights",
7
+
"testResults": "Test Results",
8
+
"test": "Test",
9
+
"results": "Results",
10
+
"refRange": "Ref. Range",
11
+
"reportDate": "Report Date",
12
+
"medicalComments": "Medical Comments",
13
+
"hemoglobin": "Hemoglobin",
14
+
"ldl": "LDL Cholesterol",
15
+
"glucose": "Fasting Blood Glucose",
16
+
"alt": "ALT (Liver Enzyme)",
17
+
"wbc": "WBC (White Blood Cells)",
18
+
"vitaminD": "Vitamin D (25-OH)",
19
+
"cholesterol": "Total Cholesterol",
20
+
"bookmarkAdded": "Report added to bookmarks",
21
+
"bookmarkRemoved": "Report removed from bookmarks",
22
+
"aiInsightsContent": "Based on the blood test results, our AI has identified several points of interest that may require attention or further discussion with your healthcare provider.",
23
+
"insight1Title": "Hemoglobin Level",
24
+
"insight1Content": "Your hemoglobin level is slightly below the reference range. This could indicate mild anemia, which may cause fatigue and weakness.",
25
+
"insight2Title": "Cholesterol Levels",
26
+
"insight2Content": "Both your LDL cholesterol and total cholesterol are elevated, which may increase your risk for cardiovascular disease.",
27
+
"insight3Title": "Blood Glucose",
28
+
"insight3Content": "Your fasting blood glucose is elevated, potentially indicating prediabetes. Lifestyle modifications may help improve this value.",
29
+
"hemoglobinComment": "The patient's hemoglobin level is 12.5 g/dL, which falls within the lower end of the normal reference range for most adults. While this value may still be considered acceptable, it is important to assess it in the context of the patient's age, sex, clinical symptoms, and medical history.",
30
+
"emergencyWarning": "Please contact your doctor or seek emergency care immediately.",
31
+
"flaggedValues": "Flagged values",
32
+
"highLdl": "High LDL Cholesterol",
33
+
"lowHemoglobin": "Low Hemoglobin (10.1 g/dL)",
34
+
"conclusion": "Conclusion:",
35
+
"suggestions": "Suggestions:",
36
+
"ldlConclusion": "Elevated LDL (bad cholesterol) increases your risk of cardiovascular disease",
37
+
"ldlSuggestion1": "Consider a heart-healthy diet (e.g., Mediterranean).",
38
+
"ldlSuggestion2": "Increase physical activity.",
39
+
"ldlSuggestion3": "Discuss statin therapy with your doctor if not already on one.",
40
+
"hemoglobinConclusion": "This level suggests anemia, which may cause fatigue and weakness.",
41
+
"hemoglobinSuggestion1": "Test for iron, B12, and folate deficiency.",
42
+
"hemoglobinSuggestion2": "Consider iron-rich foods or supplements after medical consultation already on one."
61
43
},
62
-
"emergency": {
63
-
"message": "Please contact your doctor or seek emergency care immediately."
44
+
"list": {
45
+
"title": "Reports",
46
+
"emptyState": "No reports found",
47
+
"uploadPrompt": "Upload a medical report to get started",
48
+
"filterAll": "All",
49
+
"filterBookmarked": "Bookmarked",
50
+
"noBookmarksTitle": "No Bookmarked Reports",
51
+
"noBookmarksMessage": "Bookmark reports to find them quickly here",
52
+
"sortButton": "Sort reports",
53
+
"filterButton": "Filter reports",
54
+
"generalCategory": "General",
55
+
"brainCategory": "Brain",
56
+
"heartCategory": "Heart"
64
57
},
65
-
"flagged-values": {
66
-
"title": "Flagged values"
67
-
},
68
-
"normal-values": {
69
-
"title": "Normal values"
70
-
},
71
-
"conclusion": {
72
-
"title": "Conclusion"
73
-
},
74
-
"suggestions": {
75
-
"title": "Suggestions"
76
-
},
77
-
"doctor-note": "With all interpretations, these results should be discussed with your doctor.",
78
-
"ai-help": {
79
-
"title": "Still need further clarifications?",
80
-
"action": "Ask our AI Assistant"
81
-
},
82
-
"action": {
83
-
"discard": "Discard",
84
-
"new-upload": "New Upload"
85
-
},
86
-
"tabs": {
87
-
"ai-insights": "AI Insights",
88
-
"original-report": "Original Report"
58
+
"report": {
59
+
"analysis": {
60
+
"title": "Results Analysis"
61
+
},
62
+
"emergency": {
63
+
"message": "Please contact your doctor or seek emergency care immediately."
64
+
},
65
+
"flagged-values": {
66
+
"title": "Flagged values"
67
+
},
68
+
"normal-values": {
69
+
"title": "Normal values"
70
+
},
71
+
"conclusion": {
72
+
"title": "Conclusion"
73
+
},
74
+
"suggestions": {
75
+
"title": "Suggestions"
76
+
},
77
+
"doctor-note": "With all interpretations, these results should be discussed with your doctor.",
0 commit comments