v1
latestOpenAPI 3.1.02026-08-063776831.4 MBPractitioner
Correct a practitioner role key on a group-practitioner-location record
Renames an existing role key in practitionerRolesMap on a group_practitioner_location record (e.g., PCP -> Specialist) while preserving the inner map (effectiveDate, terminationDate). Does not trigger termination events or lifecycle changes.
patch/practitioners/practitioner-locations/{id}/roles/correct
Path parameters
idstring required
Headers
tenant-idstring
Request body
Example request
{
"existingRole": "PCP",
"newRole": "Specialist"
}Response
Location role corrected successfully
Example response
{
"practitionerRoles": {
"pcp": {
"effectiveDate": "2026-01-10",
"terminationDate": "2026-02-02"
},
"specialist": {
"effectiveDate": "2026-01-01"
}
},
"locationRoles": {
"550e8400-e29b-41d4-a716-446655440000": {
"pcp": {
"effectiveDate": "2026-01-10",
"terminationDate": "2026-02-02"
}
}
}
}