Patients treated with 0.9 % sodium chloride injection received a median of 4 g of magnesium ( interquartile range [ IQR ] , 2.5-4 .0 g ) , compared with a median of 0 g ( IQR 0-2 g ) in the comparator group .