Nightmares

F5_NIGHTMARES

Endpoint definition

Report an error or suggest an improvement for this endpoint codes

Endpoint definition steps

FinnGen

Phenotype data

519972

1. Apply sex-specific rule

None

519972

2. Check conditions

None

519972

3. Check pre-conditions, main-only, mode, registry filters

Registry filters:

  • Hospital discharge: ICD-10 F51.5
  • Cause of death: ICD-10 F51.5

2 out of 7 registries used, show all original rules.

95

4. Check minimum number of events

None

95

5. Include endpoints

None

95

6. Filter based on genotype QC (FinnGen only)

88

Control definitions (FinnGen only)

Control exclude
F5_SLEEP

Extra metadata

First used in FinnGen datafreeze
DF5

Case counts by codes

FinnGen case counts by registry codes:

generic upset plot

Upset plot

Full data table

Summary Statistics

-FinRegistry-

Key figures

All Female Male
Number of individuals
Whole population 528 298 223
Only index persons 483 282 201
Unadjusted period prevalence (%)
Whole population 0.01 0.01 0.01
Only index persons 0.01 0.01 0.01
Median age at first event (years)
Whole population 30.77 29.91 31.65
Only index persons 31.02 29.91 32.57

-FinnGen-

Key figures

All Female Male
Number of individuals 88 65 23
Unadjusted period prevalence (%) 0.02 0.02 0.01
Median age at first event (years) 42.40 34.19 65.59

-FinRegistry-

Age distribution of first events

-FinnGen-

Age distribution of first events

-FinRegistry-

Year distribution of first events

-FinnGen-

Year distribution of first events

-FinRegistry-

Cumulative Incidence Function

-FinnGen-

Cumulative Incidence Function

No data

CodeWAS

CodeWAS is a tool for exploring the associations between an endpoint and all of the medical codes and drug codes.

This is a new tool, please reach out using the contact form for feedback and improvement ideas.

First, a cohort is built by matching controls to the endpoint cases using year of birth and sex. Then, a Fisher test is done for all the medical codes and drug codes between the cases and controls of this cohort. Codes are reported in the table below if they have −log10(p-value) ≥ 6.

Matched cohort

