Required Personal account ID of the patient for whom the visit is to be scheduled. For each API call, you can send only one account ID in the payload.
clinicalServiceRequestId
String
Required ID of the clinical service request record that’s associated with the home visits to be scheduled.
firstVisitEndDateTime
Datetime
Date and time when the first recurring home visit ends.
firstVisitStartDateTime
Datetime
Required Date and time when the first recurring home visit starts.
operatingHoursId
String
ID of the operating hours record that specifies the time slots to schedule the home visit.
recurringDaysList
String
Comma-delimited list of days to schedule recurring home visits. For example, Monday, Thursday, and Saturday. If recurrenceFrequencyType is set to Weekly, recurringDaysList is required.
recurrenceFrequencyType
String
Type of recurring home visits. If Weekly is specified, recurringDaysList is required. Valid values are:
Daily
Weekly
resourceDetails
Apex defined
Required Collection of Apex heathcloudext__ResourceDetails records containing resources and schedule intervals for the visit.
schedulingPolicyId
String
Required ID of the home health scheduling policy that’s used to identify care resources available for the home visits.
serviceTerritoryId
String
Required ID of the service territory record that contains the care resources to be assigned to the visits. Available in API version 66.0 and later.
skillIds
String
Collection of up to 20 record IDs of skills required for the home visits.
visitsRequired
Integer
Number of recurring home visits to be scheduled.
visitSourceId
String
The ID of the reference record to use as a source to schedule the home visit. Available in API version 64 and later.
visitType
String
Required Type of home visit to be scheduled. Valid values are:
Start of Care
Recurring
workPlanTemplateIds
String
Collection of IDs of work plan template records that are assigned to the service appointment and specify the care instructions to be followed during the home visit. Available in API version 66.0 and later.
Outputs
Output
Type
Description
careServiceVisitPlanId
String
ID of the care service visit plan record that’s associated with the service request for recurring home visits.
careServiceVisitId
String
ID of the care service visit record that’s associated with the service request to start a care home visit.
Example
POST
This sample request is for the Schedule Home Visits Manually action when visitType is Start of Care.