Good morning,
Thank you for taking the time to read and answer this question.
We need to find out how to display an EnsLib.DICOM.Document using LOGINFO, in the traces.
We have tried to use:
set writer=##class(%XML.Writer).%New()
set status=writer.OutputToString()
set status=writer.RootObject(..DocumentFromService)
set xml= writer.GetXMLString()
$$$LOGINFO("..DocumentFromService en xml: "_xml)In the trace it informs us that the "RootObject" method for DICOM documents, the EnsLib.

These tests run fine in Studio..png)

.png)






