output
stringlengths
926
21.5k
instruction
stringlengths
45
1.08k
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory system@14:41: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> </ns4:query_definition> ```
I want to find all diagnoses related to the circulatory system (ICD codes 390-459) with a specificity scale of 0, accuracy scale of 100, and any timing using a single panel with no inversion, and the query name is "Circulatory system@14:41:35".
```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>Psychotherapeut@14:42:45</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Psychotherapeutic agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) psychotherapeutic agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ psychotherapeutic agents</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of patients who have been prescribed or have taken psychotherapeutic agents at any time, with a high level of specificity and accuracy, within the i2b2 database using the Medications category.
```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>Hyp-Dis-Cho-Ant@09:45: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)Hyp-Dis-Cho-Ant@15:10:44</item_name> <item_key>masterid:28038</item_key> <tooltip>Hyp-Dis-Cho-Ant@15:10:44</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a history of hypertension, diabetes, or chronic obstructive pulmonary disease (COPD) at any time, using the previously defined query "Hyp-Dis-Cho-Ant@5:10:4" as a reference, with a specificity scale of 0 and a panel accuracy scale of 100, where the query is not inverted and only one item is being considered in the panel.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>(t) Circulatory system-Digestive system-Infectious and parasitic diseases@10:41:31</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <subquery_constraint> <first_query> <query_id>Event 1</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </first_query> <operator>LESS</operator> <second_query> <query_id>Event 2</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </second_query> </subquery_constraint> <subquery_constraint> <first_query> <query_id>Event 2</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </first_query> <operator>LESS</operator> <second_query> <query_id>Event 3</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </second_query> </subquery_constraint> <subquery> <query_id>Event 1</query_id> <query_type>EVENT</query_type> <query_name>Event 1</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>Event 2</query_id> <query_type>EVENT</query_type> <query_name>Event 2</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>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> </subquery> <subquery> <query_id>Event 3</query_id> <query_type>EVENT</query_type> <query_name>Event 3</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>Infectious and parasitic diseases</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Infectious and parasitic diseases (001-139)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Infectious and parasitic diseases</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> </ns4:query_definition> ```
I want to find patients who have had a diagnosis of any condition related to the circulatory system, followed by a diagnosis of any condition related to the digestive system, and then a diagnosis of any condition related to infectious and parasitic diseases, with the time between the first two diagnoses being less than the time between the second and third diagnoses.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>mild de-Female@10:39:17</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>mild dementia</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\mild dementia\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ Clinical Dementia Rating (CDR) \ mild dementia</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Female</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key> <item_icon>LA</item_icon> <tooltip>Demographic \ Gender \ Female</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all female patients with a diagnosis of mild dementia in the i2b2 database, with a specificity scale of 0 and an accuracy scale of 100, with no inversion of the query. The query timing should be set to ANY.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Pneumonia due t@12:31:56</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Pneumonia due to sars-associated coronavirus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\(J12.81) Pneum~f4r6\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia \ Pneumonia due to sars-associated coronavirus</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find cases of Pneumonia due to SARS-associated coronavirus with any timing, at 1000% accuracy, using the ICD-10 and ICD-9 coding system, specifically under the category of diagnoses of diseases of the respiratory system, influenza and pneumonia, and other viral pneumonia, not elsewhere classified.
```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) Circulatory system-Digestive system@10:41:20</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <subquery_constraint> <first_query> <query_id>Event 1</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </first_query> <operator>LESS</operator> <second_query> <query_id>Event 2</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </second_query> </subquery_constraint> <subquery> <query_id>Event 1</query_id> <query_type>EVENT</query_type> <query_name>Event 1</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>Event 2</query_id> <query_type>EVENT</query_type> <query_name>Event 2</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>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> </subquery> </ns4:query_definition> ```
I want to find all patients who have had an encounter for a diagnosis related to the circulatory system at the same instance number as an encounter for a diagnosis related to the digestive system, with both occurring within the same time frame (SAMEINSTANCENUM), with a specificity scale of 0 and an accuracy scale of 10 for each panel, and the first query (Event 1) being less than the second query (Event 2) in terms of the start date (STARTDATE). The first query (Event 1) will include diagnoses related to the circulatory system (390-459), and the second query (Event 2) will include diagnoses related to the digestive system (520-579).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Certain conditi@10:43: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>Certain conditions originating in the perinatal period (p00-p96)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(P00-P96) Cert~6976\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain conditions originating in the perinatal period (p00-p96)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all diagnoses related to certain conditions that originated in the perinatal period (p0-p96) with a specificity scale of 0, accuracy scale of 100, 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>Screening is th@12:40:36</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Screening is the testing for disease or disease precursors in asymptomatic individuals so that early detection and treatment can be provided for those who test positive for the disease.</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z00-Z13) Pers~m0l3\(Z11) Encounte~xfu3\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons encountering health services for examinations (z00-z13) \ Screening is the testing for disease or disease precursors in asymptomatic individuals so that early detection and treatment can be provided for those who test positive for the disease.</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all encounters where patients have undergone screening for diseases or disease precursors, specifically those who are asymptomatic, in order to detect and treat the disease early on. The purpose of this query is to identify patients who have had preventive examinations and tests for early detection and treatment of potential health issues.
```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@12:45:56</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Female</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key> <item_icon>LA</item_icon> <tooltip>Demographic \ Gender \ Female</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>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 female patients with any demographic information recorded in the i2b2_DEMO 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>18-34 years old@12:47:55</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name> 18-34 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 18-34 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 35-44 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 35-44 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 45-54 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 45-54 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 55-64 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 55-64 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 65-74 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\65-74 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 65-74 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>&gt;= 65 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\&gt;= 65 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ &gt;= 65 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 75-84 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\75-84 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 75-84 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>&gt;= 85 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\&gt;= 85 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ &gt;= 85 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 years old, 35-44 years old, 45-54 years old, 555-64 years old, 65-74 years old, and 75-84 years old, as well as those who are 85 years old or older, with any age range specified in the demographics panel.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assault (x92-y0@12:26: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>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of diagnoses related to assault (x92-y08) in the ICD10 and ICD9 coding systems, with a specificity scale of 0, and a panel accuracy scale of 100, considering any timing, and excluding synonyms.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coronavirus as @12:34:06</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with diagnoses of diseases caused by Coronavirus classified under ICD-10 code B97.2 (Viral agents as the cause of diseases classified elsewhere) in the i2b2 database, with a specificity scale of 0, panel timing set to ANY, and panel accuracy scale set to 100. The query should be named "Coronavirus as @12:34:06" and the panel number should be 1.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Psychotherapeut@19:46:32</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Psychotherapeutic agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) psychotherapeutic agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ psychotherapeutic agents</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of the use of psychotherapeutic agents within the i2b2 database, at any time, with a specificity scale of 0 and an accuracy scale of 100. This query will search for the term "Psychotherapeutic agents" under the Medications category, specifically within the "Medications\MUL\(LME203) psychotherapeutic agents" subcategory, and will display the results in a panel labeled as "Psychotherapeut@19:46:32". The query is not a synonym and will be 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>Assault by cras@20:04: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>3</hlevel> <item_name>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a diagnosis of assault resulting from a motor vehicle crash (ICD-10 code Y03) in 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>(t) Diseases of theAnemia, unspeciLymphocyte immu@01:16:15</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>1</hlevel> <item_name>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> <subquery_constraint> <first_query> <query_id>Event 1</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </first_query> <operator>LESS</operator> <second_query> <query_id>Event 2</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </second_query> </subquery_constraint> <subquery> <query_id>Event 1</query_id> <query_type>EVENT</query_type> <query_name>Event 1</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>Anemia, unspecified</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(D50-D89) Dise~nx0c\(D60-D64) Apla~8sol\(D64) Other anemias\(D64.9) Anemia~8pgh\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the blood and blood-forming organs and certain disorders involving the immune mechanism (d50-d89) \ Aplastic and other anemias and other bone marrow failure syndromes (d60-d64) \ Other anemias \ Anemia, unspecified</tooltip> <class>ENC</class> <constrain_by_date> <date_from>2020-01-01T00:00:00.000-05:00</date_from> </constrain_by_date> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> <subquery> <query_id>Event 2</query_id> <query_type>EVENT</query_type> <query_name>Event 2</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>Lymphocyte immune globulin anti-thymocyte</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME169) immunologic agents\(LME171) immune globulins\lymphocyte immune globulin, anti-thymocyte\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ immunologic agents \ immune globulins \ lymphocyte immune globulin anti-thymocyte</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> </ns4:query_definition> ```
I want to find patients who have been diagnosed with any diseases of the circulatory system (ICD codes I0-I9) and have also had an instance of Anemia, unspecified (ICD code D64.9) on the same encounter, but without having a record of receiving Lymphocyte immune globulin anti-thymocyte (LME171) medication during the same encounter. The time frame for this query is from January 1st, 202020 onwards.
```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>Psychotherapeut@14:44: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>Psychotherapeutic agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) psychotherapeutic agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ psychotherapeutic agents</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have ever been prescribed or administered any psychotherapeutic agents at any point in their medical history, regardless of specificity or accuracy, and I want the results displayed on a single panel with the highest level of hierarchy (hlevel=2) and a tooltip indicating the category as "medications \ psychotherapeutic agents".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory system@14:55: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>2</hlevel> <item_name>Circulatory system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Circulatory system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find any diagnoses related to the circulatory system (ICD-9 codes 390-459) with a specificity scale of 0 and an accuracy scale of 100, using the query name "Circulatory system@14:55:31" and panel number 1.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Patient Instruc@15:41: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>5</hlevel> <item_name>Singulair 5mg tablet chewable Merck &amp; Co. Inc</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME229) leukotriene modifiers\montelukast\00006027531\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ respiratory agents \ leukotriene modifiers \ montelukast \ singulair 5mg tablet chewable merck &amp; co. inc</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>a</value_constraint> <value_type>LARGETEXT</value_type> </constrain_by_value> </constrain_by_modifier> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of patients who have been prescribed Singulair 5mg tablets (manufactured by Merck & Co. Inc) with the instructions containing the letter 'a' in their medication records.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assault by blun@20:03: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>Assault by blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with assault by blunt object as an external cause of morbidity using the ICD-10 or ICD-9 coding 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>Coronavirus as @20:09: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>Coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses of certain infectious and parasitic diseases (A0-B9) caused by bacterial and viral agents (B95-B97), specifically those related to coronavirus (B97.2) as the cause of diseases classified elsewhere. The query should be applied to any time period and have a high level of accuracy (1000%).
```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>Screening is th@11:31:10</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>Screening is the testing for disease or disease precursors in asymptomatic individuals so that early detection and treatment can be provided for those who test positive for the disease.</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z00-Z13) Pers~m0l3\(Z11) Encounte~xfu3\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons encountering health services for examinations (z00-z13) \ Screening is the testing for disease or disease precursors in asymptomatic individuals so that early detection and treatment can be provided for those who test positive for the disease.</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all encounters where patients have undergone screening for diseases or disease precursors, with the aim of early detection and treatment for those who test positive, within the context of Factors influencing health status and contact with health services (Z0-Z9) and Persons encountering health services for examinations (Z0-Z13) diagnoses, using the ICD-10 or ICD-9 coding 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>Circulatory system@15:4:49@15:16: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) Circulatory system@15:4:49</item_name> <item_key>masterid:28064</item_key> <tooltip>Circulatory system@15:4:49 [5-24-2023] [demo]</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have been diagnosed with any condition related to the circulatory system within the specified time frame.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory system@15:4:49@15:16: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) Circulatory system@15:4:49</item_name> <item_key>masterid:28064</item_key> <tooltip>Circulatory system@15:4:49 [5-24-2023] [demo]</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have any diagnosis or procedure related to the circulatory system within the specified date range of 15:4:49 and 15:16:24 with a specificity scale of 0, panel timing set to ANY, and an accuracy scale of 100. The query is inverted and consists of a single item with a hierarchical level of 0 and a key of masterid:28064. The tooltip for this item is "Circulatory system@15:4:49 [5-24-2023] [demo]". This query is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Patient Instruc@15:42:20</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>Singulair 5mg tablet chewable Merck &amp; Co. Inc</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME229) leukotriene modifiers\montelukast\00006027531\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ respiratory agents \ leukotriene modifiers \ montelukast \ singulair 5mg tablet chewable merck &amp; co. inc</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>take</value_constraint> <value_type>LARGETEXT</value_type> </constrain_by_value> </constrain_by_modifier> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been prescribed Singulair 5mg tablets chewable by Merck & Co. Inc., and their medication instructions contain the word "take" in the description.
```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>Psychotherapeut@19:49: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>2</hlevel> <item_name>Psychotherapeutic agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) psychotherapeutic agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ psychotherapeutic agents</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances where psychotherapeutic agents have been prescribed or administered to patients within the i2b2 database, with a specificity scale of 0 and a high level of accuracy, grouped into a single panel with no inversion, and considering the timing as any point in the patient's 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>Psychotherapeut@19:51:15</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Psychotherapeutic agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) psychotherapeutic agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ psychotherapeutic agents</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have ever received any type of psychotherapeutic agent medication at any point in time, regardless of specificity or accuracy, and display the results in a panel with a high level of detail (hlevel 2), with the panel being accurate to 100% and only including one item, which is "Psychotherapeutic agents" under the medications category. The query is named "Psychotherapeut@19:51:15" and will search for this information across all available data.
```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@20:02: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>2</hlevel> <item_name>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of diagnoses related to external causes of morbidity, specifically focusing on assault cases (x92-y08) in the ICD10 and ICD9 coding systems, with any level of specificity and accuracy, and the panel should be inverted with a total of one item occurrence.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assault by cras@21:17:19</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of "Assault by crashing of motor vehicle" within the ICD10 and ICD9 diagnosis codes, specifically within the range of external causes of morbidity (v0-y9) and assault (x92-y08), with a specificity scale of 0 and accuracy scale of 100, for any time period, and this query will be part of panel 1 with no inversion applied.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Psychotherapeut@19:48:37</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Psychotherapeutic agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) psychotherapeutic agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ psychotherapeutic agents</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of patients who have ever been prescribed or administered psychotherapeutic agents within the i2b2 database, with a specificity scale of 0 and a high accuracy level of 100, considering any time frame (ANY) for the query and the panel's timing. The query is focused on a single item, "Psychotherapeutic agents," which is a synonym for medications used for psychological treatment, and the icon used for this item is FA.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assault (x92-y0@19:57:41</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with a diagnosis of assault (ICD-9-CM code X92-Y08) in the ICD-10-CM Diagnoses External Causes of Morbidity (V0-Y9) category, with a specificity scale of 0 and accuracy scale of 100, within any time period. This query will return results that are not inverted and have a single item occurrence. The class of this query is ENC, and it is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Other v-Coronav@11:48: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>5</hlevel> <item_name>Other viral pneumonia</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia</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>Coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find cases where patients have been diagnosed with Other viral pneumonia (J12.8) and where Coronavirus is listed as the cause of diseases classified elsewhere (B97.2) in the ICD-10 and ICD-9 coding systems, with no specificity or timing constraints applied to either panel, and both panels have an accuracy scale of 100 and are not inverted.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Other viral pne@11:56:20</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>Other viral pneumonia</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all cases of "Other viral pneumonia" with any timing and 100% accuracy, within the Diagnoses category of Diseases of the respiratory system, specifically within the subcategory of Influenza and pneumonia, and further narrowed down to Viral pneumonia, not elsewhere classified, using the ICD-10 and ICD-9 coding systems.
```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>Pneumonia due t@14:45: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>5</hlevel> <item_name>Pneumonia due to sars-associated coronavirus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\(J12.81) Pneum~f4r6\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia \ Pneumonia due to sars-associated coronavirus</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of "Pneumonia due to sars-associated coronavirus" in the ICD10_ICD9 diagnosis codes within the range of J00-J9, J09-J18, and J12.8, specifically for Other Viral Pneumonia, not elsewhere classified.
```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 by cras@21:17:56</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all cases where a patient has been diagnosed with an assault resulting from a crashing of a motor vehicle, using the ICD10 and ICD9 classification codes, with any level of specificity, and the query should be applied to all time periods.
```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@07:54: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>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> </ns4:query_definition> ```
I want to find all patients with any recorded information related to their income in the i2b2 database, regardless of the specificity or time frame, and display it in a panel with a high accuracy scale of 100 and without inverting the results. The query will focus on the Demographics category, specifically the Income field, and the data will be encoded in the ENC format.
```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>Pneumon-Coronav@21:44:58</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Pneumonia due to sars-associated coronavirus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\(J12.81) Pneum~f4r6\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia \ Pneumonia due to sars-associated coronavirus</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>Coronavirus infection, unspecified</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B25-B34) Othe~mcam\(B34) Viral in~t8uh\(B34.2) Corona~3546\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Other viral diseases (b25-b34) \ Viral infection of unspecified site \ Coronavirus infection, unspecified</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a diagnosis of Pneumonia due to SARS-associated coronavirus (J12.81) and a diagnosis of Coronavirus infection, unspecified (B34.2) in any time frame, with a high specificity and accuracy. The query includes two panels: the first panel focuses on the diagnosis of Pneumonia due to SARS-associated coronavirus, and the second panel focuses on Coronavirus infection, unspecified. The tooltip provides further details on the ICD codes used for each panel.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coronavirus inf@21:45:16</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Coronavirus infection, unspecified</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B25-B34) Othe~mcam\(B34) Viral in~t8uh\(B34.2) Corona~3546\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Other viral diseases (b25-b34) \ Viral infection of unspecified site \ Coronavirus infection, unspecified</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of "Coronavirus infection, unspecified" within the ICD10_ICD9 diagnoses category, specifically under the subcategories of "Certain infectious and parasitic diseases (a0-b9)", "Other viral diseases (b25-b34)", and "Viral infection of unspecified site" in the i2b2 data repository, with a specificity scale of 0, accuracy scale of 100, and the query timing set to ANY.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coronavirus as @21:45:33</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find cases where Coronavirus is identified as the cause of diseases classified elsewhere, using the ICD-10-CM code B97.2, within any time frame, with a specificity scale of 0 and a panel accuracy scale of 100, and with only one occurrence required for the query to return a match. The query should include the hierarchy of categories: Diagnoses, Certain Infectious and Parasitic Diseases, Bacterial and Viral Infectious Agents, and Viral Agents as the Cause of Diseases Classified Elsewhere.
```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>Language@07:56: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>Language</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Language\</item_key> <item_icon>FA</item_icon> <tooltip>Demographic \ Language</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have a demographic entry for their language in the i2b2 database using the "Language" panel, with a specificity scale of 0 and an accuracy scale of 100, and the query timing is set to "ANY". This query is named "Language@07:56:13" and is the first panel in the query definition. The hierarchical level of the item is 2, and the item key is "\\i2b2_DEMO\i2b2\Demographics\Language\". The tooltip for this item is "Demographic \ Language" and the class is set to "ENC". The item is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>mild dementia@16:12:13</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>mild dementia</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\mild dementia\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ Clinical Dementia Rating (CDR) \ mild dementia</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with a diagnosis of mild dementia, using the Clinical Dementia Rating (CDR) scale, within the Oasis Clinical Measures module, with a specificity scale of 0 and a total item occurrence of 1, at any time (ANY) in their medical record.
```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> 0-9 years old@13:33: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> 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> </panel> </ns4:query_definition> ```
I want to find all patients who are 0-9 years old, with any timing and 100% accuracy, within a panel named 'Demographics \ Age \ 0-9 years old' in 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>Language@07:55: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>Language</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Language\</item_key> <item_icon>FA</item_icon> <tooltip>Demographic \ Language</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with any language recorded in their demographic information within the i2b2 database using the "Language" element.
```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>Cerebrovascular@17:20: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>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> </ns4:query_definition> ```
I want to find all patients with a diagnosis of cerebrovascular diseases (ICD codes I60-I69) in the ICD10_ICD9 field within the Diagnoses section of the data. The query should have a specificity scale of 0, meaning that it will include all possible matches, and the timing should be set to ANY, meaning that it will include diagnoses from any point in time. The panel number is 1, the accuracy scale is set to 100, indicating high accuracy, and the panel timing is also set to ANY. The query is not inverted, and it will return a total of 1 item. The class of the item is ENC, which stands for Encounter.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Race@07:57:10</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>Race</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Race\</item_key> <item_icon>FA</item_icon> <tooltip>Demographic \ Race</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with any race listed in their demographics.
```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>Diagnoses@13:15:19</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 all diagnoses recorded in the i2b2 database, with no specific time frame or accuracy scale applied, and without inverting the results. The query will include only one panel, with a total of one item, which is the "Diagnoses" category, and will display all encounters related to diagnoses.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Race@10:11: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>2</hlevel> <item_name>Race</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Race\</item_key> <item_icon>FA</item_icon> <tooltip>Demographic \ Race</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with any recorded race in the i2b2 Demographics panel, using the i2b2 query builder with a specificity scale of 0, accuracy scale of 100, and panel timing set to ANY. The query will display the information in a panel with a panel number of 1 and invert option set to 0. The query is named "Race@10:11:38" and the item name is "Race", with a class of ENC and it is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Race@10:11: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>2</hlevel> <item_name>Race</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Race\</item_key> <item_icon>FA</item_icon> <tooltip>Demographic \ Race</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with any recorded race in the demographics panel, with a specificity scale of 0 and an accuracy scale of 100, 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>Gender@13:12:32</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 gender of patients with any timing and 1000% accuracy, using the "Gender" item from the "Demographics" panel in 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>Pneumonia due t@14:47: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>5</hlevel> <item_name>Pneumonia due to sars-associated coronavirus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\(J12.81) Pneum~f4r6\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia \ Pneumonia due to sars-associated coronavirus</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all cases of Pneumonia due to SARS-associated coronavirus in the database, regardless of the timing or specificity scale, and the panel's accuracy scale is set to 100. The query will search for this diagnosis within the "Diagnoses" category, specifically under "Diseases of the respiratory system," "Influenza and pneumonia," "Viral pneumonia, not elsewhere classified," and "Other viral pneumonia." The hierarchy level is set to 5, and the query 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>Race@10:11: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>2</hlevel> <item_name>Race</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Race\</item_key> <item_icon>FA</item_icon> <tooltip>Demographic \ Race</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with any race listed in their demographic information within the i2b2 database.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory system@11: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>2</hlevel> <item_name>Circulatory system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Circulatory system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all diagnoses related to the Circulatory system (ICD codes 390-459) within the specified time frame (ANY) with a specificity scale of 0 and a panel accuracy scale of 100. This query will display a single panel with the name "Circulatory system" and the key "\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)" with an icon of FA 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>Diagnoses@11:42: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>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 all diagnoses recorded in the i2b2 database at any time with a high level of specificity and accuracy, using the Diagnoses panel.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Gender@11:49: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>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 all patients with a gender value in the Demographics table at any time, with a specificity scale of 0 and a panel accuracy scale of 100, where the query is named "Gender@1:49:14" and the panel number is 1, 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>Genitourinary s@13:33: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>2</hlevel> <item_name>Genitourinary system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Genitourinary system (580-629)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Genitourinary system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all diagnoses related to the genitourinary system, which includes diseases and disorders affecting the urinary tract and male reproductive organs, within the specified time frame (ANY), with a specificity scale of 0 and a panel accuracy scale of 100. The query should be named "Genitourinary s@13:33:42" and have one panel with panel timing set to ANY, and the panel should not be inverted. The query will search for the item "Genitourinary system" with a hierarchical level of 2, using the key "\\i2b2_DIAG\i2b2\Diagnoses\Genitourinary system (580-629)", and the item will be represented by the icon FA. This item is not a synonym and is 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>Circulatory sys@14:08:55</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Circulatory system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Circulatory system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all diagnoses related to the circulatory system (ICD codes 390-459) with a specificity scale of 0 and a panel accuracy scale of 100, with no inversion, and only one item occurrence. This query should return results for any timing, and the panel is named "Circulatory sys@14:08:55".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory sys@13:13:58</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Circulatory system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Circulatory system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all diagnoses related to the circulatory system (ICD codes 390-459) with a specificity scale of 0, accuracy scale of 100, and a timing of any. This query is set up in panel 1, and the item is classified as an ENC (encounter) with a total of 1 item occurrence. The icon used for this query is FA, and the query is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory system@13:29: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>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> <item> <hlevel>2</hlevel> <item_name>Conditions in the perinatal period</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Conditions in the perinatal period (760-779)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Conditions in the perinatal period</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all diagnoses related to the circulatory system (ICD-9 codes 390-459) and conditions in the perinatal period (ICD-9 codes 760-79) with a specificity scale of 0 and accuracy scale of 100, regardless of the timing of the diagnosis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Genitourinary s@13:33:19</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Genitourinary system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Genitourinary system (580-629)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Genitourinary system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find any diagnoses related to the genitourinary system, including diseases and disorders related to the urinary and male/female reproductive organs, within a specified time frame (ANY), 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"?> <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>Protestant@13:31: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>3</hlevel> <item_name>Protestant</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Religion\Protestant\</item_key> <item_icon>MA</item_icon> <tooltip>Demographic \ Religion \ Protestant</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have been identified as Protestant in their demographic information within the i2b2 database, with a high level of specificity and accuracy, and no time constraints.
```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@13:39:28</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>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 all records where the gender of the patient is recorded at any time with a specificity scale of 0 and an accuracy scale of 100, using the "Gender" item from the "Demographics" panel in 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>Income@13:41: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>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> </ns4:query_definition> ```
I want to find demographic information about a patient's income at any time with a high level of specificity and accuracy, using the i2b2 query builder with the panel name "Income@13:41:43" and the item name "Income" from the "Demographics" category.
```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@11:17: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>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 with a diagnosis of assault (ICD-9-CM code X92-Y08) in the ICD-10 and ICD-9 Diagnoses section of the EHR data, with any timing and specificity scale set to 0, using a panel with total item occurrences of 1, and with a specificity scale of 100, and the item is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Other viral pne@18:33:43</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Other viral pneumonia</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of "Other viral pneumonia" diagnoses in the ICD10_ICD9 database, specifically within the category of diseases of the respiratory system (j0-j9), influenza and pneumonia (j09-j18), and viral pneumonia, not elsewhere classified (j12.8). This query will search for any occurrence of this diagnosis, with a specificity scale of 0 and a total item occurrence of 1. The panel timing and query timing are both set to "ANY", and the panel accuracy scale is set to 100. The item is classified as an ENC, and it is not a synonym.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Diagnos-Medicat@18:48: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>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>1</hlevel> <item_name>Medications</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\</item_key> <item_icon>FA</item_icon> <tooltip>Medications</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with any diagnoses and any medications recorded in their medical records.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Diagnoses@13:33: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>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 all diagnoses recorded in the i2b2 database, with no specificity scale applied, using the "Diagnoses" item from the "ENC" class, with a total occurrence of 1, and no inversion applied. The query is named "Diagnoses@13:33:16" and the timing is set to "ANY".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Genitourinary s@13:34: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>2</hlevel> <item_name>Genitourinary system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Genitourinary system (580-629)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Genitourinary system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>2</hlevel> <item_name>Conditions in the perinatal period</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Conditions in the perinatal period (760-779)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Conditions in the perinatal period</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses related to the genitourinary system (580-629) and conditions in the perinatal period (760-79) with any timing, specificity scale set to 0, panel timing set to ANY, accuracy scale set to 100, and no inversion of the results. The query is named "Genitourinary s@13:34:09" and is part of a panel with one total item occurrence. The query includes two items: the first one is focused on diagnoses in the genitourinary system, while the second item focuses on conditions in the perinatal period. Both items are encoded nomenclature (ENC) and are not synonyms.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Clinical Measur@12:38: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>2</hlevel> <item_name>Clinical Measures</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\</item_key> <item_icon>FA</item_icon> <tooltip>oasis \ Clinical Measures</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all clinical measures from the BIRN oasis Clinical Measures category, with any specificity scale, any timing, and a high level of accuracy.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Gender@13:13:06</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 all instances where the gender attribute has been recorded in the Demographics domain, with a high level of specificity and any timing, for any patient in the i2b2 database.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>(t) Circulatory system-Certain conditions originating in the perinatal period (p00-p96)@14:23:56</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <subquery_constraint> <first_query> <query_id>Event 1</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </first_query> <operator>LESS</operator> <second_query> <query_id>Event 2</query_id> <join_column>ENDDATE</join_column> <aggregate_operator>LAST</aggregate_operator> </second_query> <span> <operator>GREATEREQUAL</operator> <span_value>5</span_value> <units>DAY</units> </span> </subquery_constraint> <subquery> <query_id>Event 1</query_id> <query_type>EVENT</query_type> <query_name>Event 1</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>Event 2</query_id> <query_type>EVENT</query_type> <query_name>Event 2</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</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>1</hlevel> <item_name>Certain conditions originating in the perinatal period (p00-p96)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(P00-P96) Cert~6976\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain conditions originating in the perinatal period (p00-p96)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> </ns4:query_definition> ```
I want to find all patients who have been diagnosed with any condition related to the circulatory system (codes 390-459) and have also been diagnosed with certain conditions originating in the perinatal period (codes P00-P96) within the same instance number, with the first diagnosis of the circulatory system condition occurring at least 5 days before the last diagnosis of the perinatal condition.
```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>Digestive system@14:48: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>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 all diagnoses related to the digestive system (ICD-9 codes 520-579) with any specificity and a high accuracy scale (1000%) in a single panel, 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>PATIENT_ENCOUNT@14:53: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>Encounter Set for "Digestive syste@14:50:23"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61259</item_key> <tooltip>Encounter Set for "Digestive syste@14:50:23"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have had an encounter related to the digestive system within a specific time frame, where the encounter has been finished and the specificity scale is set to 0, with a total of 1 item occurrence and the panel accuracy scale set to 100, using the i2b2 query builder with the given XML configuration.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory sys@13:53:28</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Circulatory system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Circulatory system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses related to the circulatory system (ICD codes 390-459) using the i2b2 query builder with a specificity scale of 0, accuracy scale of 100, and a time frame of any date.
```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@14:18: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>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 gender of patients in the i2b2 dataset, with a specificity scale of 0 and an accuracy scale of 100, where the query timing is set to ANY and the panel timing is also ANY, and the total number of occurrences for this item is 1. The query is named "Gender@14:18:09" and the panel is numbered 1, with the invert value set to 0. The query is looking for the gender information under the demographics category in the i2b2 dataset, with the key "\\i2b2_DEMO\i2b2\Demographics\Gender\" and the class is set to ENC. The icon used for this query is FA and the tooltip provided is "Demographic \ Gender".
```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@14:31:15</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>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 all patients in the database with any gender recorded in the demographics section.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Digestive syste@14:50:23</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 all diagnoses related to the digestive system (ICD-9 codes 520-579) in the i2b2 database, with any timing, and a specificity scale of 0, accuracy scale of 100, and panel number 1. The panel is not inverted, and only one item is included, which is the "Digestive system" item with a hierarchical level of 2, icon "FA", and class "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>mild dementia@16:59: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>mild dementia</item_name> <item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\mild dementia\</item_key> <item_icon>LA</item_icon> <tooltip>oasis \ Clinical Measures \ Clinical Dementia Rating (CDR) \ mild dementia</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with a diagnosis of mild dementia at any point in time, using the Clinical Dementia Rating (CDR) scale, with a specificity of 100% and a sensitivity of 0%, and display the results in panel 1 of the 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>Assault by blun@11: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>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with assault by blunt object using ICD-10 or ICD-9 codes, with a high level of specificity and accuracy, and the query should search for this information in any time frame.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory sys@14:35: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> </ns4:query_definition> ```
I want to find all diagnoses related to the circulatory system (ICD codes 390-459) in the i2b2 database, with a specificity scale of 0, a total item occurrence of 1, and an accuracy scale of 100. The query should be applied to any time period and should 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>High in- 35-44@12:39:19</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>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> <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> 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 a high income and are between the ages of 35-44 years old during the same visit.
```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>External causes@12:21: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>1</hlevel> <item_name>External causes of morbidity (v00-y99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of external causes of morbidity (v0-y9) within the ICD10_ICD9 diagnoses category in the i2b2 database, with a specificity scale of 0, a total item occurrence of 1, and a panel accuracy scale of 100. The query will have a panel timing of ANY and a query timing of ANY, and the item will be classified as an ENC (Encounter).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Exter-Assau-Assau@13:54: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>1</hlevel> <item_name>External causes of morbidity (v00-y99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99)</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>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>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>Assault by bodily force</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y04) Assault~dyv0\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by bodily force</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all cases of external causes of morbidity (v0-y9) and specifically, instances of assault (x92-y08) including assault by bodily force (y04) 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>Coronavirus as @13:57: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>4</hlevel> <item_name>Coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses related to coronavirus as the cause of diseases classified elsewhere, with any timing, specificity scale set to 0, and panel accuracy scale set to 100. The query will focus on the ICD10_ICD9 classification system, under the category of certain infectious and parasitic diseases, bacterial and viral infectious agents, and viral agents as the cause of diseases classified elsewhere, specifically targeting coronavirus as the cause of diseases classified elsewhere.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circulatory sys@14:35:43@11:46: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>0</hlevel> <item_name>(PrevQuery) Circulatory sys@14:35:43</item_name> <item_key>masterid:28141</item_key> <tooltip>Circulatory sys@14:35:43 [5-25-2023] [demo]</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with any encounter, at any time, with a diagnosis related to the circulatory system, specifically those who have been diagnosed with conditions related to the heart and blood vessels. This query has a high level of accuracy (1000%) and only includes patients who have been diagnosed with a condition related to the circulatory 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> 4 days@14:48: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> 4 days</item_name> <item_key>\\i2b2_VISIT\i2b2\Visit Details\Length of stay\ 4 days\</item_key> <item_icon>LA</item_icon> <tooltip>Visit Details \ Length of stay \ 4 days</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all visits where the length of stay was 4 days, with any timing and specificity, and the panel accuracy scale set to 100. This query will look for the specific key "\\i2b2_VISIT\i2b2\Visit Details\Length of stay\ 4 days\" and the item will be displayed as an Encounter (ENC) with no synonyms.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Female@09:37:06</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Female</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key> <item_icon>LA</item_icon> <tooltip>Demographic \ Gender \ Female</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all female patients in the i2b2 database with no specific timing constraints and a high accuracy level.
```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 by blun@11:22:31</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of diagnoses related to assault by blunt object in the ICD-10 and ICD-9 codes, specifically within the range of V0-Y9 for external causes of morbidity and X92-Y08 for assault, with a specificity scale of 0 and an accuracy scale of 100. The panel timing and query timing are set to ANY, and the panel number is 1. The query name is "Assault by blunt object."
```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 by cras@11:23: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>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</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 an injury resulting from an assault caused by a motor vehicle crash.
```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>Other viral pne@11:47: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>5</hlevel> <item_name>Other viral pneumonia</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find cases of "Other viral pneumonia" diagnoses within the ICD-10-ICD-9 coding system, specifically within the range of codes J00-J9 for diseases of the respiratory system, J09-J18 for influenza and pneumonia, and J12.8 for viral pneumonia not elsewhere classified. The specificity scale is set to 0, meaning all relevant cases will be included, and the panel timing is set to ANY, indicating that the search will be conducted across all time periods. The accuracy scale is set to 100, indicating high confidence in the results, and only one occurrence of the condition is required for a match. The panel is inverted, meaning that the results will include cases where the condition is absent or ruled out.
```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-Admit D@09:37: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>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>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> <constrain_by_modifier> <modifier_name>Admit Diagnosis</modifier_name> <modifier_key>\\ICD10_ICD9\Admit Diagnosis\</modifier_key> <applied_path>\Diagnoses\(I00-I99) Dise~3w8h\%</applied_path> </constrain_by_modifier> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all female patients who have been admitted with a diagnosis related to diseases of the circulatory system (ICD codes I0-I9) at any time.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Respira-Princip@14:19: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>2</hlevel> <item_name>Respiratory system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory 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>Symptoms</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Symptoms, signs, and ill-defined conditions (780-799)\Symptoms (780-789)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Symptoms, signs, and ill-defined conditions \ Symptoms</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\Symptoms, signs, and ill-defined conditions (780-799)\%</applied_path> </constrain_by_modifier> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with principal diagnoses related to respiratory symptoms and conditions within the Respiratory system (codes 460-519) and Symptoms (codes 780-79) in the i2b2 database.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Respira-Hyperte@14:32: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>2</hlevel> <item_name>Respiratory system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory 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>4</hlevel> <item_name>Hypertensive disease</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\</item_key> <item_icon>FA</item_icon> <tooltip>i2b2 \ Diagnoses \ Circulatory system \ Hypertensive disease</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses related to the respiratory system and hypertensive disease within the i2b2 database, with a specificity scale of 0 and any timing, displaying the results in two panels, one for each category, with a total occurrence of 1 in each panel and an accuracy scale of 100 for each panel.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Other coronavir@11:27:27</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Other coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\(B97.29) Other~8jbp\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere \ Other coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses of certain infectious and parasitic diseases (a0-b9) caused by bacterial and viral agents (b95-b97), specifically focusing on coronavirus as the cause of diseases classified elsewhere (b97.2) with other coronaviruses (b97.29) as the cause of diseases classified elsewhere. The level of specificity is set at 0, and the accuracy scale is set at 100. The query timing is set to ANY, meaning it can be used at any time, and the panel number is 1. The total number of items included in the query is 1, and the item is not a synonym. The tooltip provides additional information about the query, indicating that it targets other coronaviruses as the cause of diseases classified elsewhere.
```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>Exter-Assau-Assau@13:36: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>1</hlevel> <item_name>External causes of morbidity (v00-y99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>3</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</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 diagnosis of external causes of morbidity (v0-y9) and who have been assaulted, either by a blunt object or by a crashing of a motor vehicle (x92-y08).
```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>Influenza virus@00:17: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>4</hlevel> <item_name>Influenza virus vaccine</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME169) immunologic agents\(LME177) viral vaccines\influenza virus vaccine\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ immunologic agents \ viral vaccines \ influenza virus vaccine</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find any instances of Influenza virus vaccine administration within the i2b2 database, with a specificity scale of 0 and a total item occurrence of 1, using the panel number 1 and a panel timing of ANY, with the invert value set to 0. The item is located under the hierarchy of medications, immunologic agents, viral vaccines, and influenza virus vaccine, and has an accuracy scale of 100.
```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>Influenza and p@00:18: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>2</hlevel> <item_name>Influenza and pneumonia (j09-j18)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with diagnoses of Influenza and pneumonia (j09-j18) in the ICD10_ICD9 coding system within the Diseases of the respiratory system (j00-j9) category, with a specificity scale of 0 and accuracy scale of 100, considering any timing, and displaying the results on the first panel of the query.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Exter-Assau-Assau@13:38: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>1</hlevel> <item_name>External causes of morbidity (v00-y99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>3</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</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 external causes of morbidity (v0-y9) including assault (x92-y08) and assault by blunt object (y00) or assault by crashing of motor vehicle (y03).
```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>External causes@13:41: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>1</hlevel> <item_name>External causes of morbidity (v00-y99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of external causes of morbidity (v0-y9) in the ICD10 and ICD9 diagnosis codes, using any timing and with a specificity scale of 0, accuracy scale of 100, and a single item occurrence in the query panel.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Exter-Assau-Assau@13:49: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>1</hlevel> <item_name>External causes of morbidity (v00-y99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99)</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>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>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>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a diagnosis of external causes of morbidity (v0-y9), specifically those related to assault (x92-y08), with a focus on assault by crashing of a motor vehicle (Y03).
```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>Operati-Other o@11:41: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>3</hlevel> <item_name>Operations on cardiovascular system</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(35-39) Operations on cardiovascular system\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Operations on cardiovascular system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <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 operations on heart and pericardium</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(35-39) Operations on cardiovascular system\(p37) Other operations on heart a~\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Operations on cardiovascular system \ Other operations on heart and pericardium</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have had any operation on the cardiovascular system, specifically other operations on the heart and pericardium, with no specific timing requirement and 1000% accuracy.