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 |
| Rejected | Active | ROLE_ACTIVATED | Role activated |
| Inactive | Active | ROLE_REACTIVATED | Role reactivated |
| - / Inactive | Rejected | APPLICATION_REJECTED_NOT_NEEDED | Proxy support not required |
| APPLICATION_REJECTED_SAFEGUARDING | Safeguarding concern identified | ||
| APPLICATION_REJECTED_IDENTITY_NOT_VERIFIED | Proxy identity not verified | ||
| APPLICATION_REJECTED_NO_CONSENT | Patient does not consent | ||
| APPLICATION_REJECTED_COERCION | Coercion concern identified | ||
| APPLICATION_REJECTED_PROXY_LACKS_CAPACITY | Proxy lacks capacity | ||
| APPLICATION_REJECTED_PROXY_ABROAD | Proxy lives abroad | ||
| APPLICATION_REJECTED_NO_LEGAL_BASIS | Relationship or legal basis not proven | ||
| OTHER | Other reason* | ||
| 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_FAMILIAL_REASON | Family reason or circumstance | ||
| 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_ABROAD | Proxy lives abroad | ||
| OTHER | Other reason* |
* Where OTHER 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