- {patient.name}
+
+ {patient.name}
+
ID : {patient.patient_id}
diff --git a/src/Components/Patient/PatientHome.tsx b/src/Components/Patient/PatientHome.tsx
index b82fa899e8e..370a07fae64 100644
--- a/src/Components/Patient/PatientHome.tsx
+++ b/src/Components/Patient/PatientHome.tsx
@@ -343,7 +343,7 @@ export const PatientHome = (props: any) => {
-
+
{patientData.name} - {formatPatientAge(patientData, true)}
diff --git a/src/Components/Patient/PatientInfoCard.tsx b/src/Components/Patient/PatientInfoCard.tsx
index 416b1965381..cd99d169544 100644
--- a/src/Components/Patient/PatientInfoCard.tsx
+++ b/src/Components/Patient/PatientInfoCard.tsx
@@ -218,7 +218,7 @@ export default function PatientInfoCard(props: {
{patient.name}
@@ -263,7 +263,7 @@ export default function PatientInfoCard(props: {
{patient.name}
diff --git a/src/Components/Patient/PatientRegister.tsx b/src/Components/Patient/PatientRegister.tsx
index 383edbe78d7..f847b1a2881 100644
--- a/src/Components/Patient/PatientRegister.tsx
+++ b/src/Components/Patient/PatientRegister.tsx
@@ -64,6 +64,7 @@ import routes from "../../Redux/api.js";
import request from "../../Utils/request/request.js";
import SelectMenuV2 from "../Form/SelectMenuV2.js";
import Checkbox from "../Common/components/CheckBox.js";
+import _ from "lodash";
import { ILocalBodies } from "../ExternalResult/models.js";
const Loading = lazy(() => import("../Common/Loading"));
@@ -810,7 +811,7 @@ export const PatientRegister = (props: PatientRegisterProps) => {
: null
: null,
test_type: formData.test_type,
- name: formData.name,
+ name: _.startCase(_.toLower(formData.name)),
pincode: formData.pincode ? formData.pincode : undefined,
gender: Number(formData.gender),
nationality: formData.nationality,
|