I have tried and tried to get the expressions option working in a transformer on Mirth and the channel won't start if I include it. Basically, I have Last^First^MI^^
in the XML. I want to transform the Last portion to HL7 field for LastName, same for first, etc.
If I try an expression I know works elsewhere: ([^^]*) which should take the Last Name only, it won't start the channel.
Any help on how I can get XML field Last^First^MI^^
to give me just the last name for the last name HL7 mapping, then one that will give me first name, etc. would be most appreciated!