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
And the Bundle has a self link matching 'DocumentReference?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|9278693472&category=http://snomed.info/sct|1102421000000108'
214
+
And the Bundle has a total of 0
215
+
And the Bundle has 0 entries
216
+
217
+
Scenario: Search gives 403 if no permission
218
+
Given the application 'DataShare' (ID 'z00z-y11y-x22x') is registered to access the API
219
+
And a DocumentReference resource exists with values:
220
+
| property | value |
221
+
| id | 8FW23-1114567890-SearchDocRefTest |
222
+
| subject | 9278693472 |
223
+
| status | current |
224
+
| type | 736253002 |
225
+
| category | 734163000 |
226
+
| contentType | application/pdf |
227
+
| url | https://example.org/my-doc.pdf |
228
+
| custodian | 8FW23 |
229
+
| author | 8FW23 |
230
+
When consumer 'Z26' searches for DocumentReferences with parameters:
203
231
| parameter | value |
204
232
| subject | 9278693472 |
233
+
| type | 736253002 |
205
234
Then the response status code is 403
206
235
And the response is an OperationOutcome with 1 issue
0 commit comments