First, I don't have the answer for you, but only some thoughts from some related experience and friends who hurt their ribs...you mileage will definitely vary.

Listen to the doctor -- or ask him for a specialist, or find a better doctor if he isn't satisfying your questions.

Definitely find a position for sleep which does not irritate, aggravate, nor cause your ribs to hurt. I have to be careful not to sleep (to long) in certain positions or my should will get a lot worse.

Friends who were struck or otherwise injured in the ribs, especially at the joints to the sternum to many months to fully heal -- six months was not uncommon.

Be aware that your ribs really to articulate at the sternum -- not far, but they are real joints and move, so it is a combination of not re-injuring them, not stressing them too much, and (eventually) stretching them gently and carefully working them loose without setting back the healing.

Yoga might help, but ask your doctor for advice and if he agrees then let the instructor know about your injury.


--
HerbM