Is there a Lua or API call that returns DICOM tags in both human readable form or numeric (gggg,eeee) group/element form? Something like how the elements are displayed in the web explorer?
The Lua and API calls I’ve typically used tend to return tags in one form but not both. That hasn’t mattered much until recently.
On occasion, when querying the human readable form of the tag, I’ll see the "Unknown Tag & Data". At that point, I’d like to get the corresponding numeric gggg,eeee form so I can handle the tag in my scripts. However, I’m not sure how to best do that.
I could add new terms to the data dictionary in the Orthanc JSON configuration files, but that only really works AFTER I’ve encountered one of these problematic tags.
Thanks for suggestions,
John.