Agi,
What does your custom schema look like for this ADT^A01?
Do you have a party created in the HL7 configuration named HIS ? as is
in your MSH.3?
Also, your MSH doesn't look right...
The MSH 3, 4, 5 and 6 are defined below and your 3, 4, 5 and 6 are:
HIS^OPMS|HIS^AKU|Varian^HLSEVEN|Varain^HLSEVEN
3 - HIS^OPMS
4 - HIS^AKU
5 - Varian^HLSEVEN
6 - Varain^HLSEVEN
I think it should be:
3 - HIS^OPMS
4 - Varian^HLSEVEN
5 - HIS^AKU
6 - Varain^HLSEVEN
Right now the Assembler is looking at MSH.5 for a party named HIS and
the value in that field is Varian.
This mismatch between the value in MSH.5 and the Party Name means that
your outbound message cannot correctly find the message type
associated with the party and thus cannot map the custom Z-Segment.
Field
MSH-3-sending application
MSH-4-sending facility
MSH-5-receiving application
MSH-6-receiving facility
MSH|^~\&|HIS^OPMS|Varian^HLSEVEN|HIS^AKU|Varain^HLSEVEN|201003241043|sec|ADT^A01|1|P|2.3.1
EVN|A01|20100324
PID|||1||Muhammad^AunAli^Yaa||19810306|M
<ns0:ZPS xmlns:ns0="http://BTAHL7_TestProj123.ADTZPS"><ZPS.1>Yaa</ZPS.1><ZPS.2>Muhammad</ZPS.2></ns0:ZPS>
You are kind of lacking in detail, so I suggest you open a support
case with Microsoft.
Obviously you are doing something wrong...