Postural tachycardia syndrome sometimes, or POTS, leads to a variety of symptoms, amongst right-sided rib pain. This pain is commonly felt on the right and may worsen when in an upright position.
Despite POTS itself https://webtechdirectory.com/listings13133663/postural-tachycardia-syndrome-and-right-sided-rib-discomfort