No one here is your doctor, so we don't know about your condition and can't second-guess what you were told.
Inform your chain of command of your injuries, along with any limitations that your doctor may have dictated. They can then determine whether you would be able to complete the courses or not.
Note that concealing an injury is an offense under the NDA. The CF does not want to break you, and needs to know if you are injured to avoid makign it worse or causing long term damage.