the selectedpatientPanel now updates prescriptions as well as comments.