"Delete Sent Patients" button: Difference between revisions

mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:


=== Logical delete ===
=== Logical delete ===
The button implements a partially logical delete (i.e. parts of the record are retained but hidden instead of deleted). See [[RecordStatus_field#deleted]] for more info.  
The button implements a partial, logical delete (i.e. parts of the record are retained but hidden instead of deleted). See [[RecordStatus_field#deleted]] for more info.  


{{DT | dev_CCMDB
A logical delete is what we would want for records that were entered and completed and [[sent]], because this would flag them as already dealt with, e.g. in comparison to [[Cognos]].  
* disallow individual record delete on the patient lister built-in.  
 
* add a delete button that does the logical delete correctly on a per-patient basis.  
If a record is deleted by clicking a line in [[Patient List]] and then delete, or by using the [[♻️ button]], then the record will actually be removed from the database rather than be logically deleted. Data collectors should make sure they use the right method to delete to have the expected outcome.  
* this seems to be relatively low priority since we are not basing anything absolute on the logical delete feature, but needs to get done eventually to clean this up.
 
}}
Logical vs actual deletes don't really affect the data for the main office, so all of this is relatively low priority/low risk.
 
The {{PAGENAME}} will also fully delete logically deleted records that are more than 3 months old.


=== usage ===
=== usage ===