EKG while pregnant?

Liz • Baby #2 due 12/24!

My doctor requested that I have an EKG done because when I go to take a deep breath I get a sharp pain on my left side right under my breast.

Has anyone experienced this or an EKG while pregnant? I'm 23 weeks and unsure about an EkG while being pregnant 😨