Matched cases
95
Matched controls
950
Code
Vocabulary
Description
Odds Ratio
-log10(p)
N matched cases
N matched controls
F51.5
ICD-10 Finland
Nightmares
+∞
136.9
95
*
F51.0
ICD-10 Finland
Nonorganic insomnia
+∞
49.3
43
*
IAB13
NOMESCO Finland
Psychiatric sleep disorder consultation
+∞
29.7
27
*
N05AH04
ATC
quetiapine; oral
9.1
26.2
48
96
N06AX11
ATC
mirtazapine; oral
7.5
22.1
57
158
IEY18
NOMESCO Finland
Psychiatric sleep coaching, individual
+∞
19.4
18
*
N06AX16
ATC
venlafaxine; oral
6.8
16.7
34
72
Z00.4
ICD-10 Finland
General psychiatric examination, not elsewhere classified
6.6
15.3
31
65
IEY05
NOMESCO Finland
Dedicated profession-specific psychiatric intervention, individual
18.5
15.0
23
16
F51.9
ICD-10 Finland
Nonorganic sleep disorder, unspecified
63.3
14.3
16
*
P06
ICPC
Sleep disturbance
6.7
14.1
27
53
G47.8
ICD-10 Finland
Other sleep disorders
40.8
14.0
17
5
G25.8
ICD-10 Finland
Other specified extrapyramidal and movement disorders
34.0
13.5
17
6
G47.3
ICD-10 Finland
Sleep apnoea
5.1
12.1
33
89
N06AB04
ATC
citalopram; systemic
5.2
12.0
32
85
N05CF01
ATC
zopiclone; oral
4.7
11.7
38
118
F32.9
ICD-10 Finland
Depressive episode, unspecified
5.4
11.7
29
72
F33.2
ICD-10 Finland
Recurrent depressive disorder, current episode severe without psychotic symptoms
11.2
10.7
20
22
IDY03
NOMESCO Finland
Systematic individual therapy, cognitive-behavioural
11.6
10.4
19
20
N03AE01
ATC
clonazepam; systemic
12.8
10.3
18
17
N05BA04
ATC
oxazepam; oral
4.1
10.3
41
147
N06AB03
ATC
fluoxetine; oral
5.5
10.2
23
52
IBA03
NOMESCO Finland
Psychotherapy evaluation
29.7
10.1
13
5
N06AX12
ATC
bupropion; oral
5.8
10.1
21
44
ICB01
NOMESCO Finland
Psychiatric treatment plan, standard
13.5
10.0
17
15
N06AX05
ATC
trazodone; oral
33.9
9.7
12
*
A04
ICPC
Weakness/tiredness general
4.5
9.6
30
89
F33.10
ICD-10 Finland
Recurrent depression, moderate episode without somatic syndrome
5.8
9.6
20
42
N03AX16
ATC
[U] pregabalin
4.5
9.4
29
85
F32.2
ICD-10 Finland
Severe depressive episode without psychotic symptoms
5.8
9.3
19
39
ICZ03
NOMESCO Finland
Participation in compiling a psychiatric treatment plan
14.6
9.2
15
12
IBZ01
NOMESCO Finland
Profession-specific psychiatric evaluation
14.6
9.2
15
12
Z71.8
ICD-10 Finland
Other specified counselling
3.7
9.2
50
218
N06AB10
ATC
escitalopram; oral
3.8
9.1
42
164
N04BC05
ATC
pramipexole; oral
8.8
9.0
19
26
F33.9
ICD-10 Finland
Recurrent depressive disorder, unspecified
9.4
8.9
18
23
N05CF02
ATC
zolpidem; oral
4.7
8.7
24
64
C07AA05
ATC
propranolol; systemic
3.8
8.5
35
126
IAA01
NOMESCO Finland
Assessment of need for psychiatric treatment
16.5
8.5
13
9
N06AX21
ATC
duloxetine; oral
4.6
8.2
23
62
N06AX26
ATC
vortioxetine; oral
5.3
8.0
18
40
G47.9
ICD-10 Finland
Sleep disorder, unspecified
13.5
7.8
13
11
ICC04
NOMESCO Finland
Psychiatric treatment plan, permanent discontinuation
10.7
7.6
14
15
R53
ICD-10 Finland
Malaise and fatigue
3.4
7.6
39
161
F51.3
ICD-10 Finland
Sleepwalking [somnambulism]
+∞
7.4
7
*
P01
ICPC
Feeling anxious/nervous/tense
3.5
7.3
33
125
F43.1
ICD-10 Finland
Post-traumatic stress disorder
8.7
7.2
15
20
N05AH03
ATC
olanzapine; systemic
8.7
7.2
15
20
N06AX22
ATC
agomelatine; oral
13.6
6.8
11
9
F41.9
ICD-10 Finland
Anxiety disorder, unspecified
3.8
6.7
24
77
IGY01
NOMESCO Finland
Accelerated psychiatric treatment contact
12.2
6.5
11
10
ZY010
NOMESCO Finland
Hospital outpatient
6.0
6.4
17
33
N03AX12
ATC
[U] gabapentin; oral
3.8
6.4
22
69
ZXE13
NOMESCO Finland
Procedure duration 90 to 119 minutes
7.3
6.1
14
22
ZXE06
NOMESCO Finland
Procedure duration 50 to 59 minutes
7.3
6.1
14
22
N06AB06
ATC
sertraline; oral
3.7
6.1
22
71
ICB03
NOMESCO Finland
Psychiatric treatment plan, monitoring
16.4
6.0
9
6

LabWAS

