# Strategies for querying LoincCode table by category

**URL:** <https://forum.loinc.org/t/strategies-for-querying-loinccode-table-by-category/717>\
**Category:** loinc-properties-and-units-of-measure\
**Created:** [December 3, 2010, 1:02am UTC](https://forum.loinc.org/t/strategies-for-querying-loinccode-table-by-category/717 "2010-12-03T01:02:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![souljah411](https://forum.loinc.org/letter_avatar_proxy/v4/letter/s/9dc877/32.png) [@souljah411](https://forum.loinc.org/u/souljah411)\
**Post date:** [December 3, 2010, 1:02am UTC](https://forum.loinc.org/t/strategies-for-querying-loinccode-table-by-category/717/1 "2010-12-03T01:02:35Z")

</div>

I need a way to determine if a particular group of rows are specific to Chemistry, Hematology, etc.; which field(s) do I need to use to make this determination. Is there any documentation that explains this?

---

<div class="post-metadata">

**Author:** ![dvreeman](https://forum.loinc.org/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@dvreeman](https://forum.loinc.org/u/dvreeman)\
**Post date:** [December 3, 2010, 10:50am UTC](https://forum.loinc.org/t/strategies-for-querying-loinccode-table-by-category/717/2 "2010-12-03T10:50:42Z")

</div>

Yes, you can use the CLASS field of the LOINC database for exactly this purpose. Take a look at Appendix B of the LOINC User’s Guide for a detailed listing of the classes. If you are using RELMA, you can restrict your searches to any particular class (or any other hierarchy node) by going over to the “hierarchy and search restrictions” tab and selecting the node at which you want to limit your search.  
  
  
  
The upcoming RELMA release (5.0) will have a way to do this from the search command line, so stay tuned…

---

<div class="post-metadata">

**Author:** ![system](https://forum.loinc.org/uploads/default/original/1X/dbab97ce9b2987d788a376e254fcaae249f3b672.png) [@system](https://forum.loinc.org/u/system)\
**Post date:** [June 23, 2023, 3:36pm UTC](https://forum.loinc.org/t/strategies-for-querying-loinccode-table-by-category/717/3 "2023-06-23T15:36:25Z")

</div>


