@@ -115,32 +115,31 @@ Feature: Producer - searchDocumentReference - Success Scenarios
115115 | http ://snomed .info /sct | 736253002 |
116116 | http ://snomed .info /sct | 1363501000000100 |
117117 And a DocumentReference resource exists with values:
118- | property | value |
119- | id | 02V -1111111111 -SearchMultipleRefTest1 |
120- | subject | 9278693472 |
121- | status | current |
122- | type | 736253002 |
123- | category | 734163000 |
124- | contentType | application /pdf |
125- | url | https ://example .org /my -doc -1 .pdf |
126- | custodian | 02V |
127- | author | 02V |
118+ | property | value |
119+ | id | RX898 -1111111111 -SearchMultipleRefTest1 |
120+ | subject | 9278693472 |
121+ | status | current |
122+ | type | 736253002 |
123+ | category | 734163000 |
124+ | contentType | application /pdf |
125+ | url | https ://example .org /my -doc -1 .pdf |
126+ | custodian | RX898 |
127+ | author | X26 |
128128 And a DocumentReference resource exists with values:
129- | property | value |
130- | id | 02V -1111111111 -SearchMultipleRefTest3 |
131- | subject | 9278693472 |
132- | status | current |
133- | type | 1363501000000100 |
134- | category | 1102421000000108 |
135- | contentType | application /pdf |
136- | url | https ://example .org /my -doc -3 .pdf |
137- | custodian | 02V |
138- | author | 02V |
129+ | property | value |
130+ | id | RX898 -1111111111 -SearchMultipleRefTest3 |
131+ | subject | 9278693472 |
132+ | status | current |
133+ | type | 1363501000000100 |
134+ | category | 1102421000000108 |
135+ | contentType | application /pdf |
136+ | url | https ://example .org /my -doc -3 .pdf |
137+ | custodian | RX898 |
138+ | author | X26 |
139139 When producer 'RX898' searches for DocumentReferences with parameters:
140140 | parameter | value |
141141 | subject | 9278693472 |
142142 | _summary | count |
143143 Then the response status code is 200
144144 And the response is a searchset Bundle
145- And the Bundle has a self link matching 'DocumentReference?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|9278693472&_summary=count'
146145 And the Bundle has a total of 2
0 commit comments