For the complete documentation index, see llms.txt. This page is also available as Markdown.

Patient Programs

Enroll patients in programs and manage their phase progression.

Patient Program endpoints manage the enrollment of patients into care programs, track phase progression, and handle program completion or unenrollment.

Base path: /{tenantName}/{instanceName}/patients/{patientId}/programs


Endpoints

GET Get Patient's Program by Name

GET /{tenantName}/{instanceName}/patients/{patientId}/programs/{programName}

Returns the active enrollment record for a patient in a specific program.

Path Parameters

Parameter
Type
Required
Description

patientId

string

Yes

Welkin patient UUID

programName

string

Yes

Program name

Example Response 200 OK

{
  "id": "enrollment-uuid",
  "patientId": "a1b2c3d4",
  "programName": "diabetes-management",
  "currentPhase": "active-monitoring",
  "status": "ACTIVE",
  "enrolledAt": "2026-01-10T00:00:00Z",
  "updatedAt": "2026-02-15T00:00:00Z"
}

GET Get Patient's Program by ID

GET /{tenantName}/{instanceName}/patients/{patientId}/programs/{enrollmentId}

Returns a specific enrollment record by its UUID. Works for both active and finished programs.


PATCH Update Program Status and Assign Program

PATCH /{tenantName}/{instanceName}/patients/{patientId}/programs/{programName}

Enrolls a patient in a program or updates their enrollment status.

Request Body

Field
Type
Required
Description

status

string

Yes

ACTIVE, PAUSED, or COMPLETED

phase

string

No

Phase name to assign on enrollment

assignedTo

string

No

UUID of the care team user to assign

Example Request


PATCH Change Phase

PATCH /{tenantName}/{instanceName}/patients/{patientId}/programs/{programName}/phase

Advances or changes the patient's current phase within a program.

Request Body

Field
Type
Required
Description

phase

string

Yes

Target phase name to transition to


DELETE Unassign Patient from Program

DELETE /{tenantName}/{instanceName}/patients/{patientId}/programs/{programName}

Removes a patient from a program enrollment.

Response 204 No Content

Last updated

Was this helpful?