diff --git a/src/Components/Facility/ConsultationForm.tsx b/src/Components/Facility/ConsultationForm.tsx index 8b946cf3cc6..df69208bf2a 100644 --- a/src/Components/Facility/ConsultationForm.tsx +++ b/src/Components/Facility/ConsultationForm.tsx @@ -599,6 +599,9 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => { } case "treating_physician": { + if (state.form.suggestion === "DC") { + break; + } if (state.form.suggestion !== "DD" && !state.form[field]) { errors[field] = t("field_required"); invalidForm = true; @@ -1428,7 +1431,7 @@ export const ConsultationForm = ({ facilityId, patientId, id }: Props) => { name={"treating_physician"} label={t("treating_doctor")} placeholder="Attending Doctors Name and Designation" - required + required={state.form.suggestion !== "DC"} value={ state.form.treating_physician_object ?? undefined }