diff --git a/public/locale/en.json b/public/locale/en.json index 7c9e4e49aca..65093b6acae 100644 --- a/public/locale/en.json +++ b/public/locale/en.json @@ -762,6 +762,7 @@ "emergency_contact_volunteer": "Emergency Contact (Volunteer)", "emergency_phone_number": "Emergency Phone Number", "empty_date_time": "--:-- --; --/--/----", + "encounter": "Encounter", "encounter_admit_sources__born": "Born in hospital", "encounter_admit_sources__emd": "From accident/emergency department", "encounter_admit_sources__gp": "General Practitioner referral", diff --git a/src/pages/Encounters/EncounterShow.tsx b/src/pages/Encounters/EncounterShow.tsx index 2a8c2fa8225..9cff519d57d 100644 --- a/src/pages/Encounters/EncounterShow.tsx +++ b/src/pages/Encounters/EncounterShow.tsx @@ -1,6 +1,5 @@ import { useQuery } from "@tanstack/react-query"; -import { Link, navigate } from "raviger"; -import { useState } from "react"; +import { Link } from "raviger"; import { useTranslation } from "react-i18next"; import Loading from "@/components/Common/Loading"; @@ -14,7 +13,7 @@ import { useCareAppConsultationTabs } from "@/hooks/useCareApps"; import routes from "@/Utils/request/api"; import query from "@/Utils/request/query"; -import { keysOf } from "@/Utils/utils"; +import { formatDateTime, keysOf } from "@/Utils/utils"; import { EncounterFilesTab } from "@/pages/Encounters/tabs/EncounterFilesTab"; import { EncounterMedicinesTab } from "@/pages/Encounters/tabs/EncounterMedicinesTab"; import { EncounterPlotsTab } from "@/pages/Encounters/tabs/EncounterPlotsTab"; @@ -77,7 +76,6 @@ export const EncounterShow = (props: Props) => { // return "None"; // } // }; - const [showPatientNotesPopup, setShowPatientNotesPopup] = useState(false); // const authUser = useAuthUser(); @@ -184,7 +182,7 @@ export const EncounterShow = (props: Props) => { >
@@ -297,21 +282,13 @@ export const EncounterShow = (props: Props) => { )}
*/}
-
-
- Created:   - {/* */} -
-
- Last Modified: + + {t("last_modified")}:{" "} +   + {formatDateTime(encounterData.modified_date)} {/*