My heart does the same thing! When I'm hooked up to monitors, machines or during a stress test it behaves. As soon as no doctors are around, my heart feels like it's skipping beats. One emergency room doctor said I was experiencing PVC's. He caught one on the monitor. He said they are harmless and he used to get them all the time. Probably comes from stress.
I am a member on the anxiety forum and these heart symptoms are often mentioned. Yes, you can get the skipped beats and/or racing heart from anxiety. As Dylan mentioned, try to stay calm although it's not easy. Often panic comes along with it as a symptom. I hope both of you are feeling better now!