Hi,
I have written plugin with a custom annotation provider for a client. It is working fine for the most part, except for two issues.
1. If the tag is part of a functional group, the program can't find the tag when I try to access it as follows.
_annotationItems.Add(new DicomAnnotationItem<string>("000882144", resolver, delegate(Frame frame) { try { return frame.ParentImageSop[System.Convert.ToUInt32("00082144", 16)].GetString(0, null); } catch { return ""; } }, DicomDataFormatHelper.RawStringFormat));
2. If the tag contains a value, that has a backslash '\' in it, the above statement only returns me the left portion before the first slash. For example, '07/27/2012' will be returned as 07. This rather seems to be the default behavior in ClearCanvas, as we modified one of the tags that is displayed by default annotation settings, and clear canvas only display the left portion of the string before the first slash. The tag id is '0018, 1030' (aquisition matrix) and the type is US
I am using ClearCanvas Workstation 2.0 SP1, Visual Studio 2010, c#
Appreciate if someone can help me with either of the above issues. Let me know if I should post more information.
Thanks -