Dreams usually come out of what we're thinking about. You're thinking a lot about your grandmother and her medical issues. It came out in your dreams. It doesn't mean that she's going to die because you dreamt of her.
In this journey of her life, just be with her - talk with her - play checkers with her. Tell her that you love her. I'm sorry she's going through this.