{"info":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","description":"<html><head></head><body><p>This collection contains the following API services that can be utilized by OneRecord customers (that's you!).</p>\n<ul>\n<li><p>Common Directory: Collection of services for the OneRecord Directory services</p>\n</li>\n<li><p>Integrator: Collection of services for the purposes of interoperability</p>\n</li>\n</ul>\n<p>Following is a high level step-by-step guide to get you up and running. In each section in this collection you will find more detailed steps depending on the workflow you are testing. Please reach out to us at <a href=\"https://mailto:developersupport@onerecord.com\">developersupport@onerecord.com</a> if you have any questions.</p>\n<ol>\n<li><p>Navigate to <a href=\"https://collections.onerecord.com\">https://collections.onerecord.com</a> (you should already be here!).</p>\n</li>\n<li><p>Read through the documentation to familiarize with all steps, including the specific workflows you are wanting to test.</p>\n</li>\n<li><p>Click “Run in Postman” in top right.</p>\n</li>\n<li><p>Either download/install the Postman app or run in a web browser (you will need to create a free Postman account and login if you do not already have one).</p>\n</li>\n<li><p>Import your customer-specific environment configuration that we sent to you (it's a JSON formatted file) - click on the Import button next to \"My Workspace\".</p>\n</li>\n<li><p>Select the correct environment (same name as what you just imported). This should be either \"development\" or \"stage.\"</p>\n</li>\n<li><p>That's it! You should be ready to start testing.</p>\n</li>\n</ol>\n<p>In addition to the documentation embedded in this Postman Collection, you can find more detailed documentation in our Developer Portal here: <a href=\"https://developer.onerecord.com/\">https://developer.onerecord.com/</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"32972827","collectionId":"9604a9d8-e024-400d-a242-b07b7255087c","publishedId":"2sA3JQ5LJ4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-05-14T19:07:08.000Z"},"item":[{"name":"Directory Services","item":[{"name":"Carequality","item":[{"name":"Search Carequality By Term","id":"b3e09151-6ccd-4542-bc40-e866a86d67d3","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/carequality/endpoint/search/cerner","description":"<p>Searches available FHIR endpoints by name or zip code.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","carequality","endpoint","search","cerner"],"host":["{{onerecord-directory-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3e09151-6ccd-4542-bc40-e866a86d67d3"},{"name":"Search Carequality By Radius from a Geolocation","id":"7694856e-ae1f-431d-9572-8dac6238d19a","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/carequality/endpoint/geo/search/distance?lat=32.379223&lon=-86.307739&rad=10","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","carequality","endpoint","geo","search","distance"],"host":["{{onerecord-directory-url}}"],"query":[{"key":"lat","value":"32.379223"},{"key":"lon","value":"-86.307739"},{"key":"rad","value":"10"}],"variable":[]}},"response":[],"_postman_id":"7694856e-ae1f-431d-9572-8dac6238d19a"},{"name":"Search Carequality By Address and Radius","id":"8b825b4e-5cf9-4ea6-bb4d-8691c3c998e6","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"streetaddress\": \"\",\n    \"city\": \"\",\n    \"state\": \"NJ\",\n    \"zip\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-directory-url}}/client/carequality/endpoint/geo/search/address/radius?rad=10","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","carequality","endpoint","geo","search","address","radius"],"host":["{{onerecord-directory-url}}"],"query":[{"key":"rad","value":"10"}],"variable":[]}},"response":[],"_postman_id":"8b825b4e-5cf9-4ea6-bb4d-8691c3c998e6"}],"id":"07533f9c-90c2-4eab-be43-e0999b028e07","_postman_id":"07533f9c-90c2-4eab-be43-e0999b028e07","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"FHIR","item":[{"name":"Clinical","item":[{"name":"Search FHIR Clinical Endpoints","id":"e37b9e54-e904-4398-babf-8f30dc04523e","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/clinical/search/cerner","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","clinical","search","cerner"],"host":["{{onerecord-directory-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e37b9e54-e904-4398-babf-8f30dc04523e"},{"name":"Get FHIR Clinical Endpoint By ID","id":"1385c893-1c19-46be-890a-462868e80ca2","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/clinical/search/f65cd141-9a59-11ec-9867-0ee3380bb241","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","clinical","search","f65cd141-9a59-11ec-9867-0ee3380bb241"],"host":["{{onerecord-directory-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1385c893-1c19-46be-890a-462868e80ca2"},{"name":"Random FHIR Clinical Endpoints","id":"262b4418-74a8-4864-b02c-4f623b00defe","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/clinical/random","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","clinical","random"],"host":["{{onerecord-directory-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"262b4418-74a8-4864-b02c-4f623b00defe"},{"name":"Featured FHIR Clinical Endpoints","id":"50e90fc3-9985-4b7a-a1b3-95edb69c6805","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/clinical/featured","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","clinical","featured"],"host":["{{onerecord-directory-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"50e90fc3-9985-4b7a-a1b3-95edb69c6805"}],"id":"92ca8b94-3bb9-4aff-a5b3-762c280e91dd","_postman_id":"92ca8b94-3bb9-4aff-a5b3-762c280e91dd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"Payer","item":[{"name":"Search FHIR Payer Endpoints","id":"edb82718-b900-4ee9-bddf-a88aec65290b","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/payer/search/cerner","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","payer","search","cerner"],"host":["{{onerecord-directory-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"edb82718-b900-4ee9-bddf-a88aec65290b"},{"name":"Random FHIR Payer Endpoints","id":"4122fa76-201e-4a39-a7f5-ecefa60e2dda","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/payer/random","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","payer","random"],"host":["{{onerecord-directory-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4122fa76-201e-4a39-a7f5-ecefa60e2dda"},{"name":"Featured FHIR Payer Endpoints","id":"9ea4a6cf-72b4-4a7a-9223-86f97ba8783e","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/payer/featured","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","payer","featured"],"host":["{{onerecord-directory-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ea4a6cf-72b4-4a7a-9223-86f97ba8783e"}],"id":"cc78f44b-a7a6-4df0-8b34-878bc8fc9e95","_postman_id":"cc78f44b-a7a6-4df0-8b34-878bc8fc9e95","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"Geo Search","item":[{"name":"Search FHIR Clinical Endpoints Bound Box","id":"58195e16-0711-4231-84cd-116b06d05b66","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/clinical/search/bbox?lat_tr=40.73&lon_tr=-74.1&lat_bl=40.01&lon_bl=-71.12","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","clinical","search","bbox"],"host":["{{onerecord-directory-url}}"],"query":[{"key":"lat_tr","value":"40.73"},{"key":"lon_tr","value":"-74.1"},{"key":"lat_bl","value":"40.01"},{"key":"lon_bl","value":"-71.12"}],"variable":[]}},"response":[],"_postman_id":"58195e16-0711-4231-84cd-116b06d05b66"},{"name":"Search FHIR Clinical Endpoints Geo Point & Radius","id":"a0b97cee-00bb-4856-87fc-6f21be9721c3","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{onerecord-directory-url}}/client/fhir/endpoint/clinical/search/distance?lat=42.995075&lon=-89.567826&rad=10","description":"<p>Searches available FHIR endpoints by name or zip code</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["client","fhir","endpoint","clinical","search","distance"],"host":["{{onerecord-directory-url}}"],"query":[{"key":"lat","value":"42.995075"},{"key":"lon","value":"-89.567826"},{"key":"rad","value":"10"}],"variable":[]}},"response":[],"_postman_id":"a0b97cee-00bb-4856-87fc-6f21be9721c3"}],"id":"8d4bb553-bfc8-492a-b938-53478b9cde88","_postman_id":"8d4bb553-bfc8-492a-b938-53478b9cde88","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}}],"id":"6decf67f-d59d-4d09-8d13-5ecb150cdd46","_postman_id":"6decf67f-d59d-4d09-8d13-5ecb150cdd46","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}}],"id":"c400cd77-9f5c-43de-af92-65e296f7c212","description":"<p>This folder encapsulates all requests to the <strong>OneRecord API Directory Services</strong>.These services are used to identify FHIR endpoint information for FHIR servers that are registered in the OneRecord Directory.The directory API provides searching capabilities to look for endpoints by organization name or zip code. The result will carry an identifier that can then be used to get more information about the endpoint by doing a get endpoint by id call.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"587d30c6-bf13-479e-a752-65cff1f2e8aa"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"4d989904-ab33-4536-8d5f-85eb38b32da0"}}],"_postman_id":"c400cd77-9f5c-43de-af92-65e296f7c212","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"FHIR Services","item":[{"name":"Async","item":[{"name":"Query FHIR Resources Async (OAuth flow)","event":[{"listen":"test","script":{"exec":["var transactionId = pm.response.headers.get(\"OneRecord-Transaction-ID\");","pm.collectionVariables.set(\"onerecord-transaction-id\", transactionId);"],"type":"text/javascript","id":"0086d601-daf6-4567-bd4b-f829abf3e615"}}],"id":"f73edb6d-c8aa-492d-80db-dfeedd103833","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"patientId\": \"{{fhir-patient-id}}\",\n    \"oauthToken\": \"{{fhir-auth-token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/async/resources/f65cd141-9a59-11ec-9867-0ee3380bb241","description":"<p>This request will run a FHIR query on a directory endpoint via the OR API. The request uses the <strong>fhir-endpoint-id</strong> variable configured in the OneRecord API collection.\nThe body of the request takes a patient id and an auth token which are automatically populated in the collection variables when <strong>Build Endpoint Auth Token</strong> request is ran.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["fhir","async","resources","f65cd141-9a59-11ec-9867-0ee3380bb241"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f73edb6d-c8aa-492d-80db-dfeedd103833"},{"name":"Pull Cached FHIR Resources Async (OAuth flow)","id":"9220d1df-65e3-4a58-90da-6a89abf14944","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"patientId\": \"{{fhir-patient-id}}\",\n    \"oauthToken\": \"{{fhir-auth-token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/cache/retrieve/","description":"<p>This request will run a FHIR query on a directory endpoint via the OR API. The request uses the <strong>fhir-endpoint-id</strong> variable configured in the OneRecord API collection.\nThe body of the request takes a patient id and an auth token which are automatically populated in the collection variables when <strong>Build Endpoint Auth Token</strong> request is ran.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["fhir","cache","retrieve",""],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9220d1df-65e3-4a58-90da-6a89abf14944"}],"id":"05cb758f-1518-4047-9537-371a9d244e39","_postman_id":"05cb758f-1518-4047-9537-371a9d244e39","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"Sync","item":[{"name":"Query FHIR Resources (OAuth flow)","event":[{"listen":"test","script":{"exec":["var transactionId = pm.response.headers.get(\"OneRecord-Transaction-ID\");","pm.collectionVariables.set(\"onerecord-transaction-id\", transactionId);"],"type":"text/javascript","id":"6cb54168-6c17-487d-ac71-51b1c0887c1f"}}],"id":"39e120ad-e487-4462-a29c-086cb704199d","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"patientId\": \"{{fhir-patient-id}}\",\n    \"oauthToken\": \"{{fhir-auth-token}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/resources/f65cd141-9a59-11ec-9867-0ee3380bb241","description":"<p>This request will run a FHIR query on a directory endpoint via the OR API. The request uses the <strong>fhir-endpoint-id</strong> variable configured in the OneRecord API collection.\nThe body of the request takes a patient id and an auth token which are automatically populated in the collection variables when <strong>Build Endpoint Auth Token</strong> request is ran.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["fhir","resources","f65cd141-9a59-11ec-9867-0ee3380bb241"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"39e120ad-e487-4462-a29c-086cb704199d"},{"name":"Query FHIR Resources Filtered","event":[{"listen":"test","script":{"exec":["var transactionId = pm.response.headers.get(\"OneRecord-Transaction-ID\");","pm.collectionVariables.set(\"onerecord-transaction-id\", transactionId);"],"type":"text/javascript","id":"d6c514a7-7095-49e8-844a-f54440f1eba2"}}],"id":"14e87b74-1365-49a5-800d-730d3c83e39f","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"patientId\": \"{{fhir-patient-id}}\",\n    \"oauthToken\": \"{{fhir-auth-token}}\",\n    \"resources\": [\"DocumentReference\"],\n    \"params\": {\n        \"fromTime\": \"2020-01-01T15:52:06.407Z\",\n        \"toTime\": \"2023-06-01T15:52:06.407Z\",\n        \"excludeUndatedEntries\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/resources/f65cd141-9a59-11ec-9867-0ee3380bb241","description":"<p>This request will run a FHIR query on a directory endpoint via the OR API. The request uses the <strong>fhir-endpoint-id</strong> variable configured in the OneRecord API collection.\nThe body of the request takes a patient id and an auth token which are automatically populated in the collection variables when <strong>Build Endpoint Auth Token</strong> request is ran.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["fhir","resources","f65cd141-9a59-11ec-9867-0ee3380bb241"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14e87b74-1365-49a5-800d-730d3c83e39f"},{"name":"Query FHIR Immunization Resources (OAuth flow)","event":[{"listen":"test","script":{"exec":["var transactionId = pm.response.headers.get(\"OneRecord-Transaction-ID\");","pm.collectionVariables.set(\"onerecord-transaction-id\", transactionId);"],"type":"text/javascript","id":"7e7ccc45-9a19-474a-88c9-53e2c9d66f30"}}],"id":"fba6244b-79de-4b6c-9260-fa1a1aae1f17","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"patientId\": \"{{fhir-patient-id}}\",\n    \"oauthToken\": \"{{fhir-auth-token}}\",\n    \"resources\": [ \"Immunization\", \"Patient\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/resources/f65cd141-9a59-11ec-9867-0ee3380bb241","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["fhir","resources","f65cd141-9a59-11ec-9867-0ee3380bb241"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"fba6244b-79de-4b6c-9260-fa1a1aae1f17"},{"name":"Query FHIR Payer Data (OAuth flow)","event":[{"listen":"test","script":{"exec":["var transactionId = pm.response.headers.get(\"OneRecord-Transaction-ID\");","pm.collectionVariables.set(\"onerecord-transaction-id\", transactionId);"],"type":"text/javascript","id":"1c867019-dcc3-482d-8da7-207fc51508d8"}}],"id":"2b57a87f-f2e3-4290-aabf-588cff97ee92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{tenant-token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"patientId\": \"{{fhir-patient-id}}\",\n    \"oauthToken\": \"{{fhir-auth-token}}\",\n    \"resources\": [\"ExplanationOfBenefit\", \"Coverage\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/resources/f65cd141-9a59-11ec-9867-0ee3380bb241","urlObject":{"path":["fhir","resources","f65cd141-9a59-11ec-9867-0ee3380bb241"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b57a87f-f2e3-4290-aabf-588cff97ee92"}],"id":"6bfcb2ea-5923-49f2-aa1f-a6f2ef39150f","_postman_id":"6bfcb2ea-5923-49f2-aa1f-a6f2ef39150f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"Auth","item":[{"name":"Build Endpoint Auth Token","event":[{"listen":"test","script":{"exec":["function jwt_decode(a) {","    if(!a) return \"\";","    var parts = a.split('.'); // header, payload, signature","    return JSON.parse(atob(parts[1]));","}","","pm.test(\"Valid Token\", function () {","    pm.response.to.be.ok; ","    // assert that the response has a valid JSON body","    pm.response.to.be.withBody;","    pm.response.to.be.json;","    jsonData = pm.response.json();","    pm.expect(jsonData.jwt).to.not.eql(null);","});","","var jsonData = pm.response.json();","pm.globals.set(\"fhir-auth-token\", jsonData.oauthToken);","pm.collectionVariables.set(\"fhir-refresh-token\", jsonData.refreshToken);","if(jsonData.patientId && jsonData.patientId != \"null\") {","    pm.globals.set(\"fhir-patient-id\", jsonData.patientId);","} else {","","    var endpoint_id = pm.collectionVariables.get(\"fhir-endpoint-id\");","    if(endpoint_id == \"5c0cdb94-a90d-11eb-929a-0ee3380bb241\") {","        // Innovalon get the patient from the token","        let tokenBody = jwt_decode(jsonData.token);","        pm.globals.set(\"fhir-patient-id\", tokenBody.patient_id);","    } else {","        pm.globals.set(\"fhir-patient-id\", null);","    }","}"],"type":"text/javascript","id":"cdb84bed-c63a-482b-8a67-99c05a363c7c"}}],"id":"d9d73053-71f8-4756-952d-a529588fa47d","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"state\": \"\",\n    \"authorizationCode\": \"\",\n    \"authorizationCodeVerifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/auth/f65cd141-9a59-11ec-9867-0ee3380bb241/token","description":"<p>This is a test. Please remove an put something that makes actual sense here. :)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["fhir","auth","f65cd141-9a59-11ec-9867-0ee3380bb241","token"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9d73053-71f8-4756-952d-a529588fa47d"},{"name":"Refresh Endpoint Auth Token","event":[{"listen":"test","script":{"exec":["function jwt_decode(a) {","    if(!a) return \"\";","    var parts = a.split('.'); // header, payload, signature","    return JSON.parse(atob(parts[1]));","}","","pm.test(\"Valid Token\", function () {","    pm.response.to.be.ok; ","    // assert that the response has a valid JSON body","    pm.response.to.be.withBody;","    pm.response.to.be.json;","    jsonData = pm.response.json();","    pm.expect(jsonData.jwt).to.not.eql(null);","});","","var jsonData = pm.response.json();","pm.globals.set(\"fhir-auth-token\", jsonData.oauthToken);","pm.collectionVariables.set(\"fhir-refresh-token\", jsonData.refreshToken);","if(jsonData.patientId && jsonData.patientId != \"null\") {","    pm.globals.set(\"fhir-patient-id\", jsonData.patientId);","} else {","","    var endpoint_id = pm.collectionVariables.get(\"fhir-endpoint-id\");","    if(endpoint_id == \"5c0cdb94-a90d-11eb-929a-0ee3380bb241\") {","        // Innovalon get the patient from the token","        let tokenBody = jwt_decode(jsonData.token);","        pm.globals.set(\"fhir-patient-id\", tokenBody.patient_id);","    } else {","        pm.globals.set(\"fhir-patient-id\", null);","    }","}"],"type":"text/javascript","id":"61eefdbf-e4eb-4190-994a-c557454d91cf"}}],"id":"1b0a3702-ad8b-472e-82d4-93135aae92d4","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"refreshToken\": \"\",\n    \"authorizationCodeVerifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/auth/f65cd141-9a59-11ec-9867-0ee3380bb241/token","description":"<p>This is a test. Please remove an put something that makes actual sense here. :)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["fhir","auth","f65cd141-9a59-11ec-9867-0ee3380bb241","token"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1b0a3702-ad8b-472e-82d4-93135aae92d4"}],"id":"0fd0d9c4-0e35-4bbc-8d7c-557623a6dc9f","_postman_id":"0fd0d9c4-0e35-4bbc-8d7c-557623a6dc9f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"B2B","item":[{"name":"Search Patient (Epic B2B)","id":"56d471cb-3a5d-41f0-9b0a-098686a8d41e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"patient\": {\n        \"demographics\": {\n            \"firstName\": \"James\",\n            \"lastName\": \"McGinnis\",\n            \"birthDate\": \"1952-05-24\",\n            \"gender\": \"Male\"\n        },\n        \"address\": {\n            \"street\": \"\",\n            \"city\": \"\",\n            \"state\": \"\",\n            \"zip\": \"\"\n        },\n        \"phone\": \"616-555-5555\",\n        \"ssn\": \"\",\n        \"optional\": {\n            \"email\": \"\",\n            \"internalId\": \"\",\n            \"coverageMemberId\": \"\"\n        }\n    },\n    \"resources\": [],\n    \"roiRequestType\": \"Courtesy\",\n    \"filters\": {}\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/fhir/b2b/patient/4d04c385-42bb-11ee-899f-0e10e54a2b3d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["fhir","b2b","patient","4d04c385-42bb-11ee-899f-0e10e54a2b3d"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"56d471cb-3a5d-41f0-9b0a-098686a8d41e"}],"id":"0547fb92-b521-424f-a06c-02ea6077ac8c","_postman_id":"0547fb92-b521-424f-a06c-02ea6077ac8c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}}],"id":"d31c3177-5b39-43b8-bbfc-ca097ed731b2","description":"<p>This folder holds the requests necessary to perform an OAuth patient credentials flow using the OneRecord directory. The sequence of calls to execute the workflow is:</p>\n<ol>\n<li>Get the endpoint id from directory, put it in the <em>fhir-endpoint-id</em> variable of the <em>OneRecord APIs</em> collection and execute ***OnRecord APIs &gt; Directory Services &gt; Get FHIR Endpoint by ID *** request.</li>\n<li>Take the value from the JSON response set in the <em>derivedAuthUrl</em> property and use it on a browser to authenticate and get a <em>code</em> from the FHIR server. Some FHIR servers also require a state. Put the code in the <em>fhir-auth-code</em> and the state in the <em>fhir-auth-state</em> variables of the API collection.</li>\n<li>Run the <em>Build Endpoint Auth Token</em> request.</li>\n<li>Run any of the <em>Query FHIR</em> resource requests.</li>\n</ol>\n","_postman_id":"d31c3177-5b39-43b8-bbfc-ca097ed731b2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"IHE Services","item":[{"name":"Responding Gateway","item":[{"name":"Patient Search","id":"d3eca555-56c8-4521-8c2e-6236d78ca16d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstname\": \"Teresa\",\n    \"lastname\": \"Reitman\",\n    \"dob\": \"1984-05-12\",\n    \"gender\": \"F\",\n    \"homephone\": \"9193789823\",\n    \"streetaddress\": \"\",\n    \"city\": \"\",\n    \"state\": \"NJ\",\n    \"zip\": \"\",\n    \"patientHomeOrganizationId\": \"{{ihe-gateway-receiver-organization-oid}}\",\n    \"requestingOrganizationId\": \"{{ihe-gateway-sender-organization-oid}}\",\n    \"timestamp\": \"1639775987621\",\n    \"requestor\": \"CommonWell\",\n    \"reason\": \"Treatment\",\n    \"requestingParty\": \"CommonWell\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/integrator/v1/gateway/patient/search","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["integrator","v1","gateway","patient","search"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3eca555-56c8-4521-8c2e-6236d78ca16d"}],"id":"aba7c9fe-ea89-4206-aa7c-a8e17a279323","_postman_id":"aba7c9fe-ea89-4206-aa7c-a8e17a279323","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"Carequality","item":[{"name":"Query Patient Documents Carequality","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if(jsonData.gateways && jsonData.gateways.length ) {","    var entry = jsonData.gateways[0];","    if(entry.documents && entry.documents.length) {","        var doc = entry.documents[0];","        pm.globals.set(\"ihe-community-id\", entry.communityId);","        pm.globals.set(\"ihe-document-id\", doc.structuredDocId);","        pm.globals.set(\"ihe-repository-id\", doc.repositoryUniqueId);","    }","} "],"type":"text/javascript","id":"4d6fe02b-e084-40cd-a59b-cbe403cfdf15"}}],"id":"8499f289-64fd-4ad3-af6f-d2795ca1c631","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"firstname\": \"Teresa\",\n  \"lastname\": \"Reitman\",\n  \"dob\": \"1984-05-12\",\n  \"gender\": \"F\",\n  \"homephone\": \"9193789823\",\n  \"streetaddress\": \"\",\n  \"city\": \"\",\n  \"state\": \"NJ\",\n  \"zip\": \"\",\n  \"filters\": {\n      \"organizationid\": \"2.16.840.1.113883.3.7080.2.4.1003.101\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/patient/documents","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["patient","documents"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8499f289-64fd-4ad3-af6f-d2795ca1c631"}],"id":"6a096fbd-2eab-4ddf-82b8-61bb0cf819ff","_postman_id":"6a096fbd-2eab-4ddf-82b8-61bb0cf819ff","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}},{"name":"Register Patient","event":[{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"4721f214-c7b7-4aa3-8b38-07ad26fefe6d"}}],"id":"79d277d3-10cc-4e6f-b467-a905f23696e7","protocolProfileBehavior":{"tlsDisabledProtocols":["TLSv1_1","SSLv2","SSLv3","TLSv1"],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"8f0ca843-c2db-4124-8816-da5b8eab1fcb\",\n  \"driverslicensenumber\": \"\",\n  \"driverslicensestate\": \"\",\n  \"firstname\": \"Teresa\",\n  \"lastname\": \"Reitman\",\n  \"dob\": \"1984-05-12\",\n  \"gender\": \"F\",\n  \"homephone\": \"9193789823\",\n  \"ssn\": \"\",\n  \"streetaddress\": \"\",\n  \"city\": \"\",\n  \"state\": \"NJ\",\n  \"zip\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/patient/register","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["patient","register"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"79d277d3-10cc-4e6f-b467-a905f23696e7"},{"name":"Query Patient Documents","event":[{"listen":"test","script":{"exec":["var jsonData = pm.response.json();","if(jsonData.gateways && jsonData.gateways.length ) {","    var entry = jsonData.gateways[0];","    if(entry.documents && entry.documents.length) {","        var doc = entry.documents[0];","        pm.globals.set(\"ihe-community-id\", entry.communityId);","        pm.globals.set(\"ihe-document-id\", doc.structuredDocId);","        pm.globals.set(\"ihe-repository-id\", doc.repositoryUniqueId);","    }","} "],"type":"text/javascript","id":"69dacee4-ebcf-42d6-80bf-4b97d28d387f"}}],"id":"e4d9b431-4a66-4f9f-ab43-096bfdab936a","protocolProfileBehavior":{"tlsDisabledProtocols":[],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"8f0ca843-c2db-4124-8816-da5b8eab1fcb\",\n  \"firstname\": \"Teresa\",\n  \"lastname\": \"Reitman\",\n  \"dob\": \"1984-05-12\",\n  \"gender\": \"F\",\n  \"homephone\": \"9193789823\",\n  \"streetaddress\": \"\",\n  \"city\": \"\",\n  \"state\": \"NJ\",\n  \"zip\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/patient/documents","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["patient","documents"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e4d9b431-4a66-4f9f-ab43-096bfdab936a"},{"name":"Retrieve First Document","id":"8923c9d2-59f2-42a8-b488-b6c659c1eb92","protocolProfileBehavior":{"tlsDisabledProtocols":["TLSv1_1","SSLv2","SSLv3","TLSv1"],"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"community\": \"Carequality\",\n        \"communityId\": \"{{ihe-community-id}}\",\n        \"documentId\": \"{{ihe-document-id}}\",\n        \"repositoryUniqueId\": \"{{ihe-repository-id}}\"\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{onerecord-api-url}}/document/retrieve","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}},"urlObject":{"path":["document","retrieve"],"host":["{{onerecord-api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8923c9d2-59f2-42a8-b488-b6c659c1eb92"}],"id":"9ffe828c-f0ce-4fe0-9aeb-aab63789e155","description":"<p>This folder contains requests to interact with CommonWell and CareQuality via the OneRecord API. If your device is configured to connect to CommonWell and/or CareQuality these are the API calls that you can make to query and retrieve CCD documents from these sources. This folder is called IHE services because it is a portal into CommonWell and CareQuality's IHE Services. The APIs themselves are Rest APIs which simplifies access to IHE based services.</p>\n","_postman_id":"9ffe828c-f0ce-4fe0-9aeb-aab63789e155","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]},"isInherited":true,"source":{"_postman_id":"9604a9d8-e024-400d-a242-b07b7255087c","id":"9604a9d8-e024-400d-a242-b07b7255087c","name":"OneRecord APIs","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{device-token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"8d38174f-419f-44cf-aeef-a82294aa46e9","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"b005db7f-78f4-4887-80fe-24686e1bceb2","type":"text/javascript","requests":{},"exec":[""]}}],"variable":[{"key":"dir-search","value":"cerner"},{"key":"onerecord-transaction-id","value":""},{"key":"fhir-endpoint-id","value":"f65cd141-9a59-11ec-9867-0ee3380bb241"},{"key":"fhir-auth-code","value":""},{"key":"fhir-auth-state","value":""},{"key":"fhir-auth-code-verifier","value":""},{"key":"fhir-refresh-token","value":""},{"key":"fhir-b2b-endpoint-id","value":"4d04c385-42bb-11ee-899f-0e10e54a2b3d"},{"key":"ihe-patient-id","value":"8f0ca843-c2db-4124-8816-da5b8eab1fcb"},{"key":"ihe-patient-driverslicensenumber","value":""},{"key":"ihe-patient-driverslicensestate","value":""},{"key":"ihe-patient-firstname","value":"Teresa"},{"key":"ihe-patient-lastname","value":"Reitman"},{"key":"ihe-patient-dob","value":"1984-05-12"},{"key":"ihe-patient-gender","value":"F"},{"key":"ihe-patient-homephone","value":"9193789823"},{"key":"ihe-patient-ssn","value":""},{"key":"ihe-patient-streetaddress","value":""},{"key":"ihe-patient-city","value":""},{"key":"ihe-patient-state","value":"NJ"},{"key":"ihe-patient-zip","value":""},{"key":"ihe-network-name","value":"CommonWell"},{"key":"ihe-network-organization-id","value":"2.16.840.1.113883.3.7080.2.4.1003.101"}]}