A common use-case for Opkit is contacting patients to remind them about their upcoming appointments. In this use-case, the user provides context about the appointment and instructs Opkit to contact the patient, notify them about their upcoming appointment, and collect the following pieces of information:

  • Patient confirmation
  • Patient reason for canceling (if applicable)

Example values for task components are included below.

Target:

John Smith (+19998888)

Context:

[
  {
    "name": "Patient details",
    "items": [
      {
        "name": "Name",
        "value": "John Smith"
      }
    ]
  },
  {
    "name": "Appointment details",
    "items": [
      {
        "name": "Date",
        "value": "2024-01-01"
      },
      {
        "name": "Time",
        "value": "3:00 PM EST"
      },
      {
        "name": "Location",
        "value": "100 Healthcare Lane, New York, NY 11111"
      },
      {
        "name": "Provider name",
        "value": "Jane Doe"
      },
      {
        "name": "Reason for visit",
        "value": "Initial psychiatry evaluation and consultation"
      }
    ]
  }
]

Objectives:

[
  {
    "name": "Patient confirmation",
    "type": "enum",
    "enum": ["confirm", "cancel"]
  },
  {
    "name": "Patient reason for canceling",
    "type": "string"
  }
]

Results:

Results are only available on completed tasks.

[
  {
    "name": "Patient confirmation",
    "value": "confirm"
  },
  {
    "name": "Patient reason for canceling",
    "value": null
  }
]