Skip to content

Old New field In Patient Registration Page

Nikshith Nooka requested to merge oldNewfield into develop

Description:

Implemented auto-detection of Old/New patients during registration.

Added logic to check the database for existing patient records based on Registration ID (or other unique identifiers).

If a record is found → patient is marked as Old, else marked as New.

Updated the registration workflow to display patient status clearly on the screen.

Removed manual “Old/New” input field to reduce errors and dependency on volunteers.

Ensures consistent data, prevents duplicate entries, and improves patient tracking across multiple camps.

Type of Change:

  • Bug Fix
  • Feature Development
  • Documentation

Testing:

  • Tested on desktop
  • Tested on mobile
  • Tested in different browsers

Screenshots (if applicable):

Add screenshots for UI changes. WhatsApp_Image_2025-09-29_at_13.13.23_18d81235 WhatsApp_Image_2025-09-29_at_13.13.24_bce2c849

Video Demo

Add a link to the demo of the PR

If you have used AI create this PR, please also record video of yourself explaining the changes.

Link to code walkthrough

Checklist:

  • Code follows project style guidelines
  • Self-review completed
  • No console errors
  • JavaScript types are correct
Edited by Nikshith Nooka

Merge request reports

Loading