Skip to main content
Get episode visits
curl --request GET \
  --url https://{tenantId}.api.nestmed.com/api/v1/episodes/{episodeId}/visits \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "visitId": "<string>",
      "episodeId": "<string>",
      "patientId": "<string>",
      "clinicianId": "<string>",
      "visitTypeId": "<string>",
      "visitType": {
        "visitTypeId": "<string>",
        "name": "<string>",
        "discipline": "<string>",
        "serviceCode": "<string>"
      },
      "scheduledDate": "2023-11-07T05:31:56Z",
      "actualDate": "2023-11-07T05:31:56Z",
      "duration": 123,
      "status": "scheduled",
      "location": {},
      "patient": {},
      "clinician": {},
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

episodeId
string
required

Response

200 - application/json

List of visits within the episode.

data
object[]