I'm sorry, but I do not understand how this question relates to the topic of this forum. Could you provide more information, or perhaps a use case?
"A barcode is an optical machine-readable representation of data relating to the object to which it is attached." So, it can contain any textual data. There are few standards which describe how to compose more information to a single barcode - see e.g. GS1-128. Such codes can be easily de-composed and logistics applications are usually capable of that.
hi, would you like puts a image of a barcode and find that barcode by the code?!
if are you working with 2d barcodes, can you puts the number value in the id content...
with this information in a metadata will be easy to create reports