Disorders of magnesium metabolism

E4_MG_MET

Endpoint definition

Endpoint definition steps

FinnGen

Phenotype data

520210

1. Apply sex-specific rule

None

520210

2. Check conditions

None

520210

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

Registry filters:

  • Hospital discharge: ICD-10 E83.4
  • Hospital discharge: ICD-9 2752
  • Cause of death: ICD-10 E83.4
  • Cause of death: ICD-9 2752

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

231

4. Check minimum number of events

None

231

5. Include endpoints

None

231

6. Filter based on genotype QC (FinnGen only)

231

Control definitions (FinnGen only)

Control exclude
E4_METABOLIA

Extra metadata

Level in the ICD hierarchy
4
First used in FinnGen datafreeze
DF2
Parent code in ICD-10
E83
Name in latin
Perturbationes metabolismi magnesii

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 1471 688 778
Only index persons 1406 660 746
Unadjusted period prevalence (%)
Whole population 0.02 0.02 0.02
Only index persons 0.03 0.02 0.03
Median age at first event (years)
Whole population 64.94 65.77 64.25
Only index persons 65.12 66.02 64.32

-FinnGen-

Key figures

All Female Male
Number of individuals 231 102 129
Unadjusted period prevalence (%) 0.05 0.03 0.06
Median age at first event (years) 66.91 63.58 69.54

