I can explain the actual process to a certain extent. A person reports to the doctor and the doctor would assign what is called a medical category. That relates, basically, to what parts of your job you can and cannot do for a certain period of time. You get one, possibly two, or three 6-month temporary categories, and at that time, once you've stabilized, the doctor assigns a permanent category.
If it meets the needs of your military occupation, then fine, you go back to work and all is solved. If not, the file goes up to the director of military career administration and they, with the employment limitations assigned by the medical community, decide whether or not a person meets the universality of service principle and whether they also meet the bona fide trade requirements. Based on that, a decision is made as to whether you can stay in your own military occupation, whether you could be transferred to another military occupation, or whether you should be released.