String to HL7 format
I have a requirement where in I had to read a HL7 message string ( which is a String )
from a SQL TBL to my Business Service.
and I need to convert that string to EnsLib.HL7.Message format and traverse through the PID segment.
I need some inputs please.
You can use the ImportFromString() method in EnsLib.HL7.Message class:
Set HL7Message=##class(EnsLib.HL7.Message).ImportFromString(StringHL7,.Status)