---
title: "PATCH /SurgicalRecords/{id}"
method: PATCH
path: "/SurgicalRecords/{id}"
tags: ["SurgicalRecords"]
---

# PATCH /SurgicalRecords/{id}

`PATCH /SurgicalRecords/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateSurgicalRecordRequest
  - `activePhase` string, nullable
  - `procedureName` string, nullable
  - `procedureStartTime` string, date-time, nullable
  - `procedureEndTime` string, date-time, nullable
  - `procedureDurationSeconds` union
    - integer
    - string, int32
  - `anesthesiaDataJson` string, nullable
  - `vitalsSnapshotJson` string, nullable
  - `activeAgentsJson` string, nullable

## Response `200`

OK

- SurgicalRecordResponseDto
  - `id` string
  - `appointmentId` string
  - `patientId` string
  - `procedureName` string
  - `surgeonId` string, nullable
  - `procedureStartTime` string, date-time, nullable
  - `procedureEndTime` string, date-time, nullable
  - `procedureDurationSeconds` union
    - integer
    - string, int32
  - `activePhase` string
  - `anesthesiaDataJson` string, nullable
  - `vitalsSnapshotJson` string, nullable
  - `activeAgentsJson` string, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `timelineEvents` SurgicalTimelineEventDto[]
    - `id` string
    - `surgicalRecordId` string
    - `title` string
    - `details` string, nullable
    - `type` string
    - `color` string, nullable
    - `isPinned` boolean
    - `occurredAt` string, date-time
    - `sortOrder` union
      - integer
      - string, int32
    - `createdAt` string, date-time

## Other responses

- `404` — Not Found

---

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