This error happens intermittently, so I have not have a reproducible scenario.
1. View Patient Dashboard
2. Click 'Exit Patient from Care'
3. Choose type of exit
4. Choose date of exit
5. Click Save button