Hello community, 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 ![](/sites/default/files/inline/images/images/grafik(12).png) It is quite intuitive to gain access to basic properties like $$$TRACE("Request Method: " _ pRequest.Request.RequestMethod)</p>

But when I try to get access to the AdditionalInfoItems (especially the 'ClientAddr' element) simplicity is over.

As $$$TRACE("Request contains " _ pRequest.Request.AdditionalInfo.Count() _ " Info items.") results in printout of a correct number of elements, a for loop </p>

for tCount=1:1:pRequest.Request.AdditionalInfo.Count() {
  set tItem = pRequest.Request.AdditionalInfo.GetAt(tCount)
  $$$TRACE("Current info item: " _ tItem)
}</p>

just prints empty Strings. As AddtionalInfoItem only extends %Library.String (https://docs.intersystems.com/irisforhealthlatest/csp/documatic/%25CSP.Documatic.cls?&LIBRARY=HSLIB&CLASSNAME=HS.Types.AdditionalInfoItem) 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.

Regards,

Martin

</body></html>