Specify an IB Variant and an OB variant that match the sending and receiving systems selecting the ADT^A40 IB and ADT^A44 OB.
Then use the appropriate Xlate Actions to get the needed data from the IB to the OB.
There may be some data needed for the OB which does not exist in the IB – if that is the case you will need to have discussions as to what to do.
This is functionally no different I would think than ADT^A01 to ADT^A01 for example just that some of the segments/fields/groups may or may not exist in both Event Types or may or may not be populated in use.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
In you original post you state you want to go from ADT^A40 to ADT^A44.
You then use a ADT^A44 variant in and out and attempt to override the MSH-9 to ADT^A40. So that appears you have ADT^A44 in and out but want the ADT^A44 out marked identified as an ADT-A40.
So which is what you want? I am confused.
Also I think the segment order, etc. for an ADT^A40 is different than for an ADT^A44 so check that.
What exactly is incorrect from what you want?
What release of cloverleaf?
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.