```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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:36</query_name>
    <query_timing>ANY</query_timing>
    <specificity_scale>0</specificity_scale>
    <panel>
        <panel_number>1</panel_number>
        <panel_timing>ANY</panel_timing>
        <panel_accuracy_scale>100</panel_accuracy_scale>
        <invert>0</invert>
        <total_item_occurrences>1</total_item_occurrences>
        <item>
            <hlevel>3</hlevel>
            <item_name>Alzheimer's disease</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(G00-G99) Dise~j8kq\(G30-G32) Othe~kdmb\(G30) Alzheime~bkfp\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Diseases of the nervous system (g00-g99) \ Other degenerative diseases of the nervous system (g30-g32) \ Alzheimer's disease</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>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>
        <item>
            <hlevel>3</hlevel>
            <item_name>  45-54 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>55 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\55 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 55-64 years old \ 55 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>56 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\56 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 55-64 years old \ 56 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>57 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\57 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 55-64 years old \ 57 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>58 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\58 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 55-64 years old \ 58 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>59 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\59 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 55-64 years old \ 59 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>1</invert>
        <total_item_occurrences>1</total_item_occurrences>
        <item>
            <hlevel>5</hlevel>
            <item_name>25</item_name>
            <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\Mild Alzheimers disease\25\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>oasis \ Clinical Measures \ MMSE score \ Mild Alzheimer's disease \ 25</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>5</hlevel>
            <item_name>26</item_name>
            <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\Mild Alzheimers disease\26\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>oasis \ Clinical Measures \ MMSE score \ Mild Alzheimer's disease \ 26</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>5</hlevel>
            <item_name>13</item_name>
            <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\Moderate Alzheimers disease\13\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>oasis \ Clinical Measures \ MMSE score \ Moderate Alzheimer's disease \ 13</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>5</hlevel>
            <item_name>14</item_name>
            <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\Moderate Alzheimers disease\14\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>oasis \ Clinical Measures \ MMSE score \ Moderate Alzheimer's disease \ 14</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>No Alzheimers disease</item_name>
            <item_key>\\BIRN\BIRN\oasis\Clinical Measures\MMSE score\No Alzheimers disease\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>oasis \ Clinical Measures \ MMSE score \ No Alzheimer's disease</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
    <panel>
        <panel_number>4</panel_number>
        <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>English</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Language\English\</item_key>
            <item_icon>MA</item_icon>
            <tooltip>Demographic \ Language \ English</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
    <panel>
        <panel_number>5</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>4</hlevel>
            <item_name>Epilepsy</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Neurologic Disorders (320-389)\(345) Epilepsy\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Epilepsy</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
    <panel>
        <panel_number>6</panel_number>
        <panel_timing>ANY</panel_timing>
        <panel_accuracy_scale>100</panel_accuracy_scale>
        <invert>1</invert>
        <total_item_occurrences>1</total_item_occurrences>
        <item>
            <hlevel>2</hlevel>
            <item_name>Mental and behavioral disorders (f01-f99)</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(F01-F99) Ment~44ly\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Mental and behavioral disorders (f01-f99)</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
    <panel>
        <panel_number>7</panel_number>
        <panel_timing>ANY</panel_timing>
        <panel_accuracy_scale>100</panel_accuracy_scale>
        <invert>0</invert>
        <total_item_occurrences>1</total_item_occurrences>
        <item>
            <hlevel>6</hlevel>
            <item_name>Major depressive disorder, recurrent episode</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Mental Disorders (290-319)\Psychosis (290-299)\(296) Affective psychoses\(296-3) Major depressive disorder~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Major depressive disorder, recurrent episode</tooltip>
            <class>ENC</class>
            <constrain_by_date>
                <date_from>2022-02-04T00:00:00.000-05:00</date_from>
            </constrain_by_date>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Major depressive disorder, single episode</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Mental Disorders (290-319)\Psychosis (290-299)\(296) Affective psychoses\(296-2) Major depressive disorder~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Major depressive disorder, single episode</tooltip>
            <class>ENC</class>
            <constrain_by_date>
                <date_from>2022-02-04T00:00:00.000-05:00</date_from>
            </constrain_by_date>
            <item_is_synonym>true</item_is_synonym>
        </item>
    </panel>
    <panel>
        <panel_number>8</panel_number>
        <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>Cannabis abuse</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Mental Disorders (290-319)\Non-psychotic disorders (300-316)\(305) Nondependent abuse of drugs\(305-2) Cannabis abuse\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Mental Disorders \ Non-psychotic disorders \ Nondependent abuse of drugs \ Cannabis abuse</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>5</hlevel>
            <item_name>Cannabis dependence</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Mental Disorders (290-319)\Non-psychotic disorders (300-316)\(304) Drug dependence\(304-3) Cannabis dependence\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Mental Disorders \ Non-psychotic disorders \ Drug dependence \ Cannabis dependence</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>5</hlevel>
            <item_name>Fluoxetine</item_name>
            <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME203) psychotherapeutic agents\(LME204) antidepressants\(LME207) SSRI antidepressants\fluoxetine\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>medications \ psychotherapeutic agents \ antidepressants \ ssri antidepressants \ fluoxetine</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>5</hlevel>
            <item_name>Fluconazole</item_name>
            <item_key>\\i2b2_MEDS\i2b2\Medications\MUL\(LME10) anti-infectives\(LME14) antifungals\(LME16) azole antifungals\fluconazole\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>medications \ anti-infectives \ antifungals \ azole antifungals \ fluconazole</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
</ns4:query_definition>

```

I want to find all patients with a diagnosis of 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 diagnosis codes (F01-F99) and exclude any records from before February 4, 20222.