Skip to content

Commit aecfac3

Browse files
NPA-5395: Ensure link contians url prpoerty not uri
1 parent 57408c1 commit aecfac3

21 files changed

+50
-47
lines changed

postman/Validate Relationship Service Sandbox.postman_collection.json

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,7 @@
20542054
" \"link\": [",
20552055
" {",
20562056
" \"relation\": \"self\",",
2057-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=active&_include=Consent:performer&_include=Consent:patient\"",
2057+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=active&_include=Consent:performer&_include=Consent:patient\"",
20582058
" }",
20592059
" ],",
20602060
" \"entry\": [",
@@ -2416,8 +2416,11 @@
24162416
{
24172417
"listen": "prerequest",
24182418
"script": {
2419-
"packages": {},
2420-
"type": "text/javascript"
2419+
"exec": [
2420+
""
2421+
],
2422+
"type": "text/javascript",
2423+
"packages": {}
24212424
}
24222425
}
24232426
],
@@ -2481,7 +2484,7 @@
24812484
" \"link\": [",
24822485
" {",
24832486
" \"relation\": \"self\",",
2484-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=inactive\"",
2487+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=inactive\"",
24852488
" }",
24862489
" ],",
24872490
" \"entry\": [",
@@ -2712,7 +2715,7 @@
27122715
" \"link\": [",
27132716
" {",
27142717
" \"relation\": \"self\",",
2715-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=proposed&status=active&_include=Consent:patient\"",
2718+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=proposed&status=active&_include=Consent:patient\"",
27162719
" }",
27172720
" ],",
27182721
" \"entry\": [",
@@ -3101,7 +3104,7 @@
31013104
" \"link\": [",
31023105
" {",
31033106
" \"relation\": \"self\",",
3104-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022\"",
3107+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022\"",
31053108
" }",
31063109
" ],",
31073110
" \"entry\": [",
@@ -3398,7 +3401,7 @@
33983401
" \"link\": [",
33993402
" {",
34003403
" \"relation\": \"self\",",
3401-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:patient\"",
3404+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:patient\"",
34023405
" }",
34033406
" ],",
34043407
" \"entry\": [",
@@ -3844,7 +3847,7 @@
38443847
" \"link\": [",
38453848
" {",
38463849
" \"relation\": \"self\",",
3847-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer\"",
3850+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer\"",
38483851
" }",
38493852
" ],",
38503853
" \"entry\": [",
@@ -4264,7 +4267,7 @@
42644267
" \"link\": [",
42654268
" {",
42664269
" \"relation\": \"self\",",
4267-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer&_include=Consent:patient\"",
4270+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer&_include=Consent:patient\"",
42684271
" }",
42694272
" ],",
42704273
" \"entry\": [",
@@ -4833,7 +4836,7 @@
48334836
" \"link\": [",
48344837
" {",
48354838
" \"relation\": \"self\",",
4836-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100\"",
4839+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100\"",
48374840
" }",
48384841
" ],",
48394842
" \"entry\": [",
@@ -5130,7 +5133,7 @@
51305133
" \"link\": [",
51315134
" {",
51325135
" \"relation\": \"self\",",
5133-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer&_include=Consent:patient\"",
5136+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer&_include=Consent:patient\"",
51345137
" }",
51355138
" ],",
51365139
" \"entry\": [",
@@ -5601,7 +5604,7 @@
56015604
" \"link\": [",
56025605
" {",
56035606
" \"relation\": \"self\",",
5604-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer\"",
5607+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer\"",
56055608
" }",
56065609
" ],",
56075610
" \"entry\": [",
@@ -6021,7 +6024,7 @@
60216024
" \"link\": [",
60226025
" {",
60236026
" \"relation\": \"self\",",
6024-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:patient\"",
6027+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:patient\"",
60256028
" }",
60266029
" ],",
60276030
" \"entry\": [",
@@ -6369,7 +6372,7 @@
63696372
" \"link\": [",
63706373
" {",
63716374
" \"relation\": \"self\",",
6372-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000025&_include=Consent:performer&_include=Consent:patient\"",
6375+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000025&_include=Consent:performer&_include=Consent:patient\"",
63736376
" }",
63746377
" ],",
63756378
" \"entry\": []",
@@ -6425,7 +6428,7 @@
64256428
" \"link\": [",
64266429
" {",
64276430
" \"relation\": \"self\",",
6428-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010\"",
6431+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010\"",
64296432
" }",
64306433
" ],",
64316434
" \"entry\": [",
@@ -6503,7 +6506,7 @@
65036506
" \"end\": \"2026-02-11\",",
65046507
" \"start\": \"2025-02-11\"",
65056508
" }",
6506-
" },",
6509+
" }",
65076510
" },",
65086511
" \"search\": {",
65096512
" \"mode\": \"match\"",
@@ -6562,7 +6565,7 @@
65626565
" \"link\": [",
65636566
" {",
65646567
" \"relation\": \"self\",",
6565-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient\"",
6568+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient\"",
65666569
" }",
65676570
" ],",
65686571
" \"entry\": [",
@@ -6792,7 +6795,7 @@
67926795
" \"link\": [",
67936796
" {",
67946797
" \"relation\": \"self\",",
6795-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019\"",
6798+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019\"",
67966799
" }",
67976800
" ],",
67986801
" \"entry\": [",
@@ -6929,7 +6932,7 @@
69296932
" \"link\": [",
69306933
" {",
69316934
" \"relation\": \"self\",",
6932-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient\"",
6935+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient\"",
69336936
" }",
69346937
" ],",
69356938
" \"entry\": [",
@@ -7903,7 +7906,7 @@
79037906
" \"link\": [",
79047907
" {",
79057908
" \"relation\": \"self\",",
7906-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010\"",
7909+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010\"",
79077910
" }",
79087911
" ],",
79097912
" \"entry\": [",
@@ -8035,7 +8038,7 @@
80358038
" \"link\": [",
80368039
" {",
80378040
" \"relation\": \"self\",",
8038-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:patient\"",
8041+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:patient\"",
80398042
" }",
80408043
" ],",
80418044
" \"entry\": [",
@@ -8194,7 +8197,7 @@
81948197
" \"link\": [",
81958198
" {",
81968199
" \"relation\": \"self\",",
8197-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer\"",
8200+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer\"",
81988201
" }",
81998202
" ],",
82008203
" \"entry\": [",
@@ -8344,7 +8347,7 @@
83448347
" \"link\": [",
83458348
" {",
83468349
" \"relation\": \"self\",",
8347-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient\"",
8350+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient\"",
83488351
" }",
83498352
" ],",
83508353
" \"entry\": [",
@@ -8571,7 +8574,7 @@
85718574
" \"link\": [",
85728575
" {",
85738576
" \"relation\": \"self\",",
8574-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019\"",
8577+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019\"",
85758578
" }",
85768579
" ],",
85778580
" \"entry\": [",
@@ -8703,7 +8706,7 @@
87038706
" \"link\": [",
87048707
" {",
87058708
" \"relation\": \"self\",",
8706-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:patient\"",
8709+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:patient\"",
87078710
" }",
87088711
" ],",
87098712
" \"entry\": [",
@@ -8866,7 +8869,7 @@
88668869
" \"link\": [",
88678870
" {",
88688871
" \"relation\": \"self\",",
8869-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer\"",
8872+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer\"",
88708873
" }",
88718874
" ],",
88728875
" \"entry\": [",
@@ -9015,7 +9018,7 @@
90159018
" \"link\": [",
90169019
" {",
90179020
" \"relation\": \"self\",",
9018-
" \"uri\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient\"",
9021+
" \"url\": \"https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient\"",
90199022
" }",
90209023
" ],",
90219024
" \"entry\": [",

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
@@ -10,7 +10,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
1010
type: searchset
1111
link:
1212
- relation: self
13-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=active&_include=Consent:performer&_include=Consent:patient
13+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=active&_include=Consent:performer&_include=Consent:patient
1414
entry:
1515
- fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742"
1616
resource:

