An orthopaedic prosthesis includes a curved outer surface configured to abut a patient's bone when the orthopaedic prosthesis is implanted therein. The outer surface may or may not be electrically conductive. A channel is defined in the outer surface in which one or more electrical conductors are positioned. A switch is positioned at a first location on the outer surface and is configured to establish an electrical connection between the electrical conductor and the outer surface (e.g., an electrical trace) and/or another electrical conductor when the first location of the outer surface is pressed against the patient's bone. The switch may be embodied as an end of the electrical conductor or a more complex switch such as a push-button type switch.