SurgicalRecords

PATCH /SurgicalRecords/{id}

Changed on

Request

Path parameters

idstring required

Request body

activePhasestring nullable
procedureNamestring nullable
procedureStartTimestring date-time nullable
procedureEndTimestring date-time nullable
anesthesiaDataJsonstring nullable
anesthesiaDataVersionstring nullable

The string SurgicalRecordResponseDto.AnesthesiaDataVersion the grid in string? UpdateSurgicalRecordRequest.AnesthesiaDataJson was edited from (ITE-1664). When it is no longer current the save is refused with a 409 carrying the current grid, so the caller can merge. Omitted, the grid is saved without the check — stored rows the incoming grid lacks are still kept.

vitalsSnapshotJsonstring nullable
activeAgentsJsonstring nullable

Response

OK

idstring
appointmentIdstring
patientIdstring
procedureNamestring
surgeonIdstring nullable
procedureStartTimestring date-time nullable
procedureEndTimestring date-time nullable
cutStartTimestring date-time nullable

First incision, UTC (ITE-785). Distinct from DateTime? SurgicalRecordResponseDto.ProcedureStartTime, which tracks the Procedure PHASE — the patient is draped and prepped in that phase for some minutes before anyone cuts. Null until stamped.

cutEndTimestring date-time nullable

Last suture, UTC (ITE-785). Null until stamped.

inductionTimestring date-time nullable

Induction, UTC (ITE-792): start of anesthesia time. Null until stamped.

extubationTimestring date-time nullable

Extubation, UTC (ITE-792): end of anesthesia time. Null until stamped.

isoOnTimestring date-time nullable

Inhalant on, UTC. Null until stamped.

isoOffTimestring date-time nullable

Inhalant off, UTC. Null until stamped.

activePhasestring
anesthesiaDataJsonstring nullable
anesthesiaDataVersionstring

Version of string? SurgicalRecordResponseDto.AnesthesiaDataJson (ITE-1664). Send it back as string? UpdateSurgicalRecordRequest.AnesthesiaDataVersion with the next grid save.

vitalsSnapshotJsonstring nullable
activeAgentsJsonstring nullable
createdAtstring date-time
updatedAtstring date-time
finalizedAtstring date-time nullable

When the chart was frozen, or null while it is still being written.

finalizedByIdstring nullable
finalizedByNamestring nullable
isFinalizedboolean

Convenience for the client, which gates every write affordance on this rather than re-deriving it from the timestamp. Mirrors IsEditable on the SOAP note DTOs.

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: application/*+json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)