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> 10-17-Coronav@16:40: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>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name> 10-17 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\10-17 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 10-17 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <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> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Coronavirus infection, unspecified</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B25-B34) Othe~mcam\(B34) Viral in~t8uh\(B34.2) Corona~3546\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Other viral diseases (b25-b34) \ Viral infection of unspecified site \ Coronavirus infection, unspecified</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients aged 10-17 years old with a diagnosis of coronavirus infection, unspecified, who have had any encounter during the specified time period.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assault by blun@17:33: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>4</hlevel> <item_name>Assault by blunt object, sequela</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\(Y00.XXXS) Ass~m1eo\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object \ Assault by blunt object, sequela</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have a diagnosis of sequelae resulting from assault by a blunt object, according to ICD-10 or ICD-9 codes in the range of V0-Y9 for external causes of morbidity and X92-Y08 for assault, specifically under the subcategory of Y00.XXXS for assault by blunt object. The specificity scale is set to 0, meaning the search will include all possible codes within this category, and the accuracy scale is set to 100, indicating a high level of confidence in the results. This query is intended for use in a single panel with no inversion applied, and the total number of items in the panel is one.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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- 45--Antia@17:49: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>5</hlevel> <item_name>Other coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\(B97.29) Other~8jbp\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere \ Other coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <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> <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>Antiasthmatic combinations</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\(LME220) antiasthmatic combinations\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ respiratory agents \ antiasthmatic combinations</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 Other coronavirus as the cause of diseases classified elsewhere and have been prescribed Antiasthmatic combinations.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Encounter for s@18:45:41</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>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 a patient has been screened for infectious and parasitic diseases, regardless of the specific time or date of the encounter, with a high level of accuracy, and this information should be displayed on the first panel of the query, with no inversion of the search results, and only one item is required to meet the 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> 10--Coron-Respi@16:42: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>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name> 10-17 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\10-17 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 10-17 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <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> <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>2</hlevel> <item_name>Respiratory agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ respiratory agents</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 10-17 and 0-9 years old who have been diagnosed with Coronavirus infection, unspecified, and have been prescribed medications for respiratory 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>Assault by cras@17:31:48</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>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 using the ICD-10-CM code Y03.03, which falls under the category of external causes of morbidity (V0-Y9) and assault (X92-Y08). The query has a specificity scale of 0, indicating that it is not particularly specific, and a panel accuracy scale of 100, suggesting high confidence in the results. This query will search for any occurrence of this diagnosis, regardless of when it was recorded.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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-Delgado@17:38: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>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> </ns4:query_definition> ```
I want to find all patients who have been prescribed psychotherapeutic agents by Dr. Luisa Delgado, a primary care provider, at any point in time with 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>Admit Diagnosis@18:43: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>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> <constrain_by_modifier> <modifier_name>Admit Diagnosis</modifier_name> <modifier_key>\\ICD10_ICD9\Admit Diagnosis\</modifier_key> <applied_path>\Diagnoses\(Z00-Z99) Fact~rmj9\%</applied_path> </constrain_by_modifier> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been admitted to the hospital with a primary diagnosis of "Encounter for screening for infectious and parasitic diseases" (ICD-10 code Z13) at any time, with a specificity scale of 0, accuracy scale of 100, and a single item occurrence. This query is constrained by the "Admit Diagnosis" modifier, which means that only the primary diagnosis at admission will be considered for this query.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coron- 45--Respi@18:04: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 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> 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>3</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Respiratory agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ respiratory agents</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 Coronavirus as the cause of diseases classified elsewhere and have been prescribed respiratory agents as medication between 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>Assault by blun@18:22: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>4</hlevel> <item_name>Assault by blunt object, initial encounter</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\(Y00.XXXA) Ass~0kgy\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object \ Assault by blunt object, initial encounter</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>4</hlevel> <item_name>Assault by blunt object, sequela</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\(Y00.XXXS) Ass~m1eo\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object \ Assault by blunt object, sequela</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>4</hlevel> <item_name>Assault by blunt object, subsequent encounter</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\(Y00.XXXD) Ass~rezq\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object \ Assault by blunt object, subsequent encounter</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 by blunt object, including the initial encounter, sequela, and subsequent encounter, using ICD10_ICD9 codes from the Diagnoses category of External causes of morbidity (v0-y9) and Assault (x92-y08) categories.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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 @18:40:47</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses related to Coronavirus as the cause of diseases classified elsewhere, specifically within the Bacterial and Viral Infectious Agents category in the Certain Infectious and Parasitic Diseases section of the ICD10_ICD9 coding system, with a total of one item occurrence, and a specificity scale of 0, accuracy scale of 100, and 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> 45--Coron-Respi@18:04: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> 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 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>2</hlevel> <item_name>Respiratory agents</item_name> <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME219) respiratory agents\</item_key> <item_icon>FA</item_icon> <tooltip>medications \ respiratory agents</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 45-54 years old who have been diagnosed with coronavirus as the cause of diseases classified elsewhere and have been prescribed respiratory agents as medication.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@18:34:47</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 cases where the diagnosis code (ICD10 or ICD9) falls under the category of external causes of morbidity, specifically assault (codes X92-Y08) with any timing and 100% accuracy scale.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Encounter for s@18:45:16</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 encounters where a patient has visited a healthcare facility for screening of infectious and parasitic diseases at any time during their medical history, with a high level of specificity (1000%) and no synonyms included. The query will search for diagnoses related to factors influencing health status and contact with health services (ICD-10 codes Z0-Z9) and persons encountering health services for examinations (ICD-10 codes Z0-Z13), specifically targeting encounters for screening for infectious and parasitic diseases (ICD-10 code Z11).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@18:54: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>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 patients with a diagnosis of Pneumonia due to SARS-associated coronavirus (J12.81) at any time during their medical history, with a specificity scale of 0, a panel number of 1, and a total item occurrence of 1. The accuracy scale is set to 100, and the query has an invert value of 0. This query is intended to be a part of a larger panel and has a class of ENC (Encounter).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>External causes@23:43:32</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find a query that identifies patients who have been diagnosed with external causes (such as accidents, poisoning, or other events) within a specific time frame (23:43:32), and also includes patients from a previously defined patient set called "External causes@23:38:14" and "Patient Set for External causes@23:38:14", as well as encounters from the "Encounter Set for External causes@23:37:39" and patients diagnosed with assault (x92-y0@2:40:45). The query will be run with a specificity scale of 0 and an accuracy scale of 100, and the results will include patients with 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>Assault (x92-y0@18:35:14</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of Assault (x92-y08) diagnoses in the ICD10_ICD9 database, with any timing and 100% accuracy, within a specificity scale of 0 and with a panel number of 1, using the i2b2 query builder.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assault by cras@18:37:29</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with an assault injury resulting from a crashing of a motor vehicle, using the ICD-10 or ICD-9 coding system, within any time frame, with a specificity scale of 0, and a total of 1 item occurrence, and the query is named "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>Encounter for s@18: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>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 a patient has been screened for infectious and parasitic diseases, regardless of the timing or specificity, with a high level of detail (hlevel 3) and a total of one occurrence. The query will include diagnoses related to factors influencing health status and contact with health services (Z0-Z9) and persons encountering health services for examinations (Z0-Z13). This query is not a synonym for any other items and has a panel accuracy scale of 100.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Encount-Screeni@18:49: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>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> <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>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 encounters for screening for infectious and parasitic diseases, with a specificity scale of 0 and any timing, in the first panel. In the second panel, I want to find screening for disease or disease precursors in asymptomatic individuals for early detection and treatment, with a specificity 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>Encount-Screeni@18:49:50</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>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> <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>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 related to screening for infectious and parasitic diseases, where the patient has been tested for these diseases in an asymptomatic state, in order to provide early detection and treatment for those who test positive. The query should search for diagnoses, factors influencing health status, and contact with health services, 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>Pneumonia due t@19:03:42</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>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 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> <item> <hlevel>4</hlevel> <item_name>Coronavirus infection, unspecified</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B25-B34) Othe~mcam\(B34) Viral in~t8uh\(B34.2) Corona~3546\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Other viral diseases (b25-b34) \ Viral infection of unspecified site \ Coronavirus infection, unspecified</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with pneumonia due to SARS-associated coronavirus, as well as those with coronavirus infections classified elsewhere or unspecified, within the specified timeframe (ANY). The query will be highly accurate (1000%) and will include specific codes from the ICD10_ICD9 Diagnoses category related to viral pneumonia, coronavirus infections, and other viral 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>Psychot-Delgado@19:22: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>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>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> </ns4:query_definition> ```
I want to find all instances where a patient has been prescribed Psychotherapeutic agents by Dr. Luisa Delgado, a primary care provider, at any time in their medical history, 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 (x92-y0@19:42: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>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of diagnoses related to external causes of morbidity, specifically assault cases coded under ICD-10-CM codes X92-Y08 in the ICD10_ICD9 (Diagnoses) table.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coronavirus as @20:23: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> </ns4:query_definition> ```
I want to find cases where coronavirus is listed as the cause of diseases classified elsewhere, such as in the ICD-10 and ICD-9 codes for bacterial and viral infectious agents, specifically under the code B97.2 for viral agents causing diseases in other categories.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Pneumon-&gt;= 85 y@19:04:39</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 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> <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>&gt;= 85 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\&gt;= 85 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ &gt;= 85 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 75-84 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\75-84 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 75-84 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>&gt;= 65 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\&gt;= 65 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ &gt;= 65 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 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> 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 who have been diagnosed with Pneumonia due to SARS-associated coronavirus, Coronavirus as the cause of diseases classified elsewhere, or Coronavirus infection, unspecified, and are 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>Coronav- 0-9 y@19:14:24</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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> <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>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name> 0-9 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\0-9 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 0-9 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 10-17 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\10-17 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 10-17 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <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 with a diagnosis of Coronavirus as the cause of diseases classified elsewhere or Coronavirus infection, unspecified, aged 0-9, 10-17, 18-34, or 35-44 years old.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Contact with an@20:44: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>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 had contact with and/or suspected exposure to communicable diseases, with any level of specificity and time frame considered, and with a high accuracy scale of 100, focusing on the diagnosis codes within the ICD-10 and ICD-9 classification systems.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthm-Coron-Pneum@21:11: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>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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>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 patients with a diagnosis of asthma, unspecified, who also have a diagnosis of coronavirus as the cause of diseases classified elsewhere, and pneumonia due to SARS-associated coronavirus, with all diagnoses occurring 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>&gt;= 85 y-Coronav@19:13:47</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>&gt;= 85 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\&gt;= 85 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ &gt;= 85 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 75-84 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\75-84 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 75-84 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name>&gt;= 65 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\&gt;= 65 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ &gt;= 65 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 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> 55-64 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 55-64 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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> <item> <hlevel>4</hlevel> <item_name>Coronavirus infection, unspecified</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B25-B34) Othe~mcam\(B34) Viral in~t8uh\(B34.2) Corona~3546\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Other viral diseases (b25-b34) \ Viral infection of unspecified site \ Coronavirus infection, unspecified</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who are 65 years old or older with a diagnosis of coronavirus infection, unspecified or coronavirus as the cause of diseases classified elsewhere, within any time frame.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coronav- 0-9 y@19: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 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> <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>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>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name> 0-9 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\0-9 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 0-9 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 10-17 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\10-17 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 10-17 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 18-34 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 18-34 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>3</hlevel> <item_name> 35-44 years old</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Age \ 35-44 years old</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with Coronavirus as the cause of diseases classified elsewhere or Coronavirus infection, unspecified, and are aged between 0-9, 10-17, 18-34, or 35-4 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 by cras@19:55: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>3</hlevel> <item_name>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with an assault resulting from a crashing of a motor vehicle, using the ICD-10-CM code Y03, within any timeframe, with a specificity scale of 0 and an accuracy scale of 100, and with the item being included in the query.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthm-Coron-Diagn@21:14:11</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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>3</hlevel> <item_name>Diagnostic and nonsurgical procedures</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(87-99) Diagnostic and nonsurgical procedures\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Diagnostic and nonsurgical procedures</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>4</hlevel> <item_name>Physical therapy, respiratory therapy, rehabilitation, and related procedures</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(87-99) Diagnostic and nonsurgical procedures\(p93) Physical therapy, respirato~\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Diagnostic and nonsurgical procedures \ Physical therapy, respiratory therapy, rehabilitation, and related procedures</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a diagnosis of asthma, unspecified, who have also been diagnosed with a coronavirus infection, and have undergone diagnostic and nonsurgical procedures, specifically respiratory therapy or rehabilitation procedures.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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-Delgado@19:24:22</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>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>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> </ns4:query_definition> ```
I want to find all patients who have been prescribed psychotherapeutic agents and have been treated by Dr. Luisa Delgado in the primary care department at any time.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assau-Assau-Assau@19:42: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>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>3</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by crashing of motor vehicle</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y03) Assault~rwkc\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by crashing of motor vehicle</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a diagnosis of assault, specifically those who have experienced assault by a blunt object or 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>Assault by blun@19:56:20</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 cases of assault by blunt object within the ICD10 and ICD9 diagnosis codes (V0-Y9 and X92-Y08) in the i2b2 database, with a specificity scale of 0 and a panel accuracy scale of 100, considering any time period, and with no inversion applied.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthma,-Coronavirus@21:11: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>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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 asthma and a diagnosis of coronavirus as the cause of diseases classified elsewhere, with any timing, and a specificity scale of 0, where the accuracy scale for each panel is 1000%, and the hierarchy level for asthma is 5 and for coronavirus is 4.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthma,-Coronav@21:15:30</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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 Asthma, unspecified (ICD code 493.9) and a diagnosis of Coronavirus as the cause of diseases classified elsewhere (ICD code B97.2) at any time during their medical history, with a specificity scale of 0 and accuracy scale of 100, and the results will include both synonymous and non-synonymous 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>Asthma,-Coronav@21:16:35</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Coronavirus infection, unspecified</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B25-B34) Othe~mcam\(B34) Viral in~t8uh\(B34.2) Corona~3546\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Other viral diseases (b25-b34) \ Viral infection of unspecified site \ Coronavirus infection, unspecified</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with diagnoses of both "Asthma, unspecified" and "Coronavirus infection, unspecified" with any timing and a high level of specificity (1000%).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthma,-Coronav@21:12:38</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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 unspecified asthma and those with a diagnosis of coronavirus as the cause of diseases classified elsewhere, within any time frame, with a high level of specificity and accuracy.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthm-Coron-Diagn@21:13:42</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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>3</hlevel> <item_name>Diagnostic and nonsurgical procedures</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(87-99) Diagnostic and nonsurgical procedures\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Diagnostic and nonsurgical procedures</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with Asthma, unspecified, have had an encounter with Coronavirus as the cause of diseases classified elsewhere, and have undergone Diagnostic and nonsurgical procedures.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthm-Coron-Physi@21:14: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>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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>4</hlevel> <item_name>Physical therapy, respiratory therapy, rehabilitation, and related procedures</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(87-99) Diagnostic and nonsurgical procedures\(p93) Physical therapy, respirato~\</item_key> <item_icon>FA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Diagnostic and nonsurgical procedures \ Physical therapy, respiratory therapy, rehabilitation, and related procedures</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 unspecified asthma, have a diagnosis of coronavirus as the cause of diseases classified elsewhere, and have undergone physical therapy, respiratory therapy, rehabilitation, or related procedures.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@22:22: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>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 provider "Delgado, Luisa, MD" prescribed "Psychotherapeutic agents" medications at any time.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthma,-Coronavirus causing diseases@21:15: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>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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 asthma (unspecified) and those who have been diagnosed with a disease caused by the coronavirus, with the specified timing being any time and a high level of specificity (1000%).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Asthma,-Coronavirus unspecified@21:16:42</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>5</hlevel> <item_name>Asthma, unspecified</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Respiratory system (460-519)\Chronic obstructive diseases (490-496)\(493) Asthma\(493-9) Asthma, unspecified\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthma \ Asthma, unspecified</tooltip> <class>ENC</class> <item_is_synonym>true</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>Coronavirus infection, unspecified</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B25-B34) Othe~mcam\(B34) Viral in~t8uh\(B34.2) Corona~3546\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Other viral diseases (b25-b34) \ Viral infection of unspecified site \ Coronavirus infection, unspecified</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a diagnosis of Asthma, unspecified, and Coronavirus infection, unspecified at any time, with a specificity scale of 0 and accuracy scale of 100. The query will search for patients with both conditions, and the hierarchy level for Asthma, unspecified is 5 while the hierarchy level for Coronavirus infection, unspecified is 4. The tooltip for the Asthma condition is "Diagnoses \ Respiratory system \ Chronic obstructive diseases \ Asthism \ Asthma, unspecified" and the tooltip for the Coronavirus infection condition is "Diagnoses \ Certain infectious and parasitic diseases (a0-b9) \ Other viral diseases (b25-b34) \ Viral infection of unspecified site \ Coronavirus infection, unspecified". The Asthma condition is considered a synonym while the Coronavirus infection condition is not.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@22:39: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>3</hlevel> <item_name>Assault by blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of diagnoses related to external causes of morbidity, specifically focusing on assault cases involving blunt objects, with a high level of specificity and accuracy, 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>Externa-Assault@23:44:26</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes (such as accidents or assaults) with a specific focus on assault-related cases, by analyzing the encounter and patient sets from the specified time periods, and combining them with the previous query results for external causes and assault diagnoses. The specificity scale is set to 0, and the query timing is set to ANY, meaning it will include all available data. The panel accuracy scale is set to 100, indicating high confidence in the results. The query is designed to provide a comprehensive analysis of assault-related cases within the given timeframe.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@22:29: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>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 provider Dr. Luisa Delgado has prescribed psychotherapeutic agents to 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>External causes@23:39:07</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes (such as accidents, injuries, or poisoning) at any time in their medical history, with a high level of accuracy and specificity, using a pre-existing patient set from a previous query called "External causes@23:38:14".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:44:44</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a diagnosis of assault (x92-y0@2:40:45) who have also been diagnosed with external causes (23:38:14) in their medical records, 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>Externa-Assault@23:49:56</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:43:32</item_name> <item_key>masterid:28358</item_key> <tooltip>External causes@23:43:32</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all cases where the external cause is an assault that occurred between 23:43:32 and 23:49:56, with a specificity scale of 0 and an accuracy scale of 100, combining two panels: one for external causes and another for assault by blunt force.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@22:29:59</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>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 Dr. Luisa Delgado, a primary care provider, prescribed any psychotherapeutic agents to 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>Pneumonia due t@22:46: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>5</hlevel> <item_name>Pneumonia due to sars-associated coronavirus</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(J00-J99) Dise~45pn\(J09-J18) Infl~7z2l\(J12) Viral pn~6io0\(J12.8) Other~euj2\(J12.81) Pneum~f4r6\</item_key> <item_icon>LA</item_icon> <tooltip>Diagnoses \ Diseases of the respiratory system (j00-j99) \ Influenza and pneumonia (j09-j18) \ Viral pneumonia, not elsewhere classified \ Other viral pneumonia \ Pneumonia due to sars-associated coronavirus</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find cases of Pneumonia due to SARS-associated coronavirus with any timing and 100% accuracy, using the specific ICD-10 and ICD-9 codes for viral pneumonia, not elsewhere classified, and other viral pneumonia within the respiratory system diseases category. The query is named "Pneumonia due t@2:46:06" and has a specificity scale of 0, meaning it will include all relevant cases without filtering for 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>Coronavirus inf@22:47:14</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>4</hlevel> <item_name>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 "Diagnoses" category, specifically under the subcategories of "Certain infectious and parasitic diseases (a0-b9)", "Other viral diseases (b25-b34)", and "Viral infection of unspecified site" with a specificity scale of 0, accuracy scale of 100, and any timing in the 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>Assault (x92-y0@22:37: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>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a diagnosis of assault (ICD-10 code X92-Y08) in the ICD-10 diagnosis field (External causes of morbidity V0-Y9) with any timing, at a specificity scale of 0, and an accuracy scale of 100, using the I2b2 query builder.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Delgado-Psychot@23:30: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>0</hlevel> <item_name>(PrevQuery)Delgado-Psychot@22:29:59</item_name> <item_key>masterid:28336</item_key> <tooltip>Delgado-Psychot@22:29:59</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all records where the specificity scale is set to 0, the panel timing is set to ANY, the panel accuracy scale is set to 100, and the panel is inverted with a total item occurrence of 1, and the item name is "Delgado-Psychot@2:29:59" with a hlevel of 0, the item key is "masterid:2836", and the tooltip is "Delgado-Psychot@2:29:59", and the item is not a synonym. The query name is "Delgado-Psychot@23:30:00" and the query 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>Delgado-Psychot@23:31:31</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Delgado-Psychot@22:29:59</item_name> <item_key>masterid:28336</item_key> <tooltip>Delgado-Psychot@22:29:59</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances where the Delgado-Psychot measure was administered at 2:31:31 with any timing, having a specificity scale of 0, and a panel accuracy scale of 100, using the item (PrevQuery)Delgado-Psychot@2:29:59 as a reference within the query. The query should be broad and not inverted, with a total of one item occurrence.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Delgado-Psychot@23:32:15</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Delgado-Psychot@22:29:59</item_name> <item_key>masterid:28336</item_key> <tooltip>Delgado-Psychot@22:29:59</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of the Delgado-Psychot variable with a timestamp of 23:32:15 in the i2b2 database, with any level of specificity and accuracy, and with the results being a continuation of the previous query Delgado-Psychot at 2:29:59.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@22:40:45</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of diagnoses related to external causes of morbidity, specifically those coded as X92-Y08, which represent assault cases, using the ICD10 and ICD9 coding systems. The query should have a high level of specificity (100) and be applicable to any time period (ANY). The panel should include only one item, and the query should not be inverted. The icon for this query will be FA, and the tooltip will read "Diagnoses - External causes of morbidity (v0-y9) - Assault (x92-y08)". This query will not include 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>Delgado-Psychot@23:29: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>0</hlevel> <item_name>(PrevQuery)Delgado-Psychot@22:29:59</item_name> <item_key>masterid:28336</item_key> <tooltip>Delgado-Psychot@22:29:59</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have a Delgado-Psychot score recorded at 23:29:10 with any specificity and any timing, and who also have a previous Delgado-Psychot score recorded at 2:29:59 with a 100% accuracy scale and a panel accuracy of 1.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Externa-Assault@23:45:24</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find a patient set that includes encounters with external causes related to assault (x92-y0@2:40:45) within a specific time frame (23:38:14 to 23:45:24) with a high level of specificity (100) and no inversion, using the panel named "Externa-Assault@23:45:24".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:47:38</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <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>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes (specifically assault) within a certain time frame, and exclude those who have been diagnosed with assault by blunt objects. The query is split into three panels: the first panel includes patients with a diagnosis of "External causes@23:38:14" and "Patient Set for "External causes@23:38:14"Patient setFINISHED", the second panel excludes patients with a diagnosis of "Assault (x92-y0@2:40:45", and the third panel includes patients with a diagnosis of "Assault by blunt@2:39:01". The specificity scale is set to 0, and the query timing is set to ANY.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Delgado-Psychot@23:30:47</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Delgado-Psychot@22:29:59</item_name> <item_key>masterid:28336</item_key> <tooltip>Delgado-Psychot@22:29:59</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have had a Delgado-Psychot assessment completed at 2:30:47 PM with any specificity, and I want to include patients from the previous query with a Delgado-Psychot assessment at 2:29:59 PM in 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>External causes@23:36:30</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes of morbidity</item_name> <item_key>masterid:28230</item_key> <tooltip>External causes of morbidity</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of external causes of morbidity in the i2b2 database, with no specific time frame or accuracy requirements, and with the results displaying the most general 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>Externa-Assault@23:50:08</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:43:32</item_name> <item_key>masterid:28358</item_key> <tooltip>External causes@23:43:32</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of external causes of injury or assault by blunt force occurring within the specified timeframe, as indicated by the timestamps 23:50:08 and 2:39:01, with a high level of accuracy and specificity, and without considering 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>Externa-Assault@23:51: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>0</hlevel> <item_name>(PrevQuery)External causes@23:43:32</item_name> <item_key>masterid:28358</item_key> <tooltip>External causes@23:43:32</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all cases where the external cause is related to an assault that occurred at any time, and specifically, cases where the assault involved a blunt force at any time.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>External causes@23:37: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>0</hlevel> <item_name>(PrevQuery)External causes of morbidity</item_name> <item_key>masterid:28230</item_key> <tooltip>External causes of morbidity</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of external causes of morbidity (illness or disease) with any level of specificity and accuracy, without inverting the results, and with a single item on the panel named "External causes of morbidity" (masterid: 28230), using the i2b2 query builder.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>External causes@23:37: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>0</hlevel> <item_name>(PrevQuery)External causes of morbidity</item_name> <item_key>masterid:28230</item_key> <tooltip>External causes of morbidity</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with external causes of morbidity, including any associated conditions, regardless of specificity or timing, with a high level of accuracy, and only considering the master concept 2820 for the analysis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:38: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>0</hlevel> <item_name>(PrevQuery)External causes of morbidity</item_name> <item_key>masterid:28230</item_key> <tooltip>External causes of morbidity</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault (x92-y0@22:40:45</item_name> <item_key>masterid:28339</item_key> <tooltip>Assault (x92-y0@22:40:45</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with external causes of morbidity, including assault (x92-y0@2:40:45), with any timing and a specificity scale of 0, using a panel with a total of 2 items and an accuracy scale of 100, without inverting the panel and ensuring the results are accurate.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:40: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>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes, specifically those who were included in the patient set "External causes@23:38:14" and had encounters that were part of the encounter set "External causes@23:37:39" at any time, with a specificity scale of 0 and a panel accuracy scale of 100.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>(PrevQuery)@14:56: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>0</hlevel> <item_name>(PrevQuery) (PrevQuery)</item_name> <item_key>masterid:28489</item_key> <tooltip>(PrevQuery) </tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all records with any timing, in any specificity scale, and with a 1000% accuracy scale, where the panel number is 1, and the invert is set to 0, and there is only one total item occurrence with the item name "(PrevQuery) (PrevQuery)" and the item key "masterid:2849" 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>External causes@23:40:02</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find a patient set with encounters related to external causes, specifically the patient set finished with the identifier "23:38:14" and the encounter set finished with the identifier "23:37:39". The query has a specificity scale of 0, meaning it will return all matching results, and the timing is set to "ANY", indicating that the query will consider all time frames. The accuracy scale is set to 100, meaning the results will be highly accurate, and the panel's timing is also set to "ANY". This query is a continuation of the previous query named "External causes@23:38:14".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:41: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>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes, such as accidents, poisonings, or other injuries, at any time, using the specified patient and encounter sets from the previous query "External causes@23:38:14" and "External causes@23:37:39", with a specificity scale of 0 and an accuracy scale of 100, and without considering 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>Images-Neurolo@18:32:04</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Images</item_name> <item_key>\\BIRN\BIRN\oasis\Images\</item_key> <item_icon>FA</item_icon> <tooltip>oasis \ Images</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <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>Neurologic Disorders</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Neurologic Disorders (320-389)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Neurologic Disorders</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all encounters where the patient had any neurologic disorder diagnosis along with any image order at any time during their medical history.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Circula-Images@18:33: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>Circulatory system</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Circulatory system</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Images</item_name> <item_key>\\BIRN\BIRN\oasis\Images\</item_key> <item_icon>FA</item_icon> <tooltip>oasis \ Images</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses related to the circulatory system (ICD codes 390-459) from any time period and images located in the 'oasis' folder within the 'BIRN' folder.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:40:44</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes within a specific time frame (23:40:4) and have a related encounter record in the database. The query includes a previously defined patient set named "External causes@23:38:14" and a corresponding encounter set named "Encounter Set for "External causes@23:37:39"Encounter setFINISHED". The specificity scale is set to 0, meaning that the results will include all possible matches, and the query timing is set to ANY, indicating that the time frame is not restricted to a specific date range. The panel accuracy scale is set to 100, which represents the highest level of confidence in the results. The query is not inverted and consists of a single panel with three items. The first item refers to the previously defined patient set, the second and third items refer to the patient and encounter sets, respectively.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:40: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>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes, such as accidents or injuries, at any time during their medical history, and I would like to include patients from a previously created patient set called "External causes@23:38:14" and its corresponding encounter set "External causes@23:37:39" in my analysis. The specificity scale is set to 0, meaning that all possible matches will be included, and the query timing is set to ANY, meaning that the condition could have occurred at any point in the patient's medical history. The panel accuracy scale is set to 100, indicating a high level of accuracy, and the panel will not be inverted. The total number of items in the query is 1.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coronavirus inf@20:21: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>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 ICD10_ICD9 diagnosis codes, specifically within the category of "Certain infectious and parasitic diseases (a0-b9)", "Other viral diseases (b25-b34)", and "Viral infection of unspecified site" with a specificity scale of 0 and accuracy scale of 100, covering any time period.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coron-Zip c-Incom@20:32: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>2</hlevel> <item_name>Zip codes</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Zip codes\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Zip codes</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>3</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Income</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Income\</item_key> <item_icon>FA</item_icon> <tooltip>Demographics \ Income</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all cases of Coronavirus infection, unspecified, and their corresponding zip codes, along with the income information of the patients involved.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assau-Assau-Assau@21:44:58</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Assault (x92-y08)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>3</hlevel> <item_name>Assault by blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> <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 who have been diagnosed with assault, including assault by blunt object or assault by crashing of a motor vehicle, with a high level of specificity and accuracy, regardless of the timing of the diagnosis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>External causes@23:41:07</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:38:14</item_name> <item_key>masterid:28350</item_key> <tooltip>External causes@23:38:14</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Patient Set for "External causes@23:38:14"Patient setFINISHED</item_name> <item_key>patient_set_coll_id:61856</item_key> <tooltip>Patient Set for "External causes@23:38:14"Patient setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> <item> <hlevel>0</hlevel> <item_name>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</item_name> <item_key>patient_set_enc_id:61854</item_key> <tooltip>Encounter Set for "External causes@23:37:39"Encounter setFINISHED</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find a query that will identify patients with external causes of injury or poisoning based on the specificity scale of 0, any time frame, and with a panel accuracy scale of 100. The query will include items from the previous query "External causes@23:38:14" and the patient set "Patient Set for External causes@23:38:14" that has been finished. Additionally, it will include the encounter set "Encounter Set for External causes@23:37:39" that has also been finished.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:51: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>0</hlevel> <item_name>(PrevQuery)External causes@23:43:32</item_name> <item_key>masterid:28358</item_key> <tooltip>External causes@23:43:32</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <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>0</hlevel> <item_name>(PrevQuery)Assault by cras@19:55:01</item_name> <item_key>masterid:28320</item_key> <tooltip>Assault by cras@19:55:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with a history of external causes (such as accidents or injuries) and those who have experienced assault by blunt or sharp objects, but exclude patients with a history of assault by crash (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>Pneum- 18--Hispa@00:11: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>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>1</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> 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>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>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 with a diagnosis of Pneumonia due to SARS-associated coronavirus, who are either between the ages of 18-34 or 45-54 years old, and identify as Hispanic.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23: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>0</hlevel> <item_name>(PrevQuery)External causes@23:43:32</item_name> <item_key>masterid:28358</item_key> <tooltip>External causes@23:43:32</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances where an external cause, such as an assault, occurred within the specified time frame, specifically between 23:43:32 and 2:39:01.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:50:32</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:43:32</item_name> <item_key>masterid:28358</item_key> <tooltip>External causes@23:43:32</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients with a history of external causes related to assault by a blunt object, regardless of the timing of the event, 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>Neurologic Diso@18:44: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>Neurologic Disorders</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Neurologic Disorders (320-389)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Neurologic Disorders</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of neurologic disorders in the i2b2 database, including diagnoses related to neurological conditions, with a specificity scale of 0 and a total item occurrence of 1, within the specified timeframe of 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>(t) Chemistry-Certain infectious and parasitic diseases (a00-b99)@10:19:56</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <subquery_constraint> <first_query> <query_id>Event 1</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </first_query> <operator>LESS</operator> <second_query> <query_id>Event 2</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>FIRST</aggregate_operator> </second_query> </subquery_constraint> <subquery> <query_id>Event 1</query_id> <query_type>EVENT</query_type> <query_name>Event 1</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>SAMEINSTANCENUM</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>Chemistry</item_name> <item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB16) Chemistry\</item_key> <item_icon>FA</item_icon> <tooltip>Labtests \ Chemistry</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> <subquery> <query_id>Event 2</query_id> <query_type>EVENT</query_type> <query_name>Event 2</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>SAMEINSTANCENUM</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>1</hlevel> <item_name>Certain infectious and parasitic diseases (a00-b99)</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99)</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> </ns4:query_definition> ```
I want to find all patients who have had a chemistry event with a certain infectious or parasitic disease diagnosis (ICD codes A0-B9) within the same instance number, with the chemistry event occurring first in time.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Externa-Assault@23:52:28</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:41:16</item_name> <item_key>masterid:28357</item_key> <tooltip>External causes@23:41:16</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by cras@19:55:01</item_name> <item_key>masterid:28320</item_key> <tooltip>Assault by cras@19:55:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find records where the external causes code (PrevQuery)External causes@23:41:16 is present and the assault by crash code (PrevQuery)Assault by crash@19:55:01 is also present. The search will include any timing and the specificity scale is set to 0, meaning the search will return all records where both codes are present regardless of how specific the information is. The panel accuracy scale is set to 100, indicating that the search will return the most accurate results. The invert flag is set to 0, meaning that the search will return only records that match both specified 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>Externa-Assault@23:53:30</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:41:16</item_name> <item_key>masterid:28357</item_key> <tooltip>External causes@23:41:16</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by cras@19:55:01</item_name> <item_key>masterid:28320</item_key> <tooltip>Assault by cras@19:55:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients with external causes related to assault by crash, using the specificity scale of 0 and accuracy scale of 100, and combining two panels: one for external causes and the other for assault by crash. The first panel has the item name "External causes@23:41:16" with master ID 28357, and the second panel has the item name "Assault by crash@19:55:01" with master ID 28320. The query timing is set to ANY, and the panels' timing is also ANY. The query is named "Externa-Assault@23:53:30."
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>(t) CT Reports-Intraoperative cholangiogram@10:58:51</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <subquery_constraint> <first_query> <query_id>Event 1</query_id> <join_column>ENDDATE</join_column> <aggregate_operator>ANY</aggregate_operator> </first_query> <operator>EQUAL</operator> <second_query> <query_id>Event 2</query_id> <join_column>STARTDATE</join_column> <aggregate_operator>LAST</aggregate_operator> </second_query> <span> <operator>GREATEREQUAL</operator> <span_value>4</span_value> <units>MONTH</units> </span> <span> <operator>LESS</operator> <span_value>4</span_value> <units>YEAR</units> </span> </subquery_constraint> <subquery> <query_id>Event 1</query_id> <query_type>EVENT</query_type> <query_name>Event 1</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>SAMEINSTANCENUM</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>CT Reports</item_name> <item_key>\\i2b2_REP\i2b2\Reports\CT Reports\</item_key> <item_icon>LAE</item_icon> <tooltip>i2b2 \ Reports \ CT Reports</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> <subquery> <query_id>Event 2</query_id> <query_type>EVENT</query_type> <query_name>Event 2</query_name> <query_timing>SAMEINSTANCENUM</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>SAMEINSTANCENUM</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>6</hlevel> <item_name>Intraoperative cholangiogram</item_name> <item_key>\\i2b2_PROC\i2b2\Procedures\PRC\ICD9 (Inpatient)\(87-99) Diagnostic and nonsurgical procedures\(p87) Diagnostic Radiology\(p87-5) Biliary tract x-ray\(p87-53) Intraoperative cholangio~\</item_key> <item_icon>LA</item_icon> <tooltip>Procedures \ ICD9 (Inpatient) \ Diagnostic and nonsurgical procedures \ Diagnostic Radiology \ Biliary tract x-ray \ Intraoperative cholangiogram</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </subquery> </ns4:query_definition> ```
I want to find all patients who have had a CT Report within the same instance number as the event 'Intraoperative cholangiogram' and the CT Report occurred within the last 4 months and 4 years prior to the start date of the 'Intraoperative cholangiogram' 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>Principal Diagn@22:18: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>2</hlevel> <item_name>Conditions in the perinatal period</item_name> <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Conditions in the perinatal period (760-779)\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Conditions in the perinatal period</tooltip> <class>ENC</class> <constrain_by_modifier> <modifier_name>Principal Diagnosis</modifier_name> <modifier_key>\\i2b2_DIAG\Principal Diagnosis\</modifier_key> <applied_path>\i2b2\Diagnoses\Conditions in the perinatal period (760-779)\%</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 conditions in the perinatal period (codes 76-79) that are marked as the principal diagnosis, with a specificity scale of 0 and an accuracy scale of 100, using any timing and applying the "Principal Diagnosis" constraint.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Externa-Assault@23:54:07</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:41:16</item_name> <item_key>masterid:28357</item_key> <tooltip>External causes@23:41:16</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by cras@19:55:01</item_name> <item_key>masterid:28320</item_key> <tooltip>Assault by cras@19:55:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all cases where External Causes (PrevQuery) and Assault by Crash (PrevQuery) are present, with no specific time frame and high accuracy, combining both panels with no inversion and considering the total occurrences of each item in the panels.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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@23:55: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>0</hlevel> <item_name>(PrevQuery)External causes@23:41:16</item_name> <item_key>masterid:28357</item_key> <tooltip>External causes@23:41:16</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by cras@19:55:01</item_name> <item_key>masterid:28320</item_key> <tooltip>Assault by cras@19:55:01</tooltip> <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>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all patients who have been diagnosed with external causes (e.g. accidents, injuries, poisonings, and other adverse effects) and have experienced assault by crash (motor vehicle) or assault by blunt object within a certain 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>Exter-Assau-Assau@23:55: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>0</hlevel> <item_name>(PrevQuery)External causes@23:41:16</item_name> <item_key>masterid:28357</item_key> <tooltip>External causes@23:41:16</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by cras@19:55:01</item_name> <item_key>masterid:28320</item_key> <tooltip>Assault by cras@19:55:01</tooltip> <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>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes (such as accidents, injuries, or poisonings) at any time, but exclude those who have a history of assault by crash (such as motor vehicle accidents) or assault by blunt objects (such as being hit by a blunt object).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Other coronavir@00:02: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>5</hlevel> <item_name>Other coronavirus as the cause of diseases classified elsewhere</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(A00-B99) Cert~ugmm\(B95-B97) Bact~28iq\(B97) Viral ag~m3ak\(B97.2) Corona~1804\(B97.29) Other~8jbp\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ Certain infectious and parasitic diseases (a00-b99) \ Bacterial and viral infectious agents (b95-b97) \ Viral agents as the cause of diseases classified elsewhere \ Coronavirus as the cause of diseases classified elsewhere \ Other coronavirus as the cause of diseases classified elsewhere</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find diagnoses of certain infectious and parasitic diseases (A0-B9) that are caused by bacterial and viral agents (B95-B97), specifically coronavirus (B97.2) as the cause of diseases classified elsewhere, including other coronavirus (B97.29) as the cause of diseases classified elsewhere with a specificity scale of 0 and a panel accuracy scale of 100. The query should have a single panel with any timing and the results should be accurate 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>Psychot-Gender@18:28:28</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>2</hlevel> <item_name>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>Gender</item_name> <item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\</item_key> <item_icon>FA</item_icon> <tooltip>Demographic \ Gender</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances where a patient has been prescribed Psychotherapeutic agents and their gender is recorded in the 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@23:55:32</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:41:16</item_name> <item_key>masterid:28357</item_key> <tooltip>External causes@23:41:16</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>1</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by cras@19:55:01</item_name> <item_key>masterid:28320</item_key> <tooltip>Assault by cras@19:55:01</tooltip> <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>0</hlevel> <item_name>(PrevQuery)Assault by blun@22:39:01</item_name> <item_key>masterid:28338</item_key> <tooltip>Assault by blun@22:39:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have been diagnosed with external causes (such as accidents, injuries, and poisonings) at any time in their medical history and who have also been diagnosed with assault by crash at any time, but not those who have been diagnosed with assault by 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>Externa-Assault@23:56:32</query_name> <query_timing>ANY</query_timing> <specificity_scale>0</specificity_scale> <panel> <panel_number>1</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)External causes@23:41:16</item_name> <item_key>masterid:28357</item_key> <tooltip>External causes@23:41:16</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> <panel> <panel_number>2</panel_number> <panel_timing>ANY</panel_timing> <panel_accuracy_scale>100</panel_accuracy_scale> <invert>0</invert> <total_item_occurrences>1</total_item_occurrences> <item> <hlevel>0</hlevel> <item_name>(PrevQuery)Assault by cras@19:55:01</item_name> <item_key>masterid:28320</item_key> <tooltip>Assault by cras@19:55:01</tooltip> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find patients who have experienced external causes related to assault, such as being a victim of an attack or physical violence, 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 by blun@20:07: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 blunt object</item_name> <item_key>\\ICD10_ICD9\Diagnoses\(V00-Y99) Exte~2k58\(X92-Y08) Assa~4b66\(Y00) Assault~ymnk\</item_key> <item_icon>FA</item_icon> <tooltip>Diagnoses \ External causes of morbidity (v00-y99) \ Assault (x92-y08) \ Assault by blunt object</tooltip> <class>ENC</class> <item_is_synonym>false</item_is_synonym> </item> </panel> </ns4:query_definition> ```
I want to find all instances of diagnoses related to external causes of morbidity, specifically focusing on assault cases involving blunt objects, with a high level of specificity and accuracy. The time frame for the search is not restricted, and I want to include only the most relevant 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>Assault by cras@20:08: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>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 of assault resulting from crashing of motor vehicles, using the ICD-10 and ICD-9 external causes of morbidity codes, with a high level of specificity and accuracy, and no inversion of the panel.