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>High income@12:37:44</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>
</ns4:query_definition>
``` |
I want to find patients who have a high income during the same visit within the Demographics panel in the i2b2 system. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Religion@12:41: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>Religion</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Religion\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographic \ Religion</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with any religious affiliation recorded in their demographic information. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Exter-Assau-Assau@13:51:45</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>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 diagnoses related to external causes of morbidity (v0-y9), specifically focusing on assault (x92-y08), including cases of 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>Psychotherapeut@12:08:36</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>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 any patient who has ever taken Psychotherapeutic agents as medication at any point in time 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>Assault by blun@12:39: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>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 patients with a diagnosis of assault by blunt object (ICD10/ICD9 code) in the database, with any timing, and a specificity scale of 0, accuracy scale of 100, and a panel number of 1. The query should be precise and not inverted, and should include only one item, which is the diagnosis of assault by blunt object (X92-Y08, Y00). This query will retrieve all records that match this specific 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>Coronavirus as @12:45: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>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 all cases where Coronavirus is the cause of diseases classified elsewhere, according to the ICD-10-ICD-9 coding system, specifically under the category of Bacterial and Viral infectious agents (B95-B97) and Viral agents as the cause of diseases classified elsewhere (B97.2). The query should have a specificity scale of 0, and the panel timing should be set to ANY, meaning it should include all time periods. The accuracy scale should be set to 100, indicating a high level of confidence in the results. The panel number is 1, and the total number of items in the query is 1. This query will return diagnoses from the category of Certain infectious and parasitic diseases (A0-B99). |
```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:34:22</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>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 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 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) with a specificity scale of 0 and accuracy scale of 100, regardless of the timing. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault by cras@12:39:51</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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 assault resulting from 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>Disease-Appendi@20:11:44</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Disease of capillaries</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\(448) Disease of capillaries\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Disease of capillaries</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>Appendicitis</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Digestive system (520-579)\Appendicitis (540-543)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Digestive system \ Appendicitis</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of disease of capillaries and appendicitis 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>Exter-Assau-Assau@13:49: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>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>
<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 external causes of morbidity (v0-y9) that include assault (x92-y08) and specifically, assault by crashing of motor vehicle (Y03) and assault by blunt object (Y00) within the given time frame (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>Psychotherapeut@13:04: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>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 have taken psychotherapeutic agents, including any medications used for the treatment of mental health disorders or psychological conditions, at any point in their medical history. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Disease of capi@20: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>3</hlevel>
<item_name>Disease of capillaries</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\(448) Disease of capillaries\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Disease of capillaries</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 diseases of the capillaries in the circulatory system, within any time frame, with a specificity scale of 0 and an accuracy scale of 100, using the panel number 1 and focusing on the third hierarchical level of the ICD-10 coding system, specifically the category 48 for diseases of capillaries. |
```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@12:47:11</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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 diagnoses related to external causes of morbidity, specifically assault cases resulting from a crashing of a motor vehicle, with a high level of specificity and any timing. The query should be accurate with a 1000% scale and should not be inverted. This query is part of panel 1 and the total number of items in this panel is 1. The icon used for this query is FA, 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>Psychot-White@15:09: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>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>
<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>White</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\White\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ White</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Aleutian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Aleutian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Aleutian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>American Indian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\American Indian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ American Indian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Asian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Asian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Asian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been prescribed psychotherapeutic agents and are of the White, Aleutian, or Asian race. |
```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>Externa-Assault@13:44: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>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>
</ns4:query_definition>
``` |
I want to find diagnoses related to external causes of morbidity (v0-y9) and assault (x92-y08) with a specificity scale of 0 and any timing, including both ICD10 and ICD9 codes. |
```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:48:33</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>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 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 external causes of morbidity (v0-y9) and assault (x92-y08) with specific focus on assault by blunt object (Y0) in the ICD10_ICD9 Diagnoses category, with a high level of specificity and accuracy, covering 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>Externa-Assault@13:50: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>
<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>
</ns4:query_definition>
``` |
I want to find diagnoses related to external causes of morbidity (v0-y9) and assault (x92-y08) with a specificity scale of 0 and any timing, with the first panel having a total item occurrence of 1 and the second panel also having a total item occurrence of 1, and both panels having an accuracy scale of 100. The query name is "Externa-Assault@13:50:07" and the panel numbers are 1 and 2, respectively. The query is not inverted and the class is ENC. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Exter-Assau-Assau@13:54: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>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 all patients with diagnoses related to external causes of morbidity (v0-y9) and specifically those who have experienced assault (x92-y08) and more specifically, assault by crashing of a motor vehicle (y03) within the given time frame (ANY). This query will retrieve all patients with these diagnoses and their corresponding details from 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>Exter-Assau-Assau@13:54: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>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 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 with a diagnosis of assault (x92-y08) as an external cause of morbidity (v0-y9) in the ICD10_ICD9 dataset, specifically those who experienced assault by a blunt object (Y00). |
```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@14: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>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 as asymptomatic individuals, in order to detect and treat any positive cases as early as possible. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Coronavirus as @08:56:44</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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 a diagnosis of diseases caused by Coronavirus, specifically those classified under ICD10 codes B95-B97 and B97.2 (Viral agents as the cause of diseases classified elsewhere), using the query builder in i2b2. |
```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>Pneum-Disea-Influ@12:01: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>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>2</hlevel>
<item_name>Diseases of the respiratory system (j00-j99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99)</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>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 patients with a diagnosis of pneumonia due to SARS-associated coronavirus (J12.81) within the broader category of diseases of the respiratory system (J00-J9) and influenza and pneumonia (J09-J18). |
```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@14:23: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>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 patients who have been diagnosed with coronavirus infection, unspecified, at any time, with a high level of specificity and accuracy, within the certain infectious and parasitic diseases category, and other viral diseases, using the ICD10_ICD9 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@10:39: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>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Circulatory system (390-459)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find any diagnoses related to the circulatory system (ICD-9 codes 390-459) with a high level of specificity (1000%) and no synonyms, constrained by the "Admit Diagnosis" modifier, with a timing of "ANY" for the query named "Circulatory system@10:39:43" 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>Circulatory system@10:41: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>1</hlevel>
<item_name>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Circulatory system (390-459)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all diagnoses related to the circulatory system (ICD codes 390-459) in the i2b2 database, with any specificity scale, and at any time period, where the diagnoses are from the Admit Diagnosis category, and the panel has a total of 1 item with a high level of hierarchy (hlevel 1), and the accuracy scale is set to 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>Circulatory system-Cardiac dysrhythmias@10:41: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>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Circulatory system (390-459)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>1</hlevel>
<item_name>Other forms of heart disease</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Other forms of heart disease (420-429)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Other forms of heart disease</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Circulatory system (390-459)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<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>Cardiac dysrhythmias</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Other forms of heart disease (420-429)\(427) Cardiac dysrhythmias\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system \ Other forms of heart disease \ Cardiac dysrhythmias</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Circulatory system (390-459)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of cardiac dysrhythmias, specifically within the category of other forms of heart disease in the circulatory system, with no specific timing constraints and high accuracy, and the query should include both the primary and secondary 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>Circulatory system@10:41: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>1</hlevel>
<item_name>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Circulatory system (390-459)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with diagnoses related to the circulatory system (ICD codes 390-459) as the admit diagnosis, with a specificity scale of 0, accuracy scale of 100, and any timing, in a single panel with a total of 1 item occurrence. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Circulatory system@10:41: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>1</hlevel>
<item_name>Circulatory system</item_name>
<item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Circulatory system</tooltip>
<class>ENC</class>
<constrain_by_modifier>
<modifier_name>Admit Diagnosis</modifier_name>
<modifier_key>\\i2b2_DIAG\Admit Diagnosis\</modifier_key>
<applied_path>\i2b2\Diagnoses\Circulatory system (390-459)\%</applied_path>
</constrain_by_modifier>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find any diagnoses related to the circulatory system (ICD codes 390-459) that were recorded as part of the patient's admission 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>Circulatory system@10:41:55@10:44: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>0</hlevel>
<item_name>(PrevQuery) Circulatory system@10:41:55</item_name>
<item_key>masterid:28201</item_key>
<tooltip>Circulatory system@10:41:55 [5-30-2023] [demo]</tooltip>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients with any diagnosis related to the circulatory system, regardless of specificity, within the specified time range of 10:41:55 to 10:44:17, with a high accuracy of 100% and only one occurrence of the item "Circulatory system" 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>Pneumonia due t@08:56:25</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>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 database, regardless of the timing of the diagnosis, with a specificity scale of 0, a total of 1 item occurrence, and an accuracy scale of 100. This query should be created using the ICD10_ICD9 Diagnoses (J00-J9) classification, specifically focusing on diseases of the respiratory system (J09-J18), viral pneumonia not elsewhere classified (J12.8), and other viral pneumonia (J12.81). The icon for this query is LA and the class is ENC. The query will be part of panel 1 and will not be inverted. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Psychotherapeut@08:42:57</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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 psychotherapeutic agents (medications used for psychological treatment) in their medical history, regardless of when the medication was prescribed. The specificity scale is set to 0, meaning the query is not specific to any particular time frame, and the accuracy scale is set to 100, indicating a high level of accuracy. This query is part of a panel with a panel number of 1, and the panel timing is also set to ANY. The invert option is set to 0, indicating that the query is not inverted, and there is only one item in this panel. The hierarchical level is set to 2, and the icon is set to FA. The class is set to ENC, 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>Psychotherapeut@08:44: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 patients who have been prescribed psychotherapeutic agents at any time, with a specificity scale of 0 and a panel accuracy scale of 100, and the query is named "Psychotherapeut@08:4:12". |
```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@08:45: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>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 received any psychotherapeutic agents, regardless of the specific timing, with a high level of accuracy, and excluding any synonyms or related terms. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Disea-Pneum-Medic@12:03:12</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Diseases of the respiratory system (j00-j99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>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>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with diagnoses related to diseases of the respiratory system (j0-j9) and specifically those with pneumonia due to SARS-associated coronavirus (j12.81) as well as their medications. |
```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-moderat@15:17: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>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>4</hlevel>
<item_name>moderate dementia</item_name>
<item_key>\\BIRN\BIRN\oasis\Clinical Measures\Clinical Dementia Rating (CDR)\moderate dementia\</item_key>
<item_icon>LA</item_icon>
<tooltip>oasis \ Clinical Measures \ Clinical Dementia Rating (CDR) \ moderate dementia</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of mild or moderate dementia, captured in the OASIS Clinical Measures Clinical Dementia Rating (CDR) field, with no specific timing or accuracy requirements, and no inversion of the search results. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Gender@17:52: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>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 any gender recorded in the i2b2 database using the Demographics panel and the Gender field, with a specificity scale of 0, accuracy scale of 100, and a single item occurrence, without inverting the results. The query will search for the Gender field with a hierarchy level of 2 and an icon of FA. The query has a timing of ANY and the panel timing is also 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>Gender@17:53: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>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 gender information recorded in the i2b2 Demographics module at any time, with a high accuracy scale of 100, and the panel is not inverted, with a single item on the panel, and the query is named "Gender@17:53:10". |
```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@18:51: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>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 gender information available in the i2b2 dataset, regardless of the specific time or accuracy level, and display the results in the first panel with a high level of hierarchy (hlevel=2), using the Demographics Gender field, with no synonyms, and displaying the tooltip "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@19:59:49</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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 gender information recorded in the i2b2 database, regardless of the timing of the data collection, with a specificity scale of 0 and a panel accuracy scale of 100, and the query is not inverted. The query is named "Gender@19:59:49" and the panel number is 1, with a total of 1 item occurrence. The item name is "Gender" and it is located at "\\i2b2_DEMO\i2b2\Demographics\Gender\". The class is ENC, and it is not a synonym. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Disea-Pneum-Medic@12:02: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>1</hlevel>
<item_name>Diseases of the respiratory system (j00-j99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>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>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find diagnoses of diseases of the respiratory system (j0-j9), specifically pneumonia due to SARS-associated coronavirus (j12.81) and medications prescribed for these conditions, 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>Assault (x92-y0@08:51: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>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 (x92-y08) in their medical records, using the ICD10 and ICD9 codes, with a specificity scale of 0 and an accuracy scale of 100, and the panel 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>Psychotherapeut@12:23: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 any instances of the use of psychotherapeutic agents in the patient's medical record, with a high level of specificity (1000% accuracy) and no inversion of the results, as part of a panel with a single item, named "Psychotherapeutic agents," and with the unique key of "\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) 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>Disea-Pneum-Medic@12:03: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>1</hlevel>
<item_name>Diseases of the respiratory system (j00-j99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99)</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>5</hlevel>
<item_name>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>
<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>
<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>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find diagnoses related to diseases of the respiratory system (j0-j9), specifically pneumonia due to SARS-associated coronavirus (j12.81), coronavirus infection unspecified (b34.2), and coronavirus as the cause of diseases classified elsewhere (b97.2), as well as any medications associated with these 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>Exter-Assau-Assau@12:46: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>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 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 diagnoses related to external causes of morbidity (v0-y9) and specifically focus on assault (x92-y08) cases, including those resulting from blunt objects. |
```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>PATIENTSETFINIS@13:02:13</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>0</hlevel>
<item_name>Patient Set for "2_exercise assault by blunt"Patient setFINISHED</item_name>
<item_key>patient_set_coll_id:61578</item_key>
<tooltip>Patient Set for "2_exercise assault by blunt"Patient setFINISHED</tooltip>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have finished the "2_exercise assault by blunt" patient set within any time frame, with a specificity scale of 0, accuracy scale of 100, and a single occurrence of the item 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>Assault by cras@14:28: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>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 cases where a patient has been diagnosed with assault resulting from a motor vehicle crash using ICD-10 and ICD-9 codes, with a specificity scale of 0 and accuracy scale of 100, and the query should include any timing, and the panel number is 1, with the item being displayed in the Encounter (ENC) class. |
```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>Delgado-Psychot@12:33:31</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>Delgado, Luisa, MD</item_name>
<item_key>\\i2b2_PROV\i2b2\Providers\Medicine\Primary Care\Delgado, Luisa, MD\</item_key>
<item_icon>LA</item_icon>
<tooltip>i2b2 \ Providers \ Medicine \ Primary Care \ Delgado, Luisa, MD</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>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 Dr. Luisa Delgado, a primary care physician, has prescribed psychotherapeutic agents for her patients. |
```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-Accid-Assau@12:48:25</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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>Accidents (v00-x58)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(V00-X58) Acci~0025\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Accidents (v00-x58)</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 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 diagnoses related to external causes of morbidity (v0-y9), specifically focusing on accidents (v0-x58) and further narrowing down to cases of assault by blunt object (y00) and 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>Coronavirus as @12:59: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 all instances of Coronavirus as the cause of diseases classified elsewhere in the ICD10 and ICD9 diagnosis codes, specifically within the range of B95-B97 and B97.2, with a total item occurrence of 1 and 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>Psychot-White@15:10: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>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>
<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>White</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\White\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ White</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Aleutian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Aleutian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Aleutian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>American Indian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\American Indian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ American Indian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Asian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Asian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Asian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Asian Pacific Islander</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Asian Pacific Islander\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Asian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Black</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Black\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Black</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Hispanic</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Hispanic\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Hispanic</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Indian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Indian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Indian</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 prescribed psychotherapeutic agents and are of the White race, Aleutian race, American Indian race, Asian race, Asian Pacific Islander race, Black race, or Hispanic race. |
```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>Delgado-Psychot@12:37: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>Delgado, Luisa, MD</item_name>
<item_key>\\i2b2_PROV\i2b2\Providers\Medicine\Primary Care\Delgado, Luisa, MD\</item_key>
<item_icon>LA</item_icon>
<tooltip>i2b2 \ Providers \ Medicine \ Primary Care \ Delgado, Luisa, MD</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>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 encounters where provider Luisa Delgado, MD, is involved and where psychotherapeutic agents are mentioned or prescribed, with no specific time constraint, and with a high level of accuracy. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Externa-Assault@12:45:53</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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>
</ns4:query_definition>
``` |
I want to find diagnoses related to external causes of morbidity (v0-y9) and specifically, cases of assault (x92-y08) in the patient population. |
```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@12:51: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>
<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 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 diagnoses related to external causes of morbidity (v0-y9) and specifically focus on cases of assault (x92-y08) in the ICD10_ICD9 database, with an emphasis on cases involving assault by blunt object (Y00). The query should have a specificity scale of 0, and the timing should be set to ANY, meaning that it includes any time period. The accuracy scale for each panel should be set to 100, indicating high confidence in the results. The panels should not be inverted, and each panel should have only one occurrence of the specified items. The tooltip for the first panel should indicate that it is looking for external causes of morbidity (v0-y9), the second panel should specify that it is focusing on assault (x92-y08), and the third panel should specify that it is looking for assault by blunt object (Y0). The class of the items should be set to ENC, and they should not be treated as 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>External causes@12:49: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>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 diagnoses related to external causes of morbidity (v0-y9) with a specificity scale of 0 and a panel accuracy scale of 100, for any timing, and display it on panel 1 with the icon FA and class ENC, where 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>Coronavirus inf@13:17:18</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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" in the ICD-10 and ICD-9 diagnosis codes within the "Certain infectious and parasitic diseases" category, specifically within the "Other viral diseases" subcategory, and within the "Viral infection of unspecified site" group, with a high level of specificity (4) and a total of 1 occurrence for this item in the panel. The query will include any time frame (ANY) and have a panel accuracy scale of 100, without inverting the results. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Coronav-Persons@13:23: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>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>
<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>Persons with potential health hazards related to communicable diseases (z20-z28)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z20-Z28) Pers~wpfm\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons with potential health hazards related to communicable diseases (z20-z28)</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 Coronavirus infection, unspecified (ICD10 code B34.2) and those with potential health hazards related to communicable diseases (ICD10 code Z20-Z28) within the specified time frame (ANY). The query has a specificity scale of 0 and an accuracy scale of 100 for both panels, and it does not invert the results. The panels are combined using the AND operator. |
```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>PATIENTSETFINIS@12:59:48</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>0</hlevel>
<item_name>Patient Set for "1_exercise"Patient setFINISHED</item_name>
<item_key>patient_set_coll_id:61561</item_key>
<tooltip>Patient Set for "1_exercise"Patient setFINISHED</tooltip>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have finished the "1_exercise" patient set, with a specificity scale of 0, any timing, and a panel accuracy scale of 100. This query will return a patient set with the name "PATIENTSETFINIS@12:59:48" and has a panel number of 1, where the patient set is not inverted and has a total of 1 item occurrence. The item is named "Patient Set for "1_exercise"Patient setFINISHED" with a key of "patient_set_coll_id:61561" and 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@13:16: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>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 within the ICD10_ICD9 (J00-J9) Diseases of the respiratory system (J09-J18) Influenza and pneumonia (J12) Viral pneumonia, not elsewhere classified (J12.8) in the i2b2 database, with a specificity scale of 0, a panel timing of ANY, and a panel accuracy scale of 100. This query will search for the term "Other viral pneumonia" in the ENC (Encounter) class of the database and will not be inverted. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault by cras@14:28:37</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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 assault by crashing of a motor vehicle (ICD-9 code Y03.03) within any time frame, with a specificity scale of 0, panel accuracy scale of 100, and a total of 1 item occurrence. This query is focused on external causes of morbidity and includes synonyms for diagnoses related to assault. |
```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>Psychot-White@15:08:53</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>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>
<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>White</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\White\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ White</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Aleutian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Aleutian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Aleutian</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 prescribed psychotherapeutic agents and are of White or Aleutian race. |
```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>Psychot-White@15:09:00</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>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>
<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>White</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\White\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ White</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Aleutian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Aleutian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Aleutian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>American Indian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\American Indian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ American Indian</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 prescribed Psychotherapeutic agents and are of the White race or Aleutian race or American Indian race. |
```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>Coron-Pulmo-Disea@13:51:57</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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>
<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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>Pulmonary Function Reports</item_name>
<item_key>\\i2b2_LABS\i2b2\Labtests\LAB\Pulmonary Function Reports\</item_key>
<item_icon>FA</item_icon>
<tooltip>Labtests \ Pulmonary Function Reports</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Diseases of the respiratory system (j00-j99)</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99)</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 coronavirus infection, unspecified or have coronavirus as the cause of diseases classified elsewhere, and have had pulmonary function reports within any time frame, as well as those with diseases of the respiratory system. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Psychotherapeut@15:02: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>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 any instances of psychotherapeutic agents being used as medications within the i2b2 database, with a specificity scale of 0 and a panel accuracy scale of 100, and the query should be named "Psychotherapeut@15:02:52". The query timing and panel timing should be set to "ANY", meaning it will search for records regardless of when the data was collected or entered. The panel should have only one item, and the item should not be a synonym. The hierarchy level should be set to 2, and the item key should be "\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) psychotherapeutic agents". The icon used for this item should be "FA", and the tooltip should display "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>Psychot-Visit a@15:04: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>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Visit at age >= 65 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Visit Details \ Age at visit \ >= 65 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 have been prescribed psychotherapeutic agents and had a visit when they were 65 years old or older. |
```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-Female@15:19:21</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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>
<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 female patients with a diagnosis of assault by blunt object or assault by crashing of a motor vehicle, regardless of the timing of the event. |
```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- 18-34@15:22:33</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>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>
<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> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients aged 18-34 years old who have been diagnosed with assault by blunt object or assault by crashing of motor vehicle 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>Psychot- Visit @15:06:05</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> Visit at ages 18-34 years old</item_name>
<item_key>\\i2b2_VISIT\i2b2\Visit Details\Age at visit\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Visit Details \ Age at visit \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients who have had a visit between the ages of 18 and 34 years old and were prescribed psychotherapeutic agents during their 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>Psychot-Race@15:07: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>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>
<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>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 who have been prescribed Psychotherapeutic agents and have a recorded race in their demographic information. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Psychot-Race@15:07: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>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>
<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>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 patients who have been prescribed psychotherapeutic agents and have a recorded race in their demographic information. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Psychot-White@15:09:48</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>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>
<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>White</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\White\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ White</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Aleutian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Aleutian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Aleutian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>American Indian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\American Indian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ American Indian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Asian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Asian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Asian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Asian Pacific Islander</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Asian Pacific Islander\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Asian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Black</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Black\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Black</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Hispanic</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Hispanic\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Hispanic</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been prescribed psychotherapeutic agents and are of White, Aleutian, American Indian, Asian, Asian Pacific Islander, or Black race. |
```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- 18-34@15:22: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>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients aged 18-34 or 35-44 years old who have been diagnosed with either assault by blunt object or assault by crashing of motor vehicle in the external causes of morbidity 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>Psychot-White@15:08:26</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>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>
<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>White</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\White\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ White</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been prescribed psychotherapeutic agents and have the race listed as White 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>Psychot-White@15:09: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>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>
<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>White</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\White\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ White</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Aleutian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Aleutian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Aleutian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>American Indian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\American Indian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ American Indian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Asian</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Asian\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Asian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Asian Pacific Islander</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Asian Pacific Islander\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Asian</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Black</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Race\Black\</item_key>
<item_icon>MA</item_icon>
<tooltip>Demographic \ Race \ Black</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been prescribed psychotherapeutic agents and are of White, Aleutian, American Indian, Asian, or Asian Pacific Islander race. The query will look for medication data in the "medications" category, specifically for psychotherapeutic agents, and demographic data in the "race" category, with a focus on the specified races. The accuracy scale is set to 100, meaning the results will be highly accurate, and the timing is set to "ANY", indicating that the query will search for any time period. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault- 18-34@15:22:53</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients between the ages of 18-34 and 35-54 who have been diagnosed with assault by blunt object or assault by crashing of a motor vehicle, with no specific timing or accuracy requirements, and with a high level of specificity. |
```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- 18-34@15:23: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>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients aged 18-34, 35-44, 45-54 who have been diagnosed with assault by blunt object or assault by crashing of motor vehicle 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>Psychot-Female@15:11: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>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>
<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 who have been prescribed psychotherapeutic agents at any point in time, with 1000% accuracy, and no specificity scale applied. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault- 18-34@15:23:40</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 65-74 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\65-74 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 65-74 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>>= 85 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 85 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 85 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<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 patients who were diagnosed with assault by blunt object or crashing of motor vehicle, aged between 0 and 9 years, 18 and 34 years, 35 and 44 years, 45 and 54 years, 55 and 64 years, and 65 years or older. |
```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>Psychot-Male@15:11:54</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>2</hlevel>
<item_name>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>Male</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Male\</item_key>
<item_icon>LA</item_icon>
<tooltip>Demographic \ Gender \ Male</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find male patients who have been prescribed psychotherapeutic agents at any point in time, 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>Assault by cras@15:25:49</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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 diagnoses related to external causes of morbidity, specifically those involving assault by crashing of motor vehicles in the ICD10_ICD9 coding system, 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>Coronav-Other s@16:17:00</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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>
<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>Other systemic involvement of connective tissue</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(M00-M99) Dise~6mvn\(M30-M36) Syst~csr9\(M35) Other sy~jg1l\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the musculoskeletal system and connective tissue (m00-m99) \ Systemic connective tissue disorders (m30-m36)
\ Other systemic involvement of connective tissue</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 Coronavirus infection, unspecified (ICD code B34.2) and other systemic involvement of connective tissue (ICD code M35.8) with any timing, having a specificity scale of 0 and an accuracy scale of 100. The query will include two panels, one for each diagnosis, and the results 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>Coronav-Viral p@16:18: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>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>
<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>Viral pneumonia, not elsewhere classified</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\</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</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients with a diagnosis of coronavirus infection, unspecified, and viral pneumonia, not elsewhere classified, at any time in their medical history. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault- 18-34@15:23:18</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<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>
</panel>
</ns4:query_definition>
``` |
I want to find patients aged 18-74 years old who have been diagnosed with assault by blunt object or assault by crashing of motor vehicle. |
```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- 18-34@15:23:28</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>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>
<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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 65-74 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\65-74 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 65-74 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who have been diagnosed with assault by blunt object or assault by crashing of motor vehicle, and are between the ages of 18-74 years old. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault- 18-34@15:23:34</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 55-64 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 55-64 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 65-74 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\65-74 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 65-74 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>>= 85 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 85 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 85 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients aged 18-34 years old who have been diagnosed with assault by blunt object or assault by crashing of a motor vehicle in any ICD-10 or ICD-9 diagnosis codes. Additionally, I want to include patients aged 35-4 years old, 5-64 years old, and 65-74 years old, as well as those who are 65 years old or older and 85 years old or older, within the same criteria. |
```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@15:25: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>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 patients who have been diagnosed with assault due to crashing of a motor vehicle, as classified in the ICD-10 or ICD-9 coding system under the category of external causes of morbidity (V0-Y9), specifically within the subcategory of assault (X92-Y08), using any time frame and with a high level of specificity (100). The query will be displayed on the first panel, and it will not be inverted. This query is a synonym-free search. |
```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- 45-54@15:24:05</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 45-54 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 45-54 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients aged 45-54 years old who have been diagnosed with assault by blunt object as an external cause of morbidity. |
```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@16:14:05</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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 diagnoses category of "Certain infectious and parasitic diseases" and "Other viral diseases" with a specificity scale of 0 and accuracy scale of 100, considering 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>Coronav-Encount@16:15:01</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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>
<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>Encounter for screening for infectious and parasitic diseases</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)
\ Encounter for screening for infectious and parasitic diseases</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all encounters where patients were screened for coronavirus infection, unspecified, using the ICD-10 and ICD-9 diagnosis codes, within a certain timeframe. The specificity scale is set to 0, meaning that all cases will be included, and the panel accuracy scale is set to 100, indicating high accuracy. The query will include two panels: the first panel will focus on diagnoses related to certain infectious and parasitic diseases, while the second panel will concentrate on encounters for screening for infectious and parasitic diseases. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Coronav-broncho@16:17:54</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>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>
<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>bronchopneumonia due to viruses other than influenza viruses</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ bronchopneumonia due to viruses other than influenza viruses</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find cases where a patient has been diagnosed with coronavirus infection, unspecified, and also has a diagnosis of bronchopneumonia due to viruses other than influenza viruses, with any timing specified and at 1000% accuracy. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>Assault- 0-9 y@15:24: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>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>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name> 0-9 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\0-9 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 0-9 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all patients aged 0-9 years old who have been diagnosed with assault by crashing of a motor vehicle. |
```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>Coronav-Contact@16:13:35</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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>
<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>Contact with and (suspected) exposure to communicable diseases</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z20-Z28) Pers~wpfm\(Z20) Contact~kn4u\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons with potential health hazards related to communicable diseases (z20-z28)
\ Contact with and (suspected) exposure to communicable diseases</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 coronavirus infection, unspecified, as well as those who have had contact with or suspected exposure to communicable diseases, with a specificity scale of 0 and a high level of accuracy. The query will include two panels, one for each condition, and the timing will be set to "ANY" for both. The first panel will focus on diagnoses of certain infectious and parasitic diseases, other viral diseases, and viral infections of unspecified sites, while the second panel will focus on factors influencing health status and contact with health services, specifically related to communicable diseases. The query will not include synonyms and will have a total item occurrence of 1 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>Coronav-Persona@16:36: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>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>
<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>Personal history of certain other diseases</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z77-Z99) Pers~uv8p\(Z86) Personal~mtao\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons with potential health hazards related to family and personal history and certain conditions influencing health status (z77-z99)
\ Personal history of certain other diseases</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 Coronavirus as the cause of diseases classified elsewhere (ICD-10 code B97.2) and a personal history of certain other diseases (ICD-9 code Z86). |
```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@15:30:31</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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 cases of Coronavirus infection, unspecified, at any time, with a specificity scale of 0, and a total of 1 item occurrence, within the panel, with an accuracy scale of 100, using the ICD10_ICD9 coding system for Diagnoses, Other viral diseases, and Viral infection of unspecified site, with the item key (B34.2) Coronavirus infection, unspecified. |
```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>Coronav-Persona@16:16: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>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>
<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>Personal history of certain other diseases</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z77-Z99) Pers~uv8p\(Z86) Personal~mtao\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons with potential health hazards related to family and personal history and certain conditions influencing health status (z77-z99)
\ Personal history of certain other diseases</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 Coronavirus infection, unspecified (ICD10_ICD9 code B34.2) and have a personal history of certain other diseases (ICD10_ICD9 code Z86). |
```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>>= 65-Coron-Medic@16:27: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>3</hlevel>
<item_name>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>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>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who are 65 years old or older, have a diagnosis of coronavirus infection, and have medication information recorded 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>>= 65-Coron-Medic@16:27:53</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>3</hlevel>
<item_name>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 18-34 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 18-34 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name> 35-44 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ 35-44 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
<panel>
<panel_number>2</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who are 65 years or older and have a diagnosis of coronavirus infection, unspecified, and have taken any medications. |
```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>Coronav-broncho@16:18:02</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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>
<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>bronchopneumonia due to viruses other than influenza viruses</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ bronchopneumonia due to viruses other than influenza viruses</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
<item>
<hlevel>3</hlevel>
<item_name>Viral pneumonia, not elsewhere classified</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\</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</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find diagnoses related to Coronavirus infection, unspecified, and bronchopneumonia or viral pneumonia due to viruses other than influenza viruses, with a high level of specificity and accuracy, including items such as "Coronavirus infection, unspecified" and "bronchopneumonia due to viruses other than influenza viruses" or "Viral pneumonia, not elsewhere classified" from the ICD10_ICD9 classification system, covering any time period. |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/">
<query_name>>= 65-Coron-Medic@16:28: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>>= 65 years old</item_name>
<item_key>\\i2b2_DEMO\i2b2\Demographics\Age\>= 65 years old\</item_key>
<item_icon>FA</item_icon>
<tooltip>Demographics \ Age \ >= 65 years old</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
<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>
</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>
<panel>
<panel_number>3</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>1</hlevel>
<item_name>Medications</item_name>
<item_key>\\i2b2_MEDS\i2b2\Medications\</item_key>
<item_icon>FA</item_icon>
<tooltip>Medications</tooltip>
<class>ENC</class>
<item_is_synonym>false</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find patients who are 65 years old or older, with a diagnosis of coronavirus infection, and have medication information 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>Coronav-Contact@16:36:11</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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>
<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>Contact with and (suspected) exposure to communicable diseases</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(Z00-Z99) Fact~rmj9\(Z20-Z28) Pers~wpfm\(Z20) Contact~kn4u\</item_key>
<item_icon>FA</item_icon>
<tooltip>Diagnoses \ Factors influencing health status and contact with health services (z00-z99) \ Persons with potential health hazards related to communicable diseases (z20-z28)
\ Contact with and (suspected) exposure to communicable diseases</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 coronavirus as the cause of diseases classified elsewhere (ICD10_ICD9 code: B97.2) who have also had contact with and suspected exposure to communicable diseases (ICD10_ICD9 code: Z20). This query includes patients with any timing for both diagnoses and contact/exposure, and has a specificity scale of 0 and an accuracy scale of 100 for each panel. The query is not inverted and has a total of 1 occurrence for each item in the panel. The hlevel for the first item is 4 and the hlevel for the second item is 3. |
```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>Coronav-Viral p@16:37:52</query_name>
<query_timing>ANY</query_timing>
<specificity_scale>0</specificity_scale>
<panel>
<panel_number>1</panel_number>
<panel_timing>ANY</panel_timing>
<panel_accuracy_scale>100</panel_accuracy_scale>
<invert>0</invert>
<total_item_occurrences>1</total_item_occurrences>
<item>
<hlevel>4</hlevel>
<item_name>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>
<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>Viral pneumonia, not elsewhere classified</item_name>
<item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\</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</tooltip>
<class>ENC</class>
<item_is_synonym>true</item_is_synonym>
</item>
</panel>
</ns4:query_definition>
``` |
I want to find all cases where Coronavirus is listed as the cause of diseases classified elsewhere and Viral pneumonia, not elsewhere classified, with no specific time frame, and both conditions have high accuracy and importance. |