Replace escape characters in OBX5

mercredi 11 mars 2015

I am working on a result interface to send a report. The other vendor couldn't handle multiple instances of OBX, so I have moved everything into one OBX 5 segment, but in doing that, the OBX5 segment has several ^ characters in the message where the breaks are. The other vendor would like me to replace the ^s with \.br\



Is there a way that I could loop through the newly build OBX5 segment & change all of those escape characters to the page breaks?



I want



^ Radiation Oncology Consultation ^ ^PATIENT: TEST,PATIENT ^ ^ ^ ^DATE OF SERVICE: ^ 03/06/2015



To look like this



\.br\ Radiation Oncology Consultation \.br\ \.br\PATIENT: TEST,PATIENT \.br\ \.br\ \.br\ \.br\DATE OF SERVICE: \.br\ 03/06/2015



Thanks in advance for the help.





Replace escape characters in OBX5

0 commentaires:

Enregistrer un commentaire