Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
BookAppointmentRequest Class
Namespace
Usage
To book an appointment, we need to know the availability of a given practitioner at a given facility. To get this information, Health Cloud queries the specific source EHR system, using the IDs of the practitioner and the facility as stored in that source system.
- The source system ID comes from the Healthcare Practitioner Facility record for the practitioner+facility combination.
- The source system facility ID comes from an Identifier record that looks up to the Contact record for the practitioner, with the same source system as the Healthcare Practitioner Facility record.
- The source system facility ID comes from an Identifier record that looks up to the Account record for the facility, with the same source system as the Healthcare Practitioner Facility record.
The source system requires Appointment Type and Service Type codes that are derived from the “visit type” (Work Type record) selected by the call center agent. These codes are configured via Work Type Code Set Bundle records, one per Work Type, with lookups to Code Set Bundle and Code Sets for the Service Type and Appointment Type codes in each Source System the org integrates with.
BookAppointmentRequest Properties
The following are properties for BookAppointmentRequest.
appointmentType
Signature
public String appointmentType {get; set;}
1healthcloudext.BookAppointmentRequest, appointmentTypeProperty Value
Type: String
note
Signature
public String note {get; set;}
1healthcloudext.BookAppointmentRequest, noteProperty Value
Type: String
serviceType
Signature
public String serviceType {get; set;}
1healthcloudext.BookAppointmentRequest, serviceTypeProperty Value
Type: String
slot
Signature
public String slot {get; set;}
1healthcloudext.BookAppointmentRequest, slotProperty Value
Type: String
sourceFacilityId
Signature
public String sourceFacilityId {get; set;}
1healthcloudext.BookAppointmentRequest, sourceFacilityIdProperty Value
Type: String
sourcePatientId
Signature
public String sourcePatientId {get; set;}
1healthcloudext.BookAppointmentRequest, sourcePatientIdProperty Value
Type: String
sourcePractitionerId
Signature
public String sourcePractitionerId {get; set;}
1healthcloudext.BookAppointmentRequest, sourcePractitionerIdProperty Value
Type: String
sourceSystem
Signature
public String sourceSystem {get; set;}
1healthcloudext.BookAppointmentRequest, sourceSystemProperty Value
Type: String