patients

Create a new patient relationship

Creates a new relationship between two patients

post/patients/{id}/relationships

Request

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

Path parameters

idstring required

ID of patient to create a relationship for

Request body

personIdstring required

ID of the person to create a relationship with (patient or contact)

typestring required

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.