output
stringlengths 926
21.5k
| instruction
stringlengths 45
1.08k
|
---|---|
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Male- 35-44@16:17:54</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find male patients aged between 35 and 444 years old or 45 and 54 years old in the i2b2 database. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Male- -TSH (Gr@16:20:56</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>0</hlevel>
<item_name>(PrevQuery)Male- 35-44@16:17:54</item_name>
<item_key>masterid:4206</item_key>
<tooltip>Male- 35-44@16:17:54</tooltip>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>TSH (Group:TSH)</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB16) Chemistry\(LLB27) Thyroid Studies\TSH\</item_key>
<item_icon>FA</item_icon>
<tooltip>Labtests \ Chemistry \ Thyroid Studies \ TSH (Group:TSH)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all male patients between the ages of 35 and 445 years old with TSH (Thyroid Stimulating Hormone) test results within a specified time frame. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Certain-Princip@11:34:45</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Certain infectious and parasitic diseases (a00-b99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Certain infectious and parasitic diseases (a00-b99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99)</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Principal Diagnosis</modifier_name>
<modifier_key>\\ICD10_ICD9\Principal Diagnosis\</modifier_key>
<applied_path>\Diagnoses\(A00-B99) Cert~ugmm\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a principal diagnosis of certain infectious and parasitic diseases (ICD-9 codes A0-B9) from the ICD-9 Diagnoses table. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essenti-Diabete@10:24:36</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Essential hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of essential hypertension and diabetes mellitus in the Endocrine disorders category with a specificity scale of 0 and any timing, and the query should be named "Essenti-Diabete@10:24:36." The first panel will include both diagnoses, while the second panel will only include diabetes mellitus, with an accuracy scale of 100 for each panel. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@15:40:38</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of diabetes mellitus in the Endocrine disorders category, specifically in the Other endocrine gland diseases subcategory, with a specificity scale of 0 and accuracy scale of 100, within any timeframe. The query will focus on the first panel and will not be inverted. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Circulatory sys@11:36:29</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find diagnoses related to the circulatory system (ICD-9 codes 390-459) with a specificity scale of 0 and accuracy scale of 100, with the query timing set to ANY and the panel timing also set to ANY, using a panel named "Circulatory sys@1:36:29" with a single item, "Circulatory system" as a category, and the item icon set to FA, with no synonyms. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Status -Female@10:47:21</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Status 1</item_name>
<item_key>\\BIRN\BIRN\oasis\Demographics\Socioeconomic Status\Status 1\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Demographics \ Socioeconomic Status \ Status 1</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all female patients with a specific socioeconomic status (Status 1) at any point in time, with 1000% accuracy, and no inversion of the panel. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Male-Ischemi@12:33:43</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Ischemic heart disease</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Ischemic heart disease (410-414)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Ischemic heart disease</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find male patients with a diagnosis of ischemic heart disease in the i2b2 database. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Male- 18-34@17:40:38</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find male patients between the ages of 18 and 34 years old, with no specific time frame or accuracy requirement, using the i2b2 query builder. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name> 55-64 years o@09:09:36</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients aged 5-64 years old using the i2b2 query builder with the panel number set to 1, a specificity scale of 0, and a total item occurrence of 1, with a panel timing of ANY and query timing of ANY, and the item being a demographic age category with an icon of FA and class of ENC. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essenti-Diabete@10:26:03</query_name>
<query_timing>SAMEVISIT</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>SAMEVISIT</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Essential hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>SAMEVISIT</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of Essential hypertension and Diabetes mellitus within the same visit, with a specificity scale of 0 and an accuracy scale of 1000%. The query will include two panels: the first panel will search for Essential hypertension and Diabetes mellitus, while the second panel will search for Diabetes mellitus only. Both panels will have the same visit timing and accuracy scale, and the query will not be inverted. The items will be classified as ENC (Encounter) and will not be considered synonyms. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essenti-Diabete@10:27:04</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Essential hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of Essential hypertension and Diabetes mellitus, with a high specificity scale of 100 and any timing for both diagnoses. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Acute-Chron-Gende@21:37:37</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Acute upper respiratory infections (j00-j06)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J00-J06) Acut~bb2r\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Acute upper respiratory infections (j00-j06)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Chronic lower respiratory diseases (j40-j47)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Gender</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographic \ Gender</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with acute upper respiratory infections (ICD10 codes J00-J06), chronic lower respiratory diseases (ICD10 codes J40-J47), and their gender information, with no specific time frame in mind, and I want all three panels to have the same level of accuracy. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name> 35-44 years o@14:24:52</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who are 35-4 years old, with any timing, and have a specificity scale of 0, panel timing of ANY, panel accuracy scale of 100, and an invert value of 0. The panel includes a single item with an hlevel of 3, named "35-4 years old," with a key of "\\i2b2_DEMO\i2b2\Demographics\Age\35-4 years old\" and an icon of FA. The class is ENC, and it is not a synonym. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Female-Cardiov@00:22:38</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Cardiovascular agents</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME68) cardiovascular agents\</item_key>
<item_icon>FA</item_icon>
<tooltip>medications \ cardiovascular agents</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all female patients who have taken cardiovascular agents at any point in time, with a specificity scale of 0, accuracy scale of 100, and no synonyms or inversions applied. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Biologicals@22:46:17</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Biologicals</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME63) biologicals\</item_key>
<item_icon>FA</item_icon>
<tooltip>medications \ biologicals</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of biological medications mentioned in the i2b2 database, with any level of specificity and no time restriction, using the panel "Biologicals" under the "Medications" category, and with an accuracy scale of 100 and no inversion applied. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Princip->= 65 y@10:02:59</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Diseases of the nervous system (g00-g99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(G00-G99) Dise~j8kq\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the nervous system (g00-g99)</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Principal Diagnosis</modifier_name>
<modifier_key>\\ICD10_ICD9\Principal Diagnosis\</modifier_key>
<applied_path>\Diagnoses\(G00-G99) Dise~j8kq\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been diagnosed with diseases of the nervous system (ICD codes G0-G9) and are 65 years old or older, with the principal diagnosis being one of these diseases. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essential hyper@10:27:54</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Essential hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of essential hypertension and diabetes mellitus, with no specific time constraint and 1000% accuracy in the search results. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Male-Cardiov@00:22:59</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Cardiovascular agents</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME68) cardiovascular agents\</item_key>
<item_icon>FA</item_icon>
<tooltip>medications \ cardiovascular agents</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all male patients who have been prescribed cardiovascular agents at any time. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essential hyper@10:30:32</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Essential hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of Essential hypertension in the Circulatory system category within the Diagnoses section of the i2b2 data, using the specificity scale of 0 and accuracy scale of 100, with no inversion and only one occurrence of the item in panel 1. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Chronic-Gender@21:38:54</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Chronic lower respiratory diseases (j40-j47)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Gender</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographic \ Gender</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of chronic lower respiratory diseases (ICD-10 codes J40-J47) and their gender information. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>De-Identified MRI Reports@15:43:48</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>De-Identified MRI Reports</item_name>
<item_key>\\i2b2_REP\i2b2\Reports\De-Identified MRI Reports\</item_key>
<item_icon>LA</item_icon>
<tooltip>\ i2b2 \ Reports \ De-Identified MRI Reports \</tooltip>
<class>ENC</class>
<constrain_by_value>
<value_operator>CONTAINS</value_operator>
<value_constraint>MRI scan</value_constraint>
<value_type>LARGETEXT</value_type>
</constrain_by_value>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find de-identified MRI reports that contain the phrase "MRI scan" in the large text field, with a specificity scale of 0 and accuracy scale of 100, and the query should be run for any time period. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Derived Anatomi@11:43:29</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Derived Anatomic Volumes</item_name>
<item_key>\\BIRN\BIRN\oasis\Derived Anatomic Volumes\</item_key>
<item_icon>FA</item_icon>
<tooltip>oasis \ Derived Anatomic Volumes</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of the "Derived Anatomic Volumes" concept in the i2b2 database, with a specificity scale of 0, a panel timing of ANY, an accuracy scale of 100, and a panel number of 1, within the "BIRN\BIRN\oasis" folder. This query will return all occurrences of the specified concept, without inverting the results, and is represented as an Encoded (ENC) data type. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essenti-Diabete@14:00:16</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Essential (primary) hypertension</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I10-I15) Hype~5igm\(I10) Essentia~sbwm\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99) \ Hypertensive diseases (i10-i15) \ Essential (primary) hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Diabetes mellitus (e08-e13)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E08-E13) Diab~1uxc\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Diabetes mellitus (e08-e13)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of essential (primary) hypertension (I10) and diabetes mellitus (E08-E13) with a specificity scale of 0, any timing, and a panel accuracy scale of 100, including all occurrences of these diagnoses in their medical records. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Expression Prof@14:16:49</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Expression Profiles Data</item_name>
<item_key>\\i2b2_EXPR\i2b2\Expression Profiles Data\</item_key>
<item_icon>FA</item_icon>
<tooltip>Expression Profiles Data</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of Expression Profiles Data in the i2b2 system, with a specificity scale of 0 and an accuracy scale of 100, regardless of the timing, and with a single occurrence per panel. The query will not be inverted, and it will retrieve data from the specified namespace (ns4:query_definition, ns2, ns4, and ns3). |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Status -Female@10:47:52</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Status 1</item_name>
<item_key>\\BIRN\BIRN\oasis\Demographics\Socioeconomic Status\Status 1\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Demographics \ Socioeconomic Status \ Status 1</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all female patients with a specific socioeconomic status (Status 1) within the i2b2 database. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Male-Ischemi@12:33:13</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Ischemic heart disease</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Ischemic heart disease (410-414)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Ischemic heart disease</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all male patients with a diagnosis of ischemic heart disease in the i2b2 database. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essenti-Diabete@13:59:16</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Essential (primary) hypertension</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I10-I15) Hype~5igm\(I10) Essentia~sbwm\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99) \ Hypertensive diseases (i10-i15) \ Essential (primary) hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Diabetes mellitus (e08-e13)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E08-E13) Diab~1uxc\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Diabetes mellitus (e08-e13)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of essential (primary) hypertension and diabetes mellitus using the ICD-10 and ICD-9 coding systems within the i2b2 query builder. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essenti-Diabete@13:59:44</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Essential (primary) hypertension</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I10-I15) Hype~5igm\(I10) Essentia~sbwm\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99) \ Hypertensive diseases (i10-i15) \ Essential (primary) hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Diabetes mellitus (e08-e13)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E08-E13) Diab~1uxc\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Diabetes mellitus (e08-e13)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been diagnosed with Essential (primary) hypertension and Diabetes mellitus (e08-e13) at any time in their medical history, with a high level of specificity (1000% accuracy) for each condition. The query will search for the diagnoses in the ICD10_ICD9 codes, specifically within the categories of Diseases of the circulatory system (i0-i9) and Endocrine, nutritional and metabolic diseases (e0-e89). The query will include all occurrences of these conditions and will not be inverted. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essenti-Diabete@14:08:55</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Essential (primary) hypertension</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I10-I15) Hype~5igm\(I10) Essentia~sbwm\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99) \ Hypertensive diseases (i10-i15) \ Essential (primary) hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Diabetes mellitus (e08-e13)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E08-E13) Diab~1uxc\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Diabetes mellitus (e08-e13)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of Essential (primary) hypertension (ICD10-ICD9 code range I10-I15) and Diabetes mellitus (ICD10-ICD9 code range E08-E13) at any time, with a specificity scale of 0 and a panel accuracy scale of 100. The query will be composed of two panels, the first panel containing Essential (primary) hypertension and the second panel containing Diabetes mellitus. The query will not be inverted, and each panel will have a total item occurrence of 1. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Gender-Chronic@21:39:56</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Gender</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographic \ Gender</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Chronic lower respiratory diseases (j40-j47)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have been diagnosed with chronic lower respiratory diseases (j40-j47) in the ICD10_ICD9 diagnosis category, and also have the demographic characteristic of gender. The query is designed to have high accuracy (1000%) and should include any timing (ANY) for both panels. The panel with the gender characteristic should be prioritized at level 2, while the panel with the chronic lower respiratory diseases should also be prioritized at level 2. This query is not a synonym for any other query. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essenti-Diabete@14:02:31</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Essential (primary) hypertension</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I10-I15) Hype~5igm\(I10) Essentia~sbwm\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99) \ Hypertensive diseases (i10-i15) \ Essential (primary) hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Diabetes mellitus (e08-e13)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E08-E13) Diab~1uxc\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Diabetes mellitus (e08-e13)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of essential (primary) hypertension (I10) and diabetes mellitus (E08-E13) in the i2b2 database, with no specific timing constraints and a high accuracy scale of 100 for both conditions. The query should include two panels, one for each condition, and both conditions should be required for a match. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@16:35:28</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E08-E13) Diab~1uxc\(250)Diabetes~6hlt\</item_key>
<item_icon>LI</item_icon>
<tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Diabetes mellitus (e08-e13) \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of Diabetes mellitus, using the ICD-10 and ICD-9 codes within the Endocrine, nutritional and metabolic diseases category (e0-e89), specifically within the Diabetes mellitus subcategory (e08-e13), with a specificity scale of 0 and a total item occurrence of 1. The query should be applied to any time frame (ANY) and have a panel accuracy scale of 100, without inverting the panel. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@16:37:45</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of "Diabetes mellitus" diagnoses within the Endocrine disorders category under Other endocrine gland diseases in the i2b2 database, with a specificity scale of 0 and accuracy scale of 100, looking for any occurrence of this diagnosis regardless of time. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Essential hyper@10:50:45</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Essential hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of Essential Hypertension (ICD-9 code 401) in the Circulatory System category, with a specificity scale of 100 and a time range of any date, using the i2b2 query builder. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Circulatory sys@11:33:58</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all diagnoses related to the circulatory system (ICD-9 codes 390-459) using the i2b2 query builder, with any timing, specificity scale set to 0, panel accuracy scale set to 100, and a single occurrence in the panel. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Circulatory sys@11:35:07</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all diagnoses related to the Circulatory system (ICD-9 codes 390-459) with a specificity scale of 0 and a panel accuracy scale of 100, for any time period, using the i2b2 query builder. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Liver Function @12:10:40</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Liver Function Tests</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB16) Chemistry\(LLB25) Liver Function Tests\</item_key>
<item_icon>FA</item_icon>
<tooltip>Labtests \ Chemistry \ Liver Function Tests</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of Liver Function Tests within the Laboratory Tests section of the i2b2 data repository, specifically within the Chemistry category, for any time period with 1000% accuracy and with one occurrence per panel. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Female@09:17:50</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all female patients in the database with no specific time constraint and with 1000% accuracy, using the demographics panel and the "Female" item within it. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@11:28:06</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of Diabetes mellitus (Endocrine disorders > Other endocrine gland diseases > Diabetes mellitus) with any timing and a specificity scale of 0, and an accuracy scale of 100, with the panel being inverted and having only one item occurrence. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Neurologic Diso@07:41:28</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Neurologic Disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Neurologic Disorders (320-389)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Neurologic Disorders</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>2</hlevel>
<item_name>Injury and poisoning</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Injury and poisoning (800-999)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Injury and poisoning</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with neurologic disorders or injuries and poisoning diagnoses using the i2b2 query builder, with a specificity scale of 0 and an accuracy scale of 100, covering any time period. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Male-Ischemi@12@13:53:01</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>0</hlevel>
<item_name>(PrevQuery)Male-Ischemi@12:33:13</item_name>
<item_key>masterid:4241</item_key>
<tooltip>Male-Ischemi@12:33:13</tooltip>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find a query that includes a panel with one item, which has a specificity scale of 0, an accuracy scale of 100, and is not inverted. The item within the panel is named "Male-Ischemi@12:33:13" and has a key of "masterid:4241". This query should search for any occurrence of this item within the data, and the query timing is set to "ANY". |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Express-Medicat@17:28:54</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Expression Profiles Data</item_name>
<item_key>\\i2b2_EXPR\i2b2\Expression Profiles Data\</item_key>
<item_icon>FA</item_icon>
<tooltip>Expression Profiles Data</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of Expression Profiles Data and Medications within the i2b2 database, with no specific time constraints, and I want the results to be as accurate as possible. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@16:39:00</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of Diabetes mellitus in the Endocrine disorders section, specifically under the Other endocrine gland diseases category, within the i2b2 data repository. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Clinical Dement@15:16:05</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Clinical Dementia Rating (CDR)</item_name>
<item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\</item_key>
<item_icon>FA</item_icon>
<tooltip>oasis \ Clinical Measures \ Clinical Dementia Rating (CDR)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances where the Clinical Dementia Rating (CDR) has been recorded in the BIRN database, with a specificity scale of 0 and a panel accuracy scale of 100, and the query should be applied to any time frame (ANY timing). The query will be named "Clinical Dement@15:16:05" and will include a single item with a hierarchical level of 3, and the item key is "\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\". The item will be of the class ENC and will not be considered a synonym. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Patie-Rx Si-Route@04:17:33</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Patient Instructions</modifier_name>
<modifier_key>\\i2b2_MEDS\Medication\Instructions\</modifier_key>
<applied_path>\i2b2\Medications\%</applied_path>
<constrain_by_value>
<value_operator>CONTAINS</value_operator>
<value_constraint>paracetamol</value_constraint>
<value_type>LARGETEXT</value_type>
</constrain_by_value>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Rx Sig</modifier_name>
<modifier_key>\\i2b2_MEDS\Medication\RxSig\</modifier_key>
<applied_path>\i2b2\Medications\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Route</modifier_name>
<modifier_key>\\i2b2_MEDS\Medication\Route\</modifier_key>
<applied_path>\i2b2\Medications\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all medication records where the patient instruction field contains the term "paracetamol" and the route of administration is not specified. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Admit Diagnosis@22:42:19</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Endocrine disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Endocrine disorders (240-259)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with an Admit Diagnosis of Endocrine disorders (ICD codes 240-259) with a specificity scale of 0 and a panel accuracy scale of 100, regardless of the timing, and display the results in a panel with a single item, labeled as Endocrine disorders, with a tooltip stating "Diagnoses - Endocrine disorders" and constrained by the "Admit Diagnosis" modifier. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Express-Medicat@17:28:15</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Expression Profiles Data</item_name>
<item_key>\\i2b2_EXPR\i2b2\Expression Profiles Data\</item_key>
<item_icon>FA</item_icon>
<tooltip>Expression Profiles Data</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find a query that retrieves expression profiles data and medication information from the i2b2 database, with no specific time constraints and a high level of accuracy, using the provided query builder XML. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diseases of the@17:30:06</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Diseases of the circulatory system (i00-i99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all diagnoses related to diseases of the circulatory system, including ICD-10 and ICD-9 codes, with a high level of specificity and no time restrictions. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Adrenal cortica@14:49:36</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Adrenal cortical steroids</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME148) hormones\(LME149) adrenal cortical steroids\</item_key>
<item_icon>FA</item_icon>
<tooltip>medications \ hormones \ adrenal cortical steroids</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find any instances of adrenal cortical steroid medications within the i2b2 database, using a high level of specificity and accuracy, with no time constraints for when the medication was prescribed or administered. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Admit D-Princip@22:42:36</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Endocrine disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Endocrine disorders (240-259)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Endocrine disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Principal Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Principal Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Endocrine disorders (240-259)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with endocrine disorders (diagnosis codes 240-259) as either their admission diagnosis or principal diagnosis, with a high level of specificity and no time constraint. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Patient Instruc@14:48:15</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Hormones</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME148) hormones\</item_key>
<item_icon>FA</item_icon>
<tooltip>medications \ hormones</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Patient Instructions</modifier_name>
<modifier_key>\\i2b2_MEDS\Medication\Instructions\</modifier_key>
<applied_path>\i2b2\Medications\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have been prescribed hormones (LME148) as medications with specific instructions applied to them, within any time frame, and with a high accuracy level (1000%) and a specificity scale of 0. The query should be constrained by the "Patient Instructions" modifier, and the panel should have a total of one item occurrence. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name> 18-34 years o@01:32:16</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients aged 18-34 years old with any timing and specificity scale set to 0, using the Demographics panel in the i2b2 query builder. The accuracy scale is set to 100, and the query should not be inverted. There is only one item in this panel, and it is a synonym for the age range of 18-34 years old. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Admit D-Princip@22:42:56</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Endocrine disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Endocrine disorders (240-259)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Endocrine disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Principal Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Principal Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Endocrine disorders (240-259)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have been admitted with Endocrine disorders (ICD codes 240-259) as either their Admit Diagnosis or Principal Diagnosis. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Female@11:25:21@09:31:28</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>0</hlevel>
<item_name>(PrevQuery)Female@11:25:21 [2-1-2018] [demo]</item_name>
<item_key>masterid:676</item_key>
<tooltip>Female@11:25:21 [2-1-2018] [demo]</tooltip>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>0</hlevel>
<item_name>(PrevQuery)Asthma@16:21:07 [1-31-2021] [demo]</item_name>
<item_key>masterid:9319</item_key>
<tooltip>Asthma@16:21:07 [1-31-2021] [demo]</tooltip>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all female patients who have a diagnosis of asthma in the past 24 hours with a specificity scale of 0 and a panel accuracy scale of 100, with no inversion, and the query should be applied to any time period. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>nondemented@15:15:28</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>nondemented</item_name>
<item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\nondemented\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Clinical Measures \ MMSE score \ nondemented</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been assessed as non-demented in the Oasis Clinical Measures with a Clinical Dementia Rating (CDR) score at any time, with a specificity scale of 0 and a total item occurrence of 1, using the panel 1 with an accuracy scale of 100 and an invert value of 0. The query is named "nondemented@15:15:28" and has an XML version of 1.0 with UTF-8 encoding and a standalone attribute of "yes". |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>BASE EXCESS (LO@15:42:34</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>BASE EXCESS (LOINC:1925-7)</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB16) Chemistry\(LLB24) Blood Gases\ABASEX\LOINC:1925-7\</item_key>
<item_icon>LA</item_icon>
<tooltip>Labtests \ Chemistry \ Blood Gases \ Arterial HCO3 (Group:ABASEX) \ BASE EXCESS (LOINC:1925-7)</tooltip>
<class>ENC</class>
<constrain_by_value>
<value_operator>GT</value_operator>
<value_constraint>2</value_constraint>
<value_unit_of_measure>meq/l</value_unit_of_measure>
<value_type>NUMBER</value_type>
</constrain_by_value>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances where the Base Excess (LOINC:1925-7) value is greater than 2 meq/l in the Arterial HCO3 (ABASEX) group for any time period, with a specificity scale of 0 and an accuracy scale of 1000%, and the panel is labeled as "Labtests \ Chemistry \ Blood Gases \ Arterial HCO3 (Group:ABASEX) \ BASE EXCESS (LOINC:1925-7)". |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Patie-Rx Si-Route@04:17:22</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Patient Instructions</modifier_name>
<modifier_key>\\i2b2_MEDS\Medication\Instructions\</modifier_key>
<applied_path>\i2b2\Medications\%</applied_path>
<constrain_by_value>
<value_operator>CONTAINS</value_operator>
<value_constraint>paracetamol</value_constraint>
<value_type>LARGETEXT</value_type>
</constrain_by_value>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Rx Sig</modifier_name>
<modifier_key>\\i2b2_MEDS\Medication\RxSig\</modifier_key>
<applied_path>\i2b2\Medications\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Route</modifier_name>
<modifier_key>\\i2b2_MEDS\Medication\Route\</modifier_key>
<applied_path>\i2b2\Medications\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find medications containing the word "paracetamol" in the patient instructions with any route of administration. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Inpatient visit@22:43:57</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Inpatient visit</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Visit type\Inpatient visit\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Visit type \ Inpatient visit</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all inpatient visits within the specified time frame, with no specificity scale and a high accuracy scale, and the query will include only one item with a level 3 hierarchy, namely 'Inpatient visit', under the category 'Visit Details' in the 'Visit type' section. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name> 18--Male-Acute@12:23:51</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>1</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Acute kidney failure and chronic kidney disease (n17-n19)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(N00-N99) Dise~cr9y\(N17-N19) Acut~cuu8\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the genitourinary system (n00-n99) \ Acute kidney failure and chronic kidney disease (n17-n19)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all male patients between the ages of 18 and 444 who have been diagnosed with acute kidney failure or chronic kidney disease at any point in time. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Clinica-Images@21:25:14</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Clinical Measures</item_name>
<item_key>\\BIRN\BIRN\oasis\Clinical Measures\</item_key>
<item_icon>FA</item_icon>
<tooltip>oasis \ Clinical Measures</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Images</item_name>
<item_key>\\BIRN\BIRN\oasis\Images\</item_key>
<item_icon>FA</item_icon>
<tooltip>oasis \ Images</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all clinical measures and images from the BIRN oasis database that have occurred at any time with a high level of accuracy. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Bla-Mus-Fem- 4-Som@22:43:11</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Black</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Black\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Black</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Muslim</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Religion\Muslim\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Religion \ Muslim</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>4</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 65-74 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\65-74 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 65-74 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>5</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Somalian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Language\Somalian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Language \ Somalian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who are Black, Muslim, Female, aged between 45-74 years old, and speak Somalian language. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Femal- 45--Somal@22:44:06</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 65-74 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\65-74 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 65-74 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Somalian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Language\Somalian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Language \ Somalian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find female patients between the ages of 45-74 years old who speak Somalian as their primary language. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Female-Screeni@22:50:23</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>6</hlevel>
<item_name>Screening mammogram for high-risk patient</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\zz V-codes\Examinations without diagnosis (V70-V82)\(V76) Special screening for malig~\(V76-1) Screening for malignant n~\(V76-11) Screening mammogram for ~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ ... \ Special screening for malignant neoplasms \ Screening for malignant neoplasms of the breast \ Screening mammogram for high-risk patient</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>6</hlevel>
<item_name>Abnormal mammogram, unspecified</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Symptoms, signs, and ill-defined conditions (780-799)\Nonspecific abnormal findings (790-796)\(793) Nonspecific abnormal findin~\(793-8) Nonspecific abnormal find~\(793-80) Abnormal mammogram, unsp~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ ... \ Nonspecific abnormal findings on radiological and other examination of body structure \ Nonspecific abnormal findings on radiological and other examination of breast \ Abnormal mammogram, unspecified</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Inconclusive mammogram</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(R00-R99) Symp~mt2x\(R90-R94) Abno~rtdf\(R92) Abnormal~w8fp\(R92.2) Inconc~5a6u\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified (r00-r99) \ Abnormal findings on diagnostic imaging and in function studies, without diagnosis (r90-r94)
\ Abnormal and inconclusive findings on diagnostic imaging of breast \ Inconclusive mammogram</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>5</hlevel>
<item_name>Encounter for screening mammogram for malignant neoplasm of breast</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z00-Z13) Pers~m0l3\(Z12) Encounte~h1ts\(Z12.3) Encoun~7u9b\(Z12.31) Encou~h6rn\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons encountering health services for examinations (z00-z13)
\ Encounter for screening for malignant neoplasms \ Encounter for screening for malignant neoplasm of breast \ Encounter for screening mammogram for malignant neoplasm of breast</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find female patients who have had a screening mammogram for high-risk patients or have an abnormal mammogram result, including inconclusive mammograms, or had an encounter for screening mammogram for malignant neoplasm of the breast. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Hyperlipidemia@19:50:51</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Hyperlipidemia</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of hyperlipidemia, specifically other and unspecified hyperlipidemia, within the category of disorders of lipoid metabolism under the broader category of metabolic and immunity disorders. The search will include any time period, and the specificity scale is set to 0, meaning that all relevant cases will be included. The accuracy scale is set to 100, indicating a high level of accuracy. This query is part of a panel with a panel number of 1, and the panel timing is set to ANY. The panel's accuracy scale is also set to 10. There is only one item in this panel, and the item is not inverted. The hierarchy level is set to 4, and the icon used for this item is LA. The tooltip provided is "Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia." The class for this item is ENC, and it is marked as a synonym. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Chemistry@22:45:02</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Chemistry</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB16) Chemistry\</item_key>
<item_icon>FA</item_icon>
<tooltip>Labtests \ Chemistry</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of the Chemistry panel in the i2b2 Labtests module, with a specificity scale of 0, accuracy scale of 100, and any timing, where the panel number is 1, and the panel is not inverted. The query name is Chemistry@2:45:02, and the class is ENC. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Somalian@22:44:28</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Somalian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Language\Somalian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Language \ Somalian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have "Somalian" listed as their language in the demographic information within the i2b2 database. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Female-Screeni@22:50:37</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>6</hlevel>
<item_name>Screening mammogram for high-risk patient</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\zz V-codes\Examinations without diagnosis (V70-V82)\(V76) Special screening for malig~\(V76-1) Screening for malignant n~\(V76-11) Screening mammogram for ~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ ... \ Special screening for malignant neoplasms \ Screening for malignant neoplasms of the breast \ Screening mammogram for high-risk patient</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>6</hlevel>
<item_name>Abnormal mammogram, unspecified</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Symptoms, signs, and ill-defined conditions (780-799)\Nonspecific abnormal findings (790-796)\(793) Nonspecific abnormal findin~\(793-8) Nonspecific abnormal find~\(793-80) Abnormal mammogram, unsp~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ ... \ Nonspecific abnormal findings on radiological and other examination of body structure \ Nonspecific abnormal findings on radiological and other examination of breast \ Abnormal mammogram, unspecified</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Inconclusive mammogram</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(R00-R99) Symp~mt2x\(R90-R94) Abno~rtdf\(R92) Abnormal~w8fp\(R92.2) Inconc~5a6u\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified (r00-r99) \ Abnormal findings on diagnostic imaging and in function studies, without diagnosis (r90-r94)
\ Abnormal and inconclusive findings on diagnostic imaging of breast \ Inconclusive mammogram</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>5</hlevel>
<item_name>Encounter for screening mammogram for malignant neoplasm of breast</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z00-Z13) Pers~m0l3\(Z12) Encounte~h1ts\(Z12.3) Encoun~7u9b\(Z12.31) Encou~h6rn\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons encountering health services for examinations (z00-z13)
\ Encounter for screening for malignant neoplasms \ Encounter for screening for malignant neoplasm of breast \ Encounter for screening mammogram for malignant neoplasm of breast</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find female patients who have had a screening mammogram for high-risk patients, an abnormal mammogram, or an inconclusive mammogram, with no specific time constraints, and I want to include both encounters and diagnoses related to these events. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>mild de-Mental @18:11:57</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>mild dementia</item_name>
<item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\mild dementia\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Clinical Measures \ Clinical Dementia Rating (CDR) \ mild dementia</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Mental Disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Mental Disorders (290-319)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Mental Disorders</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have been diagnosed with mild dementia, excluding those with any mental disorders. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Female@16:24:32</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Female</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Female</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Pre-existing diabetes mellitus, type 2, in pregnancy, childbirth and the puerperium</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(O00-O99) Preg~e5ik\(O20-O29) Othe~2ok2\(O24) Diabetes~a3ox\(O24.1) Pre-ex~qs2i\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Pregnancy, childbirth and the puerperium (o00-o99) \ Other maternal disorders predominantly related to pregnancy (o20-o29)
\ Diabetes mellitus in pregnancy, childbirth, and the puerperium \ Pre-existing diabetes mellitus, type 2, in pregnancy, childbirth and the puerperium</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>5</hlevel>
<item_name>Pre-existing diabetes mellitus, type 2, in pregnancy</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(O00-O99) Preg~e5ik\(O20-O29) Othe~2ok2\(O24) Diabetes~a3ox\(O24.1) Pre-ex~qs2i\(O24.11) Pre-e~6pf1\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Pregnancy, childbirth and the puerperium (o00-o99) \ Other maternal disorders predominantly related to pregnancy (o20-o29)
... \ Pre-existing diabetes mellitus, type 2, in pregnancy</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Hypertension complicating pregnancy, childbirth, and the puerperium</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Events of pregnancy (630-677)\(642) Hypertension complicating p~\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Events of pregnancy \ Hypertension complicating pregnancy, childbirth, and the puerperium</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Pregnancy-induced hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Events of pregnancy (630-677)\(642) Hypertension complicating p~\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Events of pregnancy \ Hypertension complicating pregnancy, childbirth, and the puerperium</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>6</hlevel>
<item_name>Hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Injury and poisoning (800-999)\Complications of medical care (996-999)\(997) Complications affecting spe~\(997-9) Complications affecting o~\(997-91) Hypertension\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ ... \ Complications affecting specified body systems, not elsewhere classified \ Complications affecting other specified body systems, not elsewhere classified \ Hypertension</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Gestational hypertension</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Events of pregnancy (630-677)\(642) Hypertension complicating p~\(642-3) Transient hypertension of~\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Events of pregnancy \ Hypertension complicating pregnancy, childbirth, and the puerperium \ Transient hypertension of pregnancy</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find female patients with pre-existing diabetes mellitus, type 2, in pregnancy, childbirth, and the puerperium, who also have hypertension complicating pregnancy, childbirth, and the puerperium, including gestational hypertension and pregnancy-induced hypertension. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Brain death@17:54:16</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Brain death</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(G00-G99) Dise~j8kq\(G89-G99) Othe~xp4d\(G93) Other di~8cu3\(348.82)Brain death\</item_key>
<item_icon>LI</item_icon>
<tooltip>Diagnoses \ Diseases of the nervous system (g00-g99) \ Other disorders of the nervous system (g89-g99) \ Other disorders of brain \ Brain death</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of brain death in the ICD-9 code range G00-G9, specifically in the category of other disorders of the nervous system (G89-G99), and more specifically, other disorders of the brain (348.82). The query should have a specificity scale of 0 and an accuracy scale of 100, with no inversion and any timing. The panel should include one item, and the query name should be titled "Brain death@17:54:16." |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>(t) Anti-infectivesOperations on cAnti-infectives@20:36:36</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Anti-infectives</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME10) anti-infectives\</item_key>
<item_icon>FA</item_icon>
<tooltip>medications \ anti-infectives</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<subquery_constraint>
<first_query>
<query_id>Observation A</query_id>
<join_column>STARTDATE</join_column>
<aggregate_operator>FIRST</aggregate_operator>
</first_query>
<operator>LESS</operator>
<second_query>
<query_id>Observation B</query_id>
<join_column>STARTDATE</join_column>
<aggregate_operator>FIRST</aggregate_operator>
</second_query>
</subquery_constraint>
<subquery>
<query_id>Observation A</query_id>
<query_type>EVENT</query_type>
<query_name>Observation A</query_name>
<query_timing>SAMEINSTANCENUM</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>0</panel_number>
<panel_timing>SAMEINSTANCENUM</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Operations on cardiovascular system</item_name>
<item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(35-39) Operations on cardiovascular system\</item_key>
<item_icon>FA</item_icon>
<tooltip>Procedures \ ICD9 (Inpatient) \ Operations on cardiovascular system</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</subquery>
<subquery>
<query_id>Observation B</query_id>
<query_type>EVENT</query_type>
<query_name>Observation B</query_name>
<query_timing>SAMEINSTANCENUM</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>0</panel_number>
<panel_timing>SAMEINSTANCENUM</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Anti-infectives</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME10) anti-infectives\</item_key>
<item_icon>FA</item_icon>
<tooltip>medications \ anti-infectives</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</subquery>
</ns4:query_definition>
``` |
I want to find all instances where a patient has had an operation on their cardiovascular system (as defined by ICD9 inpatient codes) and was also prescribed anti-infective medications (as defined by the i2b2 medications list), within the same encounter. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Chronic-Pulmona@12:03:35</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Chronic obstructive pulmonary disease, unspecified</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\(J44) Other ch~vw4p\(J44.9) Chroni~jbfs\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47) \ Other chronic obstructive pulmonary disease
\ Chronic obstructive pulmonary disease, unspecified</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Chronic obstructive pulmonary disease with (acute) exacerbation</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\(J44) Other ch~vw4p\(J44.1) Chroni~n5iz\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47) \ Other chronic obstructive pulmonary disease
\ Chronic obstructive pulmonary disease with (acute) exacerbation</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Chronic obstructive pulmonary disease with (acute) exacerbation</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\(J44) Other ch~vw4p\(J44.1) Chroni~n5iz\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47) \ Other chronic obstructive pulmonary disease
\ Chronic obstructive pulmonary disease with (acute) exacerbation</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Pulmonary Function Reports</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\Pulmonary Function Reports\</item_key>
<item_icon>FA</item_icon>
<tooltip>Labtests \ Pulmonary Function Reports</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of Chronic Obstructive Pulmonary Disease (COPD), including those with unspecified COPD and those with an acute exacerbation, as well as any pulmonary function reports in their medical records. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Chronic obstruc@12:05:00</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Chronic obstructive pulmonary disease, unspecified</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\(J44) Other ch~vw4p\(J44.9) Chroni~jbfs\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47) \ Other chronic obstructive pulmonary disease
\ Chronic obstructive pulmonary disease, unspecified</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Chronic obstructive pulmonary disease with (acute) exacerbation</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\(J44) Other ch~vw4p\(J44.1) Chroni~n5iz\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47) \ Other chronic obstructive pulmonary disease
\ Chronic obstructive pulmonary disease with (acute) exacerbation</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Chronic obstructive pulmonary disease with (acute) exacerbation</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J40-J47) Chro~fbox\(J44) Other ch~vw4p\(J44.1) Chroni~n5iz\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Chronic lower respiratory diseases (j40-j47) \ Other chronic obstructive pulmonary disease
\ Chronic obstructive pulmonary disease with (acute) exacerbation</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of chronic obstructive pulmonary disease, unspecified or with (acute) exacerbation, within the ICD10_ICD9 category of diseases of the respiratory system, specifically in the chronic lower respiratory diseases subcategory, using the specified ICD codes for other chronic obstructive pulmonary disease. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Asthma@12:09:11</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Asthma</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of asthma within the respiratory system and chronic obstructive diseases category, with a specificity scale of 0 and accuracy scale of 100, and the query timing set to "ANY". |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Admit D-Seconda@09:45:59</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Diseases of the digestive system (k00-k94)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the digestive system (k00-k94)</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\ICD10_ICD9\Admit Diagnosis\</modifier_key>
<applied_path>\Diagnoses\(K00-K94) Dise~rl1r\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Diseases of the digestive system (k00-k94)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the digestive system (k00-k94)</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Secondary Diagnosis</modifier_name>
<modifier_key>\\ICD10_ICD9\Secondary Diagnosis\</modifier_key>
<applied_path>\Diagnoses\(K00-K94) Dise~rl1r\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have a primary diagnosis of any diseases related to the digestive system (ICD10-ICD9 codes K0-K94) and a secondary diagnosis of the same category (diseases of the digestive system). |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@18:08:31</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of "Diabetes mellitus" as a diagnosis within the Endocrine disorders category, specifically within the subcategory of Other endocrine gland diseases, with a specificity scale of 0 and an accuracy scale of 100. The query will search for this diagnosis at any time (ANY timing) and will include only one item in the panel. The item will not be treated as a synonym. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Beyond -Status @15:34:02</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Beyond college</item_name>
<item_key>\\BIRN\BIRN\oasis\Demographics\Education\Beyond college\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Demographics \ Education \ Beyond college</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Status 1</item_name>
<item_key>\\BIRN\BIRN\oasis\Demographics\Socioeconomic Status\Status 1\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Demographics \ Socioeconomic Status \ Status 1</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have information recorded in the "Beyond college" field under the "Education" category in the Demographics section of the OASIS form, as well as those who have information recorded in the "Status 1" field under the "Socioeconomic Status" category, with no specific time constraint and a high level of accuracy. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name> 18--Male-Acute@12:23:32</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Acute kidney failure and chronic kidney disease (n17-n19)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(N00-N99) Dise~cr9y\(N17-N19) Acut~cuu8\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the genitourinary system (n00-n99) \ Acute kidney failure and chronic kidney disease (n17-n19)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find male patients aged 18-444 years old who have been diagnosed with acute kidney failure and chronic kidney disease. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Pneumoconiosis @14:03:25</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Pneumoconiosis due to silica NOS</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Lung diseases due to external irritants (500-508)\(502) Pneumoconiosis due to other~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ Respiratory system \ Lung diseases due to external irritants \ Pneumoconiosis due to other silica or silicates</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Pneumoconiosis</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Lung diseases due to external irritants (500-508)\(505) Pneumoconiosis, unspecified\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ Respiratory system \ Lung diseases due to external irritants \ Pneumoconiosis, unspecified</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Tin pneumoconiosis</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Lung diseases due to external irritants (500-508)\(503) Pneumoconiosis due to other~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ Respiratory system \ Lung diseases due to external irritants \ Pneumoconiosis due to other inorganic dust</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of Pneumoconiosis, including those due to silica NOS, unspecified, or caused by other inorganic dust, within the specified time frame, with a high level of specificity and accuracy. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>De-Identified MRI Reports@15:43:56</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>De-Identified MRI Reports</item_name>
<item_key>\\i2b2_REP\i2b2\Reports\De-Identified MRI Reports\</item_key>
<item_icon>LA</item_icon>
<tooltip>\ i2b2 \ Reports \ De-Identified MRI Reports \</tooltip>
<class>ENC</class>
<constrain_by_value>
<value_operator>CONTAINS[database]</value_operator>
<value_constraint>MRI scan</value_constraint>
<value_type>LARGETEXT</value_type>
</constrain_by_value>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all de-identified MRI reports in the i2b2 database that contain the phrase "MRI scan" within the large text field. This query has a specificity scale of 0, meaning it is not restricted to a particular time period, and has an accuracy scale of 100, indicating a high level of confidence in the results. The query will search for occurrences of the specified phrase within the 'Reports' folder, specifically within the 'De-Identified MRI Reports' subfolder. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@14:28:33</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of diabetes mellitus, including all its subtypes, regardless of the timing of the diagnosis, with a high level of accuracy and specificity. This query will search for the term "(250) Diabetes mellitus" within the "Diagnoses \ Endocrine disorders \ Other endocrine gland diseases" category in the i2b2 database, and it will only return patients with this diagnosis, excluding any synonyms or related terms. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@14:29:13</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of Diabetes mellitus diagnoses in the Endocrine disorders category, specifically under the Other endocrine gland diseases subcategory, within the i2b2 data repository, with a specificity scale of 0 and a total item occurrence of 1. This query should have a panel accuracy scale of 100 and an invert value of 0, and it should search for this condition at any time (ANY timing). The query is named "Diabetes mellitus" and the class is ENC. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name> 18-34-Acute p@19:50:46</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>Acute pancreatitis</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Digestive system (520-579)\Other diseases of digestive system (570-579)\(577) Diseases of pancreas\(577-0) Acute pancreatitis\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ Digestive system \ Other diseases of digestive system \ Diseases of pancreas \ Acute pancreatitis</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients between the ages of 18-34, 35-44, 45-54, and 555-64 who have been diagnosed with acute pancreatitis. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name> 18-34-Acute p@19:51:44</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>0</hlevel>
<item_name>(PrevQuery)Acute pancreati@19:50:48</item_name>
<item_key>masterid:4335</item_key>
<tooltip>Acute pancreati@19:50:48</tooltip>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients aged 18-34, 35-44, or 5-64 years old with a diagnosis of acute pancreatitis. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Princ-Acute- Visi@22:09:15</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Endocrine disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Principal Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Principal Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Endocrine disorders (240-259)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Acute pancreatitis</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\(K80-K87) Diso~5bj3\(K85) Acute pa~es5c\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the digestive system (k00-k94) \ Disorders of gallbladder, biliary tract and pancreas (k80-k87) \ Acute pancreatitis</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>acute (recurrent) pancreatitis</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\(K80-K87) Diso~5bj3\(K85) Acute pa~es5c\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the digestive system (k00-k94) \ Disorders of gallbladder, biliary tract and pancreas (k80-k87) \ acute (recurrent) pancreatitis</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> Visit at ages 18-34 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Visit Details \ Age at visit \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> Visit at ages 35-44 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Visit Details \ Age at visit \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> Visit at ages 45-54 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Visit Details \ Age at visit \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 55 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\55 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 55 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 56 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\56 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 56 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 57 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\57 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 57 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 58 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\58 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 58 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 59 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\59 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 59 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 60 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\60 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 60 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been diagnosed with acute pancreatitis between the ages of 18 and 64, specifically looking at visits when they were 5, 56, 57, 58, 59, and 60 years old. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Diabetes mellit@14:28:50</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Diabetes mellitus</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of "Diabetes mellitus" as a diagnosis within the Endocrine disorders section under Other endocrine gland diseases category in the i2b2 database, with a specificity scale of 0 and an accuracy scale of 100, regardless of the timing. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Pneumoconiosis @14:02:42</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Pneumoconiosis due to silica NOS</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Lung diseases due to external irritants (500-508)\(502) Pneumoconiosis due to other~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ Respiratory system \ Lung diseases due to external irritants \ Pneumoconiosis due to other silica or silicates</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of Pneumoconiosis due to silica NOS (Not Otherwise Specified) in the i2b2 database, with a specificity scale of 0 and a panel accuracy scale of 100, with a focus on the Respiratory system, Lung diseases due to external irritants, and Pneumoconiosis due to other silica or silicates within any time frame. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Acute p- Visit @22:09:43</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Acute pancreatitis</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\(K80-K87) Diso~5bj3\(K85) Acute pa~es5c\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the digestive system (k00-k94) \ Disorders of gallbladder, biliary tract and pancreas (k80-k87) \ Acute pancreatitis</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>acute (recurrent) pancreatitis</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\(K80-K87) Diso~5bj3\(K85) Acute pa~es5c\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the digestive system (k00-k94) \ Disorders of gallbladder, biliary tract and pancreas (k80-k87) \ acute (recurrent) pancreatitis</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> Visit at ages 18-34 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Visit Details \ Age at visit \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> Visit at ages 35-44 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Visit Details \ Age at visit \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> Visit at ages 45-54 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Visit Details \ Age at visit \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 55 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\55 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 55 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 56 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\56 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 56 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 57 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\57 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 57 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 58 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\58 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 58 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 59 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\59 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 59 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>Visit at age 60 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\55-64 years old\60 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Visit Details \ Age at visit \ 55-64 years old \ 60 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who had a diagnosis of acute or recurrent pancreatitis (ICD code K85) and had a visit between the ages of 18-64 years old. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name> 18--Acute-Princ@22:21:55</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>55 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\55 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old \ 55 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>56 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\56 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old \ 56 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>57 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\57 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old \ 57 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>58 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\58 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old \ 58 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>59 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\59 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old \ 59 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>4</hlevel>
<item_name>60 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\60 years old\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old \ 60 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>1</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>Acute pancreatitis</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Digestive system (520-579)\Other diseases of digestive system (570-579)\(577) Diseases of pancreas\(577-0) Acute pancreatitis\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ Digestive system \ Other diseases of digestive system \ Diseases of pancreas \ Acute pancreatitis</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Acute pancreatitis</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\(K80-K87) Diso~5bj3\(K85) Acute pa~es5c\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the digestive system (k00-k94) \ Disorders of gallbladder, biliary tract and pancreas (k80-k87) \ Acute pancreatitis</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>acute (recurrent) pancreatitis</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\(K80-K87) Diso~5bj3\(K85) Acute pa~es5c\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the digestive system (k00-k94) \ Disorders of gallbladder, biliary tract and pancreas (k80-k87) \ acute (recurrent) pancreatitis</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>1</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Endocrine disorders</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Endocrine disorders</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Principal Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Principal Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Endocrine disorders (240-259)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find encounters where the patient is 555-64 years old and has a diagnosis of acute pancreatitis, along with any endocrine disorders, with the age range being the principal diagnosis. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>mild dementia@08:52:08</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>mild dementia</item_name>
<item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\mild dementia\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Clinical Measures \ Clinical Dementia Rating (CDR) \ mild dementia</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with a diagnosis of mild dementia, as recorded in the OASIS Clinical Measures Clinical Dementia Rating (CDR) section, within any time frame, with a specificity scale of 0 and a panel accuracy scale of 100, and with the item being a synonym for the diagnosis. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Atrial -Gender@14:11:11</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Atrial fibrillation and flutter</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I30-I52) Othe~w6tz\(I48) Atrial f~wiu4\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99) \ Other forms of heart disease (i30-i52) \ Atrial fibrillation and flutter</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Gender</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographic \ Gender</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of atrial fibrillation or flutter, along with their gender information. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Coronavirus as @19:21:53</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Coronavirus as the cause of diseases classified elsewhere</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere
\ Coronavirus as the cause of diseases classified elsewhere</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find diagnoses related to certain infectious and parasitic diseases (a0-b9) caused by bacterial and viral agents (b95-b97), specifically focusing on coronavirus (b97.2) as the cause of diseases classified elsewhere, with a specificity scale of 0 and a total of 1 item occurrence, with no inversion and an accuracy scale of 100. The query should be applicable for any timing and has a panel number of 1. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault (x92-y0@19:28:41</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Assault (x92-y08)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of Assault (x92-y08) diagnoses in the ICD10-ICD9 (International Classification of Diseases) external causes of morbidity codes, with a specificity scale of 0 and accuracy scale of 100, where the timing is not restricted (ANY), and the panel number and total item occurrences are set to 1. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault-Assault@19:53:26</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Assault (x92-y08)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Assault by blunt object</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have been diagnosed with any type of assault, including assault by blunt object, within the ICD10_ICD9 coding system for external causes of morbidity (v0-y9) and assault (x92-y08) subcategories, with a specificity scale of 0 and an accuracy scale of 100, covering any time period. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Sagitta-Admit D@16:43:27</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>Sagittal</item_name>
<item_key>\\BIRN\BIRN\oasis\Images\Raw Images\First Sample\Sagittal\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Images \ Raw Images \ First Sample \ Sagittal</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Circulatory system (390-459)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with an Admit Diagnosis related to the Circulatory system (ICD codes 390-459) who have had a Sagittal image taken from the Oasis Raw Images First Sample. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Homocysteine (G@13:11:08</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Homocysteine (Group:HCYS)</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB6) Coagulation\(LLB9) Hypercoagulation Studies\HCYS\</item_key>
<item_icon>FA</item_icon>
<tooltip>Labtests \ Coagulation \ Hypercoagulation Studies \ Homocysteine (Group:HCYS)</tooltip>
<class>ENC</class>
<constrain_by_value>
<value_operator>GE</value_operator>
<value_constraint>12</value_constraint>
<value_unit_of_measure>mmole/l</value_unit_of_measure>
<value_type>NUMBER</value_type>
</constrain_by_value>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all instances of the Homocysteine (Group:HCYS) lab test within the Coagulation/Hypercoagulation Studies panel, with a value greater than or equal to 12 mmol/L, with a specificity scale of 0 and an accuracy scale of 100, with the option to select any timing for the query. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>IGE (LOINC:2462@13:13:11</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>IGE (LOINC:2462-0)</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB32) Immunology\(LLB40) Immunoglobulin\IGE\LOINC:2462-0\</item_key>
<item_icon>LA</item_icon>
<tooltip>Labtests \ Immunology \ Immunoglobulin \ IgE (Group:IGE) \ Ige (LOINC:2462-0)</tooltip>
<class>ENC</class>
<constrain_by_value>
<value_operator>GE</value_operator>
<value_constraint>393</value_constraint>
<value_unit_of_measure>iu/ml</value_unit_of_measure>
<value_type>NUMBER</value_type>
</constrain_by_value>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have had a lab test result for Immunoglobulin E (IgE) with a value greater than or equal to 393 international units per milliliter (iu/ml) at any time during their medical history. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>IGE (LOINC:2462@13:13:25</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>IGE (LOINC:2462-0)</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB32) Immunology\(LLB40) Immunoglobulin\IGE\LOINC:2462-0\</item_key>
<item_icon>LA</item_icon>
<tooltip>Labtests \ Immunology \ Immunoglobulin \ IgE (Group:IGE) \ Ige (LOINC:2462-0)</tooltip>
<class>ENC</class>
<constrain_by_value>
<value_operator>GE</value_operator>
<value_constraint>393</value_constraint>
<value_unit_of_measure>iu/ml</value_unit_of_measure>
<value_type>NUMBER</value_type>
</constrain_by_value>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have had an Immunoglobulin E (IgE) test (LOINC:2462-0) with a result value greater than or equal to 393 IU/mL at any time, regardless of the specificity scale, panel timing, or accuracy scale, and the panel is not inverted. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Male-type II@16:05:32</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>6</hlevel>
<item_name>type II diabetes mellitus [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, without mention of complication</item_name>
<item_key>\\i2b2_DEMO\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-0) Diabetes mellitus without~\(250-00) type II diabetes mellitu~\</item_key>
<item_icon>LA</item_icon>
<tooltip>Diagnoses \ ... \ type II diabetes mellitus [non-insulin dependent t{..}fied type, not stated as uncontrolled, without mention of complication</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all male patients with type II diabetes mellitus, specifically non-insulin dependent, adult-onset type, unspecified type, and without mention of complications. |