- PERMANENT retains patients without studies and TEMPORARY deletes them
(tables 'patient', 'patient_id', 'person_name' ?) from the database
(Delete Patient On Delete Last Sudy: True & num_studies=0)?
Objects and records are deleted from filesystem for PERMANENT storages only if they are marked to be deleted (eg when object is rejected, it is marked to be deleted or same object is received with different MD5 sum, then previous object is marked to be deleted).
On CACHE storages, objects are deleted from filesystem based on configurations done on Storage Descriptor.
On TEMPORARY storages, objects are deleted from filesystem based on configurations done on Storage Descriptor and also records are deleted from database. (If Delete Patient On Delete Last Sudy: True & num_studies=0, patient and its corresponding patient_id and person_name records will also be deleted from database. Issuer records remain in database.)
- Are those generated issuers for the deleted patients not deleted from the database (table 'issuer')?
Issuers are never deleted from database when patient is deleted because the same issuer may be applicable also to other patients!