At all times during temporary custody, detention or shelter care, the court may authorize a physician, a hospital or any other appropriate health care provider to provide medical, dental or surgical procedures if those procedures are necessary to safeguard the minor's life or health. If the minor is covered under an existing medical or dental plan, the county shall be reimbursed for the expenses incurred for such services as if the minor were not held in temporary custody, detention, or shelter care.
705 ILCS 405/5-515