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
Revision as of 22:13, 9 April 2011 by Justin.Campbell (talk | contribs) (Created page with "=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 rem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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