ohcnetwork / care_fe

Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
https://care.ohc.network
MIT License
252 stars 436 forks source link

Patient created despite having numeric values in name #9143

Open Tanuj1718 opened 3 hours ago

Tanuj1718 commented 3 hours ago

Describe the bug Patient can be created despite having wrong name (numeric values in the name e.g. 1234hh)

To Reproduce Steps to reproduce the behavior:

  1. Go to https://care.ohc.network/patients
  2. Click on 'Add Patient'
  3. Fill the details (Put numbers in name).
  4. Create Patient.

Expected behavior There should not be any numeric values in the name. If it is, then the patient should not be created.

Desktop (please complete the following information):

ANIR1604 commented 3 hours ago

I would like work on this, if that's okay.

Tanuj1718 commented 3 hours ago

@nihal467 @rithviknishad I would like to work on this if it get approved. Please assign it to me.

Tanuj1718 commented 3 hours ago

I would like work on this, if that's okay.

Sorry @ANIR1604 , but I am working on this issue.