> For the complete documentation index, see [llms.txt](https://docs.finngen.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.finngen.fi/working-in-the-sandbox/which-tools-are-available/atlas/detailed-guide/how-to-define-a-cohort-in-atlas/concept-sets/simplify-concept-sets-that-use-standard-code-descendants.md).

# Simplify Concept Sets that use standard code descendants

{% hint style="info" %}
This page is a continuation of [Create concept set using standard-code descendants](/working-in-the-sandbox/which-tools-are-available/atlas/detailed-guide/how-to-define-a-cohort-in-atlas/concept-sets/selecting-descendants-for-a-concept-set-in-atlas.md) tutorial.
{% endhint %}

[Including descendants](/working-in-the-sandbox/which-tools-are-available/atlas/detailed-guide/how-to-define-a-cohort-in-atlas/concept-sets/selecting-descendants-for-a-concept-set-in-atlas.md) may lead to a large number of standard codes having no record counts (RC).

{% hint style="info" %}
If you include only descendants with record counts (RC) then this will give the same result but decreases the number of included codes and simplifies the Concept Set.
{% endhint %}

### Simplify Concept Set

The following example shows how to simplify a Concept Set using standard code-descendants using the **Included Concepts** and **Concept Set Expression** page.

* On the **Included Concepts** page, order the codes by record count ![](/files/TrWuJ1PtD3eiHgZzsYiQ)
* Select all codes with record count (RC) > 0 using the **Id** column checkbox ![](/files/DFnI5qQCWDNHIsXR1T6B)
* Scroll to the bottom of the page and click the **Add to Concept Set** button. Codes with RC > 0 are now included in the Concept Set.

<figure><img src="/files/ksW8cHHmFew9S472jj3H" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/iSzPLRJ8M00axC6bq6x8" alt=""><figcaption></figcaption></figure>

* On the **Concept Set Expression** page, select all codes with descendants using the **Id** column checkbox ![](/files/DFnI5qQCWDNHIsXR1T6B)
* Scroll to the bottom of the page and click the **Remove Selected** button.

<figure><img src="/files/iuwOKiZXHl6EdqYS1dDR" alt=""><figcaption></figcaption></figure>

The Concept Set now only contains codes with a record count (RC) > 0. All standard codes without records (107 codes in this example) have been removed from the Concept Set.

<figure><img src="/files/Gfklxf1fcieknx6cB7rl" alt=""><figcaption></figcaption></figure>
