We're updating the issue view to help you get more done. 

New visit created when consulting from task

Description

When performing a Consult from a task, a new visit can be created, despite there being an In Progress visit for the same day. This occurs if there are previous COMPLETED visits that don't have an end date.
To reproduce:
1. Create a COMPLETED visit for a patient, with no end date, for yesterday
2. Check-In the patient from Patient|Information, and select a work list. A new visit for today's date should be created
3. Consult from the task. Another visit will be created rather than selecting the visit from Check-In

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Affects versions

1.6

Priority

Major