From 81f91679bfb4fe46e01077989866e5061da05978 Mon Sep 17 00:00:00 2001 From: JOSHIK Date: Tue, 20 Aug 2024 14:33:40 +0100 Subject: [PATCH] fixes#8365 --- src/Components/Facility/ConsultationForm.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Components/Facility/ConsultationForm.tsx b/src/Components/Facility/ConsultationForm.tsx index 1345cf2fef5..0cd87d4e2bf 100644 --- a/src/Components/Facility/ConsultationForm.tsx +++ b/src/Components/Facility/ConsultationForm.tsx @@ -539,15 +539,6 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => { invalidForm = true; } return; - case "consultation_notes": - if (!state.form[field]) { - errors[field] = t("field_required"); - invalidForm = true; - } else if (!state.form[field].replace(/\s/g, "").length) { - errors[field] = "Consultation notes can not be empty"; - invalidForm = true; - } - return; case "is_telemedicine": if ( state.form.admitted_to === "Home Isolation" && @@ -1415,7 +1406,6 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => { >