Need a way to delete a patient in RefApp UI

I have failed to see a straight forward option on the new UI to delete a patient. The only available option is http://demo.openmrs.org/openmrs/admin/patients/index.htm

Any future plan to include this feature soon? Say on this page:

http://demo.openmrs.org/openmrs/registrationapp/editSection.page?patientId=18&sectionId=demographics&appId=referenceapplication.registrationapp.registerPatient&returnUrl=%2Fopenmrs%2Fcoreapps%2Fclinicianfacing%2Fpatient.page%3FpatientId%3Ddeb0905c-3b82-4631-88b2-b71425755cdf%26

I would suggest adding this as a General Action on the patient summary, e.g. http://demo.openmrs.org/openmrs/coreapps/clinicianfacing/patient.page?patientId=deb0905c-3b82-4631-88b2-b71425755cdf

If you want to add this feature, you should (a) create a ticket for it in the RA project, and (b) work on it! :slight_smile:

-Darius

··· On Tue, Mar 8, 2016 at 12:08 AM, Mpango Jonathan wrote:

jmpango https://talk.openmrs.org/users/jmpango Mpango Jonathan https://talk.openmrs.org/users/jmpango March 7

I have failed to see a straight forward option on the new UI to delete a patient. The only available option is http://demo.openmrs.org/openmrs/admin/patients/index.htm

Any future plan to include this feature soon?? Say on this page: http://demo.openmrs.org/openmrs/registrationapp/editSection.page?patientId=18&sectionId=demographics&appId=referenceapplication.registrationapp.registerPatient&returnUrl=%2Fopenmrs%2Fcoreapps%2Fclinicianfacing%2Fpatient.page%3FpatientId%3Ddeb0905c-3b82-4631-88b2-b71425755cdf%26

@darius https://talk.openmrs.org/users/darius @dkayiwa https://talk.openmrs.org/users/dkayiwa

Thanks

Visit Topic https://talk.openmrs.org/t/delete-patient-option-in-reference-application-ui/5153/1 or reply to this email to respond

To stop receiving notifications for this particular topic, click here https://talk.openmrs.org/t/delete-patient-option-in-reference-application-ui/5153/unsubscribe. To unsubscribe from these emails, change your user preferences https://talk.openmrs.org/my/preferences

or, click here <reply@talk.openmrs.org?subject=unsubscribe> to unsubscribe via email.

1 Like

@darius Adding this on the General Actions section sounds like the ideal plan.

As a matter of fact, it was @jmpango and me who discussed it over IRC and decided to setup this thread.

I had been meaning to work on implementing this but have been busy with proposals and stuff. @jmpango Have you created it a ticket? If you haven’t, I’ll create one and proceed to working on it straight away :slight_smile:

Edit: I have taken the liberty to create the ticket for this issue here. Will start working on it

1 Like

@bholagabbar, THanks for taking up this task. kindly let us know the moment that ticket is worked on. This feature is long awaited for.

1 Like

I’ve added a few of my questions regarding the implementation of the feature on the ticket here. @darius could you take a quick look and change the status to ‘In Developement’? I’ll have something to work over the weekend then. Can’t wait to get back to hacking after a stressful week of exams :slight_smile:

@jmpango I’m almost done with the ticket. Only a unit test or so remains. Have a look at the screenshots here :slight_smile:

@bholagabbar Thanks for the great work. kindly keep me posting so that we can add it in our distro because its one of the key features we are waiting for.

@jmpango sure. A code review from @darius or @dkayiwa soon should really help speed up its completion

@bholagabbar. Thanks am still waiting for completion and i start to work with it.

Hey @jmpango

If you see the ticket, I am already done implementing the code and have addressed all the issues during code review.

I believe all that is required is a merge by @wyclif

EDIT: Done! :smiley:

@bholagabbar well done! Am gona pull the latest coreapps and test it.

1 Like

Great! Tell me how it works out :smiley: