```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-55 ye-Princ@19:37:58</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>Living</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Vital Status\Living\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographic \ Vital Status \ Living</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>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>
        <item>
            <hlevel>4</hlevel>
            <item_name>60 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\55-64 years old\60 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 55-64 years old \ 60 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <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>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>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>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>
        <item>
            <hlevel>4</hlevel>
            <item_name>35 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\35 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 35 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>36 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\36 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 36 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>37 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\37 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 37 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>38 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\38 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 38 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>39 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\39 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 39 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>40 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\40 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 40 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>41 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\41 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 41 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>42 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\42 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 42 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>43 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\43 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 43 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>44 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\35-44 years old\44 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 35-44 years old \ 44 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>45 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\45 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 45 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>46 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\46 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 46 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>47 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\47 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 47 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>48 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\48 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 48 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>49 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\49 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 49 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>50 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\50 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 50 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>51 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\51 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 51 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>52 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\52 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 52 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>53 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\53 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 53 years old</tooltip>
            <class>ENC</class>
            <item_is_synonym>false</item_is_synonym>
        </item>
        <item>
            <hlevel>4</hlevel>
            <item_name>54 years old</item_name>
            <item_key>\\i2b2_DEMO\i2b2\Demographics\Age\45-54 years old\54 years old\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Demographics \ Age \ 45-54 years old \ 54 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>
    </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>3</hlevel>
            <item_name>Acute pancreatitis</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(K00-K94) Dise~rl1r\(K80-K87) Diso~5bj3\(K85) Acute pa~es5c\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Diseases of the digestive system (k00-k94) \ Disorders of gallbladder, biliary tract and pancreas (k80-k87) \ Acute pancreatitis</tooltip>
            <class>ENC</class>
            <constrain_by_modifier>
                <modifier_name>Principal Diagnosis</modifier_name>
                <modifier_key>\\ICD10_ICD9\Principal Diagnosis\</modifier_key>
                <applied_path>\Diagnoses\(K00-K94) Dise~rl1r\%</applied_path>
            </constrain_by_modifier>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
</ns4:query_definition>

```

I want to find patients between the ages of 18 and 34 or 45 and 54 with the diagnosis of acute pancreatitis.