I'm so sorry to hear your mom passed away @littleoc . 
But I am glad you could be with her and they could control the pain and the dr was compassionate.
I do hope you will let go as best you can of shame and guilt, because IMHE they will interfere with being able to remember good memories or just take comfort in your love for each other. Which you know she wouldn't want and isn't true or what she would feel. You did the best you could and helped her immensely, by your presence and accompaniment too, and supported her. It is messy and never perfect. It feels it is never enough when you love someone and go hard on yourself. But context means everything and I am sure she knew you loved her with every ounce of your being and that is enough. Maybe everything. And forgave what many others wouldn't.
I think grief too is different for each person (or other circumstance or thing) we grieve. Please be gentle with yourself. Much love and gentle hugs to you and hope you keep posting. xoxoxox.
I do hope you will let go as best you can of shame and guilt, because IMHE they will interfere with being able to remember good memories or just take comfort in your love for each other. Which you know she wouldn't want and isn't true or what she would feel. You did the best you could and helped her immensely, by your presence and accompaniment too, and supported her. It is messy and never perfect. It feels it is never enough when you love someone and go hard on yourself. But context means everything and I am sure she knew you loved her with every ounce of your being and that is enough. Maybe everything. And forgave what many others wouldn't.
I think grief too is different for each person (or other circumstance or thing) we grieve. Please be gentle with yourself. Much love and gentle hugs to you and hope you keep posting. xoxoxox.