patients

Update a patient relationship

Update a single patient relationship. Returns the updated relationship. Omitting a top-level field in the request body will leave it unchanged.

patch/patients/{id}/relationships/{relationshipId}

Request

  • Base URL: https://api.ritten.io/v1
  • URL: https://api.ritten.io/v1/patients/{id}/relationships/{relationshipId}
  • Auth: none declared

Path parameters

idstring required

ID of patient to update a relationship for

relationshipIdstring required

ID of relationship to update

Request body

typestring

The type of relationship

isEmergencyContactboolean
isGuarantorboolean
isGuardianboolean

Response

success

idstring
personIdstring
typestring

The type of relationship

isEmergencyContactboolean
isGuarantorboolean
isGuardianboolean

Example response

{
  "id": "182c2e54-3494-4b85-aba5-038cf539d5bf",
  "personId": "182c2e54-3494-4b85-aba5-038cf539d5bf"
}

Changes

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