I think you have to use the "datadeletion" module for this. Core openmrs just gives you the option of marking the patient as "voided", but not deleting entirely once data is collected.
Ben On Fri, Aug 19, 2011 at 4:43 PM, Tinashe Rioga <[email protected]> wrote: > Dear OpenMRS Developers > > I would like to ask if patient deletion has been modified to override > patient deletion when a patient has encounters. Functionality of OpenMRS has > been customized to an Athlete/Sports Management system, and new developments > altered patients to participants in our current project. > > However, functionality to delete patients fails when a participant has > encounters, and as far as I know the OpenMRS data model, encounters are > tightly bound to concepts and person objects in that order. > > Thus, am asking if patients can be deleted when they have encounters > associated with them, associated through observations and or html forms > encounters. If manual deletion of a patient, or any tightly bound data in a > table row (in object dependency relationship), how I know is to disable > foreign_key_checks to de-associate any encounters/data, then deleting, and > re-enabling foreign_key_checks. > > -- > Regards > > Tinashe Rioga, BSc Computer Science > Junior Java Developer, Jembi Health Systems | SOUTH AFRICA > Mobile: 0764283832 | Office: 021 701 0939 | Skype: tinashe2100 > E-mail: [email protected] > http://www.jembi.org > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

