POST
/transactional-api/list-patient-miscellaneous-tasksList 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
| Field | Type | Required | Description |
|---|---|---|---|
patientId | string<uuid> | Yes | Medicus patient identifier. |
status | enum | No | Only return tasks with this status. One of: incomplete, completed, discarded. |
Responses
200 The patient's tasks.
Response fields
| Field | Type | Description |
|---|---|---|
tasks[].id | string<uuid> | |
tasks[].patientId | string<uuid> | |
tasks[].description | string | |
tasks[].status | enum | One of: incomplete, completed, discarded. |
tasks[].priority | enum | One of: normal, high. |
tasks[].dueDate | string<date> (nullable) | |
tasks[].snoozedUntil | string<date> (nullable) | |
tasks[].assignee.type | enum | One of: staff, team. |
tasks[].assignee.id | string<uuid> | |
tasks[].assignee.name | string | |
tasks[].createdDateTime | string<date-time> | |
tasks[].createdBy.staffId | string<uuid> | |
tasks[].createdBy.name | string | |
tasks[].completedDateTime | string<date-time> (nullable) | |
tasks[].completedBy.staffId | string<uuid> | |
tasks[].completedBy.name | string |
{
"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
| Code | Description | When |
|---|---|---|
missing-patient-id | The patientId is required | patientId missing |
invalid-patient-id | The patientId is not valid | patientId not a valid UUID |
invalid-status | The status is not valid | status is not incomplete, completed or discarded |
patient-not-found | Patient not found for this patientId | patientId does not exist |
patient-restricted | Access to this patient is restricted for this staff member | patient record is restricted and the requesting staff member is not permitted to see it |
Response fields
| Field | Type | Description |
|---|---|---|
errors[].code | string | |
errors[].description | string |
{
"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
| Field | Type | Description |
|---|---|---|
errors[].code | string | |
errors[].description | string |
{
"errors": [
{
"code": "forbidden",
"description": "The calling application does not have permission to use this endpoint."
}
]
}