diff --git a/packages/esm-patient-registration-app/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx b/packages/esm-patient-registration-app/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx index e21fca346..3a8dd0490 100644 --- a/packages/esm-patient-registration-app/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx +++ b/packages/esm-patient-registration-app/src/patient-registration/input/custom-input/identifier/identifier-input.component.tsx @@ -58,7 +58,7 @@ const IdentifierInput: React.FC = ({ patientIdentifier, fi setFieldValue(`identifiers.${fieldName}`, { ...patientIdentifier, ...setIdentifierSource(identifierType?.identifierSources?.[0], initialValue, initialValue), - ...(autoGeneration && manualEntryEnabled && { identifierValue: initialValue || '' }), + ...(autoGeneration && manualEntryEnabled && { identifierValue: initialValue ?? '' }), }); };