diff --git a/src/Components/Patient/ManagePatients.tsx b/src/Components/Patient/ManagePatients.tsx index b6fc98935e2..b61cfc99d2b 100644 --- a/src/Components/Patient/ManagePatients.tsx +++ b/src/Components/Patient/ManagePatients.tsx @@ -398,7 +398,7 @@ export const PatientManager = () => { prefetch: !!qParams.last_consultation_current_bed__location, }, ); - + /* const { data: patientsWithNoConsentsData } = useQuery(routes.patientList, { query: { ...qParams, @@ -409,7 +409,7 @@ export const PatientManager = () => { }); const patientsWithNoConsents = patientsWithNoConsentsData?.count; - + */ const { data: permittedFacilities } = useQuery( routes.getPermittedFacilities, { @@ -519,7 +519,7 @@ export const PatientManager = () => {
-
+
{patient?.last_consultation?.current_bed && patient?.last_consultation?.discharge_date === null ? (
@@ -788,7 +788,6 @@ export const PatientManager = () => { name, value: qParams[name] || defaultValue, onChange: (e: FieldChangeEvent) => updateQuery({ [e.name]: e.value }), - className: "grow w-full mb-2", }; }; @@ -975,21 +974,23 @@ export const PatientManager = () => {
-
-
+
+
-
+
{ onChange={(e) => setPhoneNum(e.value)} error={phoneNumberError} types={["mobile", "landline"]} + className="w-full grow" /> { onChange={(e) => setEmergencyPhoneNum(e.value)} error={emergencyPhoneNumberError} types={["mobile", "landline"]} + className="w-full" />
- {!qParams.last_consultation__consent_types && + {/*!qParams.last_consultation__consent_types && (patientsWithNoConsents || 0) > 0 && (
@@ -1027,7 +1030,7 @@ export const PatientManager = () => {

- )} + )*/}