Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@
" ],",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2024-01-01T00:00:00+00:00\",",
" \"total\": 4,",
" \"total\": 2,",
" \"type\": \"searchset\"",
"};",
"",
Expand Down Expand Up @@ -1492,7 +1492,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2024-01-01T00:00:00+00:00\",",
" \"total\": 2,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"link\": [",
" {",
Expand Down Expand Up @@ -2049,7 +2049,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 6,",
" \"total\": 2,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -2712,7 +2712,7 @@
"response": []
},
{
"name": "Filtered proxy relationships by 'proposed' and 'active' staus",
"name": "Filtered proxy relationships by 'proposed' and 'active' status",
"event": [
{
"listen": "test",
Expand Down Expand Up @@ -3458,7 +3458,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 6,",
" \"total\": 3,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -3925,7 +3925,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 6,",
" \"total\": 3,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -4366,7 +4366,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 9,",
" \"total\": 3,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -5274,7 +5274,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 7,",
" \"total\": 3,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -5766,7 +5766,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 6,",
" \"total\": 3,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -6207,7 +6207,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 4,",
" \"total\": 3,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -6765,7 +6765,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 3,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -7138,7 +7138,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 3,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -8250,7 +8250,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 2,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -8397,7 +8397,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 2,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -8535,7 +8535,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 3,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -8900,7 +8900,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 2,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -9051,7 +9051,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 2,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down Expand Up @@ -9194,7 +9194,7 @@
"const expectedResponseBody = {",
" \"resourceType\": \"Bundle\",",
" \"timestamp\": \"2020-08-26T14:00:00+00:00\",",
" \"total\": 3,",
" \"total\": 1,",
" \"type\": \"searchset\",",
" \"entry\": [",
" {",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ConsentMultipleRelationshipsStatusActiveIncludeDetailsBundle:
value:
resourceType: Bundle
timestamp: "2020-08-26T14:00:00+00:00"
total: 6
total: 2
type: searchset
entry:
- fullUrl: "https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ConsentMultipleRelationshipsIncludePatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 6
total: 3
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ConsentMultipleRelationshipsIncludePerformerPatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 9
total: 3
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ConsentMultipleRelationshipsIncludePerformerBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 6
total: 3
type: searchset
entry:
- fullUrl: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 4
total: 3
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 7
total: 3
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ConsentMultipleRelationshipsSinglePatientIncludePerformerPatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 6
total: 3
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ConsentSingleConsentingAdultRelationshipIncludePatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 2
total: 1
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerPatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 3
total: 1
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ConsentSingleConsentingAdultRelationshipIncludePerformerBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 2
total: 1
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ConsentSingleAdultChildRelationshipIncludePatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 2
total: 1
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ConsentSingleAdultChildRelationshipIncludePerformerPatientBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 3
total: 1
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ConsentSingleAdultChildRelationshipIncludePerformerBundle:
value:
resourceType: Bundle
timestamp: '2020-08-26T14:00:00+00:00'
total: 2
total: 1
type: searchset
entry:
- fullUrl: https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ ListRelationship9000000017Include:
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson?identifier=9000000017&_include=RelatedPerson:patient
resourceType: Bundle
timestamp: '2024-01-01T00:00:00+00:00'
total: 4
total: 2
type: searchset
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ ListRelationship9000000042Include:
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson?patient:identifier=9000000042
resourceType: Bundle
timestamp: '2024-01-01T00:00:00+00:00'
total: 2
total: 1
type: searchset
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ VerifyRelationship9000000009Include:
value:
resourceType: Bundle
timestamp: '2024-01-01T00:00:00+00:00'
total: 2
total: 1
type: searchset
link:
- relation: self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ VerifyRelationship9000000025Include:
url: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson?patient:identifier=9000000025&identifier=9000000017&_include=RelatedPerson:patient
resourceType: Bundle
timestamp: '2024-01-01T00:00:00+00:00'
total: 2
total: 1
type: searchset
2 changes: 1 addition & 1 deletion specification/validated-relationships-service-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ info:
* only covers a limited set of scenarios
* is open access, so does not allow you to test authorisation

[<img src="https://run.pstmn.io/button.svg" alt="Run In Postman" style="width: 128px; height: 32px;">](https://god.gw.postman.com/run-collection/46399153-7043e3fb-54f4-41ea-88f7-43e00a6c00dd?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D46399153-7043e3fb-54f4-41ea-88f7-43e00a6c00dd%26entityType%3Dcollection%26workspaceId%3D98276349-4ae9-4592-84a2-01459d13edc7))
[<img src="https://run.pstmn.io/button.svg" alt="Run In Postman" style="width: 128px; height: 32px;">](https://god.gw.postman.com/run-collection/46399153-73a3846c-092a-44a1-940f-18736fb1f411?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D46399153-73a3846c-092a-44a1-940f-18736fb1f411%26entityType%3Dcollection%26workspaceId%3D34c06bc9-c5de-4206-b931-9ee51c810dbb))

### Integration testing

Expand Down