How dicom tags are mapped to tagelement and taggroup on database?

Hello,

I’m currently doing some tests with an Orthanc instance and I have a question. How I can know to which tagelement and taggroup fields will be mapped an specific dicom tag into the maindicomtags table on the database?

For example, (0018,5100) PatientPosition has the tagelement 20736 on the database, but I can’t find where this relation is defined on Orthanc’s code. Is there some reference table for this mapping?

Thanks in advance,
Best regards

20736 (decimal number) is 5100 in hexadecimal :wink:

Oh, I did not realize that!

Thanks a lot Alain.