output
stringlengths
926
21.5k
instruction
stringlengths
45
1.08k
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Essenti-Diabete@21:13: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>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> </ns3:query_definition> ```
I want to find patients with a diagnosis of essential (primary) hypertension (I10) and diabetes mellitus (E08-E13) in any time frame with 100% accuracy.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Perso-Essen-Diabe@21:28: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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045</item_name> <item_key>masterid:3473</item_key> <tooltip>Person_#1000000045</tooltip> <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>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>3</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>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> </ns3:query_definition> ```
I want to find patients with a history of essential (primary) hypertension and diabetes mellitus, both diagnosed during the same visit, and who have a specific person identifier (Person_#1000000045).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Length of stay@@21:32: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>0</hlevel> <item_name>(PrevQuery)Length of stay@@20:55:36</item_name> <item_key>masterid:3513</item_key> <tooltip>Length of stay@@20:55:36</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find the total number of days a patient has been admitted in the hospital, at any point in time, with an accuracy level of 100%, using the "Length of stay" concept from the previous query "Length of stay@@20:5:36" as a reference.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Length of stay@@21:48: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>0</hlevel> <item_name>(PrevQuery)Length of stay@@20:55:36</item_name> <item_key>masterid:3513</item_key> <tooltip>Length of stay@@20:55:36</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find the length of stay for patients in the hospital at any given time, using the specificity scale of 0 and the accuracy scale of 100, with one total item occurrence, and the panel timing set to ANY. This query will reference the previously created query with the name "Length of stay@@20:55:36" and will not be treated as a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Howmanyoutpatie@22:18:03</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)Howmanyoutpatientvisit@09:58:51</item_name> <item_key>masterid:2861</item_key> <tooltip>Howmanyoutpatientvisit@09:58:51</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find the number of outpatient visits in the i2b2 database with a specificity scale of 0 and an accuracy scale of 100, using the panel named "How many outpatient visits at 09:58:51" and its corresponding key "masterid:2861" within any time frame.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Perso-Essen-Diabe@21:26: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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045</item_name> <item_key>masterid:3473</item_key> <tooltip>Person_#1000000045</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>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>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>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> </ns3:query_definition> ```
I want to find a query that identifies patients with a diagnosis of essential (primary) hypertension and diabetes mellitus in the Endocrine, Nutritional and Metabolic diseases section of the ICD-9 or ICD-10 coding system, within any time frame, with a specificity scale of 0 and a panel accuracy scale of 100. The query should include a panel for a specific person with the master ID 343 and another panel for essential (primary) hypertension, with a specificity scale of 0 and a panel accuracy scale of 10.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Length of stay@@21:29: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>0</hlevel> <item_name>(PrevQuery)Length of stay@@20:55:36</item_name> <item_key>masterid:3513</item_key> <tooltip>Length of stay@@20:55:36</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find the length of stay for patients in the hospital within a specific time frame, using the predefined query named "Length of stay@@20:5:36" from the i2b2 query builder, with a specificity scale of 0 and an accuracy scale of 100, and the query should be applied to any time period (ANY).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Length of stay@@21:48:30</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)Length of stay@@20:55:36</item_name> <item_key>masterid:3513</item_key> <tooltip>Length of stay@@20:55:36</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find the length of stay for a patient based on the information provided in the previous query at 20:55:36, with a specificity scale of 0 and a panel timing of ANY, and with a total item occurrence of 1. The query should have a panel accuracy scale of 100 and should not be inverted. The item name is "Length of stay@@20:5:36" and the item key is "masterid:3513". This query is named "Length of stay@@21:48:30".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Length of stay@@21:54:09</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)Length of stay@@20:56:55</item_name> <item_key>masterid:3514</item_key> <tooltip>Length of stay@@20:56:55</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find the average length of stay for patients in the hospital within a specific time frame, using the most accurate information available.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Person_-Essenti@21:59:57</query_name> <query_timing>ANY</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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045</item_name> <item_key>masterid:3490</item_key> <tooltip>Person_#1000000045</tooltip> <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>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> </ns3:query_definition> ```
I want to find patients who have been diagnosed with Essential (primary) hypertension (I10) during the same visit as their previous encounter, using the ICD10 and ICD9 codes for Diagnoses of Diseases of the circulatory system (i0-i9) and Hypertensive diseases (i10-i15), with a high level of specificity and accuracy.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Perso-Essen-Diabe@22:01:42</query_name> <query_timing>ANY</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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045</item_name> <item_key>masterid:3490</item_key> <tooltip>Person_#1000000045</tooltip> <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>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>3</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>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> </ns3:query_definition> ```
I want to find a patient who has been diagnosed with essential (primary) hypertension and diabetes mellitus during the same visit.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Person_-Diabete@22:03:48</query_name> <query_timing>ANY</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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045</item_name> <item_key>masterid:3490</item_key> <tooltip>Person_#1000000045</tooltip> <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>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> </ns3:query_definition> ```
I want to find patients with a diagnosis of Diabetes mellitus (ICD codes E08-E13) on the same visit as the first panel, which is a previously defined query related to a specific person (Person_#1000000045).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabete-Essenti@22:07:24</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)Diabete-Essenti-Person_#1000000045@11:49:29</item_name> <item_key>masterid:2896</item_key> <tooltip>Diabete-Essenti-Person_#1000000045@11:49:29</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all patients with a diagnosis of essential diabetes, using the query "Diabete-Essenti-Person_#1000000045@1:49:29", with any timing, 100% accuracy, and a single item occurrence in the panel. The query should not be inverted, and it is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Admit D-Injury @15:40: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>2</hlevel> <item_name>Hematologic diseases</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Hematologic diseases (280-289)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Hematologic diseases</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\Hematologic diseases (280-289)\%</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>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> </ns3:query_definition> ```
I want to find a query that includes diagnoses related to Hematologic diseases (ICD codes 280-289) and Injury and poisoning (ICD codes 80-999) with an accuracy scale of 100 and no specific timing or panel timing constraints. The query should not be inverted and should have a specificity scale of 0.
```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>Endocri-Adrenal@13:30: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>1</hlevel> <item_name>Endocrine, nutritional and metabolic diseases (e00-e89)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <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> <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>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 patients with diagnoses related to endocrine, nutritional and metabolic diseases (ICD10-ICD9 codes E0-E89) and who have been prescribed adrenal cortical steroids (medication code LME149) in their medical records.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Person_-Essenti@22:03:18</query_name> <query_timing>ANY</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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045</item_name> <item_key>masterid:3490</item_key> <tooltip>Person_#1000000045</tooltip> <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>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> </ns3:query_definition> ```
I want to find patients who have been diagnosed with essential (primary) hypertension during the same visit as their initial encounter (PrevQuery)Person_#1000000045.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>numberofvisitPe@22: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>0</hlevel> <item_name>(PrevQuery)numberofvisitPerson_#1000000045@10:11:11</item_name> <item_key>masterid:2870</item_key> <tooltip>numberofvisitPerson_#1000000045@10:11:11</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find the number of visits for a specific patient (#1000000045) within a given time frame (10 years, 1 month, and 11 day) with a high level of specificity (1000%) and no inversion, where the query is applied to any time period and includes one panel with one total 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>Female-Asthma@12:18: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>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>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 female patients with a diagnosis of asthma.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Femal-Malig-Temoz@16:58: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>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>5</hlevel> <item_name>Malignant neoplasm of brain</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(C00-D49) Neop~k3n8\(C00-C96) Mali~yqqr\(C00-C75) Mali~lbm0\(C69-C72) Mali~8lvo\(C71) Malignan~7z3n\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Neoplasms (c00-d49) \ Malignant neoplasms (c00-c96) \ Malignant neoplasms, stated or presumed to be primary (of specified sites), and certain specified histologies, except neuroendocrine, and of lymphoid, hematopoietic and related tissue (c00-c75) \ Malignant neoplasms of eye, brain and other parts of central nervous system (c69-c72) \ Malignant neoplasm of brain</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>4</hlevel> <item_name>Temozolomide</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME55) antineoplastics\(LME56) alkylating agents\temozolomide\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ antineoplastics \ alkylating agents \ temozolomide</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find female patients with a diagnosis of malignant neoplasm of the brain who have been prescribed temozolomide.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Person_#1000000@22:24:03</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)Person_#1000000045</item_name> <item_key>masterid:3490</item_key> <tooltip>Person_#1000000045</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find a patient with the master ID 3490 in the database, with any timing and 1000% accuracy, using the query named "Person_#1000000@222:24:03" and the panel numbered 1. This query is a part of a panel with total item occurrences set to 1 and is not a synonym for another query.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Primary-Lengtho@22:27: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>0</hlevel> <item_name>(PrevQuery)Primary-Lengthofstaymorethan7days@09:54:25</item_name> <item_key>masterid:2857</item_key> <tooltip>Primary-Lengthofstaymorethan7days@09:54:25</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find patients who have had a primary length of stay that was more than 7 days.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Visit at age 32@12:03: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>Visit at age 32 years old</item_name> <item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\18-34 years old\32 years old\</item_key> <item_icon>LA</item_icon> <tooltip>Visit Details \ Age at visit \ 18-34 years old \ 32 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all visits where the patient was 32 years old at the time of the visit.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Disea-Disea-Sympt@07:48: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>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> <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 musculoskeletal system and connective tissue (m00-m99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(M00-M99) Dise~6mvn\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the musculoskeletal system and connective tissue (m00-m99)</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>1</hlevel> <item_name>Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified (r00-r99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(R00-R99) Symp~mt2x\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Symptoms, signs and abnormal clinical and laboratory findings, not elsewhere classified (r00-r99)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find diagnoses related to diseases of the circulatory system (i0-i9), diseases of the musculoskeletal system and connective tissue (m0-m9), and symptoms, signs, and abnormal clinical and laboratory findings, not elsewhere classified (r0-r9), with a high level of specificity and any 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>Appen-Adult-Male@12:36: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>3</hlevel> <item_name>Appendicitis</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Digestive system (520-579)\Appendicitis (540-543)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Digestive system \ Appendicitis</tooltip> <class>ENC</class> <constrain_by_date> <date_from>2010-01-01T00:00:00.000-05:00</date_from> </constrain_by_date> <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>3</hlevel> <item_name> 0-9 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\0-9 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 0-9 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 10-17 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\10-17 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 10-17 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>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> </ns4:query_definition> ```
I want to find all male patients with a diagnosis of appendicitis, aged 0-17 years, with no specific 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>Dutch-Diagnos@17:45: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>Dutch</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Language\Dutch\</item_key> <item_icon>MA</item_icon> <tooltip>Demographic \ Language \ Dutch</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <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>1</hlevel> <item_name>Diagnoses</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who speak Dutch, are between the ages of 18-34 or 35-44, and have any diagnoses.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Person_#1000000@22:29: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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045@11:43:05</item_name> <item_key>masterid:2892</item_key> <tooltip>Person_#1000000045@11:43:05</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find a patient who has had a previous query with the name "Person_#1000000045@1:43:05" at any time and with a specificity scale of 0, accuracy scale of 100, and no inversion, with a single occurrence of the item in the panel.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Person_#1000000@22:30: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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045@11:43:05</item_name> <item_key>masterid:2892</item_key> <tooltip>Person_#1000000045@11:43:05</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all instances of a patient's medical record with the unique identifier "Person_#1000000" that have been accessed or modified at 22:30:02 PM, with no specificity scale applied, and compare it to another query with the unique identifier "Person_#1000000045" that was accessed or modified at 1:43:05 PM, using a panel with total item occurrences of 1 and an accuracy scale of 100. The query will search for any time period (ANY) and the panel will also search for any time period (ANY). The query is not inverted and is not a synonym of another item.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>X-Ray Reports@12:04: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>2</hlevel> <item_name>X-Ray Reports</item_name> <item_key>\\i2b2_REP\i2b2\Reports\X-Ray Reports\</item_key> <item_icon>LAE</item_icon> <tooltip>i2b2 \ Reports \ X-Ray Reports</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all X-Ray Reports from the i2b2 repository with any timing and 100% accuracy scale, specifically focusing on the 'Reports' category within the 'i2b2' folder, and excluding synonyms.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>ABSOLUTE BASOS @15:11: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>5</hlevel> <item_name>ABSOLUTE BASOS (LOINC:704-7)</item_name> <item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB53) Hematology\(LLB54) Blood Diff - Absolute\ABASOS\LOINC:704-7\</item_key> <item_icon>LA</item_icon> <tooltip>Labtests \ Hematology \ Blood Diff - Absolute \ Abs Basos Auto (Group:ABASOS) \ Absolute basos (LOINC:704-7)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all instances of the Absolute Basophils (ABSOLUTE BASOS) lab test result with LOINC code 704-7, with any timing, and a specificity scale of 0, and an accuracy scale of 100, for panel number 1, where the hlevel is 5 and the class is ENC, 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>mild -moder- 18-@12:11: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>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> <item> <hlevel>3</hlevel> <item_name>MMSE score</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\</item_key> <item_icon>FA</item_icon> <tooltip>oasis \ Clinical Measures \ MMSE score</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>moderate dementia</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\moderate dementia\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ Clinical Dementia Rating (CDR) \ moderate dementia</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> 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 patients with mild dementia and a MMSE score, who are between the ages of 18-34 years old, and have moderate dementia. The query will include any timing and has a specificity scale of 0, accuracy scale of 100, 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>Admit Diagnosis@17: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>Arterial vascular disease</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Arterial vascular disease (440-447)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Circulatory system \ Arterial vascular disease</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 a diagnosis of arterial vascular disease (ICD-9 codes 400-47) as their admit diagnosis, at any time during their stay in the hospital, with a specificity scale of 0, panel timing of ANY, panel accuracy scale of 100, and no inversion applied.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Person_#1000000@22:29: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>0</hlevel> <item_name>(PrevQuery)Person_#1000000045@11:43:05</item_name> <item_key>masterid:2892</item_key> <tooltip>Person_#1000000045@11:43:05</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find a query that will retrieve any patient records that match the criteria specified in the query named "Person_#1000000045@1:43:05" with 100% accuracy and no specificity scaling, and group them into panel 1 with no inversion applied. The query will be named "Person_#1000000@222:29:35".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Essen-Diabe-Out@22:38: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>0</hlevel> <item_name>(PrevQuery)Essen-Diabe-Outpa@23:38:34</item_name> <item_key>masterid:3511</item_key> <tooltip>Essen-Diabe-Outpa@23:38:34</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find a query that will search for any records with the specificity scale set to 0, panel timing set to ANY, panel accuracy scale set to 100, and panel number set to 1, with a single item named "Essen-Diabe-Outpa@23:38:34" (masterid:351) which is not a synonym, within the i2b2 database.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>(t) ABSOLUTE BASOS ABSOLUTE BASOS LUC ABS (LOINC:@15:12: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>5</hlevel> <item_name>ABSOLUTE BASOS (LOINC:704-7)</item_name> <item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB53) Hematology\(LLB54) Blood Diff - Absolute\ABASOS\LOINC:704-7\</item_key> <item_icon>LA</item_icon> <tooltip>Labtests \ Hematology \ Blood Diff - Absolute \ Abs Basos Auto (Group:ABASOS) \ Absolute basos (LOINC:704-7)</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>5</hlevel> <item_name>ABSOLUTE BASOS (LOINC:704-7)</item_name> <item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB53) Hematology\(LLB54) Blood Diff - Absolute\ABASOS\LOINC:704-7\</item_key> <item_icon>LA</item_icon> <tooltip>Labtests \ Hematology \ Blood Diff - Absolute \ Abs Basos Auto (Group:ABASOS) \ Absolute basos (LOINC:704-7)</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>5</hlevel> <item_name>LUC ABS (LOINC:17789-9)</item_name> <item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB53) Hematology\(LLB54) Blood Diff - Absolute\LUC\LOINC:17789-9\</item_key> <item_icon>LA</item_icon> <tooltip>Labtests \ Hematology \ Blood Diff - Absolute \ LUC# (Group:LUC) \ LUC ABS (LOINC:17789-9)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> </ns3:query_definition> ```
I want to find patients who have had an Absolute Basos (LOINC:704-7) lab test result with a value less than or equal to the first Observation A and a LUC ABS (LOINC:1789-9) lab test result with a value greater than or equal to the first Observation B, both tests occurring on the same instance number.
```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 (Pri@06:44: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>0</hlevel> <item_name>(PrevQuery)'Essential (Primary) Hypertension' and 'Diabetes Mellitus (e08-e13)'</item_name> <item_key>masterid:4725</item_key> <tooltip>'Essential (Primary) Hypertension' and 'Diabetes Mellitus (e08-e13)'</tooltip> <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 (e08-e13) with any timing, 100% panel accuracy, and no inversion. The query will search for these conditions in the i2b2 database and return results based on the specified criteria.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Essen-D-PATIENT@22:39: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>0</hlevel> <item_name>(PrevQuery)Essen-Diabe-Outpa@23:38:34</item_name> <item_key>masterid:3511</item_key> <tooltip>Essen-Diabe-Outpa@23:38:34</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>0</hlevel> <item_name>PATIENT:HIVE:1000000045</item_name> <item_key>PATIENT:HIVE:1000000045</item_key> <tooltip>PATIENT:HIVE:1000000045</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find a patient with the master ID 351 who has been diagnosed with diabetes and has had an outpatient visit between 2:38:34 and 2:39:42.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Hospitalstay@09@22:44: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>0</hlevel> <item_name>(PrevQuery)Hospitalstay@09:57:21</item_name> <item_key>masterid:2860</item_key> <tooltip>Hospitalstay@09:57:21</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all hospital stays with any timing and specificity scale set to 0, using the panel number 1 with an accuracy scale of 100, where the total number of occurrences is 1, and the item name is "PrevQuery" Hospitalstay@09:57:21 with a masterid of 2860, and the item is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>mild dementia@15:16: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>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> </ns3:query_definition> ```
I want to find all patients who have been diagnosed with mild dementia at any point in time, using the Clinical Dementia Rating (CDR) scale from the Oasis clinical measures, with a specificity scale of 0 and a total item occurrence of 1, and the query has a high accuracy scale of 100%.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Right Handed@15:20: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>Right Handed</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Hand Orientation\Right Handed\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Hand Orientation \ Right Handed</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all patients who have been recorded as being right-handed in the Oasis Demographics section of their electronic medical record, with a specificity of 100%, and the timeframe is not restricted.
```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>Circula- 35-44@12:11: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>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> <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> </panel> </ns4:query_definition> ```
I want to find patients who have diagnoses related to the circulatory system and are between the ages of 35-44 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>Obstetr-Male@14:43: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>3</hlevel> <item_name>Obstetrical procedures</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(72-75) Obstetrical procedures\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Obstetrical procedures</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> </ns4:query_definition> ```
I want to find all male patients who have undergone obstetrical procedures at any time, with a high level of specificity and accuracy.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Hospitalstay@09@22:44: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>0</hlevel> <item_name>(PrevQuery)Hospitalstay@09:57:21</item_name> <item_key>masterid:2860</item_key> <tooltip>Hospitalstay@09:57:21</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all instances of hospital stays with any timing and specificity, where the panel accuracy scale is set to 100 and the invert value is set to 0, and the query is based on the previous query named "Hospitalstay@09:57:21".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Princip-Seconda@01:59: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>3</hlevel> <item_name>Other diseases of digestive system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Digestive system (520-579)\Other diseases of digestive system (570-579)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Digestive system \ Other diseases of digestive system</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\Digestive system (520-579)\%</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>4</hlevel> <item_name>Other disorders of biliary tract</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Digestive system (520-579)\Other diseases of digestive system (570-579)\(576) Other disorders of biliary ~\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Digestive system \ Other diseases of digestive system \ Other disorders of biliary tract</tooltip> <class>ENC</class> <constrain_by_modifier> <modifier_name>Secondary Diagnosis</modifier_name> <modifier_key>\\i2b2_DIAG\Secondary Diagnosis\</modifier_key> <applied_path>\i2b2\Diagnoses\Digestive system (520-579)\%</applied_path> </constrain_by_modifier> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all records where the principal diagnosis is related to the digestive system (codes 520-579) and the secondary diagnosis is specifically related to other disorders of the biliary tract (code 576).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Patient Instruc@09:21: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>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>post</value_constraint> <value_type>LARGETEXT</value_type> </constrain_by_value> </constrain_by_modifier> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all medication records where the patient instruction field contains the word "post" for any time period.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Patient Instruc@09:24: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>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_modifier> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all medications where the patient has been given instructions within any time frame, with a specificity scale of 0, and with a high level of accuracy (100), and the query name is "Patient Instruc@09:24:29".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Family history@09:35: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>3</hlevel> <item_name>Family history</item_name> <item_key>\\i2b2_REP\i2b2\Reports\Medical History\Family History\</item_key> <item_icon>LA</item_icon> <tooltip>i2b2 \ Reports \ Medical History \ Family History</tooltip> <class>ENC</class> <constrain_by_value> <value_operator>LIKE[contains]</value_operator> <value_constraint>a</value_constraint> <value_type>TEXT</value_type> </constrain_by_value> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all instances of the "Family history" report in the "i2b2 \ Reports \ Medical History" section where the value contains the letter "a" in the text, with a specificity scale of 0 and a total occurrence of 1, and the query timing and panel timing are set to ANY, with an accuracy scale of 100, and the class is set to 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>(t) Circula- 35-44Circula 35-44@12:26: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>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> <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> </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>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> </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>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> </subquery> </ns4:query_definition> ```
I want to find patients with diagnoses related to the circulatory system who are between the ages of 35 and 444 years old.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Admit D-Injury @15:40: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>2</hlevel> <item_name>Hematologic diseases</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Hematologic diseases (280-289)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Hematologic diseases</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\Hematologic diseases (280-289)\%</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>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> </ns3:query_definition> ```
I want to find all patients with a diagnosis of hematologic diseases (codes 280-289) or injury and poisoning (codes 80-999) who were admitted to the hospital. The query will have a specificity scale of 0, meaning that it will return all possible results without any filters, and a panel accuracy scale of 100, indicating high confidence in the results. The query timing is set to ANY, meaning it will search for any time frame.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Acute l- 35-44@11:50: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>Acute lymphadenitis</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Skin diseases (680-709)\Infections (680-686)\(683) Acute lymphadenitis\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Skin diseases \ Infections \ Acute lymphadenitis</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>2</hlevel> <item_name>Congenital anomalies</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Congenital anomalies (740-759)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Congenital anomalies</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> </panel> </ns3:query_definition> ```
I want to find patients who have been diagnosed with Acute lymphadenitis and are between the ages of 35 and 444 years old.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>PATIENTSET@15:01:24</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>Patient Set for "Female@11:25:21" - FINISHEDPatient list</item_name> <item_key>patient_set_coll_id:999</item_key> <tooltip>Patient Set for "Female@11:25:21" - FINISHEDPatient list</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find a query that will retrieve a patient set containing only female patients with a specific age range and timeframe, and the results will be displayed as a finished patient list.
```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-Diagnos@14:44: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>3</hlevel> <item_name>Diagnostic and nonsurgical procedures</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(87-99) Diagnostic and nonsurgical procedures\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Diagnostic and nonsurgical procedures</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 undergone diagnostic and nonsurgical procedures in the i2b2 database, with no specific time constraint for the occurrence of these events.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Male-Ischemi@11:35: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>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> </ns3:query_definition> ```
I want to find male patients with a diagnosis of ischemic heart disease.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabete-Huchard@15:39:39</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> <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>Huchard's disease</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\(401-9) Unspecified essential hyp~\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension \ Unspecified essential hypertension</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find patients with a diagnosis of Diabetes mellitus (Endocrine disorders > Other endocrine gland diseases > Diabetes mellitus) and Huchard's disease (Circulatory system > Hypertensive disease > Essential hypertension > Unspecified essential hypertension) in the i2b2 database, with no specific timing restrictions and a high level of accuracy for both panels. The query is named "Diabete-Huchard@15:39:39" and has a specificity scale of 0, meaning all relevant data will be included.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabetes mellit@19:46:39</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>Diabetes mellitus with hyperosmolarity</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-2) Diabetes mellitus with hy~\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Endocrine disorders \ Other endocrine gland diseases \ Diabetes mellitus \ Diabetes mellitus with hyperosmolarity</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all instances of "Diabetes mellitus with hyperosmolarity" diagnoses within the "Endocrine disorders" category, specifically within the "Other endocrine gland diseases" subcategory, and under the "Diabetes mellitus" group in the i2b2 data warehouse.
```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>Circula- 35-44@12:28: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>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> <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> </panel> </ns4:query_definition> ```
I want to find diagnoses related to the circulatory system for patients aged 35-44 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>Typhoid- 0-9 y@16:30: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>Typhoid and paratyphoid fevers</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(A00-A09) Inte~3luo\(A01) Typhoid~nea4\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Intestinal infectious diseases (a00-a09) \ Typhoid and paratyphoid fevers</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> 0-9 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\0-9 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 0-9 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 10-17 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\10-17 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 10-17 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 Typhoid and paratyphoid fevers and are between the ages of 0-17 years old.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabetes mellit@15:28: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>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> </ns3:query_definition> ```
I want to find all patients who have been diagnosed with Diabetes Mellitus at any point in time, with a high level of specificity (1000%) and accuracy, and the query should not be inverted. The panel should include only one item, which is the diagnosis of Diabetes Mellitus under the category of Endocrine disorders, specifically Other endocrine gland diseases, with the item key being \i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus. The icon for this item is FA, and it is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabete-Huchard@15:37: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>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>5</hlevel> <item_name>Huchard's disease</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\(401-9) Unspecified essential hyp~\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension \ Unspecified essential hypertension</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find patients with a diagnosis of diabetes mellitus and Huchard's disease, with any timing and specificity scale set to 0, and panel accuracy scale set to 100. The query will include two panels, one for each condition, and both conditions will be treated as synonyms in the search. The first panel will focus on diagnoses of endocrine disorders, specifically diabetes mellitus, while the second panel will focus on circulatory system diagnoses, specifically unspecified essential 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>Oasis@12:37: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>1</hlevel> <item_name>Oasis</item_name> <item_key>\\BIRN\BIRN\oasis\</item_key> <item_icon>FA</item_icon> <tooltip>oasis</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of the term "Oasis" in the BIRN (Bioinformatics Research Network) ontology using the i2b2 query builder with a specificity scale of 0 and accuracy scale of 100, and with no synonyms included. The query timing should be set to "ANY" and the panel timing should also be set to "ANY". This query will be part of panel 1, with a total of 1 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> 35--Femal-Clari@02:41: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>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>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>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>5</hlevel> <item_name>Claritin-D 24 Hour 10mg-240mg tablet extended release Schering Corporation</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME233) upper respiratory combinations\loratadine-pseudoephedrine\00085123301\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ upper respiratory combinations \ loratadine-pseudoephedrine \ claritin-d 24 hour 10mg-240mg tablet extended release schering corporation</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Claritin-D 24 Hour 10mg-240mg tablet extended release Schering Corporation</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME233) upper respiratory combinations\loratadine-pseudoephedrine\00085064002\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ upper respiratory combinations \ loratadine-pseudoephedrine \ claritin-d 24 hour 10mg-240mg tablet extended release schering corporation</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Claritin-D 5mg-120mg tablet extended release Schering Corporation</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME233) upper respiratory combinations\loratadine-pseudoephedrine\00085063501\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ upper respiratory combinations \ loratadine-pseudoephedrine \ claritin-d 5mg-120mg tablet extended release schering corporation</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Claritin Reditab 10mg tablet disintegrating Schering Corporation</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME221) antihistamines\loratadine\00085112802\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ antihistamines \ loratadine \ claritin reditab 10mg tablet disintegrating schering corporation</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Claritin 10mg tablet Schering Corporation</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME221) antihistamines\loratadine\00085045804\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ antihistamines \ loratadine \ claritin 10mg tablet schering corporation</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Claritin 10mg tablet Schering Corporation</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME221) antihistamines\loratadine\00085045803\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ antihistamines \ loratadine \ claritin 10mg tablet schering corporation</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Claritin 10mg tablet Schering Corporation</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME221) antihistamines\loratadine\00085045806\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ antihistamines \ loratadine \ claritin 10mg tablet schering corporation</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Claritin 5 mg/5ml syrup Schering Corporation</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME221) antihistamines\loratadine\00085061202\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ antihistamines \ loratadine \ claritin 5 mg/5ml syrup schering corporation</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Allegra 60mg capsule Aventis Pharmaceuticals</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME221) antihistamines\fexofenadine\00088110249\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ antihistamines \ fexofenadine \ allegra 60mg capsule aventis pharmaceuticals</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Allegra 60mg capsule Aventis Pharmaceuticals</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME221) antihistamines\fexofenadine\00088110255\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ antihistamines \ fexofenadine \ allegra 60mg capsule aventis pharmaceuticals</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Allegra 180mg tablet extended release Aventis Pharmaceuticals</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME221) antihistamines\fexofenadine\00088110947\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ respiratory agents \ antihistamines \ fexofenadine \ allegra 180mg tablet extended release aventis pharmaceuticals</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Allegra-D 60mg-120mg tablet extended release Aventis Pharmaceuticals</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME233) upper respiratory combinations\fexofenadine-pseudoephedrine\00088109047\</item_key> <item_icon>LA</item_icon> <tooltip>medications \ respiratory agents \ upper respiratory combinations \ fexofenadine-pseudoephedrine \ allegra-d 60mg-120mg tablet extended release aventis pharmaceuticals</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all medications related to respiratory agents, specifically antihistamines, such as Claritin, Allegra, and their different dosage forms and manufacturers, within the i2b2 Medications domain.
```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>Typhoid- 18-34@16:31: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>Typhoid and paratyphoid fevers</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(A00-A09) Inte~3luo\(A01) Typhoid~nea4\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Intestinal infectious diseases (a00-a09) \ Typhoid and paratyphoid fevers</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> <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 aged 18-34 and 35-44 years old who have been diagnosed with Typhoid and paratyphoid fevers.
```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>Complic- 18-34@16:32:03</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>Complications of labor and delivery</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Events of pregnancy (630-677)\Complications of labor and delivery (660-669)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Events of pregnancy \ Complications of labor and delivery</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> <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 18-34 or 35-44 years old and have experienced complications of labor and delivery.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabete-Huchard@19:55:24</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> <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>Huchard's disease</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\(401-9) Unspecified essential hyp~\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension \ Unspecified essential hypertension</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find patients with a diagnosis of diabetes mellitus (Endocrine disorders > Other endocrine gland diseases > Diabetes mellitus) and those with unspecified essential hypertension (Circulatory system > Hypertensive disease > Essential hypertension > Unspecified essential hypertension) in the i2b2 database, with no specific timing constraints for either diagnosis and a high accuracy scale for both panels.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Aspirin-&gt; 10 da@10:35: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>6</hlevel> <item_name>Aspirin 300mg suppository Mutual/United Research Laboratories</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME125) coagulation modifiers\(LME130) antiplatelet agents\(LME132) platelet aggregation inhibitors\aspirin\00677077812\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ coagulation modifiers \ antiplatelet agents \ platelet aggregation inhibitors \ aspirin \ aspirin 300mg suppository mutual/united research laboratories</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Aspirin</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME92) central nervous system agents\(LME93) analgesics\(LME101) salicylates\aspirin\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ central nervous system agents \ analgesics \ salicylates \ aspirin</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>&gt; 10 days</item_name> <item_key>\\i2b2_VISIT\i2b2\Visit Details\Length of stay\ &gt; 10 days\</item_key> <item_icon>LA</item_icon> <tooltip>Visit Details \ Length of stay \ &gt; 10 days</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find patients who have taken Aspirin 30mg suppository or Aspirin as a medication and have had a length of stay greater than 10 days during their visit.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Aspirin-&gt; 10 da@10:35: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>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>6</hlevel> <item_name>Aspirin 300mg suppository Mutual/United Research Laboratories</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME125) coagulation modifiers\(LME130) antiplatelet agents\(LME132) platelet aggregation inhibitors\aspirin\00677077812\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ coagulation modifiers \ antiplatelet agents \ platelet aggregation inhibitors \ aspirin \ aspirin 300mg suppository mutual/united research laboratories</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Aspirin</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME92) central nervous system agents\(LME93) analgesics\(LME101) salicylates\aspirin\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ central nervous system agents \ analgesics \ salicylates \ aspirin</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>&gt; 10 days</item_name> <item_key>\\i2b2_VISIT\i2b2\Visit Details\Length of stay\ &gt; 10 days\</item_key> <item_icon>LA</item_icon> <tooltip>Visit Details \ Length of stay \ &gt; 10 days</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all instances where a patient has taken Aspirin (either as a 30mg suppository from Mutual/United Research Laboratories or as a salicylate analgesic) and their length of stay was greater than 10 days.
```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>Numberofoutpati@06:46: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>0</hlevel> <item_name>(PrevQuery)Numberofoutpatientvisitforhypertensionanddiabetes@10:03:34</item_name> <item_key>masterid:2864</item_key> <tooltip>Numberofoutpatientvisitforhypertensionanddiabetes@10:03:34</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find the number of outpatient visits for patients with hypertension and diabetes in the specified 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>Coronavirus as @11:26:24</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)Coronavirus as @23:40:56</item_name> <item_key>masterid:11473</item_key> <tooltip>Coronavirus as @23:40:56</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of the term "Coronavirus" in the context of any time period, with a specificity scale of 0 and a panel accuracy scale of 100, and I want to include only one item in the panel, which is a synonym of the query "Coronavirus as @23:40:56" with the key "masterid:1473".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Huchard-Diabete@20:06: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>5</hlevel> <item_name>Huchard's disease</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\(401) Essential hypertension\(401-9) Unspecified essential hyp~\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Circulatory system \ Hypertensive disease \ Essential hypertension \ Unspecified essential hypertension</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>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> </ns3:query_definition> ```
I want to find patients with a diagnosis of essential hypertension (unspecified) and diabetes mellitus in their medical records, with no specific time constraints and with high accuracy.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Operati-&gt; 10 da@10:36: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>3</hlevel> <item_name>Operations on male genital organs</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(60-64) Operations on male genital organs\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Operations on male genital organs</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>&gt; 10 days</item_name> <item_key>\\i2b2_VISIT\i2b2\Visit Details\Length of stay\ &gt; 10 days\</item_key> <item_icon>LA</item_icon> <tooltip>Visit Details \ Length of stay \ &gt; 10 days</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find patients who have had operations on male genital organs with a length of stay greater than 10 days.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Visit at age 18@12:03:12</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>Visit at age 18 years old</item_name> <item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\18-34 years old\18 years old\</item_key> <item_icon>LA</item_icon> <tooltip>Visit Details \ Age at visit \ 18-34 years old \ 18 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all visits where the patient was 18 years old at the time of the visit, with a high level of specificity (1000%), and without considering the time of the query (ANY 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>Gender-German@15: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>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>3</hlevel> <item_name>German</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Language\German\</item_key> <item_icon>MA</item_icon> <tooltip>Demographic \ Language \ German</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have a demographic attribute of being male or female (Gender) and also have German listed as their language (Language-German) 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>Hypertensive di@13:32: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>2</hlevel> <item_name>Hypertensive diseases (i10-i15)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I10-I15) Hype~5igm\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99) \ Hypertensive diseases (i10-i15)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with hypertensive diseases (ICD codes I10-I15) in the Diagnoses section of the EHR, considering any timing and with a high accuracy scale of 100, using the i2b2 query builder.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Beyond college@09:47: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>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>Beyond college - birn:edu5</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all instances of the term "Beyond college" in the BIRN oasis Demographics Education category, with a specificity scale of 0, accuracy scale of 100, and no inversion applied, within any time frame.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>27-Educa-Clini@14:11: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>5</hlevel> <item_name>27</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\No Alzheimers disease\27\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ MMSE score \ No Alzheimer's disease \ 27</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>Education</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Education\</item_key> <item_icon>FA</item_icon> <tooltip>oasis \ Demographics \ Education</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>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> </ns3:query_definition> ```
I want to find patients who have a Mini-Mental State Examination (MMSE) score of 27 or higher, indicating no Alzheimer's disease, along with their education level and Clinical Dementia Rating (CDR) information, with no specific timing requirements for any of the data elements.
```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>Beyon-Femal-High @14:31:18</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>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>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>High income</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Income\High income\</item_key> <item_icon>LA</item_icon> <tooltip>Demographics \ Income \ High income</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find female patients with a high income level who have completed education beyond college.
```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 a@16:32: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>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>4</hlevel> <item_name>Acute appendicitis</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Digestive system (520-579)\Appendicitis (540-543)\(540) Acute appendicitis\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Digestive system \ Appendicitis \ Acute appendicitis</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients between the ages of 18-34 or 35-44 who have been diagnosed with acute appendicitis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Right Handed@15:21: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>0</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>2</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Right Handed</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Hand Orientation\Right Handed\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Hand Orientation \ Right Handed</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all patients with the characteristic of being right-handed in the Demographics section of the Oasis module within the BIRN domain.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Right H-Status @15:21: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>0</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>2</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Right Handed</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Hand Orientation\Right Handed\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Hand Orientation \ Right Handed</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 2</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Socioeconomic Status\Status 2\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Socioeconomic Status \ Status 2</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all patients who are right-handed and have a socioeconomic status of 2 in the Oasis Demographics section of their medical record, with any timing and no specificity scale 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>Circula-Digesti@02:30: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>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> <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>Digestive system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Digestive system (520-579)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Digestive 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 and digestive system, with an emphasis on specificity and accuracy in the results. The query will search for diagnoses codes ranging from 390-459 for the circulatory system and 520-579 for the digestive system. The results will be displayed in two separate panels, and the search will include any time period. The query will not include synonyms or inversions of the specified diagnoses.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>(t) Right H-Status Right HCollege@15:23: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>0</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Right Handed</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Hand Orientation\Right Handed\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Hand Orientation \ Right Handed</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 2</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Socioeconomic Status\Status 2\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Socioeconomic Status \ Status 2</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>4</hlevel> <item_name>Right Handed</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Hand Orientation\Right Handed\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Hand Orientation \ Right Handed</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>4</hlevel> <item_name>College grad.</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Education\College grad.\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Education \ College grad.</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> </ns3:query_definition> ```
I want to find patients who are right-handed and have a socioeconomic status of "Status 2" within the same instance of the encounter, with the constraint that the observation of their right-handedness occurred before the observation of their college graduation status.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Acute l- 35-44@11:49: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>Acute lymphadenitis</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Skin diseases (680-709)\Infections (680-686)\(683) Acute lymphadenitis\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Skin diseases \ Infections \ Acute lymphadenitis</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> </panel> </ns3:query_definition> ```
I want to find patients with a diagnosis of acute lymphadenitis who are between the ages of 35 and 444 years old.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Acute l- 35-44@11:50: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>4</hlevel> <item_name>Acute lymphadenitis</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Skin diseases (680-709)\Infections (680-686)\(683) Acute lymphadenitis\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Skin diseases \ Infections \ Acute lymphadenitis</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>2</hlevel> <item_name>Congenital anomalies</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Congenital anomalies (740-759)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Congenital anomalies</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> </panel> </ns3:query_definition> ```
I want to find patients with a diagnosis of Acute lymphadenitis and congenital anomalies, aged between 35-44 years old.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Right H-Status @15:22: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>0</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Right Handed</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Hand Orientation\Right Handed\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Hand Orientation \ Right Handed</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 2</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Socioeconomic Status\Status 2\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Socioeconomic Status \ Status 2</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find patients with the specific demographic information where their handedness is right-handed and their socioeconomic status is labeled as "Status 2" at any time during their medical record 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>Sympt-Medic-Proce@17:04:39</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>Symptoms, signs, and ill-defined conditions</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Symptoms, signs, and ill-defined conditions (780-799)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Symptoms, signs, and ill-defined conditions</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> <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>Procedures</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses related to symptoms, signs, and ill-defined conditions (ICD-9 codes 780-79), medications, and procedures in the i2b2 database 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>CT Re-20-27@16:52: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>2</hlevel> <item_name>CT Reports</item_name> <item_key>\\i2b2_REP\i2b2\Reports\CT Reports\</item_key> <item_icon>LAE</item_icon> <tooltip>i2b2 \ Reports \ CT Reports</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>20</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\Mild Alzheimers disease\20\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ MMSE score \ Mild Alzheimer's disease \ 20</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>5</hlevel> <item_name>27</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\No Alzheimers disease\27\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ MMSE score \ No Alzheimer's disease \ 27</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all CT Reports that were created at any time and contain two specific panels: one with a measure of mild Alzheimer's disease with a score of 20 and another with no Alzheimer's disease with a score of 27. The specificity scale is set to 0, meaning that all matching cases will be included, and the accuracy scale is set to 100, indicating that the query is highly accurate. The panel timing is set to ANY, which means that the time frame is not restricted. The class is set to ENC, and no synonyms are used in this 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>Income-Gender@21:19: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>2</hlevel> <item_name>Income</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Income\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Income</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 the demographic information related to income and gender in the i2b2 database, with no specific time frame and high 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>Assault (x92-y0@16:13:02</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>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 patients who have been diagnosed with Assault (ICD10-ICD9 code X92-Y08) during the same visit (SAMEVISIT), with a specificity scale of 0, and a panel accuracy scale of 100, using the i2b2 query builder.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Cerebrovascular@09:58:03</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>0</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>2</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Cerebrovascular diseases (i60-i69)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I60-I69) Cere~wg9x\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the circulatory system (i00-i99) \ Cerebrovascular diseases (i60-i69)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all patients with a diagnosis of cerebrovascular diseases (ICD-9 codes 60-69) in the database, with no specific time frame or accuracy level specified, and the panel is inverted to exclude these patients from the search results.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabetes mellit@12:25: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>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> </ns3:query_definition> ```
I want to find all patients with a diagnosis of Diabetes mellitus in the Endocrine disorders category, specifically under the Other endocrine gland diseases subcategory, with a specificity scale of 0 and an accuracy scale of 100, with no inversion, and the query timing set to ANY.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Patient Instruc@11:32:12</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_modifier> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>IMMUNOGLOBULIN E (LOINC:19113-0)</item_name> <item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB32) Immunology\(LLB40) Immunoglobulin\IGE\LOINC:19113-0\</item_key> <item_icon>LA</item_icon> <tooltip>Labtests \ Immunology \ Immunoglobulin \ IgE (Group:IGE) \ IMMUNOGLOBULIN E (LOINC:19113-0)</tooltip> <class>ENC</class> <constrain_by_value> <value_operator>EQ</value_operator> <value_constraint>29</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> </ns3:query_definition> ```
I want to find all instances of medications where the patient instruction is "Patient Instructions" and the lab test result for Immunoglobulin E (LOINC:1913-0) is equal to 29 IU/mL.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Circulatory sys@13:02: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>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> </ns3:query_definition> ```
I want to find all diagnoses related to the Circulatory system (ICD-9 codes 390-459) within the specified timeframe, with a specificity scale of 0 and a panel accuracy scale of 100, using the query builder in the i2b2 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>'Essential (Pri@06:47: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>0</hlevel> <item_name>(PrevQuery)'Essential (Primary) Hypertension' and 'Diabetes Mellitus (e08-e13)'</item_name> <item_key>masterid:4725</item_key> <tooltip>'Essential (Primary) Hypertension' and 'Diabetes Mellitus (e08-e13)'</tooltip> <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 (e08-e13) using the i2b2 query builder with any timing and 100% accuracy scale, with the panel inverted to include only those who meet the criteria, and with the query named 'Essential (Pri@06:47:44'.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabetes mellit@12:29: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>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> </ns3:query_definition> ```
I want to find all instances of diagnosed cases of Diabetes mellitus, regardless of specificity, using the Endocrine disorders ontology and focusing on the subcategory of Other endocrine gland diseases.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>26-25@11:29: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>5</hlevel> <item_name>26</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\Mild Alzheimers disease\26\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ MMSE score \ Mild Alzheimer's disease \ 26</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>25</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\Mild Alzheimers disease\25\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ MMSE score \ Mild Alzheimer's disease \ 25</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find patients with a Mild Alzheimer's disease diagnosis and an MMSE score between 26 and 25.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Influenza due t@19:26: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>3</hlevel> <item_name>Influenza due to certain identified influenza viruses</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J09) Influenz~43qu\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to certain identified influenza viruses</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>4</hlevel> <item_name>Influenza due to identified avian influenza virus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J09) Influenz~43qu\(J09.0) Influe~1bmi\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to certain identified influenza viruses \ Influenza due to identified avian influenza virus</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Influenza due to identified avian influenza virus with gastrointestinal manifestations</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J09) Influenz~43qu\(J09.0) Influe~1bmi\(J09.03) Influ~nybf\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to certain identified influenza viruses \ Influenza due to identified avian influenza virus \ Influenza due to identified avian influenza virus with gastrointestinal manifestations</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Influenza due to identified avian influenza virus with other manifestations</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J09) Influenz~43qu\(J09.0) Influe~1bmi\(J09.09) Influ~0p5b\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to certain identified influenza viruses \ Influenza due to identified avian influenza virus \ Influenza due to identified avian influenza virus with other manifestations</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Influenza due to identified avian influenza virus with other respiratory manifestations</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J09) Influenz~43qu\(J09.0) Influe~1bmi\(J09.02) Influ~h14z\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to certain identified influenza viruses \ Influenza due to identified avian influenza virus \ Influenza due to identified avian influenza virus with other respiratory manifestations</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> <item> <hlevel>5</hlevel> <item_name>Influenza due to identified avian influenza virus with pneumonia</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J09) Influenz~43qu\(J09.0) Influe~1bmi\(J09.01) Influ~2ijo\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to certain identified influenza viruses \ Influenza due to identified avian influenza virus \ Influenza due to identified avian influenza virus with pneumonia</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>Influenza due to other identified influenza virus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J10) Influenz~z2vh\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to other identified influenza virus</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>Influenza due to unidentified influenza virus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J11) Influenz~0ajz\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to unidentified influenza virus</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find cases of influenza caused by specific viruses, including influenza A, B, and C, as well as avian influenza, and cases with or without associated manifestations such as gastrointestinal, respiratory, and pneumonia, from the ICD10_ICD9 diagnosis codes (J00-J99) and (J09-J18) influenza and pneumonia categories.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Influenza due t@19: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>3</hlevel> <item_name>Influenza due to certain identified influenza viruses</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J09) Influenz~43qu\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to certain identified influenza viruses</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>Influenza due to other identified influenza virus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J10) Influenz~z2vh\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to other identified influenza virus</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>Influenza due to unidentified influenza virus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J11) Influenz~0ajz\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Influenza due to unidentified influenza virus</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all cases of influenza due to certain identified influenza viruses, influenza due to other identified influenza viruses, and influenza due to unidentified influenza viruses within the specified timeframe, with a high level of specificity, and the results should include diagnoses of diseases related to the respiratory 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>VITAMIN B12 UNS@11:02: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>5</hlevel> <item_name>VITAMIN B12 UNSAT BIND CAPA (LOINC:2171-7)</item_name> <item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB16) Chemistry\(LLB31) Anemia Related Studies\B12USAT\LOINC:2171-7\</item_key> <item_icon>LA</item_icon> <tooltip>Labtests \ Chemistry \ Anemia Related Studies \ B12 Unsaturated Binding (Group:B12USAT) \ Vitamin b12 unsat bind capa (LOINC:2171-7)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of Vitamin B12 Unsaturated Binding Capacity (LOINC: 2171-7) laboratory test results within the i2b2 database, with any timing, 100% accuracy scale, and the specificity scale set to 0. This query is part of panel 1, with panel timing set to ANY and classified as an ENC (Encounter) 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>Left Ha-Beyond @11:58: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>4</hlevel> <item_name>Left Handed</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Hand Orientation\Left Handed\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Hand Orientation \ Left Handed</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>4</hlevel> <item_name>Right Handed</item_name> <item_key>\\BIRN\BIRN\oasis\Demographics\Hand Orientation\Right Handed\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Demographics \ Hand Orientation \ Right Handed</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>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> </ns4:query_definition> ```
I want to find patients with left-handed dominance and education beyond college level.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diabetes mellit@15:02: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>0</hlevel> <item_name>(PrevQuery)Diabetes mellit@15:28:36</item_name> <item_key>masterid:3552</item_key> <tooltip>Diabetes mellit@15:28:36</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find all patients with a diagnosis of Diabetes mellitus, regardless of the specific timing, and with a specificity scale of 0, using the panel number 1 with an accuracy scale of 100, and including only one item in the panel, which is a synonym for "Diabetes mellit@15:28:36" with a hierarchical level of 0.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/"> <query_name>Diagn-Intra-Nontr@08:41:47</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>Diagnoses</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses</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>Intracranial injury</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(S00-T88) Inju~yy6i\(S00-S09) Inju~anvg\(S06) Intracra~gju6\</item_key> <item_icon>FA</item_icon> <tooltip>Intracranial injury</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>4</hlevel> <item_name>Nontraumatic intracerebral hemorrhage</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(I00-I99) Dise~3w8h\(I60-I69) Cere~wg9x\(I61) Nontraum~kz4t\</item_key> <item_icon>FA</item_icon> <tooltip>Nontraumatic intracerebral hemorrhage</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns3:query_definition> ```
I want to find diagnoses of intracranial injury and nontraumatic intracerebral hemorrhage, with no specific time frame or accuracy requirement, and the query should include all diagnoses within the ICD10_ICD9 classification system.