OMOP Concept
People with measurements
Mean N measurements
Mean measured value
(ID) Name
N Cases
N Controls
OR
-log10(p)
cases
controls
cases
controls
unit
-log10(p)
N cases
N controls
34
89
5.39
13.04
2.0
1.9
15.56
15.04
umol/l
0.11
34
83
53
240
3.73
9.24
2.4
1.7
92.57
93.60
pmol/l
0.06
28
126
68
418
3.21
6.31
3.1
3.0
—
—
—
0
0
49
252
2.95
6.29
4.4
3.4
49.11
72.09
e6/l
0.21
33
162
36
157
3.08
6.19
7.5
7.6
—
—
—
0
0
67
418
3.05
5.88
8.9
8.3
4.05
4.08
e9/l
0.05
56
365
14
24
6.65
5.79
2.3
2.0
—
—
—
0
0
18
53
3.96
5.63
2.7
1.6
—
—
—
0
0
18
53
3.96
5.63
2.7
1.6
—
—
—
0
0
15
30
5.73
5.54
3.9
3.0
6.11
5.79
kpa
0.64
15
30
18
54
3.88
5.49
2.7
1.6
—
—
—
0
0
13
22
6.66
5.45
1.1
1.2
—
—
—
0
0
18
55
3.80
5.34
2.7
1.6
—
—
—
0
0
17
50
3.92
5.32
2.8
1.6
—
—
—
0
0
10
12
9.16
5.20
2.1
4.2
—
—
—
0
0
57
344
2.64
5.04
4.2
3.5
0.00
0.00
estimate
-0.00
11
78
75
522
3.07
4.96
5.6
4.3
—
—
—
0
0
15
43
3.95
4.84
2.1
1.6
—
—
—
0
0
56
340
2.58
4.82
5.7
4.8
0.00
0.00
estimate
-0.00
11
73
40
207
2.61
4.80
3.8
2.9
21.14
350.04
e6/l
0.53
32
157
33
155
2.73
4.80
4.5
3.3
—
—
—
0
0
24
95
3.04
4.76
1.4
1.3
400.00
394.00
titre
—
6
20
11
19
6.39
4.60
1.0
1.2
—
—
—
0
0
14
35
4.51
4.32
3.5
2.1
—
—
—
0
0
36
186
2.51
4.25
3.7
2.5
0.80
0.32
e6/l
0.29
28
138
55
345
2.41
4.23
4.3
3.5
0.00
0.00
estimate
-0.00
11
73
12
26
5.12
4.23
4.1
3.2
4.20
4.53
kpa
0.33
12
26
9
14
6.97
4.09
3.4
2.0
25.44
24.49
mmol/l
—
9
14
7
7
10.66
4.08
2.1
2.1
—
—
—
0
0
10
19
5.75
3.95
3.5
3.0
130.70
126.89
g/l
—
10
19
53
334
2.33
3.94
6.3
5.4
—
—
—
0
0
9
15
6.50
3.92
3.7
3.3
0.60
0.68
%
—
9
15
39
216
2.37
3.91
3.1
3.1
14.82
46.01
ng/l
1.02
24
120
51
318
2.30
3.87
5.2
4.9
0.67
0.62
%
0.31
46
295
9
16
6.09
3.76
3.7
3.3
1.06
1.21
%
—
9
16
35
188
2.36
3.73
3.8
2.4
—
—
—
0
0
54
350
2.26
3.68
6.2
5.1
0.56
0.55
e9/l
0.13
48
317
54
353
2.23
3.57
6.4
5.1
0.04
0.04
e9/l
0.59
48
319
6
6
10.55
3.54
1.0
1.0
—
—
—
0
0
14
48
3.25
3.47
1.1
1.2
—
—
—
0
0
20
85
2.71
3.44
1.3
1.2
—
—
—
0
0
56
376
2.19
3.41
6.6
5.2
0.19
0.18
e9/l
0.06
51
341
18
74
2.77
3.28
1.7
1.3
—
—
—
0
0
8
15
5.71
3.26
1.5
1.7
—
—
—
0
0
32
175
2.25
3.21
2.6
1.8
2.51
2.83
mg/l
0.48
26
157
17
70
2.74
3.09
1.1
1.3
—
—
—
0
0
19
83
2.61
3.09
2.6
2.3
1824.91
704.59
u/l
—
7
33
85
697
3.09
3.05
4.9
3.7
2.67
2.77
mmol/l
0.53
80
647
11
32
3.75
3.01
5.5
6.6
—
—
—
0
0
84
686
2.94
3.01
4.3
3.5
4.39
4.68
mmol/l
2.20
78
640
5
5
10.45
3.01
1.4
3.2
—
—
—
0
0
32
183
2.13
2.84
5.0
3.7
0.00
0.00
estimate
—
10
72
11
34
3.52
2.83
3.1
5.7
1.13
1.31
mmol/l
0.29
11
34
20
94
2.43
2.79
3.0
2.3
151.73
127.24
ng/l
0.05
15
50
12
43
3.05
2.76
1.0
1.3
—
—
—
0
0
83
684
2.69
2.73
4.4
3.6
1.38
1.52
mmol/l
2.69
78
636
20
97
2.35
2.60
1.5
1.6
1141.41
1191.47
nmol/l
0.08
14
75
5
7
7.46
2.58
1.0
1.4
—
—
—
0
0
7
17
4.36
2.41
1.1
1.3
—
—
—
0
0
27
154
2.05
2.37
1.9
1.6
0.78
0.71
mg/l
0.14
19
113
24
133
2.08
2.26
2.9
3.2
11.19
64.25
mg/l
1.64
15
78
90
806
3.21
2.26
14.4
10.0
—
—
—
0
0
8
24
3.54
2.23
1.0
1.3
—
—
—
0
0
12
50
2.60
2.12
5.3
3.1
—
—
—
0
0
12
50
2.60
2.12
1.2
1.1
173.02
579.22
u/ml
0.38
12
44
45
316
1.81
2.09
9.3
7.8
0.00
0.00
e9/l
-0.00
34
256
32
202
1.88
2.08
1.7
1.3
0.56
1.62
u/ml
—
9
46
19
100
2.13
2.03
3.4
2.2
2.94
3.66
e6/l
0.15
11
53
5
11
4.73
1.96
17.4
9.5
4.00
3.92
mmol/l
—
5
11
42
296
1.75
1.88
1.9
1.9
—
—
—
0
0
5
12
4.33
1.84
17.4
9.0
1.32
2.04
mmol/l
—
5
12
7
23
3.20
1.84
1.4
1.3
389.57
312.74
mg/l
—
7
23
35
236
1.76
1.81
2.8
2.4
—
—
—
0
0
11
48
2.46
1.78
10.7
7.4
105.64
105.23
mmol/l
0.13
11
48
6
18
3.48
1.77
4.5
4.2
25.77
23.89
mmol/l
—
6
18
8
30
2.82
1.77
1.0
1.3
—
—
—
0
0
24
145
1.88
1.76
3.0
3.8
1.89
9.43
mg/mmol
1.59
15
85
23
138
1.88
1.72
4.6
3.5
—
—
—
0
0
10
41
2.60
1.70
1.2
1.3
—
—
—
0
0
22
131
1.88
1.68
1.1
1.3
11.72
26.71
iu/ml
—
5
37
36
252
1.69
1.61
5.1
11.4
0.99
1.16
inr
2.66
13
83
7
29
2.52
1.42
22.7
5.4
—
—
—
0
0
20
124
1.78
1.34
2.1
2.3
—
—
—
0
0
79
695
1.81
1.34
21.3
12.4
15.78
14.41
%
0.79
79
687
27
184
1.65
1.30
1.5
1.3
2.31
2.34
g/l
0.03
16
113
24
162
1.64
1.20
3.9
3.6
—
—
—
0
0
13
73
1.90
1.18
1.7
1.6
—
—
—
0
0
5
21
2.45
1.10
1.8
2.4
—
—
—
0
0
5
21
2.45
1.10
1.4
1.4
20.60
20.50
s
—
5
16
5
21
2.45
1.10
1.2
1.7
—
—
—
0
0
13
76
1.82
1.05
2.5
2.1
—
—
—
0
0
5
22
2.34
1.04
17.4
11.5
0.80
0.74
%
—
5
22
5
22
2.34
1.04
17.4
11.5
1.00
1.31
%
—
5
22
31
232
1.50
0.99
2.2
1.9
—
—
—
0
0
10
55
1.91
0.96
4.6
3.4
4.43
4.69
pmol/l
—
10
49
6
27
2.30
0.95
1.7
2.4
—
—
—
0
0
12
72
1.76
0.90
1.3
1.1
—
—
—
0
0
17
114
1.60
0.87
1.9
1.6
376470897.94
429.60
pmol/l
0.48
17
98
8
45
1.85
0.87
1.4
1.2
—
—
—
0
0
27
204
1.45
0.81
3.3
3.1
—
—
—
0
0
6
34
1.81
0.77
1.0
1.4
—
—
—
0
0
7
38
1.91
0.75
2.0
2.9
64.24
66.47
g/l
—
7
33
7
39
1.86
0.74
1.1
1.2
—
—
—
0
0
5
25
2.05
0.74
2.0
1.1
—
—
—
0
0
5
26
1.97
0.71
2.0
1.9
—
6.57
—
0
7
16
111
1.53
0.71
1.8
1.5
—
—
—
0
0
10
61
1.71
0.71
4.3
4.0
—
—
—
0
0
10
62
1.69
0.68
1.4
1.3
—
—
—
0
0
8
49
1.69
0.64
4.6
1.7
590.38
358.34
mu/l
—
8
41
0
20
0.00
0.61
0.0
2.8
—
125.80
—
0
10
7
49
1.46
0.47
1.6
1.3
—
—
—
0
0
6
94
0.61
0.45
1.0
1.2
—
—
—
0
0
12
88
1.42
0.42
1.2
1.2
—
—
—
0
0
0
15
0.00
0.41
0.0
1.1
—
—
—
0
0
0
16
0.00
0.41
0.0
1.0
—
6.12
—
0
6
0
17
0.00
0.41
0.0
1.0
—
8.22
—
0
7
5
35
1.45
0.40
2.2
2.3
53.62
76.04
e9/l
—
5
28
9
67
1.38
0.39
5.2
3.2
—
—
—
0
0
17
137
1.29
0.35
1.4
1.3
1.97
6.61
u/ml
—
7
53
18
152
1.23
0.26
2.8
2.6
328.06
2780.53
umol/l
0.49
18
131
0
11
0.00
0.21
0.0
1.0
—
—
—
0
0
0
10
0.00
0.21
0.0
1.3
—
92.51
—
0
10
20
227
0.85
0.21
1.8
1.7
—
—
—
0
0
6
48
1.27
0.20
1.7
1.8
—
—
—
0
0
8
71
1.14
0.16
1.6
1.4
—
—
—
0
0
31
291
1.10
0.11
2.2
2.0
—
—
—
0
0
23
248
0.90
0.11
1.9
1.8
—
—
—
0
0
5
43
1.17
0.10
1.4
1.1
—
—
—
0
0
14
129
1.10
0.06
1.1
1.5
—
—
—
0
0
28
281
0.99
0.00
1.5
1.7
—
—
—
0
0
28
277
1.02
0.00
2.0
2.2
—
—
—
0
0
0
8
0.00
0.00
0.0
1.6
—
—
—
0
0
0
8
0.00
0.00
0.0
1.3
—
—
—
0
0
0
5
0.00
0.00
0.0
3.0
—
—
—
0
0
0
5
0.00
0.00
0.0
1.2
—
—
—
0
0
0
5
0.00
0.00
0.0
1.8
—
—
—
0
0
0
5
0.00
0.00
0.0
2.0
—
—
—
0
0
0
5
0.00
0.00
0.0
1.6
—
—
—
0
0
0
7
0.00
0.00
0.0
1.0
—
—
—
0
0
0
8
0.00
0.00
0.0
1.1
—
98.83
—
0
8
0
7
0.00
0.00
0.0
1.3
—
—
—
0
0
0
5
0.00
0.00
0.0
2.8
—
510.40
—
0
5
0
5
0.00
0.00
0.0
1.8
—
—
—
0
0
0
7
0.00
0.00
0.0
1.4
—
—
—
0
0
7
76
0.91
-0.00
1.4
1.6
—
—
—
0
0
0
6
0.00
-0.00
0.0
2.5
—
632.00
—
0
6
0
9
0.00
-0.00
0.0
3.9
—
—
—
0
0
7
73
0.96
-0.00
1.4
1.5
—
—
—
0
0
0
9
0.00
-0.00
0.0
1.1
—
238.11
—
0
9
0
9
0.00
-0.00
0.0
1.6
—
2.14
—
0
9
0
6
0.00
-0.00
0.0
1.7
—
0.80
—
0
6
0
6
0.00
-0.00
0.0
1.0
—
—
—
0
0
0
9
0.00
-0.00
0.0
1.0
—
—
—
0
0
0
6
0.00
-0.00
0.0
1.7
—
1.63
—
0
6
0
6
0.00
-0.00
0.0
2.7
—
1.40
—
0
6
7
74
0.94
-0.00
1.4
1.5
—
—
—
0
0
5
51
0.98
-0.00
1.4
3.8
1.24
1.22
mmol/l
—
5
43
0
6
0.00
-0.00
0.0
1.2
—
2184.00
—
0
6
0
9
0.00
-0.00
0.0
1.1
—
31.70
—
0
9

Mortality – FinRegistry

Association

Association between endpoint F5_NIGHTMARES and mortality.

Females

No data

Males

No data

Mortality risk

Mortality risk for people of age

years, who have F5_NIGHTMARES.

N-year risk Females Males
1 No data No data
5 No data No data
10 No data No data
15 No data No data
20 No data No data

Relationships between endpoints

Index endpoint: F5_NIGHTMARES – Nightmares

GWS hits: -

Endpoint
Case Overlap
Survival Analysis
Genetic Correlations
Genetic Signals
N (Jaccard index)
HR [CI]
rg [CI]
Hits
Coloc Hits
FinRegistry
FinnGen
FinRegistry
FinnGen
FinnGen
loading spinner Loading data