Creating custom 'application ACK' handling ( and transformation)?

Hi, 

We have a system that gives an AE 'Error' response for warnings, that we want to transform to AA codes when returning the Application ACK.

MSH|^~\&|iCS|EHT|EPRO|R1K|20180511113136||ACK^A02|fbwZaoKW/USAdFI3IGLU|P|2.3|||AL|NE|
MSA|AE|fbwZaoKW/USAdFI3IGLU||||0^Nothing To Update^^W
ERR|||0^Nothing To Update|W|

Fortunately they include a warning code in MSA:6.4 and ERR:4

Does HealthShare have inbuilt functionality to transform Application ACK's, or do we need to build a custom BPL or class to handle this?

Kind regards, 

Stephen