From b0a25f9284e088447542d85b11b7b2e27c8eb147 Mon Sep 17 00:00:00 2001 From: Ashraf Mohammed Date: Tue, 19 Dec 2023 23:53:54 +0530 Subject: [PATCH] remove irrelevant columns --- src/Components/Facility/TreatmentSummary.tsx | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/Components/Facility/TreatmentSummary.tsx b/src/Components/Facility/TreatmentSummary.tsx index 3ff5d47d5e0..7adb4dcfbe2 100644 --- a/src/Components/Facility/TreatmentSummary.tsx +++ b/src/Components/Facility/TreatmentSummary.tsx @@ -11,6 +11,7 @@ import { PatientModel } from "../Patient/models"; import { GENDER_TYPES } from "../../Common/constants"; import { formatAge, formatDate, formatDateTime } from "../../Utils/utils"; + const Loading = lazy(() => import("../Common/Loading")); const TreatmentSummary = (props: any) => { @@ -135,7 +136,7 @@ const TreatmentSummary = (props: any) => { Age :{" "} {formatAge(patientData.age, patientData.date_of_birth, true)} -
+
Date of admission : {consultationData.admitted @@ -143,12 +144,6 @@ const TreatmentSummary = (props: any) => { : " --/--/----"}
-
- Date of positive : - {patientData.date_of_result - ? formatDate(patientData.date_of_result) - : " --/--/----"} -
@@ -157,7 +152,7 @@ const TreatmentSummary = (props: any) => { {GENDER_TYPES.find((i) => i.id === patientData.gender)?.text}
-
+
Contact person : {" "} @@ -166,15 +161,6 @@ const TreatmentSummary = (props: any) => { : " -"}
- -
- Date of negative : - - {patientData.disease_status == "NEGATIVE" - ? formatDate(patientData.modified_date) - : " --/--/----"} - -