User bio
404 bio not found
Member since Aug 26, 2022
Posts:
Replies:
Follow-up, as a quick and dirty check, I replaced the call to GetValueAt above with:
set step1 = $PIECE(message.RawContent,"OBR|")
set step2 = $PIECE(part1, "ORC|", *)
set ReportId = $PIECE(part2, "|", 3, 3)
This works before calling the XML generation code when GetValueAt doesn't - so GetValueAt is definitely doing something to the contents of the HL7 message....
Thanks Eduard, that answered my question without me having to ask it!
Certifications & Credly badges:
Global Masters badges:
Followers:
Following:
Colin has not followed anybody yet.
Follow-up/solution: we can do:
set message2 = message.%ConstructClone(1)
and then use message for the XML generation and message2 for calls to GetValueAt, and that works OK.
Still don't know why GetValueAt appears to change the content of the message...