- Research article
- Open Access
- Open Peer Review
Hospital admissions for vitamin D related conditions and subsequent immune-mediated disease: record-linkage studies
BMC Medicine volume 11, Article number: 171 (2013)
Previous studies have suggested that there may be an association between vitamin D deficiency and the risk of developing immune-mediated diseases.
We analyzed a database of linked statistical records of hospital admissions and death registrations for the whole of England (from 1999 to 2011). Rate ratios for immune-mediated disease were determined, comparing vitamin D deficient cohorts (individuals admitted for vitamin D deficiency or markers of vitamin D deficiency) with comparison cohorts.
After hospital admission for either vitamin D deficiency, osteomalacia or rickets, there were significantly elevated rates of Addison’s disease, ankylosing spondylitis, autoimmune hemolytic anemia, chronic active hepatitis, celiac disease, Crohn’s disease, diabetes mellitus, pemphigoid, pernicious anemia, primary biliary cirrhosis, rheumatoid arthritis, Sjogren’s syndrome, systemic lupus erythematosus, thyrotoxicosis, and significantly reduced risks for asthma and myxoedema.
This study shows that patients with vitamin D deficiency may have an increased risk of developing some immune-mediated diseases, although we cannot rule out reverse causality or confounding. Further study of these associations is warranted and these data may aid further public health studies.
Immune-mediated diseases cumulatively represent one of the most common chronic disease groups in medicine today, affecting approximately 10% of first world populations . There is substantial evidence in support of these disorders being determined by both genetic and environmental factors. One candidate environmental risk factor implicated in immune-mediated disease susceptibility is vitamin D deficiency [2–4].
Historically, vitamin D was thought to play a restricted role in calcium homeostasis; however, a wealth of studies now suggests that it exerts more widespread effects [5, 6]. Functional laboratory studies have shown that vitamin D can modulate the immune response [5, 6] and a number of epidemiological findings have implicated the involvement of vitamin D deficiency in the risk of developing immune-mediated diseases [2–4]. These include the ecological findings of the prevalence of diseases, such as multiple sclerosis (MS), type 1 diabetes, inflammatory bowel disease, rheumatoid arthritis and Sjogren’s syndrome, positively correlating with latitude and reduced ultraviolet radiation exposure (the primary determinant of vitamin D levels) . Further support comes from studies showing low serum vitamin D levels in patients suffering from a wide range of immune disorders, including MS , type 1 diabetes , systemic lupus erythematosus (SLE)  and rheumatoid arthritis . These findings may, however, be biased by reverse causation .
To investigate further any association between vitamin D and immune-mediated disease, we undertook record linkage studies to determine the risk of immune-mediated disease in individuals admitted for vitamin D deficiency or a marker of vitamin D deficiency (rickets or osteomalacia) using an English national linked Hospital Episode Statistics (HES) dataset.
Population and data
We used a linked English national dataset of hospital admissions (Hospital Episode Statistics (HES)) and mortality. HES data are records of hospital care that are compiled for every episode of day case care or hospital admission in all English National Health Service (NHS) hospitals, and were supplied by the English national Information Centre for Health and Social Care. The mortality data were derived from death certificates and were supplied by the Office for National Statistics. The linked dataset used in this study, in which successive records for each individual were linked together, was constructed by the Oxford record linkage group.
The International Classification of Disease (ICD) codes used for the vitamin D related conditions were osteomalacia (M83.1, M83.8, M83.9), rickets (E55.0, E64.3) and vitamin D deficiency (E55.9). The ICD codes used for the immune-mediated diseases were Addison’s disease (E27.1), ankylosing spondylitis (M45), asthma (J45), autoimmune hemolytic anemia (D59.1), chronic active hepatitis (K73.2), Crohn’s disease (K50), celiac disease (K90.0), dermatomyositis (M33.0 to M33.1), diabetes mellitus (E10 to E14), polymyositis (M33.2), Goodpasture’s syndrome (M31.0), Hashimoto’s thyroiditis (E06.3), idiopathic thrombocytopenia purpura (D69.3), multiple sclerosis (G35), myasthenia gravis (G70.0), myxoedema (E03.8 to E03.9), pemphigus (L10), pemphigoid (L12), pernicious anemia (D51.0), polyarteritis nodosa (M30.0), primary biliary cirrhosis (K74.3), psoriasis (L40), rheumatoid arthritis (M05 to M06), scleroderma (M34), Sjogren’s syndrome (M35.0), SLE (M32.1 to M32.9), thyrotoxicosis (E05), and ulcerative colitis (K51). In the analysis of diabetes mellitus, we used hospital admission for diabetes mellitus when the patient was aged under 30 as a proxy for type 1 diabetes, as the type of diabetes is not well recorded in routine hospital statistics. We also confined the analysis of asthma admissions to people aged between the ages of 5 and 54 to reduce potential issues with misclassification of asthma-like respiratory conditions in younger and older people.
The methods of analysis were the same for all vitamin D-related admissions and immune-mediated diseases; we describe the methods for rickets and Crohn’s disease as the example. A cohort of people with rickets was constructed for those with a diagnosis of rickets as a reason for hospital care, by identifying the first episode of day case care, or admission, for rickets during the study period. A reference cohort was constructed by identifying the first admission for each individual with various other, mainly minor medical and surgical, conditions (listed in the Table 1 legend), as in previous studies of disease associations . Standard epidemiological practice was followed by selecting a diverse range of conditions rather than relying on a limited range (in case the latter are themselves atypical in their risk of immune-mediated disease) . As a check, we studied the risk of immune-mediated disease in the control conditions within the reference cohort to ensure that the reference cohort did not include control conditions that have atypically high or low immune mediated-disease rates. For some immune-mediated diseases (for example, rheumatoid arthritis), we removed some control conditions (for example, hip/knee replacement) from the reference cohort where we considered that this may otherwise have skewed the findings. For the fairly small number of associations affected by this, we show the ‘adjusted’ associations (that is, with some control conditions removed) for these diseases in the main paper; for completeness and comparison, the unadjusted associations are also provided (see below). Anyone with both an ‘exposure’ disease, for example, Crohn’s disease, and a reference cohort condition was included in the exposure cohort and excluded from the reference cohort.
People were included in the rickets or reference cohort if they did not have an admission for an immune-mediated disease either before or at the same time as the admission for rickets or the reference condition. The database was then investigated for any subsequent NHS hospital care for, or death from, Crohn’s disease in these cohorts. We considered that rates of Crohn’s disease in the reference cohort would approximate those in the general population while allowing for migration as data on migration of individuals were not available.
The analysis was performed using a suite of programs developed ‘in house’ using SAS 9 software (SAS Institute, Cary, NC, USA).
The construction and analysis of the datasets were undertaken with the approval of the Central and South Bristol Research Ethics Committee (REC, reference 04/Q2006/175).
Rates of Crohn’s disease were calculated based on person-years. Date of entry into each cohort was the date of the first admission for rickets, or reference condition, and date of exit was the date of the first record of Crohn’s disease, death or the end of data collection (28 February 2011), whichever was the earliest. We first calculated rates for Crohn’s disease, stratified and then standardized by age (in five-year age groups), sex, calendar year of first recorded admission, region of residence, and quintile of patients’ Index of Deprivation score (a standard English measure of socio-economic status). The indirect method of standardization was used, with the combined rickets and reference cohorts as the standard population. We applied the stratum-specific rates in the standard population to the number of people in each stratum in the rickets cohort and then, separately, to those in the same stratum in the reference cohort, to obtain the expected number of people with Crohn’s disease in each stratum of the rickets and reference cohort. Observed and expected numbers were then summed across all strata to give totals for all strata combined. Rate ratios were calculated by taking the standardized rate of occurrence of Crohn’s disease in the rickets cohort relative to the reference cohort using the formula (Orickets/Erickets)/(Oref/Eref), where O and E are the observed and expected numbers of Crohn’s disease cases in the rickets and reference cohorts, respectively. In each table, we only show diseases in which either the observed or expected number, or both were five or more. The confidence interval for the rate ratio of Crohn’s and χ2 statistics for its significance were calculated as described elsewhere .
The number of people in the cohort with vitamin D deficiency was 13,260 (71.5% female), osteomalacia 5,191 (69.4% female), and rickets 1,228 (59.5% female). Age distributions are shown in Table 1. There were more than 8.6 million people in the reference cohort.
There were significantly elevated risks of Addison’s disease, ankylosing spondylitis, autoimmune hemolytic anemia, chronic active hepatitis, celiac disease, Crohn’s disease, diabetes mellitus, pemphigoid, pernicious anemia, primary biliary cirrhosis, rheumatoid arthritis, Sjogren’s syndrome, systemic lupus erythematosus, thyrotoxicosis; and significantly reduced risks for asthma and myxoedema after hospital admission for either vitamin D deficiency, osteomalacia or rickets (Table 2).
There were significantly elevated risks of celiac disease, pernicious anemia and thyrotoxicosis after hospital admission for rickets (Table 3). Celiac disease had a substantially increased risk.
There were significantly elevated risks of Addison’s disease, celiac disease, diabetes mellitus, Sjogren’s syndrome and thyrotoxicosis; and significantly reduced risks for asthma and myxoedema after hospital admission for osteomalacia (Table 4). The rate ratios for Addison’s disease, and celiac disease were particularly high. There were significantly elevated rates of Addison’s disease, celiac disease, Crohn’s disease, diabetes mellitus, pemphigoid, pernicious anemia, primary biliary cirrhosis, rheumatoid arthritis, Sjogren’s syndrome, SLE and thyrotoxicosis; and significantly reduced rates for asthma and myxoedema after hospital admission for vitamin D deficiency (Table 5). Again, the rate ratios for Addison’s disease and celiac disease were particularly high, as was the rate ratio for SLE.
Unadjusted associations when done, see Methods, are shown in Table 6.
We present evidence associating vitamin D deficiency (or proxies of vitamin D deficiency) with risks of or protection against developing subsequent immune-mediated disease. Previous studies have linked inherited forms of rickets with MS  and type 1 diabetes , but no study has attempted an analysis similar to the one we present here. Addison’s disease and thyrotoxicosis were significantly associated in all analyses, and asthma was significantly low in all but one. The combined analysis found associations with a greater number of immune-mediated diseases - a lack of significance in the individual rickets, osteomalacia or vitamin D deficiency cohorts may reflect the lower power of these individual analyses.
The associations described warrant further attention. Mechanistically, it is possible that vitamin D deficiency predisposes to the development of immune-mediated disease by perturbing the immune response . Another explanation is reverse causality - that the disease (either sub-clinically or clinically present but not recorded with a hospital admission prior to the vitamin D deficiency admission) reduces vitamin D levels as a result of an inflammatory state and/or causes the individual to spend less time outdoors . The increasing awareness of vitamin D may also lead to an increase in requests for vitamin D testing, and subsequent diagnosis of vitamin D deficiency . However, under either of these hypotheses the apparent protective effects of vitamin D deficiency on asthma and myxoedema are not easy to reconcile. There are reports, however, that state that higher levels of vitamin D in childhood may increase the risk of asthma [18, 19]. For disorders such as celiac disease there may be an issue with regards to intake and/or malabsorption of vitamin D; with Addison’s disease, glucocorticoid deficiency may lead to suppression of the parathyroid hormone-vitamin D axis .
The study has limitations. It is not a prospective cohort with follow-up from the date of “first ever” diagnosis, but just from “first recorded” diagnosis in a hospital day case or inpatient record. Data are not recorded on patients who move out of the area covered by data collection or who are treated in hospitals outside the area. The dataset is limited to people who were admitted to hospital, or who received day case specialist care, and thus there exists the potential for selection bias. There is very limited information on potential confounding factors, such as detailed socioeconomic characteristics, ethnicity and smoking. The effect of making multiple comparisons needs to be considered. It is possible that some of the associations that are significant may result from making multiple comparisons and the play of chance. To aid assessment of this, we have provided P-values so that readers can judge where P-values are extreme: for example, with P-values as high as <0.001 for the associations between the vitamin D related conditions, combined, and celiac and Crohn’s disease, the associations are unlikely to be chance alone.
Our results should be regarded as speculative. Further studies should look at individual immune-mediated diseases in greater depth to confirm or refute the findings and investigate mechanisms behind any association. Regardless of the direction of causality, the fact that individuals with immune-mediated disease are at risk of vitamin D deficiency is of note to ensure they are made replete to support adequate bone health .
Hospital episode statistics
International classification of disease
National Health Service
Office of population, censuses and surveys
Systemic lupus erythematosus
Shapira Y, Agmon-Levin N, Shoenfeld Y: Defining and analyzing geoepidemiology and human autoimmunity. J Autoimmun. 2010, 34: J168-J177. 10.1016/j.jaut.2009.11.018.
Holick MF: Vitamin D deficiency. N Engl J Med. 2007, 357: 266-281. 10.1056/NEJMra070553.
Cantorna MT: Vitamin D and autoimmunity: is vitamin D status an environmental factor affecting autoimmune disease prevalence?. Proc Soc Exp Biol Med. 2000, 223: 230-233. 10.1046/j.1525-1373.2000.22333.x.
Cutolo M, Otsa K, Paolino S, Yprus M, Veldi T, Seriolo B: Vitamin D involvement in rheumatoid arthritis and systemic lupus erythaematosus. Ann Rheum Dis. 2009, 68: 446-447. 10.1136/ard.2008.093476.
Kamen DL, Tangpricha V: Vitamin D and molecular actions on the immune system: modulation of innate and autoimmunity. J Mol Med (Berl). 2010, 88: 441-450. 10.1007/s00109-010-0590-9.
White JH: Vitamin D metabolism and signaling in the immune system. Rev Endocr Metab Disord. 2012, 13: 21-29. 10.1007/s11154-011-9195-z.
Munger KL, Levin LI, Hollis BW, Howard NS, Ascherio A: Serum 25-hydroxyvitamin D levels and risk of multiple sclerosis. JAMA. 2006, 296: 2832-2838. 10.1001/jama.296.23.2832.
Littorin B, Blom P, Schölin A, Arnqvist HJ, Blohmé G, Bolinder J, Ekbom-Schnell A, Eriksson JW, Gudbjörnsdottir S, Nyström L, Ostman J, Sundkvist G: Lower levels of plasma 25-hydroxyvitamin D among young adults at diagnosis of autoimmune type 1 diabetes compared with control subjects: results from the nationwide Diabetes Incidence Study in Sweden (DISS). Diabetologia. 2006, 49: 2847-2852. 10.1007/s00125-006-0426-x.
Amital H, Szekanecz Z, Szücs G, Dankó K, Nagy E, Csépány T, Kiss E, Rovensky J, Tuchynova A, Kozakova D, Doria A, Corocher N, Agmon-Levin N, Barak V, Orbach H, Zandman-Goddard G, Shoenfeld Y: Serum concentrations of 25-OH vitamin D in patients with systemic lupus erythematosus (SLE) are inversely related to disease activity: is it time to routinely supplement patients with SLE with vitamin D?. Ann Rheum Dis. 2010, 69: 1155-1157. 10.1136/ard.2009.120329.
Kerr GS, Sabahi I, Richards JS, Caplan L, Cannon GW, Reimold A, Thiele GM, Johnson D, Mikuls TR: Prevalence of vitamin D insufficiency/deficiency in rheumatoid arthritis and associations with disease severity and activity. J Rheumatol. 2011, 38: 53-59. 10.3899/jrheum.100516.
Gama R, Waldron JL, Ashby HL, Cornes MP, Bechervaise J, Razavi C, Thomas OL, Chugh S, Deshpande S, Ford C: Hypovitaminosis D and disease: consequence rather than cause?. BMJ. 2012, 345: e5706-e5706. 10.1136/bmj.e5706.
Ramagopalan SV, Wotton CJ, Handel AE, Yeates D, Goldacre MJ: Risk of venous thromboembolism in people admitted to hospital with selected immune-mediated diseases: record-linkage study. BMC Med. 2011, 9: 1-10.1186/1741-7015-9-1.
Breslow NE, Day NE: Statistical methods in cancer research. Volume II - The design and analysis of cohort studies. IARC Sci Publ. 1987, 1-406.
Torkildsen Ø, Knappskog PM, Nyland HI, Myhr K-M: Vitamin D-dependent rickets as a possible risk factor for multiple sclerosis. Arch Neurol. 2008, 65: 809-811. 10.1001/archneur.65.6.809.
Nguyen M, d’Alesio A, Pascussi JM, Kumar R, Griffin MD, Dong X, Guillozo H, Rizk-Rabin M, Sinding C, Bougnères P, Jehan F, Garabédian M: Vitamin D-resistant rickets and type 1 diabetes in a child with compound heterozygous mutations of the vitamin D receptor (L263R and R391S): dissociated responses of the CYP-24 and rel-B promoters to 1,25-dihydroxyvitamin D3. J Bone Miner Res. 2006, 21: 886-894. 10.1359/jbmr.060307.
Harvey NC, Cooper C: Vitamin D: some perspective please. BMJ. 2012, 345: e4695-e4695. 10.1136/bmj.e4695.
Sattar N, Welsh P, Panarelli M, Forouhi NG: Increasing requests for vitamin D measurement: costly, confusing, and without credibility. Lancet. 2012, 379: 95-96. 10.1016/S0140-6736(11)61816-3.
Tolppanen A-M, Sayers A, Granell R, Fraser WD, Henderson J, Lawlor DA: Prospective association of 25-hydroxyvitamin d3 and d2 with childhood lung function, asthma, wheezing, and flexural dermatitis. Epidemiology. 2013, 24: 310-319. 10.1097/EDE.obo13e318280dd5e.
Hyppönen E, Sovio U, Wjst M, Patel S, Pekkanen J, Hartikainen AL, Järvelinb MR: Infant vitamin D supplementation and allergic conditions in adulthood: northern Finland birth cohort 1966. Ann N Y Acad Sci. 2004, 1037: 84-95. 10.1196/annals.1337.013.
Montoli A, Colussi G, Minetti L: Hypercalcaemia in Addison’s disease: calciotropic hormone profile and bone histology. J Intern Med. 1992, 232: 535-540. 10.1111/j.1365-2796.1992.tb00636.x.
The pre-publication history for this paper can be accessed here:http://0-www.biomedcentral.com.brum.beds.ac.uk/1741-7015/11/171/prepub
This Unit of Health-Care Epidemiology and its work on record linkage are funded by the English National Institute for Health Research. The study sponsors had no role in the design and conduct of the study; collection, management, analysis, and interpretation of the data; and preparation, review, or approval of the manuscript. All authors state that this research was carried out independently of the influence of funding bodies.
The authors declared that they have no competing interest.
MJG is the guarantor and designer of the study. RG undertook the analysis. SVR and MJG contributed to the analysis and interpretation of the data. SVR wrote the first draft and all authors contributed to subsequent drafts and the final paper.
About this article
Cite this article
Ramagopalan, S.V., Goldacre, R., Disanto, G. et al. Hospital admissions for vitamin D related conditions and subsequent immune-mediated disease: record-linkage studies. BMC Med 11, 171 (2013). https://0-doi-org.brum.beds.ac.uk/10.1186/1741-7015-11-171
- Vitamin D
- Immune disease
- Hospital episode statistics