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>Essen-Diabe-Insul@20:...
I want to find patients with a diagnosis of essential (primary) hypertension and diabetes mellitus, who have been prescribed insulin 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>German@09:38:46</quer...
I want to find patients who have the demographic attribute of speaking German as their primary language.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essential (prim@21:11...
I want to find patients with a diagnosis of Essential (primary) hypertension (ICD-10 code I10) and a diagnosis of Diabetes mellitus (ICD-10 code E08-E13) with any timing and specificity scale set to 0, and the panel accuracy scale set to 100, using a specific patient panel (Person_#100000045) from the i2b2 database.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Diabete-Insulin@20:11...
I want to find patients with a diagnosis of diabetes mellitus (ICD-10 codes E08-E13) and a prescription for insulin (i2b2 medication code LME152) within any timeframe, with a specificity scale of 0 and an accuracy scale of 100 for each panel. The query will be created using the i2b2 query builder with the specified pa...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Diabetes mellit@20:15...
I want to find all patients with a diagnosis of diabetes mellitus (ICD10 code E08-E13) and who have also been prescribed insulin (LME152) 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>Diabete-Insulin@20:16...
I want to find patients with a diagnosis of Diabetes mellitus (ICD codes E08-E13) and who have been prescribed Insulin medication (LME152) at any time, with a specificity scale of 0 and accuracy scale of 100, using the ICD10_ICD9 Diagnoses and i2b2_MEDS Medications ontologies.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Assault (x92-y0@16:23...
I want to find all instances of diagnoses related to external causes of morbidity, specifically those categorized under codes X92-Y08, which pertain to assault, within the ICD-10 and ICD-9 coding systems.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Person_#1000000@20:16...
I want to find a patient with the master ID 462 in the database, with no specific time constraint, and the query is set to have a high accuracy level of 1000%. This query is part of a panel with a panel number of 1, and the panel timing is set to ANY, meaning it can be applied at any time. The specificity scale is set...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Diabetes mellit@20:15...
I want to find patients with a diagnosis of Diabetes mellitus (e08-e13) and who have been prescribed insulin medication at any time, with a specificity scale of 0 and a panel accuracy scale of 100, where the panel timing is also set to ANY, and the panel is inverted to 0. This query will be named "Diabetes mellitus (e...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essential (prim@20:26...
I want to find a query that searches for patients with a diagnosis of Essential (primary) hypertension (ICD-10 code I10) and Diabetes mellitus (ICD-10 code E08-E13) in their medical records, with a specificity scale of 0 and a panel accuracy scale of 100, and the results should include patient #100000045. The time ran...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essential (prim@20:27...
I want to find a query that includes patients with a diagnosis of essential (primary) hypertension and diabetes mellitus, and who are associated with a specific person ID (Person_#1000000045) in the i2b2 database, with any timing and 1000% accuracy, using the ICD-9 codes for these conditions.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Atrial fibrilla@15:37...
I want to find all instances of atrial fibrillation diagnoses within the i2b2 data, with no specific timeframe or accuracy level specified, and with the specificity set to 0 and the invert flag set to 0. The query should be focused on the Circulatory System category, under the Other forms of heart disease subcategory,...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essential (prim@20:25...
I want to find patients with a diagnosis of essential (primary) hypertension and diabetes mellitus, with a specificity scale of 0 and accuracy scale of 100, and the query should include any time period and focus on a specific patient with the master ID 3740.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essenti-Person_@20:25...
I want to find patients with a diagnosis of essential (primary) hypertension (ICD10-ICD9 code I10) and diabetes mellitus (ICD10-ICD9 code E08-E13) within the specified time frame (ANY) and with a specificity scale of 0 and accuracy scale of 100, while also including the person with master ID 340 (Person_#100000045) in...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Person_#1000000@20:29...
I want to find patients with a primary diagnosis of essential hypertension (I10) and a secondary diagnosis of diabetes mellitus (E08-E13), with a specificity scale of 0 and a panel accuracy scale of 100, where the timing is any, and the panel is inverted.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Person_#1000000@20:31...
I want to find patients with a diagnosis of essential (primary) hypertension and diabetes mellitus who have had an outpatient visit, 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>(t) FemaleCoughAsthma...
I want to find all female patients who have had a cough event within the last day and also had an asthma event 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>Person_#1000000@20:56...
I want to find patients with a diagnosis of essential (primary) hypertension (ICD-9 code range I10-I15) or diabetes mellitus (ICD-9 code range E08-E13) who have had an outpatient visit. The query will search for these conditions at any time and will have a specificity scale of 0 and an accuracy scale of 100. The resul...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essenti-Diabete@21:01...
I want to find patients with a diagnosis of essential (primary) hypertension and diabetes mellitus (type 1 or type 2) within the specified timeframe for a specific person (Person_#100000045).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essential (prim@21:09...
I want to find patients with a diagnosis of essential (primary) hypertension (ICD10 code I10) and a diagnosis of diabetes mellitus (ICD10 code E08-E13) in the context of the specified person (Person_#100000045). The query will search for these conditions at any time and 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>Essential (prim@21:10...
I want to find patients with a diagnosis of essential (primary) hypertension (ICD10 code I10) and diabetes mellitus (ICD10 code E08-E13) who have been diagnosed at any time (ANY timing) and have a high accuracy scale of 100, and specifically for a person with the unique identifier of #100000045.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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) FemaleDyspnea and...
I want to find patients who are female, have been diagnosed with dyspnea and respiratory abnormalities, and have a diagnosis of asthma within the same instance number, with the dyspnea event occurring before the asthma event, within a span of 1 day or more.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Perso-Essen-Diabe@20:...
I want to find all outpatient visits where a person with the master ID 1000000045 has been diagnosed with essential (primary) hypertension and diabetes mellitus (e08-e13).
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essential (prim@21:16...
I want to find a query that identifies patients with essential (primary) hypertension and diabetes mellitus (e08-e13) in the ICD10_ICD9 Diagnoses category, with a specificity scale of 0 and any timing, and the panel includes a person with the master ID 3740.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Taking Insulin@@18:13...
I want to find patients who have been taking insulin and have a diagnosis of essential (primary) hypertension and diabetes mellitus (e08-e13) 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>Essenti-Person_@21:16...
I want to find a query that looks for patients with a diagnosis of essential (primary) hypertension and diabetes mellitus (e08-e13) in the ICD10_ICD9 diagnoses category, with a specificity scale of 0, any timing, and a panel accuracy scale of 100. The query will also include a person with the master ID 340, and the to...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Femal-Hyper-Type @22:...
I want to find female patients with a diagnosis of hypertensive disease and type 2 diabetes mellitus.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18-34-Princip@08:04...
I want to find patients who are between the ages of 18 and 64 years old and have been diagnosed with acute pancreatitis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Livin-Princ@08:...
I want to find patients who are 5-64 years old, specifically 555 years old, living, and have a diagnosis of acute pancreatitis as their principal diagnosis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essen-Diabe-Perso@20:...
I want to find patients with a diagnosis of essential (primary) hypertension (ICD-9 code I10) and diabetes mellitus (ICD-9 code E08-E13) who have been seen by Person_#100000045, with no specific time frame or accuracy scale specified for the query.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Acute-Livin@21:...
I want to find patients aged 5-64 years old who have been diagnosed with acute pancreatitis and are currently living.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18-34-Living@21:56:...
I want to find patients between the ages of 18 and 64 years old, including those who are 5, 6, 7, 8, 9, and 60 years old, who are currently living.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Livin-Princ@22:...
I want to find all patients between the ages of 45 and 64 years old who have been diagnosed with acute pancreatitis as a principal diagnosis and are currently living.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Hyper-HMG-C@22:...
I want to find patients who are between the ages of 18-34, 35-44, 45-54, 555-64, 65-74, 75-84, and 85+, and have been diagnosed with hyperlipidemia, and have been prescribed HMG-CoA reductase inhibitors medications.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>A- -2-E-E-M-M-C@17:38...
I want to find all patients with a diagnosis of major depressive disorder, recurrent or single episode, and any mention of cannabis abuse or dependence, along with any prescription of fluoxetine or fluconazole medications. The query should also include all mental and behavioral disorders within the ICD10 and ICD9 diag...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Femal-Hyper-Type @22:...
I want to find female patients with a diagnosis of unspecified essential hypertension and type 2 diabetes mellitus, without any specific timing or accuracy requirements, and excluding any synonyms or inversions of these conditions.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Livin- 18--Princ@23:...
I want to find all encounters where the patient's age is between 18-34 years old, 35-44 years old, or 5-64 years old with an encounter diagnosis of acute pancreatitis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Diabetes mellit@05:38...
I want to find all patients with a diagnosis of Diabetes mellitus in the Endocrine disorders section, specifically under the Other endocrine gland diseases category, with a high level of specificity and accuracy, regardless of when the diagnosis was made.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Taking Insulin@@18:15...
I want to find patients who have been diagnosed with both 'Essential (Primary) Hypertension' and 'Diabetes Mellitus (e08-e13)' and were taking insulin at the same visit.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essen-Diabe-Ins@18:18...
I want to find patients who have been diagnosed with diabetes insipidus, hyperlipidemia, and have had a previous query run on January 24, 2018.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Taking Insulin@@18:16...
I want to find patients who have been taking insulin at 18:16:33 and have been diagnosed with essential (primary) hypertension and diabetes mellitus (e08-e13) during the same visit, 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>Injury inflicte@16:57...
I want to find all instances of injury inflicted by others (E960-E969) in the i2b2 database, with a specificity scale of 0 and accuracy scale of 100, considering any time frame (ANY), and with the panel inverted to exclude any other items. This query is part of a larger panel with panel number 1 and a total of 1 item ...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Clinical Dement@08:33...
I want to find all patients who have a documented Clinical Dementia Rating (CDR) in the OASIS (Online Assessment System for Integrated Services) clinical measures section within the BIRN (Bioinformatics Research Network) database, with a specificity scale of 0 and a total item occurrence of 1, regardless of the timing...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Diabetes mellit@18:13...
I want to find patients with a diagnosis of diabetes mellitus using the query named "Diabetes mellit@18:13:14", with any timing and specificity scale set to 0, and combine it with the patient set from the query "Essen-Diabe-Perso@9:37:47"Patient setFINISHED" with the same timing and accuracy scale set to 100, where th...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18-34-Acute p@02:30...
I want to find patients who are between the ages of 18-59 years old with a diagnosis of acute pancreatitis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Hyper-HMG-C@02:...
I want to find patients aged 18-34, 35-44, 45-54, 555-64, 65-74, and 75 or older with a diagnosis of hyperlipidemia who have been prescribed HMG-CoA reductase inhibitors.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essen-Diabe-Ins@18:16...
I want to find any records within the specified time frame that match the criteria of the previous query "Essen-Diabe-Ins@5:09:16 [8-13-2020] [demo]" with a specificity scale of 0, panel timing set to ANY, and a panel accuracy scale of 100, while not inverting the results and including only one total item occurrence.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essen-Diabe-Ins@18:18...
I want to find all patients who have had either a previous query for Essen-Diabe-Ins@5:09:16 on August 13, 2020 or a previous query for Hyperli-HMG-CoA@12:34:21 on January 24, 2018, with a specificity scale of 0 and accuracy scale of 100, and the query timing set to ANY.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Femal-Hyper-Diabe@02:...
I want to find female patients with a diagnosis of unspecified essential hypertension and type II diabetes mellitus without mention of complications.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Diabetes mellit@16:05...
I want to find all patients with a diagnosis of diabetes mellitus, using the i2b2 query builder, with a specificity scale of 0 and accuracy scale of 100, and the query timing and panel timing set to ANY. The query is named "Diabetes mellitus" and the panel number is 1. The item name is "Diabetes mellitus" and the item...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>'Essential (Pri@18:20...
I want to find patients with a diagnosis of essential hypertension and diabetes mellitus (ICD-9 codes e08-e13) in the i2b2 database using the query builder.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>query 2 [1-24-2@18:19...
I want to find all patients who have had any encounter on or after January 24, 2018, with the query named "query 2 [1-24-2018]" which is a demo query, and the specificity scale is set to 0, meaning it will return all possible results, with a total of 1 item occurrence, and the panel timing and accuracy scale are set t...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Hyperli-HMG-CoA@18:20...
I want to find all instances of the panel "Hyperli-HMG-CoA@18:20:12" in the i2b2 database, with any timing, specificity set to 0, accuracy scale set to 100, and a single occurrence of the item "Hyperli-HMG-CoA@12:32:37" within the panel, which is not a synonym and is located at the masterid:681.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>mild dementia@17:41:3...
I want to find all instances of mild dementia diagnosed at any time, with a specificity scale of 0 and a panel accuracy scale of 100, using the Clinical Dementia Rating (CDR) measure in the OASIS Clinical Measures section of the BIRN data repository, and display it in the first panel of the query with a high level of ...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>HMG-CoA reducta@22:41...
I want to find patients who have had a test result for HMG-CoA reductase with a specificity scale of 0 and a timing set to "ANY" in a panel with panel number 1, panel timing set to "ANY", panel accuracy scale set to 100, and invert set to 0, where the item is the previous query for HMG-CoA reductase with a time of 10:...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Malig-Tuber-Diges@12:...
I want to find patients with a diagnosis of malignant neoplasm of the rectum, rectosigmoid junction, or anus, who also have a diagnosis of tuberculosis, and have any diagnosis related to the digestive system.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>PATIENTSETFINIS@18:21...
I want to find a patient set for the "Visit-Essen-Diabe-primaryhypertension@1:34:20" patient set that has been finished (FINISHED) and has a specificity scale of 0, with a panel timing of ANY, an accuracy scale of 100, and only one total item occurrence.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Numberofoutpati@18:26...
I want to find the number of outpatient visits for a specific patient (Person_#1000000045) within a certain time frame (10:07: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>Femal-type -Hyper@08:...
I want to find female patients with type II diabetes mellitus (non-insulin dependent, adult-onset, or unspecified type) without complications, and those with unspecified complications, as well as those with hypertensive disease.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Livin-Acute@09:...
I want to find patients aged 18-34, 35-44, or 5-64 years old, who are currently living, and have been diagnosed with acute pancreatitis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>'Essential (Pri@18:21...
I want to find patients who have been diagnosed with both Essential (Primary) Hypertension and Diabetes Mellitus (e08-e13). The query should include all patients regardless of the time of diagnosis and should have a high accuracy scale of 100. The query will be constructed using the i2b2 query builder and the resultin...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Numberofoutpati@18:27...
I want to find the total number of outpatient visits for a specific patient with the identifier #1000000045, during any time period, with a specificity scale of 0, panel timing set to ANY, and an accuracy scale of 100. The query will display the total number of occurrences and the panel is not inverted. This query is ...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Visit-Essen-Dia@18:28...
I want to find any visit where a patient has been diagnosed with primary hypertension, as indicated by the presence of the concept "Visit-Essen-Diabe-primaryhypertension@1:34:20" in the i2b2 data repository, and the specificity scale is set to 0, meaning that all instances of this concept will be included in the searc...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Livin-Acute@09:...
I want to find patients aged 18-34, 35-44, or 5-64 years old, who are living, and have been diagnosed with acute pancreatitis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Acute- 18--Livin@09:...
I want to find all patients aged between 18 and 64 years old who are currently living, and I want to filter the results by the following age groups: 18-34 years old, 35-44 years old, 45-54 years old, 555-64 years old, 55 years old, 56 years old, 57 years old, 58 years old, 59 years old, and 60 years old.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Living@09:51:07</quer...
I want to find patients who are living, aged between 18-64 years old, and have a diagnosis of acute pancreatitis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>HEMOG-Princ-Race-@15:...
I want to find patients with a specific Hemoglobin A1C level within a certain time frame, along with their race and principal diagnosis, while also considering their income and gender.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Visit-Essen-Dia@18:28...
I want to find a query that will search for any patient visits where the primary diagnosis is hypertension, within a specific time frame, and with a high level of accuracy.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Numberofoutpati@18:30...
I want to find the total number of outpatient visits for a specific patient (Person_#1000000045) at any time, with a high level of accuracy and no inversion, using the query_name "Numberofoutpati@18:30:54" and panel_number "1".
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>HMG-CoA reducta@10:04...
I want to find patients who have been prescribed HMG-CoA reductase inhibitors, have a diagnosis of hyperlipidemia, and are between the ages of 8 and 64 years old, with a specificity scale of 0 and any query 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>'Essential (Pri@18:21...
I want to find patients who have been diagnosed with Essential (Primary) Hypertension and Diabetes Mellitus (e08-e13) at any time in their medical history, with a specificity scale of 0 and a panel accuracy scale of 100. The query will include only one panel, and the items within the panel are not inverted. 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>College-High sc@22:44...
I want to find a query that searches for patients who have ever had a specificity scale of 0, with a panel timing of ANY, a panel accuracy scale of 100, and an invert value of 0, and includes an item named "College-High sc@15:24:08" with a hlevel of 0 and an item key of "masterid:478" in their medical records, which i...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Visit-Essen-Dia@18:29...
I want to find all patients with a primary diagnosis of hypertension at any visit.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Numberofoutpati@18:31...
I want to find the number of outpatient visits for a specific patient (Person_#1000000045) within a certain time frame (10:07:59) using the i2b2 query builder tool.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>numberofvisitPe@19:45...
I want to find the number of visits for a specific patient (person_id: 1000000045) at a specific time (10:1:11) within the i2b2 database using the query builder tool.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>insulin usage@2@19:50...
I want to find the usage of insulin for any patient at any time, with a specificity scale of 0 and accuracy scale of 100, and the query should be compared to the previous query insulin usage at 20:19:05.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>mild dementia@1@22:45...
I want to find all instances of patients with a diagnosis of mild dementia within the i2b2 database, with a specificity scale of 0 and a panel accuracy scale of 100, using the panel number 1 and any timing, and excluding any synonyms. The query should have a total of 1 item occurrence, and the specific item will be la...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Taking Insulin@18:33:...
I want to find patients who have ever taken insulin medication, with a high level of accuracy and specificity, and the query should be applied to any time frame in the patient's medical record.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Livin-Acute@20:...
I want to find encounters with the following demographics: age range between 1-4 years old, 5-14 years old, 15-24 years old, 25-34 years old, 35-44 years old, 45-54 years old, and 55-64 years old. I also want to include patients who are 5 years old, 6 years old, 7 years old, 8 years old, 9 years old, 10 years old, 111...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>'Essential (Pri@18:22...
I want to find patients with both Essential (Primary) Hypertension and Diabetes Mellitus (e08-e13) using the i2b2 query builder, with a specificity scale of 0 and accuracy scale of 100, and the query is not inverted. The time range is set to ANY, which means the condition can have occurred at any point in the patient'...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Injury -Assault@17:05...
I want to find patients who have been diagnosed with an injury inflicted by others (E960-E969) or have experienced an assault by crashing of a motor vehicle (Y03) 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>Visit-Essen-Dia@18:34...
I want to find all patients who have been diagnosed with primary hypertension during any visit in the past, with a high level of specificity (1000% accuracy) and 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>Visit-Essen-Dia@18:34...
I want to find all patients with a primary diagnosis of hypertension during any visit in the past, regardless of the specificity and accuracy 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>Femal-Hyper-Type @21:...
I want to find female patients with a diagnosis of unspecified essential hypertension and type 2 diabetes mellitus, with no specific time constraints.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Livin- 18--Acute@16:...
I want to find patients with the diagnosis of acute pancreatitis in the age range of 35-64 years old, specifically looking at 5, 6, 7, 8, 9, 555, 56, 57, 58, 59, and 60 years old.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Femal-Essen-Type @16:...
I want to find female patients with essential hypertension and type 2 diabetes mellitus, with no specific time constraints.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Coronavirus as @09:33...
I want to find all patients with a diagnosis of diseases caused by Coronavirus, classified under ICD-10 codes B95-B97, specifically under the subcategory B97.2, where the cause is specified as a Coronavirus infection. The query will return results with any timing and has a specificity scale of 0, indicating a broad se...
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Hyper-HMG-C@21:...
I want to find patients aged 18-34, 35-44, 45-54, 555-64, 65-74, and 75+ years old who have a diagnosis of hyperlipidemia and have been prescribed HMG-CoA reductase inhibitors.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Princip- 18-34@09:42...
I want to find all patients aged 18-34, 35-4, or 5-64 years old with a principal diagnosis of symptoms, signs, and ill-defined conditions (ICD-9 codes 780-79) 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>Princ- 18--Livin@09:...
I want to find patients who have a principal diagnosis of symptoms, signs, and ill-defined conditions (ICD codes 780-79), are between the ages of 8-34 years old or 5-64 years old, and are currently living.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Essen-Diabe-Perso@20:...
I want to find all instances of Essential (primary) hypertension (ICD10 code I10) and Diabetes mellitus (ICD9 code E08-E13) in a specific patient (Person_#100000045) with no specific timing constraint, and I want the results to be accurate with a specificity scale of 0 and a sensitivity 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> 18-34-Princip@08:03...
I want to find patients who are 18-34 years old or 35-44 years old and have been diagnosed with acute pancreatitis as a principal diagnosis.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name> 18--Livin-Princ@08:...
I want to find encounters for patients who are 45-64 years old, living, and have a diagnosis of acute pancreatitis as a principal diagnosis in the Digestive system category.
```xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/"> <query_name>Femal-Essen-Diabe@08:...
I want to find female patients with diabetes in the i2b2 database using the query builder XML.