Create or book a health appointment.
Resource
/connect/health/appointment-management/appointment
Resource Example
Replace {yourInstance} with the My Domain name of your Salesforce org.
https://{yourInstance}.salesforce.com/services/data/v68.0/connect/health/appointment-management/appointment
HTTP Methods
POST
Request Body for POST LS
{
"startDate": "2013-12-10T09:00:00Z",
"endDate": "2013-12-10T11:00:00Z",
"workTypeId": "<workTypeId>",
"channelId": "<channelId>",
"comment": "Further expand on the results of the MRI and determine the next actions that may be appropriate.",
"participants": [
{
"reference": "Patient/<patientId>"
},
{
"reference": "Facility/<facilityId>"
},
{
"reference": "Practitioner/<healthcarePractitionerId>",
"isReferenceRequired": true
}
]
}
Request Body for POST (EHR - External System, Like Cerner, Epic and Others)
{ "startDate": "2013-12-10T09:00:00Z", "endDate": "2013-12-10T11:00:00Z", "workTypeId": "<workTypeId>", "channelId": "<channelId>", "sourceSystem": "cerner", "comment": "Further expand on the results of the MRI and determine the next actions that may be appropriate.", "appointmentTypes": [ "FOLLOWUP" ], "serviceCategories": [ "serviceCategoryCode1", "serviceCategoryCode2" ], "serviceTypes": [ "serviceTypeCode1", "serviceTypeCode2" ], "specialties": [ "specialityCode" ], "slots": [ { "id": "24477854-21304876-62852027-2", "reference": "<healthcarePractitionerId>" - matches with the reference of practitioner within participants } ], "participants": [ { "reference": "Patient/<patientId>" }, { "reference": "Facility/<facilityId>" }, { "reference": "Practitioner/<healthcarePractitionerId>", "isReferenceRequired": true } ] }