```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 years old@01:50:09</query_name>
    <query_timing>ANY</query_timing>
    <specificity_scale>0</specificity_scale>
    <panel>
        <panel_number>1</panel_number>
        <panel_timing>ANY</panel_timing>
        <panel_accuracy_scale>100</panel_accuracy_scale>
        <invert>0</invert>
        <total_item_occurrences>1</total_item_occurrences>
        <item>
            <hlevel>4</hlevel>
            <item_name>18 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\18 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 18 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>19 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\19 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 19 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>20 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\20 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 20 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>21 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\21 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 21 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>22 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\22 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 22 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>23 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\23 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 23 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>24 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\24 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 24 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>25 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\25 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 25 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>26 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\26 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 26 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>27 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\27 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 27 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>28 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\28 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 28 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>29 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\29 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 29 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>30 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\30 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 30 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>31 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\31 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 31 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>32 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\32 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 32 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>33 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\33 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 33 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>34 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\18-34 years old\34 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 18-34 years old \ 34 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
</ns4:query_definition>

```

I want to find all encounter records of patients aged between 18 and 34 years old, who are male, with a smoking history of 10 packs per year or less, and have no history of chronic obstructive pulmonary disease (COPD), in the i2b2 DEMO database.