Re: [Dhis2-devs] DeletionHandler for Patient module

2010-10-01 Thread Chau Thu Tran
Hi Abyot, If patient A have relationship with other patient as B, do we remove the patient B or remove only values of the patient A ? Best regards, Châu Thu Trân HISP Viet Nam Email: tran.hispviet...@gmail.com Cell phone: +84 97 324 1542 On Fri

Re: [Dhis2-devs] DeletionHandler for Patient module

2010-10-01 Thread Abyot Gizaw
Hi Tran, Yes you need to consider all the associations. And also make sure that we don't have recorded values for the patient to be removed. If there is value (patientdatavalue table) registered for the patient to be removed, providing an option like "are you sure you want to delete this patient a

[Dhis2-devs] DeletionHandler for Patient module

2010-09-30 Thread Chau Thu Tran
Hi all, Currently, when we enter a patient with attribute values, relationship, we cannot delete this object and throw exception because of violating constraints. I'm building Deletion Handler for Patient module. And to do this function, please help me the answer questions below: 1. When del