Cancel a referral

Path parameters

referralIdstringRequiredformat: "uuid"
Referral ID

Request

This endpoint expects an object.
cancelNotestringRequired<=8000 characters
Reason for cancelling the referral
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

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
coreStatusenum
isCancellableboolean
Whether this referral can be cancelled
canBackToDraftboolean

Whether this referral can be sent back to draft (to be amended and resubmitted)

noteslist of objects
offeringClinicianobject
submittedAtstring

Submitted at (ISO datetime). Absent if the referral is a draft.

formslist of objects
List of forms required to complete the referral
urlstring
URL to view the referral
clinicLicenseNumberstring
Clinic license number
clinicTypeenum
Clinic type
clinicalInfostring
Any clinical information that is relevant to the referral, e.g. medical history, drug allergies, treatment provided, etc.
timeslotStartAtstring

Timeslot start time (ISO datetime)

appointmentLocationstring
Appointment location

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error