Update Details
diff --git a/src/Components/Patient/DailyRounds.tsx b/src/Components/Patient/DailyRounds.tsx
index c0cd7fe803c..1ceadf7e61e 100644
--- a/src/Components/Patient/DailyRounds.tsx
+++ b/src/Components/Patient/DailyRounds.tsx
@@ -145,7 +145,7 @@ export const DailyRounds = (props: any) => {
const [diagnoses, setDiagnoses] = useState
();
const [showDiscontinuedPrescriptions, setShowDiscontinuedPrescriptions] =
useState(false);
- const headerText = !id ? "Add Consultation Update" : "Info";
+ const headerText = !id ? "Add Log Update" : "Info";
const buttonText = !id
? !["VENTILATOR", "DOCTORS_LOG"].includes(state.form.rounds_type)
? t("save")
@@ -393,7 +393,7 @@ export const DailyRounds = (props: any) => {
);
} else {
navigate(
- `/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}/daily_rounds/${obj.id}/update`,
+ `/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}/Log Update/${obj.id}/update`,
);
}
}
@@ -421,7 +421,7 @@ export const DailyRounds = (props: any) => {
);
} else {
navigate(
- `/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}/daily_rounds/${obj.id}/update`,
+ `/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}/Log Update/${obj.id}/update`,
);
}
}
@@ -535,7 +535,7 @@ export const DailyRounds = (props: any) => {
}}
backUrl={
id
- ? `/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}/daily-rounds`
+ ? `/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}/Log Update`
: `/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}`
}
className="mx-auto max-w-4xl"
diff --git a/src/Components/Patient/PatientInfoCard.tsx b/src/Components/Patient/PatientInfoCard.tsx
index 1f581b9b0e7..0b0b6ab297a 100644
--- a/src/Components/Patient/PatientInfoCard.tsx
+++ b/src/Components/Patient/PatientInfoCard.tsx
@@ -587,7 +587,7 @@ export default function PatientInfoCard(props: {
href={
consultation?.admitted && !consultation?.current_bed
? undefined
- : `/facility/${patient.facility}/patient/${patient.id}/consultation/${consultation?.id}/daily-rounds`
+ : `/facility/${patient.facility}/patient/${patient.id}/consultation/${consultation?.id}/Log Update`
}
onClick={() => {
if (
diff --git a/src/Redux/api.tsx b/src/Redux/api.tsx
index 0bedb12dca5..fa4a36029a3 100644
--- a/src/Redux/api.tsx
+++ b/src/Redux/api.tsx
@@ -629,25 +629,25 @@ const routes = {
method: "DELETE",
},
createDailyRounds: {
- path: "/api/v1/consultation/{consultationId}/daily_rounds/",
+ path: "/api/v1/consultation/{consultationId}/Log Update/",
TBody: Type(),
TRes: Type(),
method: "POST",
},
updateDailyReport: {
- path: "/api/v1/consultation/{consultationId}/daily_rounds/{id}/",
+ path: "/api/v1/consultation/{consultationId}/Log Update/{id}/",
TBody: Type(),
TRes: Type(),
method: "PUT",
},
updateDailyRound: {
- path: "/api/v1/consultation/{consultationId}/daily_rounds/{id}/",
+ path: "/api/v1/consultation/{consultationId}/Log Update/{id}/",
method: "PATCH",
TBody: Type>(),
TRes: Type(),
},
getDailyReports: {
- path: "/api/v1/consultation/{consultationId}/daily_rounds/",
+ path: "/api/v1/consultation/{consultationId}/Log Update/",
method: "GET",
TRes: Type>(),
},
@@ -659,12 +659,12 @@ const routes = {
},
getDailyReport: {
- path: "/api/v1/consultation/{consultationId}/daily_rounds/{id}/",
+ path: "/api/v1/consultation/{consultationId}/Log Update/{id}/",
method: "GET",
TRes: Type(),
},
dailyRoundsAnalyse: {
- path: "/api/v1/consultation/{consultationId}/daily_rounds/analyse/",
+ path: "/api/v1/consultation/{consultationId}/Log Update/analyse/",
method: "POST",
TBody: Type(),
TRes: Type(),
diff --git a/src/Routers/routes/ConsultationRoutes.tsx b/src/Routers/routes/ConsultationRoutes.tsx
index 598fd06adc3..2ac2d5c42ac 100644
--- a/src/Routers/routes/ConsultationRoutes.tsx
+++ b/src/Routers/routes/ConsultationRoutes.tsx
@@ -101,14 +101,14 @@ export default {
/>
),
- "/facility/:facilityId/patient/:patientId/consultation/:consultationId/daily_rounds/:id":
+ "/facility/:facilityId/patient/:patientId/consultation/:consultationId/Log Update/:id":
(params: {
facilityId: string;
patientId: string;
consultationId: string;
id: string;
}) => ,
- "/facility/:facilityId/patient/:patientId/consultation/:consultationId/daily_rounds/:id/update":
+ "/facility/:facilityId/patient/:patientId/consultation/:consultationId/Log Update/:id/update":
(params: {
facilityId: string;
patientId: string;