Create a new referral
Authentication
Authorizationstring
API Key authentication via header
Request
This endpoint expects an object.
patient
offeringId
senderHciCode
HCI code of the institution authoring this referral.
senderInstitutionName
Name of the institution authoring this referral.
doctorMcr
MCR number of the doctor authoring this referral.
doctorName
Name of the doctor authoring this referral.
doctorEmail
Email of the doctor authoring this referral.
doctorContactNumber
Contact number of the doctor authoring this referral.
isSubsidised
isUrgent
isDraft
In draft state, further edits can be made. No referral will be emitted to the service provider yet.
formResponses
Form responses
referrerIdType
Type of ID specified in referrerId.
Allowed values:
id
Referral ID
timeslotStartAt
Timeslot start time, in milliseconds since epoch.
Response
id
sender
senderSystem
offering
patient
referringDoctor
isSubsidised
isUrgent
createdAt
Created at (ISO datetime)
updatedAt
Updated at (ISO datetime)
formResponses
attachments
status
notes
forms
List of forms required to complete the referral
url
URL to view the referral
timeslotStartAt
Timeslot start time (ISO datetime)
appointmentLocation
Appointment location
Errors
400
Referrals Upsert Request Bad Request Error
401
Referrals Upsert Request Unauthorized Error

