Assessment of pharmacotherapeutic safety of medical prescriptions for elderly residents in a long-term care facility