An implant and method for manufacturing an implant comprising an implant body defining a longitudinal axis and a structurally encoded pin contained within the implant body and aligned substantially along the longitudinal axis, the structurally encoded pin having a shape or surface characteristics discernable by an imaging modality such as x-ray, fluoroscopy, computed tomography, electromagnetic radiation, ultrasound, visible light, UV light, magnetic resonance imaging, positron emission tomography and neutron imaging, from outside the implant body, the shape or surface characteristics representing structurally encoded data. The structurally encoded pin is encoded via an electric discharge machining process.