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: contracts/gateway-v1.yaml
+136-3Lines changed: 136 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -661,7 +661,7 @@ paths:
661
661
application/xml:
662
662
schema:
663
663
$ref: '#/components/schemas/ErrorResponse'
664
-
/v1/health-information/hiu/on-request:
664
+
/v1/health-information/cm/on-request:
665
665
post:
666
666
tags:
667
667
- data flow
@@ -1156,9 +1156,10 @@ paths:
1156
1156
- cm facing
1157
1157
summary: Consent notification
1158
1158
description: >
1159
-
Notification of consents to health information providers consent request granted, consent revoked, consent expired. Only the GRANTEDand REVOKED status notifications will be sent to HIP.
1159
+
Notification of consents to health information providers consent request granted, consent revoked, consent expired. Only the GRANTED, REVOKED and EXPIRED status notifications will be sent to HIP.
1160
1160
1. If consent is granted, status=GRANTED, then consentDetail contains the consent artefact details and signature is available.
1161
1161
2. If consent is revoked, then status=REVOKED, and consentId specifes which consent artefact is revoked.
1162
+
3. If the consent has expired, then status=EXPIRED, and consentId specifies which consent artefact has expired. Note, this is also responsibility of the HIP to keep track of consent expiry. Any data request on expired consent artefact must not be done.
1162
1163
parameters:
1163
1164
- $ref: "#/components/parameters/authorization"
1164
1165
- $ref: "#/components/parameters/X-HIP-ID"
@@ -1196,6 +1197,51 @@ paths:
1196
1197
application/xml:
1197
1198
schema:
1198
1199
$ref: '#/components/schemas/ErrorResponse'
1200
+
/v1/consents/hip/on-notify:
1201
+
post:
1202
+
tags:
1203
+
- consent flow
1204
+
- hip facing
1205
+
summary: Consent notification
1206
+
description: >
1207
+
This API is called by HIP as acknowledgement to notification of consents, in cases of consent revocation and expiration.
0 commit comments