Denial of pain medication by health care providers predicts in-hospital illicit drug use among individuals who use illicit drugs.