gdcmxml dumps UID such as:
<BulkData UID = "1.2.826.0.1.3680043.2.1143.8780394095929891706880913777806771164" />
I believe the correct output is more like:
<BulkData UUID="24b1de66-c203-01e1-cc4a-67c6697351ff"/>
As per standard PS 3.19-2011, we should have:
...
An identifier of this bulk data reference
formatted as a UUID using the
hexadecimal representation defined in
ITU-T Recommendation X.667,..
...
Looks like on UNIX you need to call:
uuid.h:void uuid_unparse(const uuid_t uu, char *out);
Maybe we need to copy gdcm::UIDGenerator into gdcm::UUIDGenerator and use uuid API
And on Windows we need to use: UuidToString
http://msdn.microsoft.com/en-us/subscriptions/aa379352\(v=vs.80).aspx