The invention relates to a container (1) for medical or diagnostic use, intended to hold a product (10) of interest, in divided or undivided solid, gel, powder or liquid form, characterized in that at least one wall (3) of the said container (1) is provided with at least one two-dimensional or three-dimensional marking zone (4) in which at least one identification code (5) is reproduced so as to be readable. The invention further relates to an injection device comprising such a container.