Postural tachycardia syndrome sometimes, or POTS, results in a variety of symptoms, amongst right-sided rib pain. This pain is commonly felt on the chest wall and may worsen when upright.
Although POTS itself https://lifesdirectory.com/listings13139545/pots-and-right-rib-pain