Available in LEADTOOLS Medical Imaging toolkits.
Key Elements: Searching the DICOM Dir Data Set
L_DicomFindFirstKey
L_DicomFindLastKey
L_DicomFindPrevKey
L_DicomFindNextKey