I was looking for an easier way to build the FHIR Query String, given the Record Map request that is passed into the DTL.
I built this Function, but when I run a message through it, my Query String that is passed back into the DTL is a Reference Pointer and not the String I am looking for.
ClassMethod BuildFHIRQueryString(record As%String, Output queryString As%String) As%Status
{
// Assuming 'record' is a string containing the record map data
// Define the delimiters
Set fieldDelimiter = "|"
Set repeatDelimiter = "~"
set queryString = ""

.png)
.png)


.png)

.png)

