From 877c0d7b3aaf4352b923813f3845c452775c4d34 Mon Sep 17 00:00:00 2001 From: v-gkuber <138763846+v-gkuber@users.noreply.github.com> Date: Wed, 18 Oct 2023 23:25:52 +0530 Subject: [PATCH] Added $match empi operation (#126) Co-authored-by: Ganesh Kuber --- .../FHIR Collection.postman_collection.json | 38 +++++++++++++++++++ .../fhir-service.postman_environment.json | 12 ++++++ 2 files changed, 50 insertions(+) diff --git a/samples/sample-postman-queries/FHIR Collection.postman_collection.json b/samples/sample-postman-queries/FHIR Collection.postman_collection.json index f0bc8295..2bd692b6 100644 --- a/samples/sample-postman-queries/FHIR Collection.postman_collection.json +++ b/samples/sample-postman-queries/FHIR Collection.postman_collection.json @@ -21900,6 +21900,44 @@ "response": [] } ] + }, + { + "name": "FHIR & EMPI Integration", + "item": [ + { + "name": "Match Patient", + "request": { + "method": "POST", + "header": [], + "body": { + "mode": "raw", + "raw": "{\r\n \"resourceType\": \"Parameters\",\r\n \"parameter\": [\r\n {\r\n \"name\": \"resource\",\r\n \"resource\": {\r\n \"resourceType\": \"Patient\",\r\n \"identifier\":[\r\n {\r\n \"system\": \"urn:oid:2.16.840.1.113883.4.927\",\r\n \"value\": \"9A13A627AA01\"\r\n }\r\n ],\r\n \"gender\": \"female\",\r\n \"name\": [\r\n {\r\n \"family\": \"Smith\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"count\",\r\n \"valueInteger\": \"10\"\r\n },\r\n {\r\n \"name\": \"onlyCertainMatches\",\r\n \"valueBoolean\": \"true\"\r\n }\r\n ]\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{empiconnectorurl}}/api/Match?code={{apikey}}", + "host": [ + "{{empiconnectorurl}}" + ], + "path": [ + "api", + "Match" + ], + "query": [ + { + "key": "code", + "value": "{{apikey}}" + } + ] + } + }, + "response": [] + } + ] } ], "event": [ diff --git a/samples/sample-postman-queries/fhir-service.postman_environment.json b/samples/sample-postman-queries/fhir-service.postman_environment.json index a9b7ecfd..2df535e8 100644 --- a/samples/sample-postman-queries/fhir-service.postman_environment.json +++ b/samples/sample-postman-queries/fhir-service.postman_environment.json @@ -253,6 +253,18 @@ "value": "", "type": "default", "enabled": true + }, + { + "key": "empiconnectorurl", + "value": "", + "type": "default", + "enabled": true + }, + { + "key": "apikey", + "value": "", + "type": "default", + "enabled": true } ], "_postman_variable_scope": "environment",