# View standard code hierarchy in Atlas

The medical code hierarchy is available in Atlas for [standard codes](/working-in-the-sandbox/which-tools-are-available/atlas/detailed-guide/code-sets-in-atlas.md). If you are using [non-standard codes](/working-in-the-sandbox/which-tools-are-available/atlas/detailed-guide/code-sets-in-atlas.md), you can [find equivalent standard codes in Atlas](/working-in-the-sandbox/which-tools-are-available/atlas/detailed-guide/how-to-define-a-cohort-in-atlas/concept-sets/find-mapped-equivalents-for-standard-and-non-standard-codes-in-atlas.md#find-the-standard-equivalent-for-non-standard-code) and then view the hierarchy of the equivalent standard codes.

### Viewing the hierarchy of a standard code

* Go to the **Concept Sets** page and select a Concept Set.
* Click a **Concept Name** to open the **Details** view.

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

On the **Details** page, you can see details of the medical code including **Vocabulary Id** (SNOMED in the example below) and **Standard Concept** that shows if the code is a standard code (Standard in the example below).

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

* Go to the **Hierarchy** page to see the parent(s) and descendant(s) (children) of the selected standard code.

### Parental codes

The Parent(s) of the code are shown in the **Parents** section. The parental codes can be added to the **Concept Set** (shown in the blue box) by selecting them using the **Id** column checkbox and clicking the **Add To Concept Set** button.

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

### Descendant codes

The **Children** section shows the descendants of the standard code in the code hierarchy. The descendant codes can be added to the **Concept Set** (shown in the blue box) by selecting them and clicking the **Add To Concept Set** button.

<figure><img src="/files/53DIsSoIJ8MrDwK3h0bX" alt=""><figcaption></figcaption></figure>

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.finngen.fi/working-in-the-sandbox/which-tools-are-available/atlas/detailed-guide/how-to-define-a-cohort-in-atlas/concept-sets/viewing-the-hierarchy-of-standard-snomed-codes-in-atlas.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
