Skip to content

Conversation

ajinkya8010
Copy link

This PR addresses a common issue where users accidentally upload the same data twice when "Id from previous system" is not filled in, leading to duplicates.

Changes made:

Show warning if certain encounter upload types (like Regular Assessment Encounter) are selected and the Id from previous system column is missing from the uploaded file.

The affected types are:

  • Child Test new update registration

  • Pulse Polio enrolment

  • Regular Assessment Encounter

  • Updated type registration

The warning appears as an alert before upload proceeds, preventing unintentional duplicate uploads.

Results

Screenshot 2025-07-10 000602

@ajinkya8010 ajinkya8010 changed the title Prevent duplicate data upload for encounter types without ID column Fix: Prevent duplicate data upload for encounter types without ID column Jul 10, 2025
@ombhardwajj ombhardwajj force-pushed the master branch 7 times, most recently from 2b98263 to cafa6d8 Compare July 30, 2025 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant