"Delete Sent Patients" button: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
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.  
** the [[♻️ button]]...?
 
* 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.
}}


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

Revision as of 15:15, 2021 March 18

The "Delete Sent Patients" button on the Main Form (CCMDB.accdb) deletes patient records that have the Record field set to "Sent".

When patients are sent the RecordStatus field is set to "Sent". This allows keeping patients on file until it is clear that the sent was successful, while not getting sent patients mixed up with ones ready to send in the new round and have the RecordStatus field set to "complete".

Logical delete

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.

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.

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.

Logical vs actual deletes don't really affect the data for the main office, so all of this is relatively low priority/low risk.

usage

At some point we polled collectors about their use of this: Survey about deleting files after sending

Related articles

Related articles: