From c9467ee452c5bf9909bc9b3c9ceefb07944a56c1 Mon Sep 17 00:00:00 2001 From: sainingo Date: Thu, 22 Aug 2024 10:33:09 +0300 Subject: [PATCH] Address registration issue by adding lastname in the search string --- src/app/patient-creation/patient-creation.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/patient-creation/patient-creation.component.ts b/src/app/patient-creation/patient-creation.component.ts index 5e4d15510..6a477be99 100644 --- a/src/app/patient-creation/patient-creation.component.ts +++ b/src/app/patient-creation/patient-creation.component.ts @@ -691,7 +691,7 @@ export class PatientCreationComponent implements OnInit, OnDestroy { birthdateEstimated: this.birthdateEstimated }; this.sessionStorageService.setObject('person', this.person); - const searchString = this.givenName; + const searchString = this.givenName + ' ' + this.familyName; this.patientCreationService .searchPatient(searchString, false) .pipe(take(1))