latestOpenAPI 3.1.02026-08-194237902.5 MB
563848e0ecc0
Practitioner
Add a hospital affiliation to a practitioner
Creates a new hospital affiliation entry on the practitioner record; the server assigns a stable UUID v4 as the affiliation identifier and returns the full affiliation in the response body. Use this when a practitioner gains a new hospital affiliation that needs to be recorded; no Location header is returned in the 201 response, so use the id field in the response body to reference the created affiliation. {practitionerId} is the certifyPractitionerId, and the hospital affiliations feature must be enabled for the tenant (403 returned if not). Only name and type are required; all other fields are optional, and endDate must be on or after startDate when both are supplied.
post/practitioners/{practitionerId}/hospital-affiliations
Path parameters
practitionerIdstring required
Headers
tenant-idstring
Request body
Example request
{
"name": "General Hospital",
"type": "Admitting",
"specialty": "Cardiology",
"state": "NY",
"startDate": "2022-03-10",
"endDate": "2022-03-10",
"status": "Active"
}Response
The full HospitalAffiliationResponse, including the server-assigned id.
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "General Hospital",
"type": "Admitting",
"specialty": "Cardiology",
"state": "NY",
"startDate": "2026-01-01",
"endDate": "2027-12-31",
"status": "Active"
}