I need to route A01, A04 and A08 event types thru a xlate. I do not want to create individual routes. So below is what I did but it is not working. Can someone tell me what I am doing incorrectly?
The .* is not always necessary. It depends on the sending system. Some HIS systems will send other characters after the event code, so this allows to capture those extra characters.
For example, our system sends a version number after the event type, so I may get ADT_A01;41 instead of simply ADT_A01. The messages would go to the error database if I didn’t have the .* safety in place.
I was thinking in Alka’s example, although the dot-splat fundamentally changes the meaning of the regular expression, it’s use here wasn’t relevant — I’m still at the ‘have to check the book everytime’ level with regexp’s so I had to ask.
I do not know if you still need help with this but i think you might need a parenthesis around the route for it to work, i think it will work with or without, but here is what we have it set up as here with the wildcard button checked..
I do not know if you still need help with this but i think you might need a parenthesis around the route for it to work, i think it will work with or without, but here is what we have it set up as here with the wildcard button checked..
for ours
ADT_A(0[12348]|1[13678]|2[349]|3[06]|4[4])
for yours
ADT_A(0[148])
The parens are only needed on yours because of the pipe characters. He doesn’t need them on his.
Follow regexp syntax for wildcard routing, ours are set up like:
ADT.A0[148]
or
ADT.A08[148]|ADT.A1[134]
I’ve had no issues with our routing following this syntax, we’re on 5.7Rev3. Also, as already mentioned the wildcard route checkbox also has to be checked.
We have at sherman ADT_A([0-4][1-8]) for each all ADT trigger starting from A01 to A48 (some of the event our HIS/ Cerner system doesn’t output trigger but it seems we have all inclusive 8) )
Thanks,
Jigar
Mike Brown wrote:
I do not know if you still need help with this but i think you might need a parenthesis around the route for it to work, i think it will work with or without, but here is what we have it set up as here with the wildcard button checked..
for ours
ADT_A(0[12348]|1[13678]|2[349]|3[06]|4[4])
for yours
ADT_A(0[148])
Author
Replies
Viewing 10 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.