IMPAX 6.5.1 Client Knowledge Base: Extended > Administering IMPAX > Defining study text and priors > Configuring study and voice comments

Configuring study comments formatting in the List area

Study comments are stored in an XML structure, which separates the various free-text and voice comments on a study allowing for a flexible way to display the comments according to a formatting string set in the MVF database in the MAP_INI table. This is the default for IMPAX 6.5 and later. This setting only applies for the List area (as a tooltip); the Text area does not use the MAP_INI setting for display.

The display format of study comments is set in the MAP_INI table in the MVF database. in the STUDY_COMMENTS_FORMAT entry. The format is stored as a string that has placeholders to be replaced with the various sections of the study comment:

If no format is specified in the database or IMPAX does not understand the value, the default format is used: '[%D %U]%C'.

Note:

Note:

The STUDY_COMMENTS_FORMAT entry in the MAP_INI table also determines if voice comments are enabled.

Note the following about study comments:

To insert a format for study comments into the database

  1. Run CLUI.

  2. To ensure the MAP_INI table contains no duplicate entries for STUDY_COMMENTS_FORMAT, type

    DELETE FROM MAP_INI WHERE INI_SECTION = 'GENERAL' AND INI_KEY = 'STUDY_COMMENTS_FORMAT'

  3. Type

    "INSERT INTO map_ini values('GENERAL','STUDY_COMMENTS_FORMAT','<parameters>')"

    For example, to have study comments formatted as:

    The comment for the study
    [12/25/2006 12:34 PM user1]

    Run the query "INSERT INTO map_ini values('GENERAL','STUDY_COMMENTS_FORMAT','%C%N[%D %U]')"

  4. To check the entry exists, type

    select * from map_ini where ini_key = 'STUDY_COMMENTS_FORMAT'

    The following is returned:

    INI_SECTION   INI_KEY                 INI_VALUE                
    GENERAL       STUDY_COMMENTS_FORMAT   [%D %U]%C                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

The tooltip popup of the comments in the List area shows a newline separated list of all the comments in this format, in chronological order. The Study Comments column in the List area show the newest comment, without date and user and with all newlines removed. The Text area shows the enhanced study comments in reverse chronological order.

Note:

Note:

You can search for study comments in the database using the List area search; however, note that searches such as xml, Text, Author, ChangeDate, and <' or '> retrieves all records because these strings are part of the header information for the comments stored in the database.


See also


Topic number: 54581

Applies to: IMPAX 6.5.1 Client Knowledge Base