Gender, sure.
But surely from a medical perspective it's important to know what kind of hardware a person has. I mean if you start having problems with your prostate it might be helpful to give the doctor a heads up.
Is this meant to be a medical document, or a legal one? If medical, then it shouldn't be allowed to be required for identification for privacy reasons. If legal, then why does it contain medical information at all?