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 parental responsibility for the child, although the other parent may see the child regularly.
If parents share responsibility for the child, either parent can consent to treatments.