Skip to main content
Get all visit interventions
curl --request GET \
  --url https://{tenantId}.api.nestmed.com/api/v1/visits/{visitId}/interventions \
  --header 'Authorization: Bearer <token>'
{
  "interventions": [
    {
      "slug": "<string>",
      "name": "<string>",
      "category": "<string>",
      "module": "<string>",
      "responseData": {
        "interventionProvided": true,
        "goalMet": true,
        "details": "<string>",
        "exceptionReason": "patient_refused",
        "otherReason": "<string>"
      },
      "metadata": {
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "createdBy": "<string>",
        "updatedBy": "<string>"
      },
      "status": "draft"
    }
  ],
  "totalCount": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

visitId
string
required

Response

200 - application/json

Intervention responses for the visit.

interventions
object[]
totalCount
integer

Total number of interventions for the visit