Cancel a referral

Authentication

Authorizationstring

API key to authenticate for external integrations. Use the format: “ApiKey insert-token-here”

Path parameters

referralIdstringRequiredformat: "uuid"
Referral ID

Request

This endpoint expects an object.
institutionIdTypeenumRequired
The type of institution ID
institutionIdstringRequired
The institution ID
cancelledByUinstringOptional
UIN of the person cancelling the referral, if available
cancelledByNamestringOptional
Name of the person cancelling the referral, if available
cancelNotestringOptional<=8000 characters
Optional note to save when cancelling the referral

Response

idstring
senderobject
senderSystemenum
offeringobject
patientobject
referringDoctorobject
isSubsidisedboolean
isUrgentboolean
createdAtstring

Created at (ISO datetime)

updatedAtstring

Updated at (ISO datetime)

formResponseslist of objects
attachmentslist of objects
statusenum
isCancellableboolean
Whether this referral can be cancelled
noteslist of objects
formslist of objectsOptional
List of forms required to complete the referral
urlstringOptional
URL to view the referral
clinicLicenseNumberstringOptional
Clinic license number
clinicTypeenumOptional
Clinic type
clinicalInfostringOptional
Any clinical information that is relevant to the referral, e.g. medical history, drug allergies, treatment provided, etc.
timeslotStartAtstringOptional

Timeslot start time (ISO datetime)

appointmentLocationstringOptional
Appointment location

Errors

401
Unauthorized Error