An implantable medical device comprises an antenna configured for wirelessly receiving energy of a first frequency from an external device, electronic circuitry configured for performing a function in response to the receipt of the received energy, and a biocompatible housing containing the electronic circuitry and antenna. The housing includes a substrate structure and a two-dimensional array of elements disposed on the substrate structure. The array of elements and substrate structure are arranged in a manner that creates a frequency selective surface capable of reflecting at least a portion of energy of a second frequency incident on the housing, while passing at least a portion of energy of the first frequency incident on the housing to the antenna.