diff --git a/src/CAREUI/display/Timeline.tsx b/src/CAREUI/display/Timeline.tsx index 7fcb57f56ea..156405eb688 100644 --- a/src/CAREUI/display/Timeline.tsx +++ b/src/CAREUI/display/Timeline.tsx @@ -52,6 +52,10 @@ interface TimelineNodeProps { export const TimelineNode = (props: TimelineNodeProps) => { const name = useContext(TimelineContext); + let newName: string | null = null; + if (props.name === "daily round details Event") { + newName = props.name.replace("daily round", "log update"); + } const { t } = useTranslation(); return ( @@ -95,7 +99,9 @@ export const TimelineNode = (props: TimelineNodeProps) => { {props.titleSuffix || ( <> {`${props.event.type} the `} - {props.name || name} + + {newName || props.name || name} + > )}
diff --git a/src/Common/constants.tsx b/src/Common/constants.tsx index 4a490f34e78..1d006ca18fd 100644 --- a/src/Common/constants.tsx +++ b/src/Common/constants.tsx @@ -575,12 +575,12 @@ export const NOTIFICATION_EVENTS: NotificationEvent[] = [ }, { id: "PATIENT_CONSULTATION_CREATED", - text: "Patient Consultation Created", + text: "Patient Log Created", icon: "l-heart", }, { id: "PATIENT_CONSULTATION_UPDATED", - text: "Patient Consultation Updated", + text: "Patient Log Updated", icon: "l-heart-medical", }, { @@ -605,12 +605,12 @@ export const NOTIFICATION_EVENTS: NotificationEvent[] = [ }, { id: "PATIENT_CONSULTATION_UPDATE_CREATED", - text: "Patient Consultation Update Created", + text: "Patient Log Update Created", icon: "l-heart", }, { id: "PATIENT_CONSULTATION_UPDATE_UPDATED", - text: "Patient Consultation Update Updated", + text: "Patient Log Update Updated", icon: "l-heart-medical", }, { diff --git a/src/Components/Common/Breadcrumbs.tsx b/src/Components/Common/Breadcrumbs.tsx index bb5419bbe10..3149650628a 100644 --- a/src/Components/Common/Breadcrumbs.tsx +++ b/src/Components/Common/Breadcrumbs.tsx @@ -13,6 +13,7 @@ const MENU_TAGS: { [key: string]: string } = { external_results: "External Results", users: "Users", notice_board: "Notice Board", + "daily-rounds": "Log Update", }; const capitalize = (string: string) => { diff --git a/src/Components/CriticalCareRecording/CriticalCare__Index.res b/src/Components/CriticalCareRecording/CriticalCare__Index.res index 0290728fd82..945849f89a6 100644 --- a/src/Components/CriticalCareRecording/CriticalCare__Index.res +++ b/src/Components/CriticalCareRecording/CriticalCare__Index.res @@ -113,7 +113,7 @@ let make = (