Consent resource

Consent Profile

For detail of what a Consent profile contains, please view the Validated Relationship Service OAS spec.

Status codes and reasons

The proxy role state machine describes the valid states and transitions for a proxy role throughout its lifecycle. In order to provide more context as to why a role is in a given status, a status reason must be recorded as well.

The table below maps out the valid use of status reasons for each status code. The full list of available status reasons are codified in the https://fhir.nhs.uk/England/CodeSystem/England-ConsentStatusReason code system.

Start State End State Code Reason
- Active ROLE_CREATED Role created
Inactive Active ROLE_REACTIVATED Role reactivated
Active Inactive ROLE_DEACTIVATED_SAFEGUARDING Safeguarding concern
ROLE_DEACTIVATED_PATIENT_REQUEST At patient request
ROLE_DEACTIVATED_END_DATE_REACHED End date reached
ROLE_DEACTIVATED_INACTIVE_ROLE Role no longer in use
ROLE_DEACTIVATED_PATIENT_DECEASED Patient deceased
ROLE_DEACTIVATED_PROXY_DECEASED Proxy deceased
ROLE_DEACTIVATED_CHANGE_IN_RELATIONSHIP Change in relationship
ROLE_DEACTIVATED_PROXY_LACKS_CAPACITY Proxy lacks capacity
ROLE_DEACTIVATED_SYSTEM_MISUSE Misuse of system
ROLE_SUSPENDED_PENDING_REVIEW Suspended pending review
ROLE_DEACTIVATED_PATIENT_GP_TRANSFERRED Patient has moved gp practice
ROLE_DEACTIVATED_PROXY_GP_TRANSFERRED Proxy has moved gp practice
ROLE_DEACTIVATED_PROXY_NOT_LIVING_IN_ENGLAND_OR_WALES Proxy not living in England or Wales
OTHER Other reason*

* Where OTHER, ROLE_DEACTIVATED_SAFEGUARDING or ROLE_SUSPENDED_PENDING_REVIEW is selected, status reason free text MUST be provided in addition to the status reason in order to ensure full context is conveyed.


Edit this page on GitHub