Ballooning mode stability for self-consistent pressure and current profiles at the H-mode edge | Synapse