Sleep terrors [night terrors]

F5_SLEEPTERRORS

Endpoint definition

↥

Report an error or suggest an improvement for this endpoint codes

Endpoint definition steps

FinnGen

Phenotype data

519870

1. Apply sex-specific rule

None

519870

2. Check conditions

None

519870

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

Registry filters:

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

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

87

4. Check minimum number of events

None

87

5. Include endpoints

None

87

6. Filter based on genotype QC (FinnGen only)

80

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 1681 662 1017
Only index persons 1307 520 787
Unadjusted period prevalence (%)
Whole population 0.02 0.02 0.03
Only index persons 0.03 0.02 0.03
Median age at first event (years)
Whole population 6.64 6.09 6.94
Only index persons 7.71 7.32 7.97

-FinnGen-

Key figures

All Female Male
Number of individuals 80 62 18
Unadjusted period prevalence (%) 0.02 0.02 0.01
Median age at first event (years) 17.80 20.26 9.36

-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.

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
87
Matched controls
870
Code
Vocabulary
Description
Odds Ratio
-log10(p)
N matched cases
N matched controls
F51.4
ICD-10 Finland
Sleep terrors [night terrors]
+∞
125.3
87
*
F51.0
ICD-10 Finland
Nonorganic insomnia
+∞
32.3
29
*
IAB13
NOMESCO Finland
Psychiatric sleep disorder consultation
+∞
13.9
13
*
G47.9
ICD-10 Finland
Sleep disorder, unspecified
20.7
11.8
17
10
F51.9
ICD-10 Finland
Nonorganic sleep disorder, unspecified
29.8
11.6
15
6
IEY18
NOMESCO Finland
Psychiatric sleep coaching, individual
+∞
9.5
9
*
F51.3
ICD-10 Finland
Sleepwalking [somnambulism]
+∞
9.5
9
*
Z01.8
ICD-10 Finland
Other specified special examinations
4.0
7.3
26
84
IBB02
NOMESCO Finland
Psychiatric evaluation of working capacity and rehabilitation
+∞
6.3
6
*
N06AX11
ATC
mirtazapine; oral
3.2
6.2
33
138

TimeCodeWAS

↥

TimeCodeWAS is a tool for exploring time-dependent associations between an endpoint and health codes (diagnoses, lab tests, procedures, etc.).

The TimeCodeWAS analysis is done in three steps:

  1. Build a matched case-control set for this endpoint. Each case is matched to 5–10 controls on sex and year of birth, and controls must be at risk at the same age as the case's age of onset. TimeCodeWAS allows for controls to be reused.
  2. Count cases and controls. For each health code, and for each time window: tally the counts into a 2×2 table. To be eligible in a time window, a case or control must have data coverage for at least 50% of that time window.
  3. Perform association tests. If all cells of the 2×2 table have N≥10, then a χ² test is performed, otherwise a Fisher's exact test is done. The corresponding p-value and confidence interval are reported below, along with the standard odds ratio when a χ² test is done, or Fisher's MLE odds ratio otherwise.

TimeCodeWAS currently uses the same default set of time windows for all the endpoints. Please reach out to us if you have suggestions for better time windows for some endpoints. The default time windows are: TimeCodeWAS time windows

