---
title: "Update patient profile details"
method: PATCH
path: "/profiles/v1/patient/{oid}"
tags: ["Patient"]
---

# Update patient profile details

`PATCH /profiles/v1/patient/{oid}`

Payload for updating patient profile.

**Name Field Requirement**:
  - Either `fln` **must be provided**, or at least `fn` must be included (optionally with `mn` and `ln`).
  - If you do not want to change the name, omit all name fields.

## Path parameters

- `oid` string, required

## Headers

- `client-id` string, required

## Request body

- object
  - `dob` string, date
  - `gen` 'M' | 'F' | 'O' — Gender
  - `mobile` string — Mobile number of the patient
  - `fn` string — First name (will be converted and stored in lowercase)
  - `mn` string — Middle name (will be converted and stored in lowercase)
  - `ln` string — Last name (will be converted and stored in lowercase)
  - `fln` string — Full name (will be converted and stored in lowercase)
  - `bloodgroup` 'A+' | 'A-' | 'B+' | 'B-' | 'AB+' | 'AB-' | 'O+' | 'O-' — Blood group of the patient
  - `s` string — Salutation (will be converted and stored in lowercase)
  - `email` string, email — Email address of the patient (will be converted and stored in lowercase)
  - `abha` string — ABHA address of the patient
  - `username` string — Unique UHID| partner id | username for the patient. **Note:** username must be unique within a workspace. Please refrain from sending it unless it has changed.
  - `extras` object — Additional arbitrary data as a JSON object

## Response `200`

Update Patient profile

- object
  - `message` string

## Other responses

- `401` — Unauthorized
- `500` — Server error

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
