From 57086779c57623d5daffc2b139d1b8e48ffdadf8 Mon Sep 17 00:00:00 2001 From: Audrey Gunson Date: Tue, 19 Nov 2024 11:32:08 +0000 Subject: [PATCH 1/2] update postman collection --- postman_collection.json | 1518 ++++++++++++++++++++++++--------------- 1 file changed, 923 insertions(+), 595 deletions(-) diff --git a/postman_collection.json b/postman_collection.json index 6b7a7989f..307be1125 100644 --- a/postman_collection.json +++ b/postman_collection.json @@ -1,596 +1,924 @@ { - "info": { - "_postman_id": "1ae8e168-3f53-4d02-a720-d88318d368f5", - "name": "NRLF", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "25486977" - }, - "item": [ - { - "name": "Producer", - "item": [ - { - "name": "Search", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "x-correlation-id", - "value": "{{X_CORRELATION_ID}}", - "type": "text" - }, - { - "key": "x-request-id", - "value": "{{X_REQUEST_ID}}", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "{{ODS_CODE}}", - "type": "text" - }, - { - "key": "Authorization", - "value": "Bearer {{ACCESS_TOKEN}}", - "type": "text" - }, - { - "key": "Accept", - "value": "{{ACCEPT}}", - "type": "text" - }, - { - "key": "Origin", - "value": "https://example.org", - "type": "text" - } - ], - "url": { - "raw": "{{APIGEE_PRODUCER_URL}}/DocumentReference?next-page-token=eyJwa18yIjogeyJTIjogIk8jUkoxMSJ9LCAicGsiOiB7IlMiOiAiRCNSSjExI2NkNzQ1NTYxLWVmZjEtMTFlZC05YWY5LTAwNTA1NjI1OTQ0Ny01ODU1NDY0NDM4NDIzNjU1NDM1YSJ9LCAic2siOiB7IlMiOiAiRCNSSjExI2NkNzQ1NTYxLWVmZjEtMTFlZC05YWY5LTAwNTA1NjI1OTQ0Ny01ODU1NDY0NDM4NDIzNjU1NDM1YSJ9LCAic2tfMiI6IHsiUyI6ICJDTyMyMDIzLTA1LTExVDExOjQ4OjU2Ljc4N1ojUkoxMSNjZDc0NTU2MS1lZmYxLTExZWQtOWFmOS0wMDUwNTYyNTk0NDctNTg1NTQ2NDQzODQyMzY1NTQzNWEifX0=", - "host": ["{{APIGEE_PRODUCER_URL}}"], - "path": ["DocumentReference"], - "query": [ - { - "key": "subject", - "value": "https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER_ALT}}", - "disabled": true - }, - { - "key": "next-page-token", - "value": "" - } - ] - } - }, - "response": [] - }, - { - "name": "Get", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "x-correlation-id", - "value": "{{X_CORRELATION_ID}}", - "type": "text" - }, - { - "key": "x-request-id", - "value": "{{X_REQUEST_ID}}", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "{{ODS_CODE}}", - "type": "text" - }, - { - "key": "Authorization", - "value": "Bearer {{ACCESS_TOKEN}}", - "type": "text" - }, - { - "key": "Accept", - "value": "{{ACCEPT}}", - "type": "text" - } - ], - "url": { - "raw": "{{APIGEE_PRODUCER_URL}}/DocumentReference/RJ11-DEMO_1002", - "host": ["{{APIGEE_PRODUCER_URL}}"], - "path": ["DocumentReference", "RJ11-DEMO_1002"] - } - }, - "response": [] - }, - { - "name": "Create", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "iLVkSlkze7RsoCRbFwq8l9LMdOyO", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "x-correlation-id", - "value": "{{X_CORRELATION_ID}}", - "type": "text" - }, - { - "key": "x-request-id", - "value": "{{X_REQUEST_ID}}", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "{{ODS_CODE}}", - "type": "text" - }, - { - "key": "Authorization", - "value": "Bearer {{ACCESS_TOKEN}}", - "type": "text" - }, - { - "key": "Accept", - "value": "{{ACCEPT}}", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"resourceType\": \"DocumentReference\",\n \"id\": \"{{ODS_CODE}}-DEMO_1013\",\n \"custodian\": {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\",\n \"value\": \"{{ODS_CODE}}\"\n }\n },\n \"subject\": {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",\n \"value\": \"{{NHS_NUMBER}}\"\n }\n },\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"{{DOCUMENT_TYPE}}\"\n }\n ]\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"url\": \"https://example.org/my-doc.pdf\"\n }\n }\n ],\n \"status\": \"current\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{APIGEE_PRODUCER_URL}}/DocumentReference", - "host": ["{{APIGEE_PRODUCER_URL}}"], - "path": ["DocumentReference"] - } - }, - "response": [] - }, - { - "name": "Update", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "epUZAAdeUpgiSCqBH6a4R7peQf52", - "type": "string" - } - ] - }, - "method": "PUT", - "header": [ - { - "key": "x-correlation-id", - "value": "{{X_CORRELATION_ID}}", - "type": "text" - }, - { - "key": "x-request-id", - "value": "{{X_REQUEST_ID}}", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "{{ODS_CODE}}", - "type": "text" - }, - { - "key": "Authorization", - "value": "Bearer {{ACCESS_TOKEN}}", - "type": "text" - }, - { - "key": "Accept", - "value": "{{ACCEPT}}", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": " {\n \"resourceType\": \"DocumentReference\",\n \"id\": \"{{ODS_CODE}}-DEMO_1013\",\n \"custodian\": {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\",\n \"value\": \"{{ODS_CODE}}\"\n }\n },\n \"subject\": {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",\n \"value\": \"{{NHS_NUMBER}}\"\n }\n },\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"{{DOCUMENT_TYPE}}\"\n }\n ]\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"url\": \"https://example.org/sample.pdf\"\n }\n }\n ],\n \"status\": \"current\"\n }", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{APIGEE_PRODUCER_URL}}/DocumentReference/RJ11-DEMO_1013", - "host": ["{{APIGEE_PRODUCER_URL}}"], - "path": ["DocumentReference", "RJ11-DEMO_1013"] - } - }, - "response": [] - }, - { - "name": "Delete", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "QhvNkmqPhHKATT9Q5DUhqkGrjcYb", - "type": "string" - } - ] - }, - "method": "DELETE", - "header": [ - { - "key": "x-correlation-id", - "value": "{{X_CORRELATION_ID}}", - "type": "text" - }, - { - "key": "x-request-id", - "value": "{{X_REQUEST_ID}}", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "{{ODS_CODE}}", - "type": "text" - }, - { - "key": "Authorization", - "value": "Bearer {{ACCESS_TOKEN}}", - "type": "text" - }, - { - "key": "Accept", - "value": "{{ACCEPT}}", - "type": "text" - } - ], - "url": { - "raw": "{{APIGEE_PRODUCER_URL}}/DocumentReference/{{ODS_CODE}}-DEMO_1013", - "host": ["{{APIGEE_PRODUCER_URL}}"], - "path": ["DocumentReference", "{{ODS_CODE}}-DEMO_1013"], - "query": [ - { - "key": "subject", - "value": "https%3A%2F%2Fsnomed.info%2Fict%7C736253002", - "disabled": true - } - ] - } - }, - "response": [] - } - ] - }, - { - "name": "Consumer", - "item": [ - { - "name": "Search", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "YTSbEXOiCE5KubSO534QJ8uWDF1F", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "x-correlation-id", - "value": "{{X_CORRELATION_ID}}", - "type": "text" - }, - { - "key": "x-request-id", - "value": "{{X_REQUEST_ID}}", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "{{ODS_CODE}}", - "type": "text" - }, - { - "key": "Authorization", - "value": "Bearer {{ACCESS_TOKEN}}", - "type": "text" - }, - { - "key": "Accept", - "value": "{{ACCEPT}}", - "type": "text" - } - ], - "url": { - "raw": "{{APIGEE_CONSUMER_URL}}/DocumentReference?subject:identifier=https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER}}", - "host": ["{{APIGEE_CONSUMER_URL}}"], - "path": ["DocumentReference"], - "query": [ - { - "key": "subject:identifier", - "value": "https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Count", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "YTSbEXOiCE5KubSO534QJ8uWDF1F", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "x-correlation-id", - "value": "{{X_CORRELATION_ID}}", - "type": "text" - }, - { - "key": "x-request-id", - "value": "{{X_REQUEST_ID}}", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "{{ODS_CODE}}", - "type": "text" - }, - { - "key": "Authorization", - "value": "Bearer {{ACCESS_TOKEN}}", - "type": "text" - }, - { - "key": "Accept", - "value": "{{ACCEPT}}", - "type": "text" - } - ], - "url": { - "raw": "{{APIGEE_CONSUMER_URL}}/DocumentReference/_count?subject:identifier=https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER}}", - "host": ["{{APIGEE_CONSUMER_URL}}"], - "path": ["DocumentReference", "_count"], - "query": [ - { - "key": "subject:identifier", - "value": "https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER}}" - } - ] - } - }, - "response": [] - }, - { - "name": "Get", - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "FAAW6WAFNHBh96DbifB9u0AI3xnf", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "x-correlation-id", - "value": "{{X_CORRELATION_ID}}", - "type": "text" - }, - { - "key": "x-request-id", - "value": "{{X_REQUEST_ID}}", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "{{ODS_CODE}}", - "type": "text" - }, - { - "key": "Authorization", - "value": "Bearer {{ACCESS_TOKEN}}", - "type": "text" - }, - { - "key": "Accept", - "value": "{{ACCEPT}}", - "type": "text" - } - ], - "url": { - "raw": "{{APIGEE_CONSUMER_URL}}/DocumentReference/{{ODS_CODE}}-DEMO_1002", - "host": ["{{APIGEE_CONSUMER_URL}}"], - "path": ["DocumentReference", "{{ODS_CODE}}-DEMO_1002"] - } - }, - "response": [] - } - ] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "pm.globals.set('now', new Date().toISOString().substr(0, 19));", - "pm.globals.set('randomNumber', Math.floor(Math.random() * 100));", - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [""] - } - } - ], - "variable": [ - { - "key": "APIGEE_BASE_URL", - "value": "https://int.api.service.nhs.uk", - "type": "string" - }, - { - "key": "APIGEE_PRODUCER_URL", - "value": "{{APIGEE_BASE_URL}}/nrl-producer-api/FHIR/R4", - "type": "string" - }, - { - "key": "APIGEE_CONSUMER_URL", - "value": "{{APIGEE_BASE_URL}}/nrl-consumer-api/FHIR/R4", - "type": "string" - }, - { - "key": "ODS_CODE", - "value": "!! CHANGE THIS VALUE !!", - "type": "string" - }, - { - "key": "ACCESS_TOKEN", - "value": "!! CHANGE THIS VALUE !!" - }, - { - "key": "DOCUMENT_TYPE", - "value": "{{SNOMED_MENTAL_HEALTH_CRISIS_PLAN}}", - "type": "string" - }, - { - "key": "DOCUMENT_TYPE_SET", - "value": "https%3A%2F%2Fsnomed.info%2Fict%7C{{DOCUMENT_TYPE}}", - "type": "string" - }, - { - "key": "VERSION", - "value": "1", - "type": "string" - }, - { - "key": "X_REQUEST_ID", - "value": "DEMO", - "type": "string" - }, - { - "key": "X_CORRELATION_ID", - "value": "DEMO", - "type": "string" - }, - { - "key": "NHSD_CORRELATION_ID", - "value": "{{X_CORRELATION_ID}}", - "type": "string" - }, - { - "key": "NHS_NUMBER", - "value": "9278693472", - "type": "string" - }, - { - "key": "NHS_NUMBER_ALT", - "value": "9448646348", - "type": "string" - }, - { - "key": "NHS_NUMBER_MISSING", - "value": "9000000033", - "type": "string" - }, - { - "key": "SUBJECT", - "value": "https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER}}", - "type": "string" - }, - { - "key": "LOCAL_DOCUMENT_ID", - "value": "DEMO_0000000001", - "type": "string" - }, - { - "key": "DOCUMENT_ID", - "value": "{{ODS_CODE}}-{{LOCAL_DOCUMENT_ID}}", - "type": "string" - }, - { - "key": "SNOMED_CODE_APPOINTMENT", - "value": "749001000000101", - "type": "string" - }, - { - "key": "SNOMED_EMERGENCY_HEALTH_CARE_PLAN", - "value": "887701000000100", - "type": "string" - }, - { - "key": "SNOMED_MENTAL_HEALTH_CRISIS_PLAN", - "value": "736253002", - "type": "string" - }, - { - "key": "SNOMED_END_OF_LIFE_CARE_COORDINATION_SUMMARY", - "value": "861421000000109", - "type": "string" - }, - { - "key": "ACCEPT", - "value": "application/json; version={{VERSION}}", - "type": "string" - } - ] -} + "info": { + "_postman_id": "b5669e36-79c3-417d-b459-a71cd54a3009", + "name": "NRLF", + "description": "Data:-\n\nCustodian is Y05868, NHS number is 3495456481, Pointer type 736253002 (Mental Health Crisis Plan)\n\nInstructions:-\n\nThere are 2 sets of tests Producer, with all the Producer interactions and Consumer, with all the Consumer interactions.\n\nUse POST Create to create some pointers so you can then search, read, update and delete them. Over time pointers may be deleted so its best to use a Search command to see what pointers are available and note down their 'id' so they can be used within other interactions.\n\nFor POST Create Supersede then a pointer to supersede should be identified and updated within the 'relatesTo' segment within the request. The supersede must be for the same patient and pointer type.\n\nThe document attachment is purely a test website. The postman collection will not retrieve documents as SSP is required for retrieval.\n\nNo token is needed when sending the request as the Sandbox does not require this.", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "33474807", + "_collection_link": "https://cellsigma.postman.co/workspace/My-Workspace~a0c5ee7e-14ee-44f6-8976-a715e9e3c391/collection/33474807-b5669e36-79c3-417d-b459-a71cd54a3009?action=share&source=collection_link&creator=33474807" + }, + "item": [ + { + "name": "Producer", + "item": [ + { + "name": "POST Create Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "create-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference" + ] + } + }, + "response": [] + }, + { + "name": "POST Create Supersede Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "create-supersede-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"relatesTo\": [\n {\n \"code\": \"replaces\",\n \"target\": {\n \"type\": \"DocumentReference\",\n \"identifier\": {\n \"value\": \"Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8\"\n }\n }\n }\n ],\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference" + ] + } + }, + "response": [] + }, + { + "name": "PUT Update Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "update-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"current\",\n \"id\":\"Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference", + "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" + ] + } + }, + "response": [] + }, + { + "name": "POST Search Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "search-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\"subject:identifier\":\"https://fhir.nhs.uk/Id/nhs-number|3495456481\",\n\"type\":\"http://snomed.info/sct|736253002\"}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/_search", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference", + "_search" + ] + } + }, + "response": [] + }, + { + "name": "GET Search Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "GET", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "search-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481&type=http://snomed.info/sct|736253002", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference" + ], + "query": [ + { + "key": "subject:identifier", + "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" + }, + { + "key": "type", + "value": "http://snomed.info/sct|736253002" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Read Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "GET", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "read-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference", + "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" + ] + } + }, + "response": [] + }, + { + "name": "DEL Delete Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "DELETE", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "delete-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-bf392627-31d5-464f-bd34-a47072c9768e", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference", + "Y05868-bf392627-31d5-464f-bd34-a47072c9768e" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Consumer", + "item": [ + { + "name": "GET Search", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "SazYuPaGhA1uaWr3HCq7U7cZilhM", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "version=1.0", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "consumer-get-search", + "type": "text" + }, + { + "key": "x-request-id", + "value": "search-pointer", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481&type=http://snomed.info/sct|736253002&custodian:identifier=https://fhir.nhs.uk/Id/ods-organization-code|Y05868", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "consumer", + "FHIR", + "R4", + "DocumentReference" + ], + "query": [ + { + "key": "subject:identifier", + "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" + }, + { + "key": "type", + "value": "http://snomed.info/sct|736253002" + }, + { + "key": "custodian:identifier", + "value": "https://fhir.nhs.uk/Id/ods-organization-code|Y05868" + }, + { + "key": "next-page-token", + "value": "", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "POST Search", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "gwAJySqy0SySAHwN71GixPSbCLHV", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json; version=1.0", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "consumer-post-search", + "type": "text" + }, + { + "key": "x-request-id", + "value": "search-pointer", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\"type\":\"http://snomed.info/sct|736253002\",\n\"subject:identifier\":\"https://fhir.nhs.uk/Id/nhs-number|3495456481\",\n\"custodian:identifier\":\"https://fhir.nhs.uk/Id/ods-organization-code|Y05868\"}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/_search", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "consumer", + "FHIR", + "R4", + "DocumentReference", + "_search" + ] + } + }, + "response": [] + }, + { + "name": "GET count", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "bpt9fauEItb5fn1xEWJOy7aQsGxn", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "version=1.0", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "consumer-count", + "type": "text" + }, + { + "key": "x-request-id", + "value": "count-pointer", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/_count?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "consumer", + "FHIR", + "R4", + "DocumentReference", + "_count" + ], + "query": [ + { + "key": "subject:identifier", + "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Read", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "bpt9fauEItb5fn1xEWJOy7aQsGxn", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "version=1.0", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "consumer-read", + "type": "text" + }, + { + "key": "x-request-id", + "value": "read-pointer", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", + "protocol": "https", + "host": [ + "sandbox", + "api", + "service", + "nhs", + "uk" + ], + "path": [ + "record-locator", + "consumer", + "FHIR", + "R4", + "DocumentReference", + "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" + ] + } + }, + "response": [] + } + ] + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "pm.globals.set('now', new Date().toISOString().substr(0, 19));", + "pm.globals.set('randomNumber', Math.floor(Math.random() * 100));", + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "APIGEE_BASE_URL", + "value": "https://int.api.service.nhs.uk", + "type": "string" + }, + { + "key": "APIGEE_PRODUCER_URL", + "value": "{{APIGEE_BASE_URL}}/nrl-producer-api/FHIR/R4", + "type": "string" + }, + { + "key": "APIGEE_CONSUMER_URL", + "value": "{{APIGEE_BASE_URL}}/nrl-consumer-api/FHIR/R4", + "type": "string" + }, + { + "key": "ODS_CODE", + "value": "!! CHANGE THIS VALUE !!", + "type": "string" + }, + { + "key": "ACCESS_TOKEN", + "value": "!! CHANGE THIS VALUE !!" + }, + { + "key": "DOCUMENT_TYPE", + "value": "{{SNOMED_MENTAL_HEALTH_CRISIS_PLAN}}", + "type": "string" + }, + { + "key": "DOCUMENT_TYPE_SET", + "value": "https%3A%2F%2Fsnomed.info%2Fict%7C{{DOCUMENT_TYPE}}", + "type": "string" + }, + { + "key": "VERSION", + "value": "1", + "type": "string" + }, + { + "key": "X_REQUEST_ID", + "value": "DEMO", + "type": "string" + }, + { + "key": "X_CORRELATION_ID", + "value": "DEMO", + "type": "string" + }, + { + "key": "NHSD_CORRELATION_ID", + "value": "{{X_CORRELATION_ID}}", + "type": "string" + }, + { + "key": "NHS_NUMBER", + "value": "9278693472", + "type": "string" + }, + { + "key": "NHS_NUMBER_ALT", + "value": "9448646348", + "type": "string" + }, + { + "key": "NHS_NUMBER_MISSING", + "value": "9000000033", + "type": "string" + }, + { + "key": "SUBJECT", + "value": "https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER}}", + "type": "string" + }, + { + "key": "LOCAL_DOCUMENT_ID", + "value": "DEMO_0000000001", + "type": "string" + }, + { + "key": "DOCUMENT_ID", + "value": "{{ODS_CODE}}-{{LOCAL_DOCUMENT_ID}}", + "type": "string" + }, + { + "key": "SNOMED_CODE_APPOINTMENT", + "value": "749001000000101", + "type": "string" + }, + { + "key": "SNOMED_EMERGENCY_HEALTH_CARE_PLAN", + "value": "887701000000100", + "type": "string" + }, + { + "key": "SNOMED_MENTAL_HEALTH_CRISIS_PLAN", + "value": "736253002", + "type": "string" + }, + { + "key": "SNOMED_END_OF_LIFE_CARE_COORDINATION_SUMMARY", + "value": "861421000000109", + "type": "string" + }, + { + "key": "ACCEPT", + "value": "application/json; version={{VERSION}}", + "type": "string" + } + ] +} \ No newline at end of file From 7092547415a8162617b673028d934189902bcdd1 Mon Sep 17 00:00:00 2001 From: Audrey Gunson Date: Tue, 19 Nov 2024 16:44:59 +0000 Subject: [PATCH 2/2] update postman collection and lint --- postman_collection.json | 1778 +++++++++++++++++++-------------------- 1 file changed, 855 insertions(+), 923 deletions(-) diff --git a/postman_collection.json b/postman_collection.json index 307be1125..8bea56f56 100644 --- a/postman_collection.json +++ b/postman_collection.json @@ -1,924 +1,856 @@ { - "info": { - "_postman_id": "b5669e36-79c3-417d-b459-a71cd54a3009", - "name": "NRLF", - "description": "Data:-\n\nCustodian is Y05868, NHS number is 3495456481, Pointer type 736253002 (Mental Health Crisis Plan)\n\nInstructions:-\n\nThere are 2 sets of tests Producer, with all the Producer interactions and Consumer, with all the Consumer interactions.\n\nUse POST Create to create some pointers so you can then search, read, update and delete them. Over time pointers may be deleted so its best to use a Search command to see what pointers are available and note down their 'id' so they can be used within other interactions.\n\nFor POST Create Supersede then a pointer to supersede should be identified and updated within the 'relatesTo' segment within the request. The supersede must be for the same patient and pointer type.\n\nThe document attachment is purely a test website. The postman collection will not retrieve documents as SSP is required for retrieval.\n\nNo token is needed when sending the request as the Sandbox does not require this.", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "33474807", - "_collection_link": "https://cellsigma.postman.co/workspace/My-Workspace~a0c5ee7e-14ee-44f6-8976-a715e9e3c391/collection/33474807-b5669e36-79c3-417d-b459-a71cd54a3009?action=share&source=collection_link&creator=33474807" - }, - "item": [ - { - "name": "Producer", - "item": [ - { - "name": "POST Create Pointer", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "POST", - "header": [ - { - "key": "nhsd-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - }, - { - "key": "Authorization", - "value": "auth", - "type": "text" - }, - { - "key": "x-request-id", - "value": "create-pointer-test", - "type": "text" - }, - { - "key": "accept", - "value": "version=1.0", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "producer", - "FHIR", - "R4", - "DocumentReference" - ] - } - }, - "response": [] - }, - { - "name": "POST Create Supersede Pointer", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "POST", - "header": [ - { - "key": "nhsd-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - }, - { - "key": "Authorization", - "value": "auth", - "type": "text" - }, - { - "key": "x-request-id", - "value": "create-supersede-pointer-test", - "type": "text" - }, - { - "key": "accept", - "value": "version=1.0", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"relatesTo\": [\n {\n \"code\": \"replaces\",\n \"target\": {\n \"type\": \"DocumentReference\",\n \"identifier\": {\n \"value\": \"Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8\"\n }\n }\n }\n ],\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "producer", - "FHIR", - "R4", - "DocumentReference" - ] - } - }, - "response": [] - }, - { - "name": "PUT Update Pointer", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "PUT", - "header": [ - { - "key": "nhsd-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - }, - { - "key": "Authorization", - "value": "auth", - "type": "text" - }, - { - "key": "x-request-id", - "value": "update-pointer-test", - "type": "text" - }, - { - "key": "accept", - "value": "version=1.0", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"status\": \"current\",\n \"id\":\"Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "producer", - "FHIR", - "R4", - "DocumentReference", - "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" - ] - } - }, - "response": [] - }, - { - "name": "POST Search Pointer", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "POST", - "header": [ - { - "key": "nhsd-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - }, - { - "key": "Authorization", - "value": "auth", - "type": "text" - }, - { - "key": "x-request-id", - "value": "search-pointer-test", - "type": "text" - }, - { - "key": "accept", - "value": "version=1.0", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\"subject:identifier\":\"https://fhir.nhs.uk/Id/nhs-number|3495456481\",\n\"type\":\"http://snomed.info/sct|736253002\"}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/_search", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "producer", - "FHIR", - "R4", - "DocumentReference", - "_search" - ] - } - }, - "response": [] - }, - { - "name": "GET Search Pointer", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "GET", - "header": [ - { - "key": "nhsd-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - }, - { - "key": "Authorization", - "value": "auth", - "type": "text" - }, - { - "key": "x-request-id", - "value": "search-pointer-test", - "type": "text" - }, - { - "key": "accept", - "value": "version=1.0", - "type": "text" - } - ], - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481&type=http://snomed.info/sct|736253002", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "producer", - "FHIR", - "R4", - "DocumentReference" - ], - "query": [ - { - "key": "subject:identifier", - "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" - }, - { - "key": "type", - "value": "http://snomed.info/sct|736253002" - } - ] - } - }, - "response": [] - }, - { - "name": "GET Read Pointer", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "GET", - "header": [ - { - "key": "nhsd-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - }, - { - "key": "Authorization", - "value": "auth", - "type": "text" - }, - { - "key": "x-request-id", - "value": "read-pointer-test", - "type": "text" - }, - { - "key": "accept", - "value": "version=1.0", - "type": "text" - } - ], - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "producer", - "FHIR", - "R4", - "DocumentReference", - "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" - ] - } - }, - "response": [] - }, - { - "name": "DEL Delete Pointer", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "DELETE", - "header": [ - { - "key": "nhsd-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "nrl-producer-api-sandbox", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - }, - { - "key": "Authorization", - "value": "auth", - "type": "text" - }, - { - "key": "x-request-id", - "value": "delete-pointer-test", - "type": "text" - }, - { - "key": "accept", - "value": "version=1.0", - "type": "text" - } - ], - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-bf392627-31d5-464f-bd34-a47072c9768e", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "producer", - "FHIR", - "R4", - "DocumentReference", - "Y05868-bf392627-31d5-464f-bd34-a47072c9768e" - ] - } - }, - "response": [] - } - ] - }, - { - "name": "Consumer", - "item": [ - { - "name": "GET Search", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "SazYuPaGhA1uaWr3HCq7U7cZilhM", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "version=1.0", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "consumer-get-search", - "type": "text" - }, - { - "key": "x-request-id", - "value": "search-pointer", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - } - ], - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481&type=http://snomed.info/sct|736253002&custodian:identifier=https://fhir.nhs.uk/Id/ods-organization-code|Y05868", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "consumer", - "FHIR", - "R4", - "DocumentReference" - ], - "query": [ - { - "key": "subject:identifier", - "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" - }, - { - "key": "type", - "value": "http://snomed.info/sct|736253002" - }, - { - "key": "custodian:identifier", - "value": "https://fhir.nhs.uk/Id/ods-organization-code|Y05868" - }, - { - "key": "next-page-token", - "value": "", - "disabled": true - } - ] - } - }, - "response": [] - }, - { - "name": "POST Search", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "gwAJySqy0SySAHwN71GixPSbCLHV", - "type": "string" - } - ] - }, - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json; version=1.0", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "consumer-post-search", - "type": "text" - }, - { - "key": "x-request-id", - "value": "search-pointer", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\"type\":\"http://snomed.info/sct|736253002\",\n\"subject:identifier\":\"https://fhir.nhs.uk/Id/nhs-number|3495456481\",\n\"custodian:identifier\":\"https://fhir.nhs.uk/Id/ods-organization-code|Y05868\"}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/_search", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "consumer", - "FHIR", - "R4", - "DocumentReference", - "_search" - ] - } - }, - "response": [] - }, - { - "name": "GET count", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "bpt9fauEItb5fn1xEWJOy7aQsGxn", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "version=1.0", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "consumer-count", - "type": "text" - }, - { - "key": "x-request-id", - "value": "count-pointer", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - } - ], - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/_count?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "consumer", - "FHIR", - "R4", - "DocumentReference", - "_count" - ], - "query": [ - { - "key": "subject:identifier", - "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" - } - ] - } - }, - "response": [] - }, - { - "name": "GET Read", - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "auth": { - "type": "bearer", - "bearer": [ - { - "key": "token", - "value": "bpt9fauEItb5fn1xEWJOy7aQsGxn", - "type": "string" - } - ] - }, - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "version=1.0", - "type": "text" - }, - { - "key": "x-correlation-id", - "value": "consumer-read", - "type": "text" - }, - { - "key": "x-request-id", - "value": "read-pointer", - "type": "text" - }, - { - "key": "NHSD-End-User-Organisation-ODS", - "value": "Y05868", - "type": "text" - } - ], - "url": { - "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", - "protocol": "https", - "host": [ - "sandbox", - "api", - "service", - "nhs", - "uk" - ], - "path": [ - "record-locator", - "consumer", - "FHIR", - "R4", - "DocumentReference", - "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" - ] - } - }, - "response": [] - } - ] - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "pm.globals.set('now', new Date().toISOString().substr(0, 19));", - "pm.globals.set('randomNumber', Math.floor(Math.random() * 100));", - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ], - "variable": [ - { - "key": "APIGEE_BASE_URL", - "value": "https://int.api.service.nhs.uk", - "type": "string" - }, - { - "key": "APIGEE_PRODUCER_URL", - "value": "{{APIGEE_BASE_URL}}/nrl-producer-api/FHIR/R4", - "type": "string" - }, - { - "key": "APIGEE_CONSUMER_URL", - "value": "{{APIGEE_BASE_URL}}/nrl-consumer-api/FHIR/R4", - "type": "string" - }, - { - "key": "ODS_CODE", - "value": "!! CHANGE THIS VALUE !!", - "type": "string" - }, - { - "key": "ACCESS_TOKEN", - "value": "!! CHANGE THIS VALUE !!" - }, - { - "key": "DOCUMENT_TYPE", - "value": "{{SNOMED_MENTAL_HEALTH_CRISIS_PLAN}}", - "type": "string" - }, - { - "key": "DOCUMENT_TYPE_SET", - "value": "https%3A%2F%2Fsnomed.info%2Fict%7C{{DOCUMENT_TYPE}}", - "type": "string" - }, - { - "key": "VERSION", - "value": "1", - "type": "string" - }, - { - "key": "X_REQUEST_ID", - "value": "DEMO", - "type": "string" - }, - { - "key": "X_CORRELATION_ID", - "value": "DEMO", - "type": "string" - }, - { - "key": "NHSD_CORRELATION_ID", - "value": "{{X_CORRELATION_ID}}", - "type": "string" - }, - { - "key": "NHS_NUMBER", - "value": "9278693472", - "type": "string" - }, - { - "key": "NHS_NUMBER_ALT", - "value": "9448646348", - "type": "string" - }, - { - "key": "NHS_NUMBER_MISSING", - "value": "9000000033", - "type": "string" - }, - { - "key": "SUBJECT", - "value": "https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER}}", - "type": "string" - }, - { - "key": "LOCAL_DOCUMENT_ID", - "value": "DEMO_0000000001", - "type": "string" - }, - { - "key": "DOCUMENT_ID", - "value": "{{ODS_CODE}}-{{LOCAL_DOCUMENT_ID}}", - "type": "string" - }, - { - "key": "SNOMED_CODE_APPOINTMENT", - "value": "749001000000101", - "type": "string" - }, - { - "key": "SNOMED_EMERGENCY_HEALTH_CARE_PLAN", - "value": "887701000000100", - "type": "string" - }, - { - "key": "SNOMED_MENTAL_HEALTH_CRISIS_PLAN", - "value": "736253002", - "type": "string" - }, - { - "key": "SNOMED_END_OF_LIFE_CARE_COORDINATION_SUMMARY", - "value": "861421000000109", - "type": "string" - }, - { - "key": "ACCEPT", - "value": "application/json; version={{VERSION}}", - "type": "string" - } - ] -} \ No newline at end of file + "info": { + "_postman_id": "b5669e36-79c3-417d-b459-a71cd54a3009", + "name": "NRLF", + "description": "Data:-\n\nCustodian is Y05868, NHS number is 3495456481, Pointer type 736253002 (Mental Health Crisis Plan)\n\nInstructions:-\n\nThere are 2 sets of tests Producer, with all the Producer interactions and Consumer, with all the Consumer interactions.\n\nUse POST Create to create some pointers so you can then search, read, update and delete them. Over time pointers may be deleted so its best to use a Search command to see what pointers are available and note down their 'id' so they can be used within other interactions.\n\nFor POST Create Supersede then a pointer to supersede should be identified and updated within the 'relatesTo' segment within the request. The supersede must be for the same patient and pointer type.\n\nThe document attachment is purely a test website. The postman collection will not retrieve documents as SSP is required for retrieval.\n\nNo token is needed when sending the request as the Sandbox does not require this.", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "_exporter_id": "33474807", + "_collection_link": "https://cellsigma.postman.co/workspace/My-Workspace~a0c5ee7e-14ee-44f6-8976-a715e9e3c391/collection/33474807-b5669e36-79c3-417d-b459-a71cd54a3009?action=share&source=collection_link&creator=33474807" + }, + "item": [ + { + "name": "Producer", + "item": [ + { + "name": "POST Create Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "create-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference" + ] + } + }, + "response": [] + }, + { + "name": "POST Create Supersede Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "create-supersede-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"current\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"relatesTo\": [\n {\n \"code\": \"replaces\",\n \"target\": {\n \"type\": \"DocumentReference\",\n \"identifier\": {\n \"value\": \"Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8\"\n }\n }\n }\n ],\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference" + ] + } + }, + "response": [] + }, + { + "name": "PUT Update Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "update-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"current\",\n \"id\":\"Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8\",\n \"type\": {\n \"coding\": [\n {\n \"code\": \"736253002\",\n \"display\": \"Mental health crisis plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"category\": [\n {\n \"coding\": [\n {\n \"code\": \"734163000\",\n \"display\": \"Care plan\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n }\n ],\n \"subject\": {\n \"identifier\": {\n \"value\": \"3495456481\",\n \"system\": \"https://fhir.nhs.uk/Id/nhs-number\"\n }\n },\n \"date\": \"2024-10-29T13:23:28+00:00\",\n \"author\": [\n {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n }\n ],\n \"custodian\": {\n \"identifier\": {\n \"value\": \"Y05868\",\n \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"\n }\n },\n \"content\": [\n {\n \"attachment\": {\n \"contentType\": \"application/pdf\",\n \"language\": \"en-US\",\n \"url\": \"https://example.org/my-doc.pdf\",\n \"creation\": \"2024-10-28T15:26:00+01:00\",\n \"hash\": \"2jmj7l5rSw0yVb/vlWAYkK/YBwk=\",\n \"title\": \"Physical\",\n \"size\":\"1000\"\n },\n \"format\": {\n \"code\": \"urn:nhs-ic:unstructured\",\n \"display\": \"Unstructured Document\",\n \"system\": \"https://fhir.nhs.uk/STU3/CodeSystem/NRL-FormatCode-1\"\n }\n }\n ],\n \"context\": {\n \"period\": {\n \"start\": \"2024-03-06T13:34:00+01:00\",\n \"end\":\"2026-03-06T13:34:00+01:00\"\n },\n \"practiceSetting\": {\n \"coding\": [\n {\n \"code\": \"708168004\",\n \"display\": \"Mental health service (qualifier value)\",\n \"system\": \"http://snomed.info/sct\"\n }\n ]\n },\n \"related\": [\n {\n \"identifier\": {\n \"system\": \"https://fhir.nhs.uk/Id/nhsSpineASID\",\n \"value\": \"200000001991\"\n }\n }\n ]\n },\n \"resourceType\": \"DocumentReference\"\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference", + "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" + ] + } + }, + "response": [] + }, + { + "name": "POST Search Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "search-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\"subject:identifier\":\"https://fhir.nhs.uk/Id/nhs-number|3495456481\",\n\"type\":\"http://snomed.info/sct|736253002\"}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/_search", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference", + "_search" + ] + } + }, + "response": [] + }, + { + "name": "GET Search Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "GET", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "search-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481&type=http://snomed.info/sct|736253002", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference" + ], + "query": [ + { + "key": "subject:identifier", + "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" + }, + { + "key": "type", + "value": "http://snomed.info/sct|736253002" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Read Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "GET", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "read-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference", + "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" + ] + } + }, + "response": [] + }, + { + "name": "DEL Delete Pointer", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "method": "DELETE", + "header": [ + { + "key": "nhsd-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "nrl-producer-api-sandbox", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + }, + { + "key": "Authorization", + "value": "auth", + "type": "text" + }, + { + "key": "x-request-id", + "value": "delete-pointer-test", + "type": "text" + }, + { + "key": "accept", + "value": "version=1.0", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/producer/FHIR/R4/DocumentReference/Y05868-bf392627-31d5-464f-bd34-a47072c9768e", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "producer", + "FHIR", + "R4", + "DocumentReference", + "Y05868-bf392627-31d5-464f-bd34-a47072c9768e" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Consumer", + "item": [ + { + "name": "GET Search", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "SazYuPaGhA1uaWr3HCq7U7cZilhM", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "version=1.0", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "consumer-get-search", + "type": "text" + }, + { + "key": "x-request-id", + "value": "search-pointer", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481&type=http://snomed.info/sct|736253002&custodian:identifier=https://fhir.nhs.uk/Id/ods-organization-code|Y05868", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "consumer", + "FHIR", + "R4", + "DocumentReference" + ], + "query": [ + { + "key": "subject:identifier", + "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" + }, + { + "key": "type", + "value": "http://snomed.info/sct|736253002" + }, + { + "key": "custodian:identifier", + "value": "https://fhir.nhs.uk/Id/ods-organization-code|Y05868" + }, + { + "key": "next-page-token", + "value": "", + "disabled": true + } + ] + } + }, + "response": [] + }, + { + "name": "POST Search", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "gwAJySqy0SySAHwN71GixPSbCLHV", + "type": "string" + } + ] + }, + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json; version=1.0", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "consumer-post-search", + "type": "text" + }, + { + "key": "x-request-id", + "value": "search-pointer", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\"type\":\"http://snomed.info/sct|736253002\",\n\"subject:identifier\":\"https://fhir.nhs.uk/Id/nhs-number|3495456481\",\n\"custodian:identifier\":\"https://fhir.nhs.uk/Id/ods-organization-code|Y05868\"}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/_search", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "consumer", + "FHIR", + "R4", + "DocumentReference", + "_search" + ] + } + }, + "response": [] + }, + { + "name": "GET count", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "bpt9fauEItb5fn1xEWJOy7aQsGxn", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "version=1.0", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "consumer-count", + "type": "text" + }, + { + "key": "x-request-id", + "value": "count-pointer", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/_count?subject:identifier=https://fhir.nhs.uk/Id/nhs-number|3495456481", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "consumer", + "FHIR", + "R4", + "DocumentReference", + "_count" + ], + "query": [ + { + "key": "subject:identifier", + "value": "https://fhir.nhs.uk/Id/nhs-number|3495456481" + } + ] + } + }, + "response": [] + }, + { + "name": "GET Read", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + } + }, + "request": { + "auth": { + "type": "bearer", + "bearer": [ + { + "key": "token", + "value": "bpt9fauEItb5fn1xEWJOy7aQsGxn", + "type": "string" + } + ] + }, + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "version=1.0", + "type": "text" + }, + { + "key": "x-correlation-id", + "value": "consumer-read", + "type": "text" + }, + { + "key": "x-request-id", + "value": "read-pointer", + "type": "text" + }, + { + "key": "NHSD-End-User-Organisation-ODS", + "value": "Y05868", + "type": "text" + } + ], + "url": { + "raw": "https://sandbox.api.service.nhs.uk/record-locator/consumer/FHIR/R4/DocumentReference/Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8", + "protocol": "https", + "host": ["sandbox", "api", "service", "nhs", "uk"], + "path": [ + "record-locator", + "consumer", + "FHIR", + "R4", + "DocumentReference", + "Y05868-26b5c8bf-864b-4eb1-928f-4bafb6d9b7b8" + ] + } + }, + "response": [] + } + ] + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "pm.globals.set('now', new Date().toISOString().substr(0, 19));", + "pm.globals.set('randomNumber', Math.floor(Math.random() * 100));", + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [""] + } + } + ], + "variable": [ + { + "key": "APIGEE_BASE_URL", + "value": "https://int.api.service.nhs.uk", + "type": "string" + }, + { + "key": "APIGEE_PRODUCER_URL", + "value": "{{APIGEE_BASE_URL}}/nrl-producer-api/FHIR/R4", + "type": "string" + }, + { + "key": "APIGEE_CONSUMER_URL", + "value": "{{APIGEE_BASE_URL}}/nrl-consumer-api/FHIR/R4", + "type": "string" + }, + { + "key": "ODS_CODE", + "value": "!! CHANGE THIS VALUE !!", + "type": "string" + }, + { + "key": "ACCESS_TOKEN", + "value": "!! CHANGE THIS VALUE !!" + }, + { + "key": "DOCUMENT_TYPE", + "value": "{{SNOMED_MENTAL_HEALTH_CRISIS_PLAN}}", + "type": "string" + }, + { + "key": "DOCUMENT_TYPE_SET", + "value": "https%3A%2F%2Fsnomed.info%2Fict%7C{{DOCUMENT_TYPE}}", + "type": "string" + }, + { + "key": "VERSION", + "value": "1", + "type": "string" + }, + { + "key": "X_REQUEST_ID", + "value": "DEMO", + "type": "string" + }, + { + "key": "X_CORRELATION_ID", + "value": "DEMO", + "type": "string" + }, + { + "key": "NHSD_CORRELATION_ID", + "value": "{{X_CORRELATION_ID}}", + "type": "string" + }, + { + "key": "NHS_NUMBER", + "value": "9278693472", + "type": "string" + }, + { + "key": "NHS_NUMBER_ALT", + "value": "9448646348", + "type": "string" + }, + { + "key": "NHS_NUMBER_MISSING", + "value": "9000000033", + "type": "string" + }, + { + "key": "SUBJECT", + "value": "https%3A%2F%2Ffhir.nhs.uk%2FId%2Fnhs-number%7C{{NHS_NUMBER}}", + "type": "string" + }, + { + "key": "LOCAL_DOCUMENT_ID", + "value": "DEMO_0000000001", + "type": "string" + }, + { + "key": "DOCUMENT_ID", + "value": "{{ODS_CODE}}-{{LOCAL_DOCUMENT_ID}}", + "type": "string" + }, + { + "key": "SNOMED_CODE_APPOINTMENT", + "value": "749001000000101", + "type": "string" + }, + { + "key": "SNOMED_EMERGENCY_HEALTH_CARE_PLAN", + "value": "887701000000100", + "type": "string" + }, + { + "key": "SNOMED_MENTAL_HEALTH_CRISIS_PLAN", + "value": "736253002", + "type": "string" + }, + { + "key": "SNOMED_END_OF_LIFE_CARE_COORDINATION_SUMMARY", + "value": "861421000000109", + "type": "string" + }, + { + "key": "ACCEPT", + "value": "application/json; version={{VERSION}}", + "type": "string" + } + ] +}