personalcancertoolkit / openmrs-module-patientportaltoolkit

Other
7 stars 9 forks source link

Remove all patients except Test Patient accounts we want to keep. #499

Closed maurya closed 2 years ago

maurya commented 2 years ago

Take a backup of db before doing this.

add - Test Patient to all accounts.

Patient Micah

Dr Haggstrom's Test patient Mitch - Delete all and create new Alexis - Lex Max

maurya commented 2 years ago

Used update patient set voided = 1, voided_by = 47, void_reason = "Removing Test Patient" where patient_id in (43,44,45,46,47,48,49); for patients I couldn't find in the legacy admin portal.