Question
· Apr 1, 2022

Displaying EnsLib.DICOM.Document via LOGINFO

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.DICOM.Document, does not exist:

 

Please, could you indicate, recommend, suggest or send us supporting documentation?

 

We have read:

https://community.intersystems.com/post/how-could-we-write-%E2%9C%8D%EF%...

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

https://community.intersystems.com/post/listing-all-properties-class-and...

https://community.intersystems.com/post/what-best-way-serialize-objectli...

https://community.intersystems.com/post/serialize-object-string

 

Thank you very much in advance for reading us, reflecting on the question, looking for examples and answering us.

Thanks for your help

Best regards

Product version: HealthShare 2017.2
$ZV: 2017.2.1
Discussion (0)1
Log in or sign up to continue