Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Z segment creation

56 views
Skip to first unread message

Aun Ali

unread,
Mar 19, 2010, 4:05:18 PM3/19/10
to
i am having the some issue i want to send hl7 data with Z segment
when text file is created msg header and and body is pipedelimated but Z segment is Xml formate what should i do
//////////////////////////////////////
MSH|^~\&|HIS^OPMS|HIS^AKU|Varian^HLSEVEN|Varain^HLSEVEN|201003192351|sec|ADT^A01|1|P|2.3.1
EVN|A01|20100319
PID|||1||ali^AunAli^Aun||19810306|M
<ns0:ZPS xmlns:ns0="http://BTAHL7_TestProj123.ZFlatFileSchematest123"><ZPS.1>Aun</ZPS.1><ZPS.2>ali</ZPS.2></ns0:ZPS>

url:http://www.ureader.com/gp/1202-1.aspx

Tom Canter - Neudesic

unread,
Mar 20, 2010, 12:55:32 PM3/20/10
to
On Mar 19, 1:05 pm, "Aun Ali"<aunali.denw...@aku.edu> wrote:
> i am having the some issue i want to send hl7 data with Z segment
> when text file is created msg header and and body is pipedelimated but Z segment is Xml formate what should i do
> //////////////////////////////////////
> MSH|^~\&|HIS^OPMS|HIS^AKU|Varian^HLSEVEN|Varain^HLSEVEN|201003192351|sec|AD­T^A01|1|P|2.3.1

> EVN|A01|20100319
> PID|||1||ali^AunAli^Aun||19810306|M
> <ns0:ZPS xmlns:ns0="http://BTAHL7_TestProj123.ZFlatFileSchematest123"><ZPS.1>Aun</ZPS.1><ZPS.2>ali</ZPS.2></ns0:ZPS>
>
> url:http://www.ureader.com/gp/1202-1.aspx

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

Aun Ali

unread,
Mar 24, 2010, 1:53:34 AM3/24/10
to
now i have change what you ask but still giving error as
Summary what i have done
1>I have define Schema Name it ZPS
2>Make mulitpart Message in which Z Segment is Schema Which i have created in Step 1
3>Send Data to File using BTAHLPipeXline


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>

url:http://www.ureader.com/msg/1202514.aspx

Tom Canter - Neudesic

unread,
Mar 24, 2010, 12:17:30 PM3/24/10
to
On Mar 23, 10:53 pm, "Aun Ali"<aunali.adenw...@aku.edu> wrote:
> now i have change what you ask but still giving error as
> Summary what i have done
> 1>I have define Schema Name it ZPS
> 2>Make mulitpart Message in which Z Segment is Schema Which i have created in Step 1
> 3>Send Data to File using BTAHLPipeXline
>
> MSH|^~\&|HIS^OPMS|Varian^HLSEVEN|HIS^AKU|Varain^HLSEVEN|201003241043|sec|AD­T^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>
>
> url:http://www.ureader.com/msg/1202514.aspx

You are kind of lacking in detail, so I suggest you open a support
case with Microsoft.
Obviously you are doing something wrong...

0 new messages