Previous Topic

Next Topic

Book Contents

Changing query text

You can change the text of standard query reasons and responses by editing the following files in the InForm installation tree:

Note: Standard query reasons and responses appear in the user's product locale in the Reporting and Analysis module. If you customize query reasons and responses, the custom text does not appear in the user's product locale in the Reporting and Analysis module.

Each set of strings, prefixed by a number in brackets, appears under different conditions in an InForm study. For more information, see Types of query text strings in the pfscript.js and PDFPage.xsl files.

  1. Make a backup copy of each pfscript.js and PDFPage.xsl file.
  2. In the QO section of each pfscript.js and PDFPage.xsl file, add, edit, or remove query text strings as desired.

    Separate response strings with a comma and surround each string with double quotation marks. The QO section of the pfscript.js and PDFPage.xsl files follows:

    QO=[[[1,2],["Item incomplete","Data does not match source","Missing units","Make text more specific"]],

    [[7],["Original value is correct","Changed data per query","Query is ambiguous","Data is not in patient record","Measurement skipped on this visit"]],

    [[3],["Response from site required"]],

    [[4],["Query is invalid or does not apply","Query can be addressed internally"]],

    [[5,6],["Response does not satisfy query"]],

    [[8],["Response satisfies query"]],

    [[9],["State chosen is acceptable"]]]

  3. Use the following XML to install the updated pfscript.js files with the MedML Installer utility:

    <RESOURCEDATA xmlns="PhaseForward-MedML-Inform4">

    <RESOURCE
    FILENAME="pfscript.js"
    UUID="PF_RESOURCE_GENERIC_SCRIPT_MAIN"
    DESCRIPTION="Main Script"
    DATATYPE="SCRIPT"
    LANGUAGE="English"/>

    <HTMLTEMPLATE
    TEMPLATENAME="PF_SCRIPT_MAIN"
    BROWSERNAME="GENERIC"
    RESOURCEUUID="PF_RESOURCE_GENERIC_SCRIPT_MAIN"/>

    </RESOURCEDATA>

    <RESOURCE

    FILENAME="pfscript.js"

    UUID="PF_RESOURCE_GENERIC_SCRIPT_MAIN"

    DESCRIPTION="Main Script"

    DATATYPE="SCRIPT"

    LANGUAGE="Japanese"/>

    <HTMLTEMPLATE

    TEMPLATENAME="PF_SCRIPT_MAIN"

    BROWSERNAME="GENERIC"

    RESOURCEUUID="PF_RESOURCE_GENERIC_SCRIPT_MAIN"

    />

Send Feedback