Maintaining Holidays

A holiday is a day on which the laboratory does not perform analysis.

Each laboratory has different calendar days that they do not work, and these are recorded so that due dates for work are more accurate.

Holiday Scope

Holidays are created at instance-level. An instance can contain multiple holidays.

Properties of a Holiday

A holiday can have:

  • A date
  • A flag to indicate whether it is a once-off holiday or a repeat occurrence
  • Adjustment—Either forward or backward, such that, if a due date for a job falls on a holiday, whether the due date is adjusted forward or backward.

Use of Holidays

A holiday is used to skip over days where the laboratory does not work, when calculating due dates. During this time, samples can still deteriorate to affect their sample expiry, however due dates for work can be better calculated when holidays are taken into account. Each laboratory has different calendar days that they do not work.

The required date for a job or sample is calculated based on the received date of the job or sample, respectively, plus the sample's priority, plus any non-working days defined by the WORKING_DAYS_OF_WEEK application preference, and plus any non-working days due to holidays.