Not quite. The doctor may make notations in your records. Then at some point down the line you are taken to the emergency room for whatever random reason, where doctors there pull your records. A claim is then submitted to insurance and they deny the claim because of previously recorded steroid use.
Each doctor-patient relationship is different. You have to be your own judge in that situation.