Skip to content

Commit 36f85b5

Browse files
committed
chore: updated OAS and postman collection
1 parent 5a6bbd3 commit 36f85b5

File tree

2 files changed

+239
-32
lines changed

2 files changed

+239
-32
lines changed

postman/Validate_Relationship_Service_Sandbox.postman_collection.json

Lines changed: 218 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@
13251325
"name": "Get proxy relationships (Consent)",
13261326
"item": [
13271327
{
1328-
"name": "Filtered proxy relationships by 'active' status",
1328+
"name": "Filtered proxy relationships by 'active' status include details",
13291329
"event": [
13301330
{
13311331
"listen": "test",
@@ -1338,6 +1338,100 @@
13381338
" \"type\": \"searchset\",",
13391339
" \"entry\": [",
13401340
" {",
1341+
" \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742\",",
1342+
" \"resource\": {",
1343+
" \"resourceType\": \"RelatedPerson\",",
1344+
" \"id\": \"BE974742\",",
1345+
" \"identifier\": [",
1346+
" {",
1347+
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
1348+
" \"value\": \"9000000017\"",
1349+
" },",
1350+
" {",
1351+
" \"system\": \"https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier\",",
1352+
" \"value\": \"ABC0000003\"",
1353+
" }",
1354+
" ],",
1355+
" \"patient\": {",
1356+
" \"type\": \"Patient\",",
1357+
" \"identifier\": {",
1358+
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
1359+
" \"value\": \"9000000017\"",
1360+
" }",
1361+
" },",
1362+
" \"relationship\": [",
1363+
" {",
1364+
" \"coding\": [",
1365+
" {",
1366+
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
1367+
" \"code\": \"PRN\",",
1368+
" \"display\": \"Parent\"",
1369+
" },",
1370+
" {",
1371+
" \"system\": \"http://terminology.hl7.org/CodeSystem/v3-RoleCode\",",
1372+
" \"code\": \"MTH\",",
1373+
" \"display\": \"mother\"",
1374+
" }",
1375+
" ]",
1376+
" }",
1377+
" ]",
1378+
" },",
1379+
" \"search\": {",
1380+
" \"mode\": \"include\"",
1381+
" }",
1382+
" },",
1383+
" {",
1384+
" \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/A3CC67E2\",",
1385+
" \"resource\": {",
1386+
" \"resourceType\": \"Patient\",",
1387+
" \"id\": \"A3CC67E2\",",
1388+
" \"identifier\": [",
1389+
" {",
1390+
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
1391+
" \"value\": \"9000000009\"",
1392+
" },",
1393+
" {",
1394+
" \"system\": \"https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier\",",
1395+
" \"value\": \"ABC1234567\"",
1396+
" }",
1397+
" ],",
1398+
" \"name\": [",
1399+
" {",
1400+
" \"id\": \"123456\",",
1401+
" \"use\": \"usual\",",
1402+
" \"period\": {",
1403+
" \"start\": \"2020-01-01\",",
1404+
" \"end\": \"2021-12-31\"",
1405+
" },",
1406+
" \"given\": [",
1407+
" \"Jane Marie Anne\"",
1408+
" ],",
1409+
" \"family\": \"Smith\",",
1410+
" \"prefix\": [",
1411+
" \"Mrs\"",
1412+
" ],",
1413+
" \"suffix\": [",
1414+
" \"MBE\",",
1415+
" \"PhD\"",
1416+
" ]",
1417+
" }",
1418+
" ],",
1419+
" \"birthDate\": \"2022-10-22\",",
1420+
" \"generalPractitioner\": [",
1421+
" {",
1422+
" \"type\": \"Organization\",",
1423+
" \"identifier\": {",
1424+
" \"value\": \"ODS12345\",",
1425+
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
1426+
" }",
1427+
" }",
1428+
" ]",
1429+
" },",
1430+
" \"search\": {",
1431+
" \"mode\": \"include\"",
1432+
" }",
1433+
" },",
1434+
" {",
13411435
" \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/BBCC67E9\",",
13421436
" \"resource\": {",
13431437
" \"resourceType\": \"Consent\",",
@@ -1392,6 +1486,91 @@
13921486
" }",
13931487
" },",
13941488
" {",
1489+
" \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/RP974720\",",
1490+
" \"resource\": {",
1491+
" \"resourceType\": \"RelatedPerson\",",
1492+
" \"id\": \"RP974720\",",
1493+
" \"identifier\": [",
1494+
" {",
1495+
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
1496+
" \"value\": \"9000000017\"",
1497+
" },",
1498+
" {",
1499+
" \"system\": \"https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier\",",
1500+
" \"value\": \"ABC0000003\"",
1501+
" }",
1502+
" ],",
1503+
" \"patient\": {",
1504+
" \"type\": \"Patient\",",
1505+
" \"identifier\": {",
1506+
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
1507+
" \"value\": \"9000000005\"",
1508+
" }",
1509+
" },",
1510+
" \"relationship\": [",
1511+
" {",
1512+
" \"coding\": [",
1513+
" {",
1514+
" \"system\": \"https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalPersonRelationshipRole\",",
1515+
" \"code\": \"Personal\",",
1516+
" \"display\": \"Personal relationship with the patient\"",
1517+
" }",
1518+
" ]",
1519+
" }",
1520+
" ]",
1521+
" },",
1522+
" \"search\": {",
1523+
" \"mode\": \"include\"",
1524+
" }",
1525+
" },",
1526+
" {",
1527+
" \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Patient/DFCC67F5\",",
1528+
" \"resource\": {",
1529+
" \"resourceType\": \"Patient\",",
1530+
" \"id\": \"DFCC67F5\",",
1531+
" \"identifier\": [",
1532+
" {",
1533+
" \"system\": \"https://fhir.nhs.uk/Id/nhs-number\",",
1534+
" \"value\": \"9000000005\"",
1535+
" },",
1536+
" {",
1537+
" \"system\": \"https://placeholder.fhir.nhs.uk/Id/local-gp-patient-identifier\",",
1538+
" \"value\": \"ABC9999999\"",
1539+
" }",
1540+
" ],",
1541+
" \"name\": [",
1542+
" {",
1543+
" \"id\": \"123456\",",
1544+
" \"use\": \"usual\",",
1545+
" \"period\": {",
1546+
" \"start\": \"2020-01-01\",",
1547+
" \"end\": \"2021-12-31\"",
1548+
" },",
1549+
" \"given\": [",
1550+
" \"Sally\"",
1551+
" ],",
1552+
" \"family\": \"Evans\",",
1553+
" \"prefix\": [",
1554+
" \"Mrs\"",
1555+
" ]",
1556+
" }",
1557+
" ],",
1558+
" \"birthDate\": \"1995-10-22\",",
1559+
" \"generalPractitioner\": [",
1560+
" {",
1561+
" \"type\": \"Organization\",",
1562+
" \"identifier\": {",
1563+
" \"value\": \"ODS12345\",",
1564+
" \"system\": \"https://fhir.nhs.uk/Id/ods-organization-code\"",
1565+
" }",
1566+
" }",
1567+
" ]",
1568+
" },",
1569+
" \"search\": {",
1570+
" \"mode\": \"include\"",
1571+
" }",
1572+
" },",
1573+
" {",
13951574
" \"fullUrl\": \"https://api.service.nhs.uk/validated-relationships/FHIR/R4/Consent/WWCC67T1\",",
13961575
" \"resource\": {",
13971576
" \"resourceType\": \"Consent\",",
@@ -1477,7 +1656,7 @@
14771656
"method": "GET",
14781657
"header": [],
14791658
"url": {
1480-
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000017&status=active",
1659+
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000017&status=active&_include=Consent:performer&_include=Consent:patient",
14811660
"host": [
14821661
"{{api_base_url}}"
14831662
],
@@ -1492,6 +1671,14 @@
14921671
{
14931672
"key": "status",
14941673
"value": "active"
1674+
},
1675+
{
1676+
"key": "_include",
1677+
"value": "Consent:performer"
1678+
},
1679+
{
1680+
"key": "_include",
1681+
"value": "Consent:patient"
14951682
}
14961683
]
14971684
}
@@ -1969,7 +2156,7 @@
19692156
"method": "GET",
19702157
"header": [],
19712158
"url": {
1972-
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000017&status=proposed,active",
2159+
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000017&status=proposed&status=active&_include=Consent:patient",
19732160
"host": [
19742161
"{{api_base_url}}"
19752162
],
@@ -1983,7 +2170,15 @@
19832170
},
19842171
{
19852172
"key": "status",
1986-
"value": "proposed,active"
2173+
"value": "proposed"
2174+
},
2175+
{
2176+
"key": "status",
2177+
"value": "active"
2178+
},
2179+
{
2180+
"key": "_include",
2181+
"value": "Consent:patient"
19872182
}
19882183
]
19892184
}
@@ -3453,7 +3648,7 @@
34533648
"method": "GET",
34543649
"header": [],
34553650
"url": {
3456-
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000022&_include=Consent:performer,Consent:patient",
3651+
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000022&_include=Consent:performer&_include=Consent:patient",
34573652
"host": [
34583653
"{{api_base_url}}"
34593654
],
@@ -3467,7 +3662,11 @@
34673662
},
34683663
{
34693664
"key": "_include",
3470-
"value": "Consent:performer,Consent:patient"
3665+
"value": "Consent:performer"
3666+
},
3667+
{
3668+
"key": "_include",
3669+
"value": "Consent:patient"
34713670
}
34723671
]
34733672
}
@@ -3823,7 +4022,7 @@
38234022
"method": "GET",
38244023
"header": [],
38254024
"url": {
3826-
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000010&_include=Consent:performer,Consent:patient",
4025+
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000010&_include=Consent:performer&_include=Consent:patient",
38274026
"host": [
38284027
"{{api_base_url}}"
38294028
],
@@ -3837,7 +4036,11 @@
38374036
},
38384037
{
38394038
"key": "_include",
3840-
"value": "Consent:performer,Consent:patient"
4039+
"value": "Consent:performer"
4040+
},
4041+
{
4042+
"key": "_include",
4043+
"value": "Consent:patient"
38414044
}
38424045
]
38434046
}
@@ -4129,7 +4332,7 @@
41294332
"method": "GET",
41304333
"header": [],
41314334
"url": {
4132-
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000019&_include=Consent:performer,Consent:patient",
4335+
"raw": "{{api_base_url}}/Consent?performer:identifier=9000000019&_include=Consent:performer&_include=Consent:patient",
41334336
"host": [
41344337
"{{api_base_url}}"
41354338
],
@@ -4143,7 +4346,11 @@
41434346
},
41444347
{
41454348
"key": "_include",
4146-
"value": "Consent:performer,Consent:patient"
4349+
"value": "Consent:performer"
4350+
},
4351+
{
4352+
"key": "_include",
4353+
"value": "Consent:patient"
41474354
}
41484355
]
41494356
}
@@ -4293,7 +4500,7 @@
42934500
"response": []
42944501
},
42954502
{
4296-
"name": "Not performer record found",
4503+
"name": "No performer record found",
42974504
"event": [
42984505
{
42994506
"listen": "test",

0 commit comments

Comments
 (0)