```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.i2b2.org/xsd/cell/crc/psm/analysisdefinition/1.1/" xmlns:ns3="http://www.i2b2.org/xsd/cell/crc/psm/querydefinition/1.1/">
    <query_name>Femal-Hyper-Diabe@17:56: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>Female</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Gender\Female\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographic \ Gender \ Female</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
    <panel>
        <panel_number>2</panel_number>
        <panel_timing>ANY</panel_timing>
        <panel_accuracy_scale>100</panel_accuracy_scale>
        <invert>0</invert>
        <total_item_occurrences>1</total_item_occurrences>
        <item>
            <hlevel>3</hlevel>
            <item_name>Hypertensive disease</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Circulatory system (390-459)\Hypertensive disease (401-405)\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Circulatory system \ Hypertensive disease</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>6</hlevel>
            <item_name>Diabetes mellitus, type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type with hyperosmolarity, not stated as uncontrolled</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-2) Diabetes mellitus with hy~\(250-20) Diabetes mellitus, type ~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus, type II [non-insulin dependent {..}] or unspecified type with hyperosmolarity, not stated as uncontrolled</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitustype II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type with hyperosmolarity, uncontrolled</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-2) Diabetes mellitus with hy~\(250-22) Diabetes mellitustype II~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitustype II [non-insulin dependent ty{..}ult-onset type] or unspecified type with hyperosmolarity, uncontrolled</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>type II diabetes mellitus [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, without mention of complication</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-0) Diabetes mellitus without~\(250-00) type II diabetes mellitu~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ type II diabetes mellitus [non-insulin dependent t{..}fied type, not stated as uncontrolled, without mention of complication</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>type II diabetes mellitus [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled, without mention of complication</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-0) Diabetes mellitus without~\(250-02) type II diabetes mellitu~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ type II diabetes mellitus [non-insulin dependent t{..}pe] or unspecified type, uncontrolled, without mention of complication</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>type II diabetes mellitus [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, with ketoacidosis</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-1) Diabetes with ketoacidosis\(250-10) type II diabetes mellitu~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ type II diabetes mellitus [non-insulin dependent t{..}pe] or unspecified type, not stated as uncontrolled, with ketoacidosis</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>type II diabetes mellitus [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled, with ketoacidosis</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-1) Diabetes with ketoacidosis\(250-12) type II diabetes mellitu~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ type II diabetes mellitus [non-insulin dependent t{..}adult-onset type] or unspecified type, uncontrolled, with ketoacidosis</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, with neurological manifestations</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-6) Diabetes with neurologica~\(250-60) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}ied type, not stated as uncontrolled, with neurological manifestations</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled, with neurological manifestations</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-6) Diabetes with neurologica~\(250-62) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}e] or unspecified type, uncontrolled, with neurological manifestations</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, with ophthalmic manifestations</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-5) Diabetes with ophthalmic ~\(250-50) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}ified type, not stated as uncontrolled, with ophthalmic manifestations</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled, with ophthalmic manifestations</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-5) Diabetes with ophthalmic ~\(250-52) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}ype] or unspecified type, uncontrolled, with ophthalmic manifestations</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus, type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-3) Diabetes with other coma\(250-30) Diabetes mellitus, type ~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus, type II [non-insulin dependent {..}pe] [adult-onset type] or unspecified type, not stated as uncontrolled</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus with other coma, type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-3) Diabetes with other coma\(250-32) Diabetes mellitus with o~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus with other coma, type II [non-in{..}ype] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, with other specified manifestations</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-8) Diabetes with other speci~\(250-80) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..} type, not stated as uncontrolled, with other specified manifestations</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled, with other specified manifestations</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-8) Diabetes with other speci~\(250-82) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}or unspecified type, uncontrolled, with other specified manifestations</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, with peripheral circulatory disorders</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-7) Diabetes with peripheral ~\(250-70) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}ype, not stated as uncontrolled, with peripheral circulatory disorders</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled, with peripheral circulatory disorders</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-7) Diabetes with peripheral ~\(250-72) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..} unspecified type, uncontrolled, with peripheral circulatory disorders</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, with renal manifestations</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-4) Diabetes with renal manif~\(250-40) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}nspecified type, not stated as uncontrolled, with renal manifestations</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled, with renal manifestations</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-4) Diabetes with renal manif~\(250-42) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}set type] or unspecified type, uncontrolled, with renal manifestations</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, not stated as uncontrolled, with unspecified complication</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-9) Diabetes with unspecified~\(250-90) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}cified type, not stated as uncontrolled, with unspecified complication</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>6</hlevel>
            <item_name>Diabetes mellitus type II [non-insulin dependent type] [NIDDM type] [adult-onset type] or unspecified type, uncontrolled, with unspecified complication</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Endocrine disorders (240-259)\Other endocrine gland diseases (250-259)\(250) Diabetes mellitus\(250-9) Diabetes with unspecified~\(250-92) Diabetes mellitus type I~\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ ... \ Diabetes mellitus type II [non-insulin dependent t{..}type] or unspecified type, uncontrolled, with unspecified complication</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
</ns3:query_definition>

```

I want to find all instances of diabetes mellitus type II, including non-insulin dependent (NIDDM) or adult-onset type, with specified complications such as peripheral circulatory disorders, renal manifestations, and unspecified complications, both controlled and uncontrolled.