You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/validated-relationships-service-api.yaml
+15-1Lines changed: 15 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -941,6 +941,11 @@ paths:
941
941
* JSON Patch operations must be valid according to RFC 6902
942
942
* Status changes must use valid status codes from <http://hl7.org/fhir/consent-state-codes>
943
943
944
+
**IMPORTANT: Business Rule Enforcement**
945
+
If you update the `/status` of a role, you **MUST** also provide a corresponding update to the `/extension` path in the same patch array to provide the `statusReason`.
946
+
947
+
Requests that change status without providing a status reason will return an error
948
+
944
949
## Access modes
945
950
946
951
This endpoint supports the following access modes:
@@ -991,12 +996,21 @@ paths:
991
996
summary: Set status to active with an end date
992
997
description: |
993
998
Example of a combined update to a record.
994
-
The status will be changed to inactive.
999
+
The status will be changed to active.
995
1000
The relationship will be considered as ended following this date.
0 commit comments