IMPAX 6.5.1 Client Knowledge Base: Extended > Administering IMPAX > Configuring dictation > Configuring the IMPAX Reporting solution

Adding status history to a report

A macro can be included in the site.dot template to copy the status line and create a history of statuses in a report. This history is created where the REPORTSTATUS bookmark exists in the Radiology template. For example:

Report status: REPORT VALIDATED / Phys. Doctor name ,  
Report status: PARTIALLY VALIDATED / Phys. Doctor name ,  
Report status: MODIFIED / Phys. Doctor name ,  
Report status: PRELIMINARY / Phys. Doctor name , 

To add status history to a report

  1. In QManager, set the LETTER.ALWAYS_ADD_STATUS_LINE parameter to 1.

  2. For the LETTER.TEXT_REPORTVALSTATUS parameter, provide a report status line that will display in the report.

  3. In the Radiology template, create the REPORTSTATUS bookmark, if it does not already exist.

  4. Open the site.dot template.

  5. In the ReportingHooks macro, call the StatusLine macro:

    Sub BeforeInsertingStatusLine()
    Call StatusLine
    End Sub
  6. In the UserMacro module, add the Sub StatusLine:

    Sub StatusLine()
    '
    ' StatusLine Macro to copy the statusline
    '
        If ActiveDocument.Bookmarks.Exists("REPORTSTATUS") Then
        Selection.GoTo What:=wdGoToBookmark, Name:="REPORTSTATUS"
        Selection.Find.ClearFormatting
        Selection.EndKey Unit:=wdLine, Extend:=wdExtend
        Selection.Copy
        Selection.EndKey Unit:=wdLine
        Selection.TypeParagraph
        Selection.PasteAndFormat (wdPasteDefault)
        Selection.TypeBackspace
        'Selection.InsertDateTime DateTimeFormat:="dd-MM-yy", InsertAsField:=False, _
             'DateLanguage:=wdDutch, CalendarType:=wdCalendarWestern, _
             'InsertAsFullWidth:=False
        End If
    End Sub
  7. Test the changes.


Topic number: 130113

Applies to: IMPAX 6.5.1 Client Knowledge Base