The sentence that correctly uses parallel structure is:
When a broken bone is healing, it is important to immobilize the injury, eat foods rich in calcium, and get lots of rest.
This sentence maintains parallelism by using consistent verb forms ("immobilize," "eat," "get") in the list.