Postural tachycardia syndrome sometimes, or POTS, results in a variety of symptoms, including right-sided rib pain. This pain is typically felt on the chest wall and aggravates when upright.
Despite POTS itself https://oncedirectory.com/listings13142513/postural-tachycardia-syndrome-and-right-sided-rib-pain