# Endpoints

## Registries

The disease endpoints were defined using nationwide registries:

* [Drug purchase and  Drug Reimbursement](https://www.kela.fi/web/en/research-data-requests)
* [Digital and Population Data Services Agency](https://dvv.fi/en/digital-and-population-data-services-agency)
* [Statistics Finland](https://www.stat.fi/til/ksyyt/index_en.html)
* [Register of primary health care visits: AVOHILMO](https://thl.fi/en/web/thlfi-en/statistics/information-on-statistics/register-descriptions/register-of-primary-health-care-visits)
* [Care Register for Health Care: HILMO](https://thl.fi/en/web/thlfi-en/statistics/information-on-statistics/register-descriptions/care-register-for-health-care)
* [Finnish cancer registry](https://syoparekisteri.fi/assets/files/2017/07/variable_list_eng_net.pdf)

We harmonized over the International Classification of Diseases (ICD) revisions 8, 9 and 10, cancer-specific ICD-O-3, (NOMESCO) procedure codes, Finnish-specific Social Insurance Institute (KELA) drug reimbursement codes and ATC-codes.

These registries spanning decades were electronically linked to the cohort baseline data using the unique national personal identification numbers assigned to all Finnish citizens and residents.

A full list of FinnGen endpoints is [available online](https://www.finngen.fi/en/researchers/clinical-endpoints) for release 12.

## Excluded endpoints

The endpoints with fewer than 50 cases, and developmental “helper” endpoints were excluded from the final PheWas (“OMIT” tag in the endpoint definition file).

## Risteys

[risteys.finngen.fi](https://risteys.finngen.fi/) (*Risteys = intersection* in Finnish) allows browsing of the FinnGen data at the phenotype level, including endpoint definitions, statistics about number of individuals, gender distribution, and longitudinal relationships. Please also note the R12 specific page <https://r12.risteys.finregistry.fi/>


---

# 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://finngen.gitbook.io/documentation/methods/endpoints.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.
