Skip to main content
POST/transactional-api/list-patient-miscellaneous-tasks

List Patient Miscellaneous Tasks

Lists a patient's miscellaneous tasks, oldest first.

Authorization: Bearer token (JWT). See Authentication.

Request​

curl -L -X POST 'https://{tenantId}.api.england.medicus.health/transactional-api/list-patient-miscellaneous-tasks' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"patientId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "incomplete"
}'

Body parameters

FieldTypeRequiredDescription
patientIdstring<uuid>YesMedicus patient identifier.
statusenumNoOnly return tasks with this status. One of: incomplete, completed, discarded.

Responses​

200 The patient's tasks.

Response fields

FieldTypeDescription
tasks[].idstring<uuid>
tasks[].patientIdstring<uuid>
tasks[].descriptionstring
tasks[].statusenumOne of: incomplete, completed, discarded.
tasks[].priorityenumOne of: normal, high.
tasks[].dueDatestring<date> (nullable)
tasks[].snoozedUntilstring<date> (nullable)
tasks[].assignee.typeenumOne of: staff, team.
tasks[].assignee.idstring<uuid>
tasks[].assignee.namestring
tasks[].createdDateTimestring<date-time>
tasks[].createdBy.staffIdstring<uuid>
tasks[].createdBy.namestring
tasks[].completedDateTimestring<date-time> (nullable)
tasks[].completedBy.staffIdstring<uuid>
tasks[].completedBy.namestring
{
"tasks": [
{
"id": "9b2e4c1a-7d3f-4e8b-a6c5-1f0d2e3b4a59",
"patientId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "Call the patient to book a blood test",
"status": "incomplete",
"priority": "high",
"dueDate": "2026-11-18",
"snoozedUntil": null,
"assignee": {
"type": "team",
"id": "6c1f2d7e-1b3a-4f0e-9a2c-5d8e7f6a4b3c",
"name": "Reception"
},
"createdDateTime": "2026-11-11T14:30:00+00:00",
"createdBy": {
"staffId": "1d2c3b4a-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"name": "Dr Jane Smith"
},
"completedDateTime": null,
"completedBy": {
"staffId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
}
]
}
400 Validation error.
5 possible code values
CodeDescriptionWhen
missing-patient-idThe patientId is requiredpatientId missing
invalid-patient-idThe patientId is not validpatientId not a valid UUID
invalid-statusThe status is not validstatus is not incomplete, completed or discarded
patient-not-foundPatient not found for this patientIdpatientId does not exist
patient-restrictedAccess to this patient is restricted for this staff memberpatient record is restricted and the requesting staff member is not permitted to see it

Response fields

FieldTypeDescription
errors[].codestring
errors[].descriptionstring
{
"errors": [
{
"code": "missing-patient-id",
"description": "The patientId is required"
}
]
}
403 The calling application lacks the permission, or the access token is restricted to another patient.

Response fields

FieldTypeDescription
errors[].codestring
errors[].descriptionstring
{
"errors": [
{
"code": "forbidden",
"description": "The calling application does not have permission to use this endpoint."
}
]
}