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 Log info box displays the status of the Data Request as well as the Data File creation status.


Create Data File(s)

Click on Create File(s) on the Data Request Manager page

...

NAMEVALUEGroup_id

RPDO_<Table_instance_id>

Example: RPDO_17

EXEC i2b2synthea8.dbo.usp_rpdo2 @TABLE_INSTANCE_ID=<Table_instance_id> @RESULT_INSTANCE_ID={{{RESULT_INSTANCE_ID}}} @MIN_ROW=0 @MAX_ROW=10000

SQLServerLarge


Example:

Database updates- Data request submission

...

1.8.2 requests
QT_QUERY_RESULT_INSTANCE

When the User runs a query with User created Data Request breakdown option selected, a row is logged in the QT_Query_Result_Instance for the  result_type_id generated in the QT_RESULT TYPE

...

Column Name Value (example)
Result_Instance_Id1729
XML_Value <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns10:i2b2_result_envelope xmlns:ns6="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns5="http://www.i2b2.org/xsd/hive/msg/1.1/" xmlns:ns8="http://www.i2b2.org/xsd/cell/pm/1.1/" xmlns:ns7="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns9="http://www.i2b2.org/xsd/cell/ont/1.1/" xmlns:ns10="http://www.i2b2.org/xsd/hive/msg/result/1.1/" xmlns:ns2="http://www.i2b2.org/xsd/hive/pdo/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/pdo/1.1/">
    <body>
        <ns10:result name="RPDO_17">
            <data column="SUBMITTED" type="string">20250808_125429</data>
            <data column="EMAIL" type="string">rmetta@mgb.org</data>
            <data column="QUEUED" type="string">20250808_125631</data>
            <data column="PROCESSING" type="string">20250808_125631</data>
            <data column="DIRECTORY" type="string">/opt/dataexport/SQLServerLarge/724</data>
            <data column="FINISHED" type="string">20250808_125633</data>
            <data column="APPROVEDBY" type="string">demoManager</data>
        </ns10:result>
    </body>
</ns10:i2b2_result_envelope>

Example:

 

1.8.1 Requests

3 new default rows are logged in RPDO_TABLE_REQUEST when user submits 1.8.1 data request. This will enable the 1.8.1 requests to be displayed on data request Manager panel along with 1.8.2 requests

Image Added

Data file creation

1.8.2 Data file creation

CREATE FILES(s)  executes usp_rpdo2 stored procedure in the back end by calling the EXEC statement in QT_BREAKDOWN_PATH to create the data file

1.8.1 Data file creation

CREATE FILES(s)  executes the <data request name>.csv  in QT_BREAKDOWN_PATH. The select statement in the VALUE column is executed to create the data file


Data file format/location and Email parameters set-up: HIVE_CELL_PARAMS

...

Developers Getting Started With i2b2 getstarted