The segment as we receive it is:OBX|6|TX|TXT^TEXT|6| Ambulatory pH Monitoring||||||F||||||||The segment we pass from Ensemble appears like this in downstream system (Epic):OBX|6|TX|&GDT|T245-0|\X02\ Ambulatory pH Monitoring
I have tried using the function 'replace string' without any success. Is my syntax off? Or is there a better way to remove such characters?
..ReplaceStr(source.{PIDgrpgrp(1).ORCgrp(1).OBXgrp(k1).OBX:ObservationValue()},"/\0x2/","")
Janelle
I guess that the downstream system displays the non-printable characters as \X02 but you need to correctly specify that in your replacestr call.
Try
..ReplaceStr(source.{PIDgrpgrp(1).ORCgrp(1).OBXgrp(k1).OBX:ObservationValue()}, $c(2), "")
dave
--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to
Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to
Ensemble-in-Healt...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
Ensemble-in-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/Ensemble-in-Healthcare/F3AGDGmzJtY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to Ensemble-in-Healt...@googlegroups.com.
--