Medical debt on a credit report

How medical debt is reported, and the rules that limit its effect on a score.