The MSH-9 field needs the second component to cope. Try with (guessing you want 
an R01):

MSH|^~\&|harvest|harvest|harvest|harvest|20151106111919||ORU^R01|37037|P|2.3|

Hope this helps
Ian

From: John Giotta [mailto:jdgio...@gmail.com]
Sent: Sunday, 8 November 2015 5:14 AM
To: hl7api-devel@lists.sourceforge.net
Subject: [HAPI-devel] Trying to determine the issue with Result Message

I'm new to using HAPI and I'm trying to parse an ORU sample message.
I'm not having any luck. I keep getting the following message:

"Can't determine message structure from MSH-9: ORU HINT: there are only 1 of 3 
components present"

This is my MSH segment:
"MSH|^~\&|harvest|harvest|harvest|harvest|20151106111919||ORU|37037|P|2.3|"

What can possibly be wrong with the sample message?

********************************************************************************
This email, including any attachments sent with it, is confidential and for the 
sole use of the intended recipient(s). This confidentiality is not waived or 
lost, if you receive it and you are not the intended recipient(s), or if it is 
transmitted/received in error.
Any unauthorised use, alteration, disclosure, distribution or review of this 
email is strictly prohibited.  The information contained in this email, 
including any attachment sent with it, may be subject to a statutory duty of 
confidentiality if it relates to health service matters.
If you are not the intended recipient(s), or if you have received this email in 
error, you are asked to immediately notify the sender by telephone collect on 
Australia +61 1800 198 175 or by return email.  You should also delete this 
email, and any copies, from your computer system network and destroy any hard 
copies produced.
If not an intended recipient of this email, you must not copy, distribute or 
take any action(s) that relies on it; any form of disclosure, modification, 
distribution and/or publication of this email is also prohibited.
Although Queensland Health takes all reasonable steps to ensure this email does 
not contain malicious software, Queensland Health does not accept 
responsibility for the consequences if any person's computer inadvertently 
suffers any disruption to services, loss of information, harm or is infected 
with a virus, other malicious computer programme or code that may occur as a 
consequence of receiving this email.
Unless stated otherwise, this email represents only the views of the sender and 
not the views of the Queensland Government.
**********************************************************************************

------------------------------------------------------------------------------
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to