Sort & Filter
Sort
Odds Ratio
among windows:
Filter
Code & OMOP
Cases and controls with code
in
Odds Ratio
in
OMOP Concept
Code (OMOP Vocabulary) [OMOP Concept ID]
OMOP Concept Class / OMOP Domain
Odds Ratio
TimeCodeWAS O.R. time legend
Cases and controls with code
TimeCodeWAS Cases and Controls percentages time legend
Outpatient Visit
OP (Visit) [9202]
Visit / Visit
7.9e-02 1.3e-01 8.8e-01 4.6e+00 1.4e+00 3.5e-01 5.9e-01
70.00%/68.31% 54.17%/51.03% 26.39%/12.94% 43.06%/0.74% 36.11%/12.50% 59.15%/50.60% 83.58%/73.84%
Case Management Agency
251B00000X (NUCC) [38004193]
Visit / Visit
-1.4e-01 3.3e-03 7.4e-01 3.8e+00 6.1e-01 1.4e-01 -1.5e-01
51.43%/55.01% 48.61%/48.53% 31.94%/18.24% 27.78%/0.88% 30.56%/19.26% 54.93%/51.50% 70.15%/73.21%
Sleep apnoea
G47.3 (ICD10) [45562094]
ICD10 code / Condition
2.0e+00 2.2e+00 — — — 3.0e+00 2.0e+00
7.14%/1.05% 8.33%/1.03% —/— —/— —/— 15.49%/0.90% 16.42%/2.55%
Psychiatry
26 (Medicare Specialty) [38004469]
Physician Specialty / Provider
1.2e+00 1.7e+00 2.4e+00 1.0e+50 2.8e+00 2.4e+00 1.4e+00
17.14%/5.68% 18.06%/3.82% 16.67%/1.76% 27.78%/0.00% 16.67%/1.18% 26.76%/3.14% 23.88%/7.18%
14771-0 (LOINC) [3018251]
Lab Test / Measurement
6.9e-01 9.9e-01 2.7e+00 — — 6.6e-01 7.1e-01
24.29%/13.90% 16.67%/6.91% 9.72%/0.74% —/— —/— 15.49%/8.68% 38.81%/23.76%
14920-3 (LOINC) [3008486]
Lab Test / Measurement
4.6e-01 1.3e+00 2.5e+00 — — 7.4e-01 3.5e-01
21.43%/14.65% 22.22%/7.21% 8.33%/0.74% —/— —/— 16.90%/8.83% 31.34%/24.40%
metronidazole; oral, rectal
P01AB01 (ATC) [21604857]
ATC 5th / Drug
— — — — — 2.5e+00 4.0e-01
—/— —/— —/— —/— —/— 8.45%/0.75% 7.46%/5.10%
19550-3 (LOINC) [3028707]
Lab Test / Measurement
— — — — — — 2.5e+00
—/— —/— —/— —/— —/— —/— 8.96%/0.80%
60517-0 (LOINC) [40763571]
Lab Test / Measurement
-1.0e+50 2.5e+00 1.0e+50 — — — 1.6e+00
0.00%/1.94% 9.72%/0.88% 8.33%/0.00% —/— —/— —/— 10.45%/2.39%

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
17
48
4.16
5.66
2.0
1.5
0.05
0.24
mg/l
—
5
21
37
187
2.70
4.74
5.2
2.7
1.02
1.02
kg/l
0.26
23
113
33
173
2.46
3.78
6.3
2.9
—
—
estimate
—
0
0
28
139
2.50
3.58
3.6
3.4
7.40
7.39
ph
0.79
18
89
48
307
2.26
3.41
4.6
2.9
6.37
6.36
ph
0.03
28
157
18
75
2.77
3.23
1.9
1.9
—
—
—
0
0
32
176
2.29
3.22
6.7
3.0
0.09
0.25
e6/l
0.90
22
129
37
218
2.21
3.15
2.8
1.9
97.16
89.15
pmol/l
0.62
20
125
35
205
2.18
3.00
6.4
3.0
22.23
61.51
e6/l
0.71
26
154
39
241
2.12
2.90
5.2
7.4
—
—
—
0
0
41
259
2.10
2.87
7.0
3.7
26.70
52.16
e6/l
0.64
28
164
32
187
2.13
2.72
5.1
3.1
—
—
—
0
0
64
487
2.19
2.64
6.5
4.1
—
203.33
—
0
6
19
90
2.42
2.63
1.5
3.1
15.86
493.81
ng/l
—
7
47
38
242
2.01
2.54
9.3
9.9
1.21
1.22
mmol/l
0.16
33
206
11
38
3.16
2.52
4.1
3.6
—
—
—
0
0
23
122
2.20
2.46
1.4
1.3
12.60
7.89
u/ml
—
8
48
31
185
2.05
2.46
2.1
2.2
2.21
2.43
mg/l
0.34
24
158
13
53
2.71
2.41
1.5
1.1
—
—
—
0
0
35
222
1.96
2.33
6.6
5.5
—
—
—
0
0
52
378
1.93
2.30
5.8
3.4
0.00
0.00
estimate
—
9
88
52
379
1.92
2.27
6.0
3.5
0.00
0.00
estimate
—
7
84
25
142
2.07
2.24
6.2
2.3
10.36
8.84
e6/l
0.23
20
127
9
30
3.22
2.22
1.6
2.0
—
—
—
0
0
35
228
1.90
2.12
1.6
1.7
—
—
—
0
0
20
107
2.13
2.08
2.6
2.0
—
—
—
0
0
28
171
1.94
2.04
4.6
2.8
49.14
54.40
u/l
0.57
28
161
21
116
2.07
2.01
2.6
2.0
—
—
—
0
0
5
11
4.75
1.97
1.0
1.2
—
—
—
0
0
5
11
4.75
1.97
1.0
1.2
—
—
—
0
0
5
11
4.75
1.97
1.0
1.2
—
—
—
0
0
5
11
4.75
1.97
1.0
1.2
—
—
—
0
0
21
117
2.05
1.96
2.7
2.0
—
—
—
0
0
21
117
2.05
1.96
2.6
2.0
—
—
—
0
0
21
118
2.03
1.92
2.6
2.0
—
—
—
0
0
12
53
2.47
1.90
5.1
1.9
6.00
6.24
ph
—
7
38
50
376
1.78
1.83
5.9
3.4
0.00
0.00
estimate
—
9
90
82
738
2.93
1.82
17.1
10.5
65.30
65.55
umol/l
0.06
82
724
24
145
1.90
1.78
4.3
2.4
9.32
12.56
ng/l
0.73
12
62
7
24
3.08
1.76
1.0
1.1
—
—
—
0
0
6
19
3.31
1.69
12.5
31.2
—
—
—
0
0
22
132
1.89
1.66
1.4
1.3
53.10
13.56
iu/ml
—
5
37
15
78
2.12
1.66
1.8
1.6
—
—
—
0
0
33
226
1.74
1.63
3.5
2.2
—
—
—
0
0
24
150
1.83
1.60
3.4
2.6
23.91
67.78
ug/g
2.63
19
104
24
150
1.83
1.60
1.9
2.5
0.60
1.49
mg/l
1.05
17
105
15
80
2.06
1.56
1.7
2.1
346.60
370.79
nmol/l
0.20
15
73
7
27
2.73
1.55
1.7
1.8
—
4.01
—
0
8
9
38
2.52
1.51
1.1
1.2
—
—
—
0
0
9
39
2.46
1.48
1.3
1.1
—
—
—
0
0
21
129
1.83
1.47
4.9
3.7
—
—
—
0
0
48
372
1.65
1.46
5.5
6.8
0.54
0.53
e9/l
0.07
40
318
61
503
1.71
1.46
7.1
4.0
—
—
—
0
0
5
16
3.25
1.46
1.2
3.5
—
—
—
0
0
46
353
1.64
1.45
5.7
6.8
5.92
6.34
mmol/l
0.74
41
310
48
373
1.64
1.44
5.6
6.8
0.04
0.04
e9/l
0.11
40
319
13
68
2.07
1.42
1.9
1.8
0.00
0.00
estimate
—
5
22
50
394
1.63
1.40
5.4
6.7
1.97
2.07
e9/l
0.43
44
349
5
18
2.88
1.30
1.4
3.2
3.34
3.55
mmol/l
—
5
18
14
78
1.95
1.30
1.6
2.8
—
—
—
0
0
6
25
2.50
1.26
1.2
1.6
—
94.29
—
0
7
82
760
2.37
1.23
14.0
8.7
—
—
—
0
0
19
121
1.73
1.18
3.2
2.9
—
—
—
0
0
48
386
1.54
1.16
6.4
7.9
0.14
0.17
e9/l
1.60
41
340
8
41
2.05
1.12
5.0
12.0
5.12
6.83
mmol/l
—
8
41
50
408
1.53
1.12
9.6
9.9
4.16
3.85
e9/l
0.40
43
348
44
351
1.51
1.08
8.3
9.4
0.00
0.00
e9/l
0.50
31
277
10
53
2.00
1.06
3.5
2.2
—
—
—
0
0
5
22
2.35
1.05
1.4
2.9
433.80
315.32
mg/l
—
5
22
10
55
1.92
0.96
1.5
1.4
—
—
—
0
0
11
63
1.85
0.95
1.3
1.4
—
—
—
0
0
14
87
1.73
0.94
1.6
1.7
—
—
—
0
0
27
203
1.48
0.85
2.3
2.3
—
—
—
0
0
0
25
0.00
0.80
0.0
1.1
—
—
—
0
0
44
367
1.40
0.79
2.9
2.3
—
—
—
0
0
5
23
2.24
0.77
1.0
1.3
—
—
—
0
0
13
84
1.64
0.77
5.8
7.0
0.79
0.80
mmol/l
0.20
13
78
26
199
1.44
0.74
7.3
3.3
0.00
0.01
estimate
—
9
85
5
26
1.98
0.72
1.4
1.6
—
—
—
0
0
5
26
1.98
0.72
6.4
17.3
97.46
94.36
%
—
5
26
38
316
1.36
0.67
3.5
3.1
—
—
estimate
—
0
0
32
259
1.37
0.66
1.5
1.5
2.00
1.97
g/l
0.06
20
144
17
124
1.46
0.61
5.4
4.6
20.89
10.62
mg/mmol
—
9
89
17
124
1.46
0.61
5.1
4.0
141.31
50.63
mg/l
—
10
88
8
53
1.56
0.60
12.4
13.0
—
—
—
0
0
12
82
1.54
0.58
8.3
8.9
1.06
1.15
mmol/l
0.94
12
77
11
74
1.56
0.56
1.3
1.6
—
—
—
0
0
9
64
1.45
0.53
1.1
1.3
—
—
—
0
0
77
730
1.48
0.48
17.7
10.2
19.95
21.17
mg/l
0.14
66
548
34
292
1.27
0.44
1.5
1.5
0.90
1.21
u/ml
—
10
60
20
160
1.32
0.44
1.6
1.5
—
—
—
0
0
8
57
1.44
0.43
6.6
12.5
22.31
24.88
mmol/l
—
8
57
5
33
1.55
0.42
1.4
1.0
0.49
6.11
u/ml
—
5
21
0
15
0.00
0.41
0.0
1.1
—
—
—
0
0
0
18
0.00
0.40
0.0
2.3
—
52.62
—
0
18
6
44
1.39
0.35
1.0
1.1
—
—
—
0
0
7
54
1.32
0.31
1.9
3.8
4.25
5.17
pmol/l
—
7
48
33
294
1.20
0.29
2.1
2.0
—
—
—
0
0
8
65
1.25
0.28
1.1
1.3
—
—
—
0
0
24
271
0.84
0.24
2.3
2.0
—
—
—
0
0
21
182
1.20
0.24
2.3
4.1
—
—
—
0
0
0
11
0.00
0.21
0.0
1.2
—
—
—
0
0
0
12
0.00
0.21
0.0
2.7
—
3.42
—
0
12
0
13
0.00
0.21
0.0
1.0
—
0.26
—
0
6
6
48
1.27
0.21
1.3
1.1
9.10
3.42
u/ml
—
6
33
8
95
0.83
0.14
3.1
3.3
4.12
3.78
e9/l
—
8
86
6
54
1.12
0.09
5.7
13.2
105.17
104.50
mmol/l
—
6
54
5
64
0.77
0.08
5.4
3.1
—
—
—
0
0
30
285
1.08
0.08
2.2
2.0
—
—
—
0
0
8
73
1.11
0.08
1.9
1.6
—
—
—
0
0
8
74
1.09
0.08
1.9
1.8
—
—
—
0
0
28
292
0.94
0.05
2.0
1.9
—
—
—
0
0
10
93
1.09
0.02
1.3
1.5
—
—
—
0
0
11
104
1.07
0.01
1.5
1.1
—
—
—
0
0
20
205
0.97
0.00
1.8
1.7
—
—
—
0
0
5
51
0.98
0.00
11.2
9.6
24.94
24.39
mmol/l
—
5
51
0
6
0.00
-0.00
0.0
1.0
—
124.25
—
0
6
0
9
0.00
-0.00
0.0
4.1
—
—
—
0
0
0
6
0.00
-0.00
0.0
1.8
—
—
—
0
0
0
6
0.00
-0.00
0.0
2.7
—
19.00
—
0
6
0
6
0.00
-0.00
0.0
1.0
—
8.07
—
0
6
0
5
0.00
-0.00
0.0
1.0
—
6.84
—
0
5
8
80
1.00
-0.00
1.0
1.1
—
—
—
0
0
0
5
0.00
-0.00
0.0
1.4
—
—
—
0
0
0
6
0.00
-0.00
0.0
2.5
—
0.67
—
0
6
0
9
0.00
-0.00
0.0
1.4
—
—
—
0
0
0
6
0.00
-0.00
0.0
2.2
—
11.33
—
0
6
0
5
0.00
-0.00
0.0
1.2
—
—
—
0
0
0
5
0.00
-0.00
0.0
1.2
—
—
—
0
0
0
9
0.00
-0.00
0.0
1.7
—
1.02
—
0
9
0
5
0.00
-0.00
0.0
11.4
—
0.57
—
0
5
0
7
0.00
-0.00
0.0
1.1
—
—
—
0
0

Mortality – FinRegistry

↥

Association

Association between endpoint F5_SLEEPTERRORS and mortality.

Females

No data

Males

No data

Mortality risk

Mortality risk for people of age

years, who have F5_SLEEPTERRORS.

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_SLEEPTERRORS – Sleep terrors [night terrors]

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