I'm trying to validate a HS.FHIRServer.Interop.Request received from an HS.FHIRServer.Interop.Service, which looks more or less like this example
It is quite intuitive to gain access to basic properties like
But when I try to get access to the AdditionalInfoItems (especially the 'ClientAddr' element) simplicity is over.
set tItem = pRequest.Request.AdditionalInfo.GetAt(tCount)
$$$TRACE("Current info item: " _ tItem)
just prints empty Strings. As AddtionalInfoItem only extends %Library.String (https://docs.intersystems.com/irisforhealthlatest/csp/documatic/%25CSP.D...) I am somewhat at a loss as to how to get access to both key an value of the object.
I would be very grateful for a hint.