<ahref="Toc252370641.htm">Results: Query Status View</a>
</p>
<p>
[<ahref="../index.htm">SHRINE Help Main Menu</a>]
</p>
</td>
<tdvalign="top">
<!-- Content -->
<h2>
<aname="_Toc252370640">Query Optimization</a>
</h2>
<p>
Tips for optimizing your query include the following:
</p>
<ul>
<li>
Select the most-limiting terms first.
<br/>
For example, demographic data is broader in scope than diagnoses or lab values. Therefore, if you select your diagnoses or lab value terms first
and then select your demographic terms, SHRINE returns your query results more quickly.
</li>
<li>
Queries that include lab values require a longer processing time that diagnoses or medications.
<br/>
Consider including either diagnoses or medication
terms in your first groups before adding a lab test term to your query.
</li>
<li>
When a term category maps to more than 120 specific terms, there are too many values to process and you cannot use the full category in your query. This is an indication that broader terms and multiple terms process more slowly than narrow or fewer terms. You might consider running multiple queries with simpler criteria in place of one complex query.
</li>
</ul>
</td>
</tr>
</table>
</div>
<divid="footer">
<p>Please use our <ahref="http://cbmi.catalyst.harvard.edu/formsJsf/shrine_feedback.jsf"target=_BLANK>Feedback</a> form to contact the SHRINE team or to request assistance.</p>