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, search


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.


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


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