+
{report.title}
+
+
Patient: {report.patientName || 'unknown'}
+
Category: {report.category}
+
Status: {report.status}
+
Submitted: {report.createdAt?.split('T')[0]}
+
+
+ {report.imageUrls && report.imageUrls.length > 0 && (
+
+
Report Images
+ {report.imageUrls.map((url, i) => (
+
+ {url}
+
+ ))}
+
+ )}
+
+ {report.status === 'completed' && (
+
+
Interpretation Result
+
{report.summary || 'No summary'}
+ {report.riskLevel &&
Risk: {report.riskLevel}
}
+ {report.suggestions &&
Suggestions: {report.suggestions}
}
+ {report.items && report.items.length > 0 && (
+
+
+ | Item | Value | Range | Abnormal |
+
+
+ {report.items.map((item) => (
+
+ | {item.itemName} |
+ {item.resultValue} {item.unit || ''} |
+ {item.referenceRange || '-'} |
+ {item.isAbnormal ? 'Yes' : 'No'} |
+
+ ))}
+
+
+ )}
+
+ )}
+
+ {report.status !== 'completed' && (
+
+
Doctor Interpretation
+
+ )}
+