Q: The PM system is sending "" in line2 for the address, which causes error when trying to file data to the address field of secondary systems. How can the double quotes be suppressed?

From Galen Healthcare Solutions - Allscripts TouchWorks EHR Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

In Misys registration and appointment interface, Misys will send "" in fields to designate that a value used to reside there but has now been deleted.

Fix

To remedy this, deploy a preprocessing script to remove all instances of two consecutive double quotes in the source HL7 message.

Script

function FixDoubleQuotes(sOriginalMessage)
     FixDoubleQuotes=replace(sOriginalMessage, """", "")
end function