# Why is the case number dropping after the "Check pre-conditions, main-only, mode, ICD version" step?

**The endpoint I am looking at is only defined using a bunch of ICD codes, nothing more.**

The Endpointter – the script that turns FinnGen data into endpoint data – first looks for ICD-code match (the step "Filter registries"), and only filters later with the proper ICD version. In some cases, the FinnGen data contains wrong diagnosis codes so they are dropped when the proper ICD version is applied.

This is the case for the [O15\_EXCESS\_VOMIT\_PREG](https://risteys.finngen.fi/phenocode/O15_EXCESS_VOMIT_PREG) endpoint for example.

See another question related to this endpoint [here](/faq/about-atlas/how-to-repeat-a-risteys-endpoint-in-atlas.md).


---

# 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/faq/about-risteys/why-is-the-case-number-dropping-after-the-check-pre-conditions-main-only-mode-icd-version-step.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.
