Consulting from a back-dated appointment fails with validation error

Description

To reproduce:
1. create an appointment for a patient with no recent visits, for yesterday
2. use Check-In to check in the patient. An In Progress visit will be created for today
3. use Consult on the appointment. An error will be displayed:

Environment

None

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure