Sleepover Rules Explained

Sleepover Rules Explained

On the "General Config" page there's a section called "Sleepover Rules". This section contains settings which are applied to Sleepover bookings during the payroll process.
These settings do NOT apply to invoice exports. You can find details about how sleepovers are billed here.

Legacy vs Modern payroll exports

CareVision supports two different methods for generating payroll.

The Legacy method is used for:
  1. Attache, accessible via the "Exports" page of the Management Portal
  2. Keypay, accessible via the "Payroll" page of the Management Portal
The Modern method is used for:
  1. Payroll Metrics, accessible via the "Payroll" page of the Management Portal
There are some differences in the way the Sleepover Rules are interpreted between these two methods.
Further details about the Modern method can be found in the Sleepover Billing & Payroll article.

Sleepover Rules

The 3 options of Sleepover Rules can be set up on the page in .

Option 1

When Option 1 is selected, the specified amount of recall time is added to each booking. This time is added regardless of whether any interruptions were recorded during the booking.
A payroll reference can also be specified, for details on how this is used see the Work Type section below. The payroll reference field only applies to Legacy formats, it's ignored by Modern formats.


Option 2

When Option 2 is selected, the system finds the longest gap between interruptions (the longest period of uninterrupted sleep). Everything outside of this gap will be paid as an interruption.

Option 3

Option 3 is not supported by Legacy formats. If Option 3 is selected, Legacy formats will apply the logic for Option 2 instead.
Option 3 will find Interruption Periods which have the minimum possible total duration while satisfying the following conditions:
  1. The generated Interruption Periods must completely cover all recorded Interruptions for the booking.
  2. Each generated Interruption Period must have a duration equal to or longer than 1 hour.

For more details on how Option 2 & 3 work, please see the Combination & Transformation section of the Sleepover Billing & Payroll article.

Work Type

Several of the Legacy formats include a "Work Type" code. In KeyPay this is called "Work Type External Id" and in Attache this is called "Cost Code".
When Option 1 is not selected, the value of Work Type is retrieved from the "Ref Two" field of the Time Category Rate that's applied to the booking.
When Option 1 is selected, the specified reference is used as the Work Type. If no reference is specified, the employees's Role Name is used instead.

    • Related Articles

    • Funding Rules Explained

      Background Funding Sources in CareVision and for each Client CareVision allows your organisation to setup preconfigured templates containing fees, services and billing categories that relate to a particular funding type. Configuring Funding Source ...
    • Xero Payroll

      Terminologies Xero is a simple accounting package for SME organisations and offers an easy to use cloud financial package. This integration currently integrates to the Xero Payroll where we send across basic time worked for each payroll category for ...
    • Notifications and Triggers Explained

      Overview Notification triggers serve as a primary mode of communication between the system and its users. System functionalities that are triggered by certain events need to convey various information to different users and these are handled by ...
    • Using Client Leaves for Discount Treatments on Fees

      What is a Client Leave Treatment? Client Leave refers to when clients require their services to be suspended while they are unable to receive services. Home care packages allow for specified number of days leave in a year without impacting funding, ...
    • KeyPay Payroll Export

      Requirements Staff Member Profile Detailed Profile Employee Number Employment Start Date Payroll Employee ID Do not send to Carevision Payroll - unticked Work Availability Schedule Type - any Staff Pay Details Make sure that this section is populated ...

    Request an Article or Guide

    We are keen to know what you want to know more about? Let us know on chat or raise a ticket for an article or topic you would like covered in more detail. We have a team of technical writers and learning content creators keen for your suggestions.