Any solution for bulk delete openMRS (Bahmni) retired Concept

There are many retired concept on openmrs(bahmni v0.93) we want to clean it any idea?

Are you looking for some script/sql/API that bulk deletes ALL retired concepts, or possibly a list of concepts by ID?

I think people in OpenMRS community have written such scripts, but they may need to be tested for Bahmni and version of OpenMRS… since it could possibly cause side-effects if deletion isn’t done across all tables where the concept is being referred.

I look forward to hearing about this from the community, but I feel a bulk delete API is much better solution than SQL – although even in that case, it won’t be trivial implementation.

1 Like