Yes, in Ukraine the doctor might just write you a prescription for porn.Under a relatively new law, possession of any pornography (not just hardcore) in Ukraine is a criminal offense that can lead to a fine of roughly $110 or up to 3 years in prison.
The definition for what counts as porn under this legislation is a bit vague; it read: “Pornography is vulgar, candid, cynical, obscene depiction of sexual acts, pursuing no other goal, the explicit demonstration of genitals, unethical elements of the sexual act, sexual perversions, realistic sketches that do not meet moral criteria and offend honor and dignity of the human by inciting low instincts."
However, Ukraine’s minister of Justice further complicated this law by conceding that porn may be retained for “medical purposes.” It was not made specific what kind of medical purposes he was referring to, however it can be assumed that porn may be used when a semen sample is required or in the psychological research.