Automatically launch editor for new letters

Description

For customers, patients and suppliers, a 'New Letter' button is required to simplify the creation of letters.

  1. When pressed, the New Letter button displays a dialog containing the list of available templates for the customer/patient/supplier. This can be filtered on name.

  2. When a template is selected:

    • any parameters in it will be prompted for

    • the document and corresponding act will be generated using the current context and saved

  3. When saved:

    • for letters generated from OpenOffice/Word templates, the relevant editor will automatically be launched to edit the document

    • for letters generated from other templates, the standard OpenVPMS act editor will be displayed
      The template and document fields will be read-only.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Time tracking

12h

Priority

Major
Configure