I'll let my colleagues also intervene.
The immediate response is that the chain of command must be informed. As regards confidentiality, there's no negating that, but you can't let people be handed over to another body, even to the joint support units they were moved to, or sometimes moved back to the unit from. The unit commanding officer, who's responsible for the life of those individuals in the field, is also responsible for command back home. You can't just throw them back without giving them information. They have no idea how to handle them, because they don't know the scale of the injury the individual has.
We all have doctors in our regiments, in our units. Unless there's a means by which those doctors can provide that input, and by which that input can be moved down to the lowest level without offending, but on the contrary, reinforcing, the individual's return, you just have a bunch of walking wounded in a unit. People don't know what the hell to do with them. That isolates them more, and it pushes them more toward wanting to, maybe, end it.