Undo subjects added in error

If a subject has been added to a study in error, it is now possible to undo this action.

Details for site users

Users assigned the Edit Form Data for Subjects permission can now remove a subject that has been added in error, so long as no data has been recorded for that subject.

Once the action of adding a subject is undone, their subject number is returned to the pool for reuse. The subject's GUID, however, is not reused.

Impact on reports

The Subject Events report now features an Add Subject Cancelled entry if the subject is undone. Moreover, when the subject number of an undone subject is reused, two entries are included for that subject in the following reports: