It's an independent chairperson who makes that decision, obviously.
Some inmates, when they expose themselves to officers, are sent to segregation. From there they should be assessed by a psychological team, and there may be treatment to follow. It's not necessarily a punishment. I guess you can kind of see segregation that way, but charges should be put in. It's difficult to say what the charge is. That depends on the institution too, whether it is medium, minimum, or maximum security. It would all depend on where they are, because removal of privileges may not apply the same way in a minimum security institution as it does in a maximum one.