'Query Tool' is the main panel in which users construct, refine, and submit i2b2 queries.
Users can drag the following i2b2 items into the Query Groups to construct queries.
Icons | Names | Description |
---|---|---|
Concepts | Diagnoses, medications, procedures, or demographic information a patient has. | |
Concept Groups | Concepts that have many Concept children. Using a Concept Group in a query tells i2b2 to search for any data that belong to the Concept Group or any of its children Concepts. | |
Modifiers | Additional descriptors that can be attached to concepts. For example, a Diagnosis concept may be additionally described by Modifiers "Principal Diagnosis" or "Secondary diagnosis." | |
Modifier Groups | Groups of Modifiers, similar to Concept Groups. | |
/ | Previous Queries | Listed in the 'Previous Queries' panel. When they are used in a new query, they are executed first. Its results are used to obtain the results of the new query. |
Individual Patients | Results of a previous query. They can be found by expanding a Patient Set in the Previous Queries panel. | |
Patient Sets | Results of a previous query. Like Individual Patients, these can be used to restrict the scope of a query to just the patients in the set. | |
Encounter Sets | Results of a previous query [need more description] |
The i2b2 items are combined using boolean operators AND and OR. Items within each Group are first ORed together. The Groups then are ANDed together. This means each i2b2 query is a an ANDs of ORs.
Example 1 (AND): This query finds patients with Acute Myocardial Infarction AND Angina Pectoris.
Example 2 (OR): This query finds patients with Acute Myocardial Infarction OR Angina Pectoris.
Example 3 (AND of ORs): This query finds patients with (Acute Myocardial Infarction OR Angina Pectoris) AND who are male.
*Note that the OR expression in the parentheses is evaluated first.
Old Notes below:
(e.g. "Find patients who have a systolic blood pressure reading greater than 130 mm Hg")