Skip to content

Commit b34aaea

Browse files
committed
NPA-5299: Bundle Examples Have Incorrect Totals
1 parent 1a6730a commit b34aaea

18 files changed

+35
-35
lines changed

postman/Validate Relationship Service Sandbox.postman_collection.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@
12371237
" ],",
12381238
" \"resourceType\": \"Bundle\",",
12391239
" \"timestamp\": \"2024-01-01T00:00:00+00:00\",",
1240-
" \"total\": 4,",
1240+
" \"total\": 2,",
12411241
" \"type\": \"searchset\"",
12421242
"};",
12431243
"",
@@ -1492,7 +1492,7 @@
14921492
"const expectedResponseBody = {",
14931493
" \"resourceType\": \"Bundle\",",
14941494
" \"timestamp\": \"2024-01-01T00:00:00+00:00\",",
1495-
" \"total\": 2,",
1495+
" \"total\": 1,",
14961496
" \"type\": \"searchset\",",
14971497
" \"link\": [",
14981498
" {",
@@ -2049,7 +2049,7 @@
20492049
"const expectedResponseBody = {",
20502050
" \"resourceType\": \"Bundle\",",
20512051
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
2052-
" \"total\": 6,",
2052+
" \"total\": 2,",
20532053
" \"type\": \"searchset\",",
20542054
" \"entry\": [",
20552055
" {",
@@ -2712,7 +2712,7 @@
27122712
"response": []
27132713
},
27142714
{
2715-
"name": "Filtered proxy relationships by 'proposed' and 'active' staus",
2715+
"name": "Filtered proxy relationships by 'proposed' and 'active' status",
27162716
"event": [
27172717
{
27182718
"listen": "test",
@@ -3458,7 +3458,7 @@
34583458
"const expectedResponseBody = {",
34593459
" \"resourceType\": \"Bundle\",",
34603460
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
3461-
" \"total\": 6,",
3461+
" \"total\": 3,",
34623462
" \"type\": \"searchset\",",
34633463
" \"entry\": [",
34643464
" {",
@@ -3925,7 +3925,7 @@
39253925
"const expectedResponseBody = {",
39263926
" \"resourceType\": \"Bundle\",",
39273927
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
3928-
" \"total\": 6,",
3928+
" \"total\": 3,",
39293929
" \"type\": \"searchset\",",
39303930
" \"entry\": [",
39313931
" {",
@@ -4366,7 +4366,7 @@
43664366
"const expectedResponseBody = {",
43674367
" \"resourceType\": \"Bundle\",",
43684368
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
4369-
" \"total\": 9,",
4369+
" \"total\": 3,",
43704370
" \"type\": \"searchset\",",
43714371
" \"entry\": [",
43724372
" {",
@@ -5274,7 +5274,7 @@
52745274
"const expectedResponseBody = {",
52755275
" \"resourceType\": \"Bundle\",",
52765276
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
5277-
" \"total\": 7,",
5277+
" \"total\": 3,",
52785278
" \"type\": \"searchset\",",
52795279
" \"entry\": [",
52805280
" {",
@@ -5766,7 +5766,7 @@
57665766
"const expectedResponseBody = {",
57675767
" \"resourceType\": \"Bundle\",",
57685768
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
5769-
" \"total\": 6,",
5769+
" \"total\": 3,",
57705770
" \"type\": \"searchset\",",
57715771
" \"entry\": [",
57725772
" {",
@@ -6207,7 +6207,7 @@
62076207
"const expectedResponseBody = {",
62086208
" \"resourceType\": \"Bundle\",",
62096209
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
6210-
" \"total\": 4,",
6210+
" \"total\": 3,",
62116211
" \"type\": \"searchset\",",
62126212
" \"entry\": [",
62136213
" {",
@@ -6765,7 +6765,7 @@
67656765
"const expectedResponseBody = {",
67666766
" \"resourceType\": \"Bundle\",",
67676767
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
6768-
" \"total\": 3,",
6768+
" \"total\": 1,",
67696769
" \"type\": \"searchset\",",
67706770
" \"entry\": [",
67716771
" {",
@@ -7138,7 +7138,7 @@
71387138
"const expectedResponseBody = {",
71397139
" \"resourceType\": \"Bundle\",",
71407140
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
7141-
" \"total\": 3,",
7141+
" \"total\": 1,",
71427142
" \"type\": \"searchset\",",
71437143
" \"entry\": [",
71447144
" {",
@@ -8250,7 +8250,7 @@
82508250
"const expectedResponseBody = {",
82518251
" \"resourceType\": \"Bundle\",",
82528252
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
8253-
" \"total\": 2,",
8253+
" \"total\": 1,",
82548254
" \"type\": \"searchset\",",
82558255
" \"entry\": [",
82568256
" {",
@@ -8397,7 +8397,7 @@
83978397
"const expectedResponseBody = {",
83988398
" \"resourceType\": \"Bundle\",",
83998399
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
8400-
" \"total\": 2,",
8400+
" \"total\": 1,",
84018401
" \"type\": \"searchset\",",
84028402
" \"entry\": [",
84038403
" {",
@@ -8535,7 +8535,7 @@
85358535
"const expectedResponseBody = {",
85368536
" \"resourceType\": \"Bundle\",",
85378537
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
8538-
" \"total\": 3,",
8538+
" \"total\": 1,",
85398539
" \"type\": \"searchset\",",
85408540
" \"entry\": [",
85418541
" {",
@@ -8900,7 +8900,7 @@
89008900
"const expectedResponseBody = {",
89018901
" \"resourceType\": \"Bundle\",",
89028902
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
8903-
" \"total\": 2,",
8903+
" \"total\": 1,",
89048904
" \"type\": \"searchset\",",
89058905
" \"entry\": [",
89068906
" {",
@@ -9051,7 +9051,7 @@
90519051
"const expectedResponseBody = {",
90529052
" \"resourceType\": \"Bundle\",",
90539053
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
9054-
" \"total\": 2,",
9054+
" \"total\": 1,",
90559055
" \"type\": \"searchset\",",
90569056
" \"entry\": [",
90579057
" {",
@@ -9194,7 +9194,7 @@
91949194
"const expectedResponseBody = {",
91959195
" \"resourceType\": \"Bundle\",",
91969196
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
9197-
" \"total\": 3,",
9197+
" \"total\": 1,",
91989198
" \"type\": \"searchset\",",
91999199
" \"entry\": [",
92009200
" {",

specification/examples/responses/GET_Consent/filtered-relationships-status-active-include-details.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
66
value:
77
resourceType: Bundle
88
timestamp: "2020-08-26T14:00:00+00:00"
9-
total: 6
9+
total: 2
1010
type: searchset
1111
entry:
1212
- fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742"

specification/examples/responses/GET_Consent/multiple-relationships-include-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
55
value:
66
resourceType: Bundle
77
timestamp: '2020-08-26T14:00:00+00:00'
8-
total: 6
8+
total: 3
99
type: searchset
1010
entry:
1111
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2

specification/examples/responses/GET_Consent/multiple-relationships-include-performer-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
66
value:
77
resourceType: Bundle
88
timestamp: '2020-08-26T14:00:00+00:00'
9-
total: 9
9+
total: 3
1010
type: searchset
1111
entry:
1212
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742

specification/examples/responses/GET_Consent/multiple-relationships-include-performer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
55
value:
66
resourceType: Bundle
77
timestamp: '2020-08-26T14:00:00+00:00'
8-
total: 6
8+
total: 3
99
type: searchset
1010
entry:
1111
- fullUrl: >-

specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
44
value:
55
resourceType: Bundle
66
timestamp: '2020-08-26T14:00:00+00:00'
7-
total: 4
7+
total: 3
88
type: searchset
99
entry:
1010
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2

specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
44
value:
55
resourceType: Bundle
66
timestamp: '2020-08-26T14:00:00+00:00'
7-
total: 7
7+
total: 3
88
type: searchset
99
entry:
1010
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2

specification/examples/responses/GET_Consent/multiple-relationships-single-patient-include-performer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
44
value:
55
resourceType: Bundle
66
timestamp: '2020-08-26T14:00:00+00:00'
7-
total: 6
7+
total: 3
88
type: searchset
99
entry:
1010
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742

specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
55
value:
66
resourceType: Bundle
77
timestamp: '2020-08-26T14:00:00+00:00'
8-
total: 2
8+
total: 1
99
type: searchset
1010
entry:
1111
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5

specification/examples/responses/GET_Consent/single-consenting-adult-relationship-include-performer-patient.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
66
value:
77
resourceType: Bundle
88
timestamp: '2020-08-26T14:00:00+00:00'
9-
total: 3
9+
total: 1
1010
type: searchset
1111
entry:
1212
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720

0 commit comments

Comments
 (0)