Skip to main content
Get patient episodes
curl --request GET \
  --url https://{tenantId}.api.nestmed.com/api/v1/patients/{patientId}/episodes \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "episodeId": "<string>",
      "patientId": "<string>",
      "admissionId": "<string>",
      "startDate": "2023-12-25",
      "endDate": "2023-12-25",
      "status": "active",
      "primaryDiagnosis": "<string>",
      "certificationPeriod": {
        "start": "2023-12-25",
        "end": "2023-12-25"
      },
      "careTeam": [
        {}
      ],
      "visitCount": {
        "scheduled": 123,
        "completed": 123
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

patientId
string
required

Query Parameters

status
enum<string>
Available options:
active,
completed,
discharged

Response

200 - application/json

List of patient's episodes of care.

data
object[]