Previous Topic

Next Topic

Book Contents

Changing query text

You can change the text of standard query reasons and responses by editing the \Resources\pfscript.js file in the InForm application installation tree. Each set of strings, prefixed by a number in brackets, appears under different conditions in an InForm trial. For more information, see Types of query text strings.

To change query text:

  1. In the QO section of the pfscript.js 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 file 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"]]]

  2. Use the following XML to install the updated pfscript.js file with MedML Installer:

    <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>

Send Feedback