A medical system is proposed comprising at least one medical device for carrying out at least one medical function, and at least one medical consumable item interacting with the medical device in order to carry out the medical function. The medical device has at least one code reader for reading out at least one information component of an optical code on the medical consumable item. The code reader has at least one image sensor having a plurality of sensors. Furthermore, the code reader comprises at least one light-optical fiber plate, which is arranged in order to guide an image of the optical code to the image sensor.