From dfeda143f6374c24426fee84c7300f91f73b89b1 Mon Sep 17 00:00:00 2001
From: Hritesh Shanty <128292557+hrit2773@users.noreply.github.com>
Date: Tue, 25 Feb 2025 17:51:31 +0530
Subject: [PATCH] Added Symptoms onset date field in encounters overview
(#10759)
---
src/components/Patient/symptoms/SymptomTable.tsx | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/components/Patient/symptoms/SymptomTable.tsx b/src/components/Patient/symptoms/SymptomTable.tsx
index 8b9dd9cb973..407a3300749 100644
--- a/src/components/Patient/symptoms/SymptomTable.tsx
+++ b/src/components/Patient/symptoms/SymptomTable.tsx
@@ -50,6 +50,9 @@ export function SymptomTable({
{t("verification")}
+
+ {t("onset")}
+
{t("notes")}
@@ -107,6 +110,11 @@ export function SymptomTable({
{t(symptom.verification_status)}
+
+ {symptom.onset?.onset_datetime
+ ? new Date(symptom.onset.onset_datetime).toLocaleDateString()
+ : "-"}
+
{symptom.note ? (