diff --git a/public/locale/en.json b/public/locale/en.json index fe41ef8bed7..301c1bd01b3 100644 --- a/public/locale/en.json +++ b/public/locale/en.json @@ -1085,7 +1085,6 @@ "expiration_date": "Expiration Date", "expiration_date_must_be_after_manufacture_date": "Expiration date must be after manufacture date", "expired": "Expired", - "expired_on": "Expired On", "expires": "Expires", "expires_on": "Expires On", "export": "Export", @@ -2325,6 +2324,7 @@ "this_will_permanently_remove_the_session_and_cannot_be_undone": "This will permanently remove the session and cannot be undone", "thread_already_exists": "Thread with this title already exists", "time": "Time", + "time_of_death": "Time of death", "time_slot": "Time Slot", "title": "Title", "title_of_request": "Title of Request", diff --git a/src/components/Patient/PatientHome.tsx b/src/components/Patient/PatientHome.tsx index ae152fcc85b..904c02291a2 100644 --- a/src/components/Patient/PatientHome.tsx +++ b/src/components/Patient/PatientHome.tsx @@ -102,7 +102,7 @@ export const PatientHome = (props: { className="border-2 border-red-700 bg-red-100 text-red-800 hover:bg-red-200 hover:text-red-900" >

- {t("expired_on")} + {t("time_of_death")} {": "} {dayjs(patientData.death_datetime).format( "DD MMM YYYY, hh:mm A", diff --git a/src/components/Patient/PatientInfoCard.tsx b/src/components/Patient/PatientInfoCard.tsx index e6a99c449c6..ebc5e608a53 100644 --- a/src/components/Patient/PatientInfoCard.tsx +++ b/src/components/Patient/PatientInfoCard.tsx @@ -140,7 +140,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) { className="border-2 border-red-700 bg-red-100 text-red-800 hover:bg-red-200 hover:text-red-900" >

- {t("expired_on")} + {t("time_of_death")} {": "} {dayjs(patient.death_datetime).format( "DD MMM YYYY, hh:mm A", @@ -179,7 +179,7 @@ export default function PatientInfoCard(props: PatientInfoCardProps) { className="border-2 border-red-700 bg-red-100 text-red-800 hover:bg-red-200 hover:text-red-900" >

- {t("expired_on")} + {t("time_of_death")} {": "} {dayjs(patient.death_datetime).format( "DD MMM YYYY, hh:mm A",