Although hospitals and other health organisations may have their own policies on parental consent, typically only one parent needs to give permission.
However, if the parents are separated or divorced, they may have an agreement or a court-order in which they specify which parent is in charge of making healthcare decisions. This parent might have sole custody of the child, although the other parent may see the child regularly.
If parents have joint custody, either parent can consent to treatments.