Re: [HAPI-devel] HL7Exception contains wrong rep

2012-01-11 Thread Rahul Somasunderam
I did some digging around with a few different sample messages and realized that the segrep being stored in the exception is not a segrep. It is more of a seg identifier. e.g. In the message there are to NK1 segs. Irrespective of where I make a validation failing mistake, it prints the same numb

[HAPI-devel] HL7Exception contains wrong rep

2012-01-09 Thread Rahul Somasunderam
I parsed this message with HAPI 1.2 MSH|^~\&|ABCDEFG&1.23.4&ISO|CDS|LABADT|MCM|20120109|SECURITY|ADT^A04|MSG1|P|2.4 EVN|A01|198808181123 PID|||R2D002^^^BADFAC&1.2.8.9.3.4.2.8&ISO||Smith^Michael^^^Mr||19800930|M||2106-3|1205 S Main STREET^^San Jose^CA^27401-1020|GL|(919)379-1212|(919)271-3434