add save prescription method to patient manager