Create Referral Action
Create a patient referral record. A patient referral consists of multiple objects, such as an account, clinical service request, and clinical service request detail.
This action is available in API version 59.0 and later for users with the Health Cloud license.
URI: /services/data/vXX.X/actions/standard/createReferral
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is your OAuth access token.
| Input | Type | Description |
|---|---|---|
matchDuplicates | Boolean | Indicates whether to match a duplicate record that has the highest matching confidence (true) or not (false). |
performers | String[] | Required. Comma-separated list of IDs of the organizations or practitioners who perform the service. |
referralDetailsRecords | Reference | Collection of ClinicalServiceRequestDetails records that contain the referral information. |
referralNotes | String | Referral notes. |
referralRecord | Reference | Required. ClinicalServiceRequest record that contains referral information. |
requesterId | String | Required. ID of the provider requesting the service. |
subjectRecord | Reference | Required. Account details of the patient being referred. |
| Output | Type | Description |
|---|---|---|
referralIds | String[] | List of IDs of the new referral records. |
Sample Request
Sample Response