Skip to main content

Automation: Conditions Reference

Every condition, how dates work and examples to copy.

Written by Scott Rotton

Conditions decide which records an automation acts on. This article lists the conditions, explains how dates work and gives examples to copy.


How conditions work

  • A record must match every condition. There is no "or". For either/or, build two automations.

  • The conditions offered depend on the automation type. Recall and organisation conditions are on Patients automations, not Appointments.

The Add condition dropdown

Note: New conditions are added over time. The Add condition list in your practice is always the current one. Each option has a one-line description.


Add a condition

  1. In the Conditions column, click Add condition.

  2. Type to search, then select the condition.

  3. Set its value.

  4. In the Preview column, click Check Conditions and read the matched records.


Set a date

A date condition with the Preset, Date and Relative options

Mode

What you choose

Use it for

Preset

Today, Tomorrow, Yesterday, Last Week, This Week or Next Week

Everyday cases, such as appointments tomorrow

Date

One fixed calendar date

One-offs. A fixed date goes stale on a scheduled automation

Relative

A number, a period (hours, days, weeks, months) and Ago or From now

Anything on a schedule. "7 days ago" is worked out at every run

In Date and Relative modes, also choose how to match:

Matcher

Matches when the date is

On

exactly that date

Before

earlier than that date

After

later than that date

On and before

that date or earlier

On and after

that date or later

Note: Week presets such as Last Week cover the whole week and match any date inside it.

Note: A condition can also hold a day range, shown as "in the next 7 days". It covers today through that many days ahead, both ends included. The Request payment method before appointment template uses one.


Appointment conditions

Condition

What it matches

Status

Draft, Ready To Book, Scheduled, Completed, Cancelled, Late Cancellation, Missed or On Hold

Date of Appointment

When the appointment is scheduled

Confirmed

Whether the appointment has been confirmed

Confirmation Required

Whether the appointment needs confirming

Practitioner

The practitioner the appointment is with

Appointment Reason

The reason chosen for the appointment

Source of Appointment

How it was booked, such as Online Bookings or Health Engine

Date when Appointment was Created

When the booking was made

On Hold Date

When the appointment was placed on hold

Note: Status takes one value per condition. To act on two statuses, build two automations.


Patient conditions

Recall and reactivation

Condition

What it matches

Recall Due Date

When the patient's recall becomes due

Recall Exam Due Date

When their exam recall is due

Recall Visit Due Date

When their visit recall is due

Recall Completed Date

When they last completed a recall

Recall Drop Off Date

When they dropped out of the recall cycle

Patient Has No Future Appointment

Patients with nothing booked ahead, optionally by appointment type

Next Appointment Date

When their next appointment is

Visit and clinical history

Condition

What it matches

Last Visit Date / First Visit Date

When they last or first attended

Last Appointment Date / First Appointment Date

Their last or first booking

Last Exam Date

When they were last examined

Last X-Ray Date

When they last had an x-ray

Last Medical Form Date

When they last completed a medical history form

Completed Treatments

Patients who completed chosen treatments within a date range

Proposed Treatments

Patients with chosen treatments still proposed, by the date the item was added to the plan

Reviews

Condition

What it matches

Last Review Request Sent

When you last asked them for a review

Last Review Completed

When they last left a review

Who the patient belongs to

Condition

What it matches

Organisation

Patients linked to the chosen organisations

Primary Location

Patients whose primary location matches

Primary Practitioner / Secondary Practitioner

Patients assigned to the chosen practitioners

Note: Organisation, location and practitioner conditions take several values and match a patient linked to any of them.

Attributes

Condition

What it matches

Patient is Active

Active or inactive patients

Patient Age

An age range

Patient Date of Birth

A date of birth

Patient Registered Date

When they were added

Patient Alerts

Patients with the chosen alerts


Set a Proposed Treatments condition

Use it to find patients with treatment that was proposed and hasn't gone ahead.

  1. Click Add condition, then select Proposed Treatments.

  2. Select at least one treatment code.

  3. Set the date. It filters on when the item was added to the plan.

  4. Select the option (treatment plan) states to match, or leave empty for any state.

  5. Select the treatment states to match, or leave empty for any state.

A new condition starts on Accepted and In progress. Only items still proposed are matched. Completed, invoiced and declined items are not.


Examples

Goal

Type

Conditions

Six-month recall reminder

Patients

Recall Due Date On and after today, and Recall Due Date On and before 7 days from now

Reactivation

Patients

Patient Has No Future Appointment, and Last Visit Date Before 9 months ago

Medical history form before the visit

Appointments

Status Scheduled, and Date of Appointment Tomorrow

Review request after a visit

Patients

Last Visit Date Yesterday, and Last Review Request Sent Before 6 months ago

Corporate account re-book

Patients

Organisation is the account, and Patient Has No Future Appointment

Confirm tomorrow's appointments

Appointments

Status Scheduled, Confirmation Required yes, Confirmed no, and Date of Appointment Tomorrow


If nothing matches

Check for:

  • a fixed Date that is now in the past

  • a Status that is too narrow

  • a Relative date that lands on a day with no matching records

Change the condition and click Check Conditions again.


Did this answer your question?