---
title: "Partially update a hospital affiliation"
method: PATCH
path: "/practitioners/{practitionerId}/hospital-affiliations/{affiliationId}"
tags: ["Practitioner"]
---

# Partially update a hospital affiliation

`PATCH /practitioners/{practitionerId}/hospital-affiliations/{affiliationId}`

Applies a partial update to the affiliation identified by {affiliationId}. Fields that are absent from the request body are left unchanged. Returns the updated HospitalAffiliationResponse.

## Path parameters

- `affiliationId` string, required
- `practitionerId` string, required

## Headers

- `tenant-id` string

## Request body

- UpdateHospitalAffiliationRequest — Partial update payload (PATCH) for a practitioner-level hospital affiliation. All fields are optional.
  - `name` string — Hospital name
  - `type` string — Type of affiliation
  - `specialty` string — Specialty practiced at the hospital
  - `state` string — State where hospital is located
  - `source` 'MANUAL' | 'ROSTER' | 'CAQH' — Source-of-truth tag for a practitioner-level hospital affiliation. Accepts MANUAL, ROSTER, CAQH (any case), or the legacy long-form CAQH label. Always serializes the canonical short label.
  - `startDate` string, date
  - `endDate` string, date
  - `status` string — Status of the affiliation

## Response `200`

Updated

- HospitalAffiliationResponse — Practitioner-level hospital affiliation as exposed by the practitioner CRUD API.
  - `id` string, required — Stable UUID v4 identifying this affiliation. For legacy entries this may be a deterministic synthesized UUID until the next write backfills a real one.
  - `name` string — Hospital name
  - `type` string — Type of affiliation
  - `specialty` string — Specialty practiced at the hospital
  - `state` string — State where hospital is located
  - `source` 'MANUAL' | 'ROSTER' | 'CAQH' — Source-of-truth tag for a practitioner-level hospital affiliation. Accepts MANUAL, ROSTER, CAQH (any case), or the legacy long-form CAQH label. Always serializes the canonical short label.
  - `startDate` string — Start date of affiliation in YYYY-MM-DD format
  - `endDate` string — End date of affiliation in YYYY-MM-DD format
  - `status` string — Status of the affiliation

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Practitioner or affiliation not found
- `409` — Merge would duplicate (name, type)

---

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