```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>Admit D-THROMBI@01:36:53</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>2</hlevel>
            <item_name>Diabetes mellitus (e08-e13)</item_name>
            <item_key>\\ICD10_ICD9\Diagnoses\(E00-E89) Endo~c157\(E08-E13) Diab~1uxc\</item_key>
            <item_icon>FA</item_icon>
            <tooltip>Diagnoses \ Endocrine, nutritional and metabolic diseases (e00-e89) \ Diabetes mellitus (e08-e13)</tooltip>
            <class>ENC</class>
            <constrain_by_modifier>
                <modifier_name>Admit Diagnosis</modifier_name>
                <modifier_key>\\ICD10_ICD9\Admit Diagnosis\</modifier_key>
                <applied_path>\Diagnoses\(E00-E89) Endo~c157\%</applied_path>
            </constrain_by_modifier>
            <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>5</hlevel>
            <item_name>THROMBIN TIME (LOINC:3243-3)</item_name>
            <item_key>\\i2b2_LABS\i2b2\Labtests\LAB\(LLB6) Coagulation\(LLB14) Routine Coagulation\TT\LOINC:3243-3\</item_key>
            <item_icon>LA</item_icon>
            <tooltip>Labtests \ Coagulation \ Routine Coagulation \ Thrombin Time (Group:TT) \ THROMBIN TIME (LOINC:3243-3)</tooltip>
            <class>ENC</class>
            <constrain_by_value>
                <value_operator>LT</value_operator>
                <value_constraint>100</value_constraint>
                <value_unit_of_measure>sec</value_unit_of_measure>
                <value_type>NUMBER</value_type>
            </constrain_by_value>
            <item_is_synonym>false</item_is_synonym>
        </item>
    </panel>
</ns4:query_definition>

```

I want to find patients who have been diagnosed with Diabetes mellitus (ICD10/ICD9 codes E08-E13) and have a Thrombin Time test result (LOINC:3243-3) with a value less than 10 seconds. This query will return results for any time period and the specificity scale is set to 0, meaning that the query is not restricted to any specific level of specificity. The panel accuracy scale is set to 100, indicating a high level of confidence in the results. The query will include two panels, one for the diagnosis of Diabetes mellitus and another for the Thrombin Time test result. The diagnosis panel will have no synonyms, while the Thrombin Time test panel will have no synonyms and the value constraint is set to less than 10 seconds.