wheelchair restricted with joint issues

New to MFP I am a 50 year old female and I currently weigh 340. I haven't always been this way, but since 2011 life has dealt me a sh***y hand. I went from '5 "2 & 150 lbs to my current weight and my doctor says it is a metabolism issue, complicated by health issues. I currently go to physical theraphy 5 days a week for 30-45 min a day and doing the max my body will handle and I'm frustrated because the weight isn't coming off.
At this time I have a rotator cuff that needs surgery and two knees to be replaced, but no one will touch me because my BMI is a 63. I'm having gastric bypass sometime in the next thirty days, in hopes that it will help the issue. I currently eat @1300 calaries a day and am seditary most of the day. Please help, I'm not sure what I can do after surgery to aide in my weight lose.