```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:query_definition xmlns:ns2="http://www.i2b2.org/xsd/cell/crc/psm/1.1/" xmlns:ns4="http://www.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-Group B@10:20: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>3</hlevel>
            <item_name>  18-34 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>3</hlevel>
            <item_name>  35-44 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>3</hlevel>
            <item_name>  45-54 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>3</hlevel>
            <item_name>  55-64 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Demographics \ Age \ 55-64 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>3</hlevel>
            <item_name>&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>
    </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>Group B hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-1) Pure hyperglyceridemia\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Pure hyperglyceridemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, Group B</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-1) Pure hyperglyceridemia\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Pure hyperglyceridemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Mixed hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-2) Mixed hyperlipidemia\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Mixed hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Group A hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-0) Pure hypercholesterolemia\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Pure hypercholesterolemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, Group A</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-0) Pure hypercholesterolemia\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Pure hypercholesterolemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Combined hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Familial combined hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Familial multiple lipoprotein-type hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, combined</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia NOS</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, other and unspecified</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Multiple-type hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Other and unspecified hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-4) Other and unspecified hyp~\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Other and unspecified hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Group D hyperlipidemia</item_name>
            <item_key>\\i2b2_DIAG\i2b2\Diagnoses\Metabolic and immunity disorders (270-279)\(272) Disorders of lipoid metabol~\(272-3) Hyperchylomicronemia\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Diagnoses \ Metabolic and immunity disorders \ Disorders of lipoid metabolism \ Hyperchylomicronemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Combined hyperlipidemia nos</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.2) Mixed~z0ea\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Combined hyperlipidemia nos</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Familial combined hyperlipidemia</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.4) Other~p8ow\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Familial combined hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, group a</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.0) Pure h~vvif\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, group a</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, group b</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.1) Pure h~lfbf\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, group b</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, group c</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.2) Mixed~z0ea\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, group c</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, group d</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.3) Hyperc~ggag\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, group d</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, unspecified</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.5) Hyperl~kij0\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, unspecified</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Mixed hyperlipidemia</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.2) Mixed~z0ea\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Mixed hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, group d</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.3) Hyperc~ggag\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, group d</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, group b</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.1) Pure h~lfbf\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, group b</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Combined hyperlipidemia nos</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.2) Mixed~z0ea\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Combined hyperlipidemia nos</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, group c</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.2) Mixed~z0ea\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, group c</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Mixed hyperlipidemia</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.2) Mixed~z0ea\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Mixed hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, group a</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.0) Pure h~vvif\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, group a</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Familial combined hyperlipidemia</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.4) Other~p8ow\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Familial combined hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Hyperlipidemia, unspecified</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.5) Hyperl~kij0\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Hyperlipidemia, unspecified</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>Other hyperlipidemia</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E70-E88) Meta~6ibb\(E78) Disorder~ylaw\(E78.4) Other~p8ow\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Metabolic disorders (e70-e88) \ Disorders of lipoprotein metabolism and other lipidemias
 \ Other hyperlipidemia</tooltip>
            <class>ENC</class>
            <item_is_synonym>true</item_is_synonym>
        </item>
    </panel>
</ns4:query_definition>

```

I want to find all patients with a diagnosis of hyperlipidemia, including combined hyperlipidemia, hyperlipidemia group C, mixed hyperlipidemia, hyperlipidemia group A, familial combined hyperlipidemia, and other types of hyperlipidemia, within the categories of endocrine, nutritional, and metabolic diseases, specifically within the subcategory of metabolic disorders related to lipoprotein metabolism and other lipidemias.