Hi!

I have to parse ORL_O34 message in V2.5.1, but it seems like a bug in HAPI, 
because I get stack overflow exception. I've examined source code and found out 
that problem is at 
ca.uhn.hl7v2.parser.PipeParser.createStructureDefinition(PipeParser.java:279). 
I think the reason is cyclic definition of ORL_O34 groups. To be more specific: 
ORL_O34_SPECIMEN => ORL_O34_ORDER => ORL_O34_OBSERVATION_REQUEST => 
ORL_O34_SPECIMEN.

Is this really a bug or is there any known workaround?

Regards,
Jure

Sample message:
MSH|^~\&|||||20110327185247.678+0100||ORL^O34|7|P|2.5.1
MSA|AA|4602
PID|1||1127755^^^^KC_BIS_PAC~046037398^^^^ZZZS_PAC||Test^Patient^^^^^L||20021122|M
SPM|25068953|28605||K-e^kri-EDTA|||||||||||||20110327185239.555+0200|||||||||1
ORC|OK|28605|1|32605|||||20110327185239.555+0200||||||||||||44120-A^^^^^^KC_PEK_ORG^^^Urgenca
 - ambulanta
TQ1|||||||||R
OBR||28605|1|020001^K-Hemogram^KC_PEK_LIS_PRE||||||||||||265141^Test^DOCTOR^^^^^^^^^^BPI_ZDR
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to