diff --git a/src/components/Patient/DailyRoundListDetails.tsx b/src/components/Patient/DailyRoundListDetails.tsx index 66ca76c9a44..d34167a85e6 100644 --- a/src/components/Patient/DailyRoundListDetails.tsx +++ b/src/components/Patient/DailyRoundListDetails.tsx @@ -4,7 +4,9 @@ import { useTranslation } from "react-i18next"; import CareIcon from "@/CAREUI/icons/CareIcon"; +import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import Loading from "@/components/Common/Loading"; import Page from "@/components/Common/Page"; @@ -41,17 +43,27 @@ export const DailyRoundListDetails = (props: any) => { title={t("log_update") + ` #${id}`} backUrl={`/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}/log_updates`} > -
-
-
-
- - Patient Category:{" "} - - {dailyRoundListDetailsData.patient_category ?? "-"} + + +
+ Patient Details +
+
+ + Patient Category:{" "} + + + {dailyRoundListDetailsData.patient_category ?? "-"} + +
+
+ + Taken at:{" "} + + {dailyRoundListDetailsData.taken_at + ? formatDateTime(dailyRoundListDetailsData.taken_at) + : "-"} +
@@ -67,103 +79,157 @@ export const DailyRoundListDetails = (props: any) => {
-
- -
-
- Temperature: - {dailyRoundListDetailsData.temperature ?? "-"} -
-
- Taken at: - {dailyRoundListDetailsData.taken_at - ? formatDateTime(dailyRoundListDetailsData.taken_at) - : "-"} -
-
- SpO2: - {dailyRoundListDetailsData.ventilator_spo2 ?? "-"} -
-
- - Admitted To *:{" "} - - {dailyRoundListDetailsData.admitted_to ?? "-"} -
-
- - Physical Examination Info:{" "} - - {dailyRoundListDetailsData.physical_examination_info ?? "-"} -
-
- - Other Details:{" "} - - {dailyRoundListDetailsData.other_details ?? "-"} -
-
- Pulse(bpm): - {dailyRoundListDetailsData.pulse ?? "-"} + + +
+
+
+

+ Temperature:{" "} +

+

+ {dailyRoundListDetailsData.temperature ?? "-"} +

+
+
+
+
+

SpO2:

+

+ {dailyRoundListDetailsData.ventilator_spo2 ?? "-"} +

+
+
+
+
+

+ Pulse (bpm):{" "} +

+

+ {" "} + {dailyRoundListDetailsData.pulse ?? "-"} +

+
+
-
- BP -
-
- + +
+ +
+

Blood Pressure

+
+
+

Systolic:{" "} - - {dailyRoundListDetailsData.bp?.systolic ?? "-"} +

+

+ {dailyRoundListDetailsData.bp?.systolic ?? "-"} +

-
- {" "} - - Diastolic: - - {dailyRoundListDetailsData.bp?.diastolic ?? "-"} +
+

+ Diastolic:{" "} +

+

+ {dailyRoundListDetailsData.bp?.diastolic ?? "-"} +

-
- - Respiratory Rate (bpm): - +
+
+

Respiratory Information

+
+
+
+

+ Respiratory Rate (bpm):{" "} +

+

+ {dailyRoundListDetailsData.resp ?? "-"} +

+
+
+
+
+

+ Rhythm:{" "} +

+

+ {dailyRoundListDetailsData.rhythm ?? "-"} +

+
+
+
+
+

+ Rhythm Description:{" "} +

+

+ {dailyRoundListDetailsData.rhythm_detail ?? "-"} +

+
+
+
+
- {dailyRoundListDetailsData.resp ?? "-"} -
-
- Rhythm: - {dailyRoundListDetailsData.rhythm ?? "-"} -
-
- - Rhythm Description:{" "} - - {dailyRoundListDetailsData.rhythm_detail ?? "-"} +
+

Additional Information

+
+
+

+ Admitted To*:{" "} +

+

+ {dailyRoundListDetailsData.admitted_to ?? "-"} +

+
+
+

+ Level of Consciousness:{" "} +

+

+ {" "} + {(dailyRoundListDetailsData.consciousness_level && + t( + `CONSCIOUSNESS_LEVEL__${dailyRoundListDetailsData.consciousness_level}`, + )) || + "-"} +

+
+
+

+ Other Details:{" "} +

+

+ {dailyRoundListDetailsData.other_details ?? "-"} +

+
+
+
-
- - Level Of Consciousness:{" "} - - {(dailyRoundListDetailsData.consciousness_level && - t( - `CONSCIOUSNESS_LEVEL__${dailyRoundListDetailsData.consciousness_level}`, - )) || - "-"} + +
+

Physical Examination Info:

+

+ {dailyRoundListDetailsData.physical_examination_info ?? "-"} +

-
- - Recommend Discharge:{" "} - - {dailyRoundListDetailsData.recommend_discharge ? ( - Yes - ) : ( - No - )} + +
+ Recommend Discharge: +
+ {" "} + {dailyRoundListDetailsData.recommend_discharge ? ( + Yes + ) : ( + No + )} +
-
-
+ + ); };