X-Ray smart chip