Programmatically creating HL7v2 message, anyone?
A customer needs to assemble a HL7v2 ADR A19 (ADT Response - Patient Query) message programmatically, inside Ensemble.
Does anyone have an example of how can one create a HL7v2 message programmatically?
So far, I could only find a brief note in WRC mailing, so I followed it. I have scubclassed EnsLib.HL7.MsgRouter.RoutingEngine class and implemented OnConstructReply() method but it seems to be NEVER called. I made sure this class is used as BP instead of original one, bound it to the routing rules, but no luck so far.
Can anyone advice?