Randy is an Avid Reader. No contributions for 2024.
Without a doubt, there will be something to
share on the Community in 2025!
User bio
404 bio not found
Member since May 27, 2016
Replies:

No, it doesn't... pHL7 is an object of type EnsLib.HL7.Message, not a string... and also we need to remove the trailing chars not just from the end of a segment but within segments too... note the second example below which shows the carats remaining in PID:4 (my function would remove them):

 

USER>set pHL7 = "PID|1|12345||DOE^JOHN|^^^"
 
USER>w $zstrip(pHL7,">","|^")
PID|1|12345||DOE^JOHN
USER>set pHL7 = "PID|1|12345|myval^^^|DOE^JOHN|^^^"
 
USER>w $zstrip(pHL7,">","|^")
PID|1|12345|myval^^^|DOE^JOHN
USER>
 

Certifications & Credly badges:
Randy has no Certifications & Credly badges yet.
Global Masters badges:
Randy has no Global Masters badges yet.
Followers:
Randy has no followers yet.
Following:
Randy has not followed anybody yet.