Developers Getting Started With i2b2
Space shortcuts
Space Tools
Developers Getting Started With i2b2 getstarted

Versions Compared

Key

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

...

The data export runs in the background and the file is generated in a specified folder defined in the HIVE_CELL_PARAMS (see Configuration below). Data file generation status is displayed under the Status column under Data Request Manager

Status is updated as the

...

data file is processed, from Submitted to File in Progress to File Available. When the file is available,

...

an e-mail notification may be sent to the site’s configured Data Request Email Address (for example, a data manager or project mailbox), depending on local configuration. The process for giving the user access to the file

...

is site-specific.

Example Export files (all data are fake)

...

Parameter NameExample ValueNotes
Data Request TemplateThis user {{{USER_NAME}}} in project {{{PROJECT_ID}}} requested ...

Template text for the body of the

data request message; supports placeholders like {{{USER_NAME}}} and {{{PROJECT_ID}}}.

request notification email. This email is sent to the site’s configured Data Request Email Address

someone@somewhere.org

. Supports template variables.

Data Request Email Addresssomeone@somewhere.org

Email address that receives the data export notifications. This is typically a data manager or project mailbox

E-mail address of the Data Manager, where the data request e-mail will be sent

.

Data Request Letter"Results of the i2b2 request entitled - '{{{QUERY_NAME}}}', ..."

Template text for the

e-mail to the user announcing the successful completion of the data export; supports placeholders

export-completion notification email body, to be sent to the configured Data Request Email Address (not directly to the requesting user). Supports variables like {{{QUERY_NAME}}}.

Data Request Subjecti2b2 Data Request

Subject line used for both the

data

request

e-mail.
Info

The e-mail address for the data request letter (sent when export is complete) is entered in the Query Options Email box at the time of data request submission

Template substitution variables (parameters/placeholders inside VALUE)

notification email and the export-completion notification email.


Template Substitution Variables

VariableDescriptionExample / Source
{{{USER_NAME}}}Display name or username of the requesterJon Smith
{{{FULL
PlaceholderMeaning (inferred)Example{{{USER
_NAME}}}
Display
The full legal name
/ username
of the requester
Jon Smith
Jonathan Smith
{{{QUERY_STARTDATE}}}Timestamp when the query was submitted2025-09-19
{{{
PROJECT
QUERY_
ID
ENDDATE}}}
i2b2 project ID in which the request was run
Timestamp when the file was generated03/11/2026, 4:47 PM
ACT
{{{QUERY_NAME}}}Name/title of the query
the user executed
executedHypertension Adults
{{{QUERY_MASTER_ID}}}Internal i2b2 Query Master ID5412
Hypertension Adults
{{{QUERY_
STARTDATE
INSTANCE_ID}}}
Timestamp when the query was submitted2025-09-19 09:42
Internal i2b2 Query Instance ID7721
{{{
QUERY_MASTER
PROJECT_ID}}}
Internal
i2b2
Query Master ID of the request
project ID (e.g., ACT, DEMO)ACT
5412
{{{PATIENT_COUNT}}}Number of patients
returned by the request
/records returned1999
{{{RESULT_INSTANCE_ID}}}Specific ID for the result instance99432
1999

Design and Architecture

The i2b2 breakdown architecture is modified to support the data table definition and new breakdown types for User created data requests. The database tables have been modified to support the data table definitions.

...

Developers Getting Started With i2b2 getstarted