Patients

Update a patient

Update a patient's name or internalCode by its public id (sp_...) or the internalCode you set for your institution. The national identity is not editable here. Omit a field to leave it unchanged.

patch/v1/patients/{patient_id}

Request

  • Base URL
    https://scribe-api.telepatia.ai
  • Auth
    HTTP bearer

Path parameters

patient_idstring required

Request body

namestring nullable

New display name.

internalCodestring nullable

Caller-provided internal code, unique within your institution. Omit to leave unchanged; send null to clear.

Example request

{
  "internalCode": "EMR-99999",
  "name": "Jane Doe"
}

Response

Successful Response

idstring required

Stable public identifier.

namestring required
idCountrystring nullable
idTypestring nullable
idValuestring nullable
internalCodestring nullable

Caller-provided internal code for your institution (null if none).

createdAtstring required

ISO-8601 timestamp when the patient was created.

Example response

{
  "createdAt": "2026-07-01T12:00:00.000Z",
  "id": "sp_a1b2c3d4e5f6g7h8",
  "idCountry": "COLOMBIA",
  "idType": "CC",
  "idValue": "1024567890",
  "internalCode": "EMR-12345",
  "name": "John Doe"
}

Changes

No recorded changes to this operation across all 1 revision of this API.