---
title: "Update patient case"
method: PATCH
path: "/patient_cases/{id}"
tags: ["Patient Case"]
---

# Update patient case

`PATCH /patient_cases/{id}`

## Path parameters

- `id` string, int64, required

## Request body

- object
  - `closed` boolean, nullable
  - `contact_id` string, int64 — contact id
  - `expiry_date` string, date, nullable
  - `include_cancelled_attendees` boolean, nullable
  - `include_dna_attendees` boolean, nullable
  - `issue_date` string, date, nullable
  - `name` string
  - `notes` string, nullable
  - `max_invoiceable_amount` string, decimal, nullable
  - `max_sessions` integer, nullable
  - `patient_id` string, int64 — patient id
  - `referral` boolean, nullable
  - `referral_type` 'dva' | 'medicare', nullable
  - `attendee_ids` string[], nullable
  - `patient_attachment_ids` string[] — Patient attachment ids

## Response `200`

Resource was updated

- PatientCase
  - `archived_at` string, date-time, nullable
  - `attendee_ids` string[], nullable
  - `attendees` object
    - `links` object
      - `self` string, uri
  - `bookings` object
    - `links` object
      - `self` string, uri
  - `closed` boolean, nullable
  - `closed_at` string, date-time, nullable
  - `contact` object
    - `links` object
      - `self` string, uri
  - `created_at` string, date-time
  - `expiry_date` string, date, nullable
  - `id` string, int64
  - `include_cancelled_attendees` boolean, nullable
  - `include_dna_attendees` boolean, nullable
  - `invoices` object
    - `links` object
      - `self` string, uri
  - `issue_date` string, date, nullable
  - `links` object
    - `self` string, uri
  - `max_invoiceable_amount` string, decimal, nullable
  - `max_sessions` integer, nullable
  - `name` string
  - `notes` string, nullable
  - `patient` object
    - `links` object
      - `self` string, uri
  - `patient_attachments` object
    - `links` object
      - `self` string, uri
  - `referral` boolean, nullable
  - `referral_type` 'dva' | 'medicare', nullable
  - `updated_at` string, date-time

## Other responses

- `422` — Resource could not be saved due to validation errors

---

[API](https://skmtc.net/cliniko/apis/cliniko-api.md) · [All operations](https://skmtc.net/cliniko/apis/cliniko-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cliniko/cliniko-api/versions/c129a555ff44/schema)
