Get Encounter Record by a patient ID and Encounter ID
GET {{url}}/{{tenantName}}/{{instanceName}}/patients/{{patientId}}/encounters/{{encounterId}}
HTTP Request
GET /{tenantName}/{instanceName}/patients/{patientId}/encounters/{encounterId}
in our example it would be:
GET https://api.live.welkincloud.io/gh/sb-demo/patients/d6ea79ce-d3d6-4c2d-a27e-e4d1207f60f1/encounters/336ae731-c674-4b85-941a-ef3b37d93b82
Responses
The encounter information will come as a response. The startDateTime (endDateTime) and the same variables will be displayed for the encaunter, but for local time localStartDateTime (localEndDateTime).
startDateTime/endDateTime - start and end times in UTCs
localStartDateTime/localEndDateTime - information about the local time for the user who is requesting the information (When information is requested using an API request, the request is made from under the API client, it has no timezone and therefore the information is displayed in the UTC).
Code | Description |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |