# Service sector data

This page has been last updated for R13.

{% hint style="info" %}
Service sector data contains [detailed longitudinal data](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/detailed-longitudinal-data) with additional columns.
{% endhint %}

### Sandbox directory

Service sector data is available in the following Sandbox directory:

`/finngen/library-red/finngen_R[RELEASE]/service_sector_data_1.0/`

**Note, this data is also available in Atlas and as OMOP common data model.**&#x20;

### Data files

The data is available in the following file:

`data/finngen_R[RELEASE]_service_sector_detailed_longitudinal_1.0.txt.gz`

{% hint style="info" %}
The service sector data file was introduced in Data Release 8 with [detailed longitudinal data](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/detailed-longitudinal-data) from INPAT, OUTPAT, PRIM\_OUT, and PURCH registers with three additional columns: CODE5-CODE7. In Data Release 9 v2.0, data from REIMB, CANC and DEATH registers were added to the file. In Data Release 10, two more columns were added: CODE8-CODE9.
{% endhint %}

Additional columns CODE5-CODE9 in the service sector data file (scroll the table to see all columns):

<table data-header-hidden><thead><tr><th width="135"></th><th></th><th></th><th></th><th></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Register</strong></td><td><strong>CODE5</strong></td><td><strong>CODE6</strong></td><td><strong>CODE7</strong></td><td><strong>CODE8</strong></td><td><strong>CODE9</strong></td><td></td></tr><tr><td><p>INPAT</p><p>OUTPAT</p><p>OPER_IN</p><p>OPER_OUT (Health-Hilmo)</p></td><td>Service sector</td><td>Speciality</td><td>Hospital type (University Hospital, Central Hospital, Other hospital)</td><td>Contact type</td><td>Urgency</td><td></td></tr><tr><td>PRIM_OUT (Avohilmo)</td><td>Contact type</td><td>Service sector</td><td>Professional code of the recipient of the visit</td><td></td><td></td><td></td></tr><tr><td>PURCH</td><td>Reimbursement cost (until 2001 in Finnish marks, then in euros)</td><td>Additional reimbursement cost (until 2001 in Finnish marks, then in euros)</td><td>Reimbursement category</td><td></td><td></td><td></td></tr></tbody></table>

Please refer to the following file for more information about the service sector data file:

`finngen_R[RELEASE]_service_sector_detailed_longitudinal_readme_1.0.txt`

Documentation about the codes is available in [Service sector data code translations](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/service-sector-data/service-sector-data-code-translations) and in Sandbox:

`documentation/finngen_service_sector_detailed_longitudinal_code_definitions.txt`

### Atlas vocabulary

In Atlas, the following codes are made available using the Vocabulary 'FGVisitType' or 'Medicare Specialty':

* [**Health-Hilmo**](https://docs.finngen.fi/finngen-data-specifics/finnish-health-registers-and-medical-coding/finnish-health-registers)
  * CODE5 - [Palveluala - Service Sector](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/service-sector-data/service-sector-data-code-translations)
  * CODE6 - [Erikoisala - Speciality](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/service-sector-data/service-sector-data-code-translations)
  * CODE8 - [Yhteystapa - Contact type](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/service-sector-data/service-sector-data-code-translations)
  * CODE9 - [Kiireellisyys - Urgency](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/service-sector-data/service-sector-data-code-translations)
* [**Avohilmo**](https://docs.finngen.fi/finngen-data-specifics/finnish-health-registers-and-medical-coding/finnish-health-registers)
  * CODE5 - [Kaynti Yhteystapa - Contact type](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/service-sector-data/service-sector-data-code-translations)
  * CODE6 - [Kaynti Palvelumuoto - Service type](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/service-sector-data/service-sector-data-code-translations)
  * CODE7 - [Kaynti Ammatti - Professional code](https://docs.finngen.fi/finngen-data-specifics/red-library-data-individual-level-data/what-phenotype-files-are-available-in-sandbox-1/service-sector-data/service-sector-data-code-translations)
