pneumonia and adverse reactions to prescribed medications