Recently on my airline a woman was in the lav throwing up repeatedly during boarding. FA's brought it to our attention, and us to the gate.
Options were, call airport paramedics, call medlink for advice whether to keep her on or not, or voluntarily get off the plane.
Much to our relief, she and a family member did just that, with no fuss. Phwew!