{
+ triggerGoal("Patient Card Button Clicked", {
+ buttonName: "Link Care Context",
+ consultationId: consultation?.id,
+ userId: authUser?.id,
+ });
close();
setShowLinkCareContext(true);
}}
@@ -532,6 +550,11 @@ export default function PatientInfoCard(props: {
{
+ triggerGoal("Patient Card Button Clicked", {
+ buttonName: "Medico Legal Case",
+ consultationId: consultation?.id,
+ userId: authUser?.id,
+ });
setMedicoLegalCase(checked);
switchMedicoLegalCase(checked);
}}
diff --git a/src/Components/Users/UserProfile.tsx b/src/Components/Users/UserProfile.tsx
index 5c5ad46b9fa..0653ea452a2 100644
--- a/src/Components/Users/UserProfile.tsx
+++ b/src/Components/Users/UserProfile.tsx
@@ -417,7 +417,11 @@ export default function UserProfile() {
Local Body, District and State are Non Editable Settings.
-
setShowEdit(!showEdit)} type="button">
+ setShowEdit(!showEdit)}
+ type="button"
+ id="edit-cancel-profile-button"
+ >
{showEdit ? "Cancel" : "Edit User Profile"}
handleSignOut(true)}>
@@ -431,7 +435,10 @@ export default function UserProfile() {
{!showEdit && (
-
+
-
Username
@@ -439,7 +446,10 @@ export default function UserProfile() {
{details.username || "-"}
-
+
-
Contact No
@@ -448,7 +458,10 @@ export default function UserProfile() {
-
+
-
Whatsapp No
@@ -456,7 +469,10 @@ export default function UserProfile() {
{details.alt_phone_number || "-"}
-
+
-
Email address
@@ -464,7 +480,10 @@ export default function UserProfile() {
{details.email || "-"}
-
+
-
First Name
@@ -472,7 +491,10 @@ export default function UserProfile() {
{details.first_name || "-"}
-
+
-
Last Name
@@ -480,7 +502,7 @@ export default function UserProfile() {
{details.last_name || "-"}
-
+
-
Age
@@ -497,7 +519,10 @@ export default function UserProfile() {
{details.user_type || "-"}
-
+
-
Gender
@@ -547,7 +572,10 @@ export default function UserProfile() {
-
+
-
Average weekly working hours