Inclusion criteria: PSI>51, serum vitamin D<20 ng/ml, stable hemodynamic, absence of consumption of hydrochlorothiazide, digoxin and magnesium including anti-acid drugs, ability to be nourished enterally during the first 24 to 48 hours of admission,serum calcium levels below10.8 mg/dl at the admission, absence of history of vitamin D supplementation (>1000 units) in the past 4 months, absence of these disease: hyperparathyroidism, nephrolithiasis, sarcoidosis, chronic kidney disease, cirrhosis, metabolic diseases, acquired immune deficiency syndrome, cardiovascular disease, diabetes mellitus, cancers and autoimmune diseases, not participating in any other RCTs, not to be pregnant, signing the consent form by family of the patients.
Exclusion criteria: Death before 7 days after intervention, inability to be iterally fed after 5 days of intervention, hazardous or forbidden supplementation for the patient and presence of other types of pneumonitis.