Postural tachycardia syndrome often, or POTS, results in a variety of symptoms, including right-sided rib pain. This pain is usually felt on the side and may worsen when in an upright position.
Despite POTS itself https://heliskidirectory.com/listings13158413/postural-tachycardia-syndrome-and-right-sided-rib-discomfort