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 i2b2 breakdown architecture has been modified to support new breakdown types for data request and export. HIVE_CELL_PARAMS has new parameters for global configuration, the QT_RESULT_TYPE table has new entries for query export types, and the QT_BREAKDOWN_PATH defines the request and export. These are XML documents containing e-mails to send and SQL to execute. These breakdown types display in the run query dialog. User e-mails are sent to the e-mail address of the currently logged-in use. Data Manager e-mails are sent to an address configured in HIVE_CELL_PARAMS, and the data manager e-mail in an export is also saved as a file in the export location. The export file generation location, also configured in HIVE_CELL_PARAMS, is on the local drive hosting the i2b2 application. 

User Roles and Actions



User RoleCreate Data TableData RequestData Request ManagerGenerate Data file 
ObfuscatedSuccessSuccessNo VisibilityDisabled
AggregateSuccessSuccessNo VisibilityDisabled
ProtectedSuccessSuccessNo VisibilityDisabled
LDSSuccessSuccessNo VisibilityDisabled
Manager/No LDSSuccessSuccessNo VisibilityDisabled
Manager/LDSSuccessSuccessSuccessSuccess
AdminSuccessSuccessNo VisibilityDisabled


Database changes

In order to support the  data Table  design, a new table RPDO_TABLE_REQUEST is added.  The metadata in Data Table design is stored in the table when the data Table is saved.

...

The data table definitions are logged as breakdowns in the QT_QUERY_RESULT_TYPE table. The values are populated dynamically when the user  user saves the data table definition.

...

RESULT_TYPE_IDNAMEDESCRIPTIONDISPLAYTYPE_IDVISUAL_ATTRIBUTE_TYPE_IDUSER_ROLE_CDCLASSNAME
1159RPDO_78User-created Demographics Data RequestCATNUMLUDATA_LDSedu.harvard.i2b2.crc.dao.setfinder.QueryResultPatientRequest

...



Info

We recommend data requests be limited to DATA_LDS users (irrespective of Admin path role - admin, user, manager) and data exports be limited to MANAGER users (irrespective of data path role - data_lds, data_agg,data_obf, data_deid). The user role determines if exports/requests are visible and runnable. 

 QT_QUERY_RESULT_TYPEuser roleUser-created data requestdata Request ManagerVisibility/Actions

 DATA_LDS

DATA_LDS

Success

Success

Only  user-created requests

MANAGER with

DATA_LDS

DATA_LDS

Success

Success

All user-created requests

MANAGER

without DATA_LDS

MANAGER

?

??

Admin

Admin

?

??


...

Developers Getting Started With i2b2 getstarted