Allow invoice selection during Consult and Checkin workflow

Description

In certain circumstances users may wish to have control over whether they want to create a new invoice or accumulate charges on an existing invoice during the Check In and/or Consulting workflows. This is particularly true in large animal consultations. To support this we need to make the following changes:

  • The party.organisationLocation needs to change to include an option 'selectInvoiceAtConsult' (better name please..)

  • If this flag is true, then Check In/Consult workflows will prompt the user to select an invoice to bill to, prior to editing the medical records. The user can select either an existing invoice (not POSTED), or create a new invoice. Where multiple invoices exist, they will be summarised with their date, status, totals and the patients included. The most recent In Progress Invoice (if any) will be selected by default.

Environment

None

Status

Assignee

Tim Anderson

Reporter

TonyT

Labels

None

Time tracking

8h

Affects versions

Priority

Major
Configure