I personally avoid doing larger modifications in the projection, other than eventually modifying / converting old data format of the (persistent) class in this type of project you describe. Larger changes I tend to leave up to %Installer package as it gives me more control (and more structured way of work via XML). Also, in many cases, when you compile a class, you only want to perform changes only once, not with every compilation.

[
 
 
But agreed, projections are a great feature, and not many Cache developers appreciate their potential

 

Thank you David,

but I have different problem. I admit my HL7v2 knowledge is limited. I have seen several scenarios where Ensemble acts as HL7 router, just accepting message at one end (service) and routing it to another end (operation) and eventually automatically sending ACK back to originator. 

But this case is different. Client is expecting immediate response - the ADR^A19 message. So I now have multiple ways of constructing response, but how do I actually return it back to the caller?

 

Dan