Issue
When attempting to create a new patient in RIO and sync with the Spine, you may receive an error indicating that the patient has been deleted at a national level.
Example error message:
Error No: 500-100 Internal Server Error
Category: Microsoft VBScript runtime (0x800A000D)
Description: Type mismatch: 'CBool'
File: /rio/demographics/demregistrationcommit.asp
Line: 748
Cause
This error can occur for the following reasons:
The NHS number used belongs to a patient record that has been deleted on the Spine.
The patient may already exist locally in RIO, previously marked as deleted.
If the deleted patient’s name or gender was changed before attempting re‑registration, RIO may still detect the local deleted record and block the new registration.
Resolution steps
Check the NHS number on the Spine. Ensure the NHS number is not deleted nationally.
If the patient is deleted on the Spine, the registration cannot be completed.
If the patient is not deleted on the Spine, the issue may be within RIO.
Check the deleted record in RIO.
If you previously edited the deleted local record e.g., updated name or gender, RIO may still match it and prevent registration.
Revert the deleted client’s details.
Change the deleted patient’s name and/or gender back to the original values.
Try creating the new registration again. This prevents RIO from linking the new registration to the old deleted record.
If the issue continues.
Please type talk to a person in the Digital Assistant.
A live support agent will review whether a Spine message indicating deletion was received and confirm next steps.
Please include the affected patient so we can investigate the Spine messaging correctly.