-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 (R11)

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
200
Matched controls
1998
Code
Vocabulary
Description
Odds Ratio
-log10(p)
N matched cases
N matched controls
E83.4
ICD-10 Finland
Disorders of magnesium metabolism
+∞
289.5
200
*
E87.6
ICD-10 Finland
Hypokalaemia
244.2
67.7
66
*
E83.51
ICD-10 Finland
Hypocalcemia
457.3
66.7
63
*
GD1UA
NOMESCO Finland
Thorax X-ray examination outside radiological department
9.5
37.2
88
152
E87.1
ICD-10 Finland
Hypo-osmolality and hyponatraemia
126.2
30.7
32
*
TPX10
NOMESCO Finland
Implantation of vascular injection port
25.4
29.3
41
20
130
Kela drug reimbursment
Malignant tumour
9.4
29.0
65
97
WW500
NOMESCO Finland
Blood transfusion
20.7
26.2
39
23
A49.9
ICD-10 Finland
Bacterial infection, unspecified
8.6
25.9
61
97
N02AA05
ATC
oxycodone; systemic
6.8
25.0
72
153
A12AX
ATC
Calcium, combinations with vitamin D and/or other drugs
5.0
24.6
113
412
E86
ICD-10 Finland
Volume depletion
+∞
24.5
23
*
WD125
NOMESCO Finland
Demanding cystostatic therapy of methastized malignancy
13.1
24.4
44
42
C03CA01
ATC
furosemide; systemic
5.3
24.3
93
280
A03FA01
ATC
metoclopramide; systemic, rectal
5.4
23.6
87
249
D64.9
ICD-10 Finland
Anaemia, unspecified
8.0
22.9
56
93
F10.1
ICD-10 Finland
Mental and behavioural disorders due to use of alcohol, Harmful use
10.5
22.8
46
55
J18.9
ICD-10 Finland
Pneumonia, unspecified
5.0
21.6
85
256
ZXD05
NOMESCO Finland
Urgent procedure
4.4
20.5
99
363
H02AB02
ATC
dexamethasone; systemic
6.1
20.0
61
135
R56.8
ICD-10 Finland
Other and unspecified convulsions
12.3
19.6
36
35
TPH04
NOMESCO Finland
Cathetrisation of vein
4.8
19.5
79
241
GD1AA
NOMESCO Finland
Thorax X-ray examination
4.0
19.4
127
604
AA1AD
NOMESCO Finland
CT of head and brain
4.5
19.2
83
270
UJD10
NOMESCO Finland
Esophagoscopy, gastroscopy and duodenoscopy
4.2
19.1
95
352
GD1QA
NOMESCO Finland
Supine thorax X-ray examination
5.5
18.8
63
155
N17.9
ICD-10 Finland
Acute renal failure, unspecified
21.1
17.9
26
14
TPH15
NOMESCO Finland
Insertion of central venous catheter through external or internal jugular vein
8.5
17.7
40
57
TPH07
NOMESCO Finland
Cathetrisation of artery
6.0
17.5
52
110
WD405
NOMESCO Finland
Simple antiboidy therapy of methastized malignancy
21.8
17.4
25
13
JN4BD
NOMESCO Finland
Extensive body CT
5.3
17.0
57
139
E83.39
ICD-10 Finland
Other disorder of phosphorus metabolism
+∞
16.9
16
*
A04AA02
ATC
granisetron; systemic, transdermal
7.7
16.3
39
61
WX302
NOMESCO Finland
Thoracal epidural anesthesy
8.4
16.0
36
51
JN4AD
NOMESCO Finland
Body CT examination
6.4
15.9
44
84
SPAT1262
SPAT
Handing over of treatment supplies
4.3
15.8
69
219
R11
ICD-10 Finland
Nausea and vomiting
7.3
15.0
37
60
B01AB10
ATC
tinzaparin; parenteral
6.2
14.9
42
82
E61.2
ICD-10 Finland
Magnesium deficiency
+∞
14.8
14
*
N18.9
ICD-10 Finland
Chronic kidney disease, unspecified
11.4
14.5
27
27
WZC20
NOMESCO Finland
Multidisciplinary treatment meeting
8.1
14.0
32
46
JN3AD
NOMESCO Finland
Abdominal CT examination
5.7
13.9
42
89
J01MA12
ATC
levofloxacin; systemic
4.0
13.9
64
211
Z51.5
ICD-10 Finland
Palliative care
7.0
13.8
35
59
E78.5
ICD-10 Finland
Hyperlipidaemia, unspecified
12.2
13.4
24
22
GD1AD
NOMESCO Finland
Thorax CT examination
9.1
13.4
28
35
UJF32
NOMESCO Finland
Coloscopy
3.4
13.2
82
342
WD105
NOMESCO Finland
Cystostatic therapy of methastized malignancy
8.7
12.6
27
35
F10.31
ICD-10 Finland
Withdrawal symptoms caused by alcohol with seizures
138.3
12.6
13
*
FB1BD
NOMESCO Finland
Extensive CT examination of arteria pulmonalis
5.5
12.5
38
81
A11CC03
ATC
alfacalcidol; systemic
17.3
12.4
19
12
JN3AE
NOMESCO Finland
Abdominal ultrasound examination
4.5
12.3
47
129
E11.9
ICD-10 Finland
Type 2 diabetes mellitus, without complications
3.5
12.0
65
241
WZC00
NOMESCO Finland
Planning of intervention or health care consultation
3.0
12.0
94
452
XX3DW
NOMESCO Finland
Time consuming IT work
4.3
11.9
48
138
ZX095
NOMESCO Finland
Combined chemoradiotherapy
32.2
11.8
15
5
F10.25
ICD-10 Finland
Alcohol dependence continuous use
18.4
11.4
17
10
A02BC02
ATC
pantoprazole; systemic
3.0
11.2
151
1013
I10
ICD-10 Finland
Essential (primary) hypertension
2.8
11.1
135
844
JDB10
NOMESCO Finland
Percutaneous gastrostomy
23.0
10.9
15
7
OAB73
NOMESCO Finland
Prevention and treatment of malnutrition
63.5
10.7
12
*
M04AA01
ATC
allopurinol; systemic
4.1
10.7
44
128
C79.8
ICD-10 Finland
Secondary malignant neoplasm of other specified sites
7.9
10.7
24
34
C78.7
ICD-10 Finland
Secondary malignant neoplasm of liver and intrahepatic bile duct
13.1
10.6
18
15
E83.50
ICD-10 Finland
Hypercalcemia
+∞
10.5
10
*
WX602
NOMESCO Finland
Repeated or continuing anesthesia shots throug a catheter
5.3
10.4
32
69
WX408
NOMESCO Finland
General anesthesy, balanced
2.9
10.3
78
360
FM1EE
NOMESCO Finland
Extensive structural and functional ultrasound examination of heart
3.2
10.3
65
265
D70.82
ICD-10 Finland
Drug-induced neutropenia
15.7
10.2
16
11
ZXE00
NOMESCO Finland
One hour or less
2.7
10.1
99
535
F10.29
ICD-10 Finland
Addiction caused by alcohol UNS
11.5
10.0
18
17
N02BE01
ATC
paracetamol; systemic, rectal
4.1
10.0
183
1446
TPH20
NOMESCO Finland
Insertion of central venous catheter through subclavian or brachiocephalic vein
7.5
10.0
23
34
N02AX02
ATC
tramadol; systemic, rectal
2.6
9.9
107
609
B03BA03
ATC
hydroxocobalamin; parenteral
6.2
9.8
26
47
KH1AE
NOMESCO Finland
Urinary tract ultrasound examination
6.8
9.7
24
39
ZX070
NOMESCO Finland
Intensity modified radiotherapy
10.9
9.7
18
18
205
Kela drug reimbursment
Chronic hypertension
2.9
9.7
73
333
F10.39
ICD-10 Finland
Withdrawal symptoms caused by alcohol UNS
18.7
9.5
14
8
JN4KR
NOMESCO Finland
Whole body very extensive metabolic PET with CT
23.0
9.5
13
6
F10.26
ICD-10 Finland
Alcohol dependence periodic alcoholism
23.0
9.5
13
6
C08CA01
ATC
amlodipine; oral
2.7
9.4
85
429
C07AB07
ATC
bisoprolol; oral
2.6
9.4
111
653
WZC30
NOMESCO Finland
Teaching
3.4
9.4
50
179
JN4JR
NOMESCO Finland
Whole body extensive metabolic PET with CT
19.7
9.1
13
7
JFB00
NOMESCO Finland
Partial resection of small intestine
13.4
9.0
15
12
WVC10
NOMESCO Finland
Subcutaneous infusion of drugs
25.4
9.0
12
5
TPH30
NOMESCO Finland
Insertion of central venous catheter through periferal vein
25.4
9.0
12
5
A41.9
ICD-10 Finland
Sepsis, unspecified
7.8
9.0
20
28
WX402
NOMESCO Finland
General anaesthesia
3.4
9.0
48
172
I50.9
ICD-10 Finland
Heart failure, unspecified
4.2
8.9
34
92
103
Kela drug reimbursment
Diabetes, insulin-treated
2.8
8.9
69
319
ZXE20
NOMESCO Finland
More than three and less than five hours
3.6
8.9
41
132
B01AB05
ATC
enoxaparin; parenteral
2.7
8.8
76
371
E78.00
ICD-10 Finland
Familial hypercholesterolaemia
52.3
8.8
10
*
F10.20
ICD-10 Finland
Alcohol dependence currently independent
12.4
8.7
15
13
A09
ICD-10 Finland
Other gastroenteritis and colitis of infectious and unspecified origin
3.6
8.7
41
134
F10.00
ICD-10 Finland
Alcohol-related acute intoxication uncomplicated
17.3
8.7
13
8
H02AB06
ATC
prednisolone; systemic
2.5
8.7
110
663
K56.6
ICD-10 Finland
Other and unspecified intestinal obstruction
7.3
8.6
20
30
F10.30
ICD-10 Finland
Withdrawal symptoms caused by alcohol uncomplicated
21.1
8.6
12
6
E78.01
ICD-10 Finland
Pure hypercholesterolaemia
3.8
8.5
37
113
EBA15
NOMESCO Finland
Extraction of large number of teeth
7.7
8.5
19
27
E87.5
ICD-10 Finland
Hyperkalaemia
93.8
8.5
9
*
R79.0
ICD-10 Finland
Abnormal level of blood mineral
+∞
8.4
8
*
A41.0
ICD-10 Finland
Sepsis due to Staphylococcus aureus
15.3
8.3
13
9
T36
ICD-10 Finland
Poisoning by systemic antibiotics
8.7
8.3
17
21
215
Kela drug reimbursment
Diabetes, non-insulin-treated
2.7
8.2
65
300
C03DA01
ATC
spironolactone; oral
4.3
8.2
30
78
WD415
NOMESCO Finland
Demanding antibody therapy of methastized malignancy
10.7
8.2
15
15
133
Kela drug reimbursment
Severe chronic pancreatic insufficiency
23.1
8.1
11
5
A04AA01
ATC
ondansetron; systemic, rectal
4.2
8.0
30
80
ZXM10
NOMESCO Finland
Intraoperative use of conventional X-ray imaging
5.2
8.0
24
51
504
Kela drug reimbursment
Conditions requiring daily forced enteral nutrition
11.5
7.9
14
13
UJC01
NOMESCO Finland
Scopy of lower throat
15.8
7.8
12
8
XGX32
NOMESCO Finland
Bronchoscopic ultrasonography
46.8
7.8
9
*
G72.8
ICD-10 Finland
Other specified myopathies
19.3
7.7
11
6
A04.7
ICD-10 Finland
Enterocolitis due to Clostridium difficile
10.7
7.7
14
14
A46
ICD-10 Finland
Erysipelas
3.4
7.7
38
129
L01BC06
ATC
capecitabine; oral
6.1
7.6
20
36
A41.5
ICD-10 Finland
Sepsis due to other Gram-negative organisms
8.2
7.6
16
21
JN3BD
NOMESCO Finland
Extensive abdominal CT
3.7
7.5
33
102
N10
ICD-10 Finland
Acute tubulo-interstitial nephritis
3.4
7.4
36
120
I26.9
ICD-10 Finland
Pulmonary embolism without mention of acute cor pulmonale
5.2
7.4
22
46
R10.4
ICD-10 Finland
Other and unspecified abdominal pain
2.4
7.4
78
420
JN3AA
NOMESCO Finland
Abdominal X-ray examination without contrast
5.5
7.4
21
42
K70.1
ICD-10 Finland
Alcoholic hepatitis
+∞
7.3
7
*
D50.9
ICD-10 Finland
Iron deficiency anaemia, unspecified
4.5
7.3
25
61
WX002
NOMESCO Finland
Sedation and analgesia
2.9
7.3
50
209
I48
ICD-10 Finland
Atrial fibrillation and flutter
2.7
7.3
55
245
YA1BD
NOMESCO Finland
Extensive CT examination of head and neck for dose design of radiotherapy
20.9
7.2
10
5
JN1AE
NOMESCO Finland
Ultrasound examination of upper part of abdomen
3.9
7.2
29
83
GD1PA
NOMESCO Finland
X-ray examination of the lungs in one projection
3.9
7.2
29
83
TPH90
NOMESCO Finland
Removal of fixed intravenous catheter
12.7
7.2
12
10
A04AA55
ATC
palonosetron, combinations; systemic
9.3
7.2
14
16
X69
ICD-10 Finland
Intentional self-poisoning by and exposure to other and unspecified chemicals and noxious substances
9.3
7.2
14
16
WB103
NOMESCO Finland
Simple adjuvant cytostatic therapy
7.5
7.2
16
23
EP1AE
NOMESCO Finland
Neck ultrasound examination
4.8
7.1
23
53
Z71.3
ICD-10 Finland
Dietary counselling and surveillance
6.3
7.1
18
31
SPAT1148
SPAT
Treatment of chronic ulcer or burn
3.2
7.0
38
136
T81.4
ICD-10 Finland
Infection following a procedure, not elsewhere classified
3.5
6.9
32
103
NK6QA
NOMESCO Finland
Measurement of bone density from tow or more locations with X-ray
4.6
6.9
23
55
SPAT1255
SPAT
Intravenous administration of medicine
4.2
6.9
25
65
D70.89
ICD-10 Finland
Neutropenic splenomegaly
41.5
6.8
8
*
WX892
NOMESCO Finland
Monitored bed care
4.1
6.8
26
71
A04AD12
ATC
aprepitant; systemic
8.3
6.7
14
18
N19
ICD-10 Finland
Unspecified kidney failure
9.2
6.7
13
15
SPAT1229
SPAT
Assessment of need for aid
4.1
6.6
25
68
J01MA02
ATC
ciprofloxacin; systemic
2.2
6.6
86
507
J44.8
ICD-10 Finland
Other specified chronic obstructive pulmonary disease
3.6
6.5
29
91
P16
ICPC
Acute alcohol abuse
14.9
6.5
10
7
E11.8
ICD-10 Finland
Type 2 diabetes mellitus, with unspecified complications
3.7
6.5
27
80
M10.9
ICD-10 Finland
Gout, unspecified
4.1
6.5
24
64
EB1HA
NOMESCO Finland
Panorama tomography of teeth and jaws or similar X-ray examination
2.2
6.5
92
559
A02BC05
ATC
esomeprazole; systemic
2.2
6.4
95
590
WX700
NOMESCO Finland
Respiratory and circulatory monitoring
2.8
6.4
41
166
JF1AB
NOMESCO Finland
Passage examination of small bowell with X-ray
11.6
6.4
11
10
WX872
NOMESCO Finland
Intensive care
5.4
6.4
18
36
D07AA02
ATC
hydrocortisone; topical
3.0
6.3
37
141
8140/3-C20.9
ICD-O-3
Adenocarcinoma, NOS, of rectum, NOS
7.4
6.3
14
20
F10.40
ICD-10 Finland
Withdrawal symptoms and delirium caused by alcohol without seizures
18.7
6.3
9
5
K70.4
ICD-10 Finland
Alcoholic hepatic failure
+∞
6.3
6
*
N08.39
ICD-10 Finland
Glomerular disorders in diabetes mellitus microalbuminuria
+∞
6.3
6
*
JFF10
NOMESCO Finland
Loop enterostomy
+∞
6.3
6
*
WD325
NOMESCO Finland
Demanding therapy of methastized malignancy with biomodifiers
27.6
6.3
8
*
AA1CG
NOMESCO Finland
Extensive MRI examination of brain with high intensity magnet
3.9
6.2
24
67
E03.9
ICD-10 Finland
Hypothyroidism, unspecified
3.4
6.2
29
95
UGC12
NOMESCO Finland
Flexible bronchoscopy
3.7
6.1
26
78
P15
ICPC
Chronic alcohol abuse
9.0
6.1
12
14
GD1BD
NOMESCO Finland
Thorax extensive CT-examination
4.4
6.1
21
52
T81.3
ICD-10 Finland
Disruption of operation wound, not elsewhere classified
10.5
6.1
11
11
WD305
NOMESCO Finland
Simple therapy of methastized malignancy with biomodifiers
10.5
6.1
11
11
N02AE01
ATC
buprenorphine; parenteral, sublingual, transdermal
3.2
6.1
31
108
B81
ICPC
Anaemia vit B12/folate deficiency
5.4
6.0
17
34

Mortality – FinRegistry

Association

Association between endpoint E4_MG_MET and mortality.

Females

Parameter HR [95% CI] p-value
E4_MG_MET 6.28 [3.89, 10.13] < 0.001
Birth year 0.996 [0.99, 1.0] 0.391

During the follow-up period (1.1.1998 — 31.12.2019), 185 out of 478 females with E4_MG_MET died.

Males

Parameter HR [95% CI] p-value
E4_MG_MET 8.216 [5.17, 13.05] < 0.001
Birth year 0.984 [0.97, 0.99] 0.001

During the follow-up period (1.1.1998 — 31.12.2019), 237 out of 529 males with E4_MG_MET died.

Mortality risk

Mortality risk for people of age

years, who have E4_MG_MET.

N-year risk Females Males
1 0.659% 1.418%
5 3.779% 8.106%
10 8.898% 19.789%
15 16.579% 34.075%
20 28.077% 50.984%

Relationships between endpoints

Index endpoint: E4_MG_MET – Disorders of magnesium metabolism

GWS hits: -

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