If somebody hacked Emily Yoffe's medical records and released them to the public I wonder whether she would still describe the crime as somebody "telling the truth" about her.
He was on staff at the hospital, so he had access to the chart. That being said, if you do not have a REASON (be on that person's care team) to be in that chart, it is a violation of the rules. Simple curiosity is not a valid reason.
People are at minimum fired, then reported for this.