Receiving HERON Data
After a data request has been approved by the Data Request Oversight Committee (DROC) a HERON team member will provide you with the data. You will receive a REDCap project and the raw data. The raw data will be attached in the file repository of the REDCap project or sent via KUMC's securefiles.
Understanding the REDCap Project:
- There is one record per patient in the query.
- Each concept (i.e., lab value, diagnosis, etc.) has the first recorded date and the last recorded date. For concept with numeric values (such as lab results), the REDCap project will also contain the first and last value.
- To look at specific values, such as BMI 1 month before or 1 month after a surgery date, you will need to access the raw data found in the file repository.
- The "Stats and Charts" feature of REDCap can be very helpful to look at things such as demographics.
- Be cautious when looking at lab values in "stats and charts," because it only takes into account the values uploaded into REDCap, not all of the values.
Understanding the raw data:
- Four CSV files are contained within the zip file: patient table, variable table, data table, and a code info table.
- The patient table contains one row per patient and includes basic demographic data.
- The variable table has one record for each of the i2b2 concepts you requested.
- The data table is in a long-skinny format containing multiple rows per patient. For example, if Vitamin D was requested in your search, patient 123 could have 30 rows just of Vitamin D levels (1 row per lab result).
- The code info table has information about the codes requested in the HERON query.
- More information regarding what is contained in each CSV file is found here.
- Raw data can be transformed using SQLite in preparation for analysis in a statistical software.
Upload HERON Data into SQLite
Learning SQL Training Videos:
**Please note all data are fabricated in the following examples. The code written in the videos is found starting on page 24 of the HERON training manual.