Hi Naveena,
XNAT's DICOM dump feature handles sequences poorly, but from looking at the screenshot you have, your dataset has private tags with the private creator ID [not included in your screenshot, it will be the value in the third column] in (0029,00E1) responsible for (0029,E131), which looks to be a sequence element with a single item, containing a bunch of standard elements with [presumably] PHI. However, none of that data topology is really related to XNAT at all; that's all just general DICOM.
Now for XNAT, there's a variety of different ways to handle this, but it all depends on your specific needs. What comes to mind for me is:
1. Delete the entire (0029,E131) element. As this is a private element, you don't do this in DicomEdit 6 as -(0029,E131) as there's no guarantee that's the tag path it will actually reliably be at. It would be more like -(0029,{WHATEVER THE PRIVATE CREATOR ID ACTUALLY IS HERE}31).
2. You could try removing the standard elements more globally. That is, instead of lines like this in your script: -(0008,0080), you would do -*/(0008,0080). That's the equivalent of "wherever you find Institution Name nested away in sequences, remove it".
3. You could try just adding "removeAllPrivateTags" as a line in your script. That's the keyword to just remove all private elements.
Each of these approaches has pros/cons, weaknesses/strengths, and I can't prescribe which is most appropriate for your use case. Anonymization is an art, rather than a science, at least in my view :).
Thanks,
Charlie Moore