Accrual to Clinical Trials
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The i2b2 Web Client has a built in feature where an announcement will appear upon user log in, that has to to be acknowledged by the user in order for them to continue the log in process.  This is a good option for a Terms of Access message that requires the user to accept before proceeding to their i2b2 Web Client session.

This announcement displays simple html in a prompt box. This prompt box includes two buttons: "Yes, I agree" and "No, I disagree". 

Tip Box
titleExample i2b2 Web Client Announcement

Note Box
titleSteps
  1. Create simple html that contain the TOA text. Or you can add a link to a document that contains the TOA text
  2. Place this html in a div with a height of 325px and overflow auto. This will place scroll bars when needed
  3. Replace all of the <, >, and " with &lt;, &gt;, and &quot;
  4. Remove all newlines (\n,\r) from the html. All the text has to be on one line
  5. Invoke the pm:set_project_param PM service to add announcement project parameter for your SHRINE ACT project
Tip Box
titleExample html from Step 1
Code Block
languagexml
<div style='overflow:auto;height:325px;'>
    <h5>ACT Terms of Query Access</h5>
    Version 4.0 12-13-2017
    <br>
    <br>
    <div>
        This Terms-of-Query-Access Agreement is designed ...
        <br>
        <br> Each Participating ACT Organization individually contributes ...
        <br>
        <br>
        <ul>
            <li>I assert that I am a member of the ..</li>
            <br>
            <ul>
                <li>At or above Instructor level ...</li>
                <br>
            </ul>
        </ul>
    </div>
</div>