I sure hope not....but I bet we will hear an awful lot about it shortly.
HIIPA doesn’t apply here, since this is all court-level stuff. If a court orders you to a nut farm, or rules you to be mentally ill/deficient, that’s all that regulation applies to.
A voluntary self-admission to a hospital because you are depressed when your sister died (for example) wouldn’t be a 4473 disqualifier — nor should it be.