Getting a diagnosis without it going on your medical record

I'm looking to get a diagnosis but I really don't want it to go on my medical record. Do you know if this is possible?