specification/examples/responses/GET_Consent/filtered-relationships-status-inactive.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ConsentMultipleRelationshipsStatusInactiveBundle:
88
type: searchset
99
link:
1010
- relation: self
11-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=inactive
11+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=inactive
1212
entry:
1313
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/AATD11A1
1414
resource:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ConsentMultipleRelationshipsStatusProposedActiveBundle:
88
type: searchset
99
link:
1010
- relation: self
11-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=proposed&status=active&_include=Consent:patient
11+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000017&status=proposed&status=active&_include=Consent:patient
1212
entry:
1313
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9
1414
resource:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
99
type: searchset
1010
link:
1111
- relation: self
12-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:patient
12+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:patient
1313
entry:
1414
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
1515
resource:

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
@@ -10,7 +10,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
1010
type: searchset
1111
link:
1212
- relation: self
13-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer&_include=Consent:patient
13+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer&_include=Consent:patient
1414
entry:
1515
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
1616
resource:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
99
type: searchset
1010
link:
1111
- relation: self
12-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer
12+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?performer:identifier=9000000022&_include=Consent:performer
1313
entry:
1414
- fullUrl: >-
1515
https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742

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
@@ -8,7 +8,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
88
type: searchset
99
link:
1010
- relation: self
11-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:patient
11+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:patient
1212
entry:
1313
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
1414
resource:

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
@@ -8,7 +8,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
88
type: searchset
99
link:
1010
- relation: self
11-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer&_include=Consent:patient
11+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer&_include=Consent:patient
1212
entry:
1313
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
1414
resource:

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
@@ -8,7 +8,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
88
type: searchset
99
link:
1010
- relation: self
11-
uri: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer
11+
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/Consent?patient:identifier=9000000100&_include=Consent:performer
1212
entry:
1313
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
1414
resource:

0 commit comments

Comments
 (0)