Schedule Group Visits Action
Create visiting records for patient home visits by bundling them into a group and scheduling either a single start-of-care visit or a series of recurring visits associated with the bundled records.
This action is available in API version 60.0 and later.
The Schedule Group Visits action is available in Enterprise and Unlimited Editions with Health Cloud enabled with the Home Health setting.
URI: /services/data/vXX.X/actions/standard/scheduleGroupVisits
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 |
|---|---|---|
schedulingPolicyId | string | Required. ID of the home health scheduling policy to be used to schedule the group visits. |
appointmentBundlePolicyId | string | Required. ID of the home health appointment bundle policy to be used to create the patient visit records. |
workTypeId | string | Required. ID of the work type that represents the care service that the visits are being scheduled for. |
serviceTerritoryId | string | Required. ID of the service territory record that contains the care resources to be assigned to the visits. |
firstVisitStartDateTime | datetime | Required. Scheduled date and time for the start of the first group visit. |
firstVisitEndDateTime | datetime | Date and time when the first group visit ends. |
operatingHoursId | string | ID of the operating hours record that specifies the time slots to schedule the group visit for. |
skillsIdsList | string | A comma-delimited list of record IDs of all skills required for the group visits. |
isRecurringVisit | boolean | Indicates whether recurring visits are scheduled. If false, then a single start-of-care group visit is scheduled. |
recurrenceFrequencyType | string | Required. Specifies the type of recurring group visits. If specified, the selectedDays property is required. Valid values are:
|
recurringDaysList | string | Comma-delimited list of days to schedule recurring group visits for patients. For example, Monday, Thursday, Saturday. If recurrenceFrequencyType is set to Weekly, recurringDaysList is required. |
visitsRequired | integer | The number of recurring group visits to be scheduled. |
groupVisitAddress | Apex-defined(Input example of apex type:{“street":"123 Main St","city":"Cityville","state":"CA","zip":"12345"}) | An Apex GroupVisitAddress record that specifies the address where the group visit for the selected patients is scheduled. |
clinicalServiceRequestIdsList | string | Comma-delimited list of record IDs of all clinical service requests of the selected patients in the group visit. |
None.
POST
This sample request is for the Schedule Group Visits action.
This sample response is for the Schedule Group Visits action.