You can control the process of generating a PDF report file using a workflow comment. For general instructions on the PDF workflow comment see Generating and printing a PDF report using rules.

To produce PDF reports, create a PDF workflow comment as follows:

  1. Create a new report section with the name WORKFLOW. Do not specify that this heading should appear in the report.
  2. Prevent any comment in this report section from being included in the textual report, i.e. disable this report section. You do this by right-clicking the report section, choose “Disable Report Section…” and then build a rule with no conditions.
  3. Create a comment in this section in the following format. Note that the text in green is an expression inserted into the comment.<PDF> <FILE> Surname append “_” Given append “_” append
    most recent episode append “. pdf”
    </FILE> <PRINT> 1 </PRINT> </PDF>.
    If the resulting expression contains folder separators or illegal characters these will be replaced with spaces.
  4. Add the comment to the report so that it is given unconditionally (i.e. with no conditions so that it is given for every case).

To insert a signature graphic at the end of the report, add a comment (without conditions) at the end of the report using the format

<image> <file> Signature.jpg </file> <scale>15</scale> </image>
Dr A B Cee
PhD FRACP

where Signature.jpg is a scanned image of the signature stored in the directory /RippleDown/bmd/. The scale parameter allows you to resize the image.

See also:

Generating and printing a PDF report using rules

Formatting a PDF report, and inserting graphics

Sending an email using rules