Using code posted in another thread I am getting the number of repeating
segments in a message then iterating over those segments to get data using a
for loop and a terser.
The message is:
MSH|^~\&|ADM|CLF654321||CLF123456|200612131130||ADT^A08|4323424|P|2.5|||AL|NE
PID…
GT1…
IN1|1||somedata
IN1|2||somedata
Using a terser string, “/.IN1(1)-3-1”, I get this error:
ca.uhn.hl7v2.HL7Exception: Can't create repetition #1 of Structure IN1 -
this Structure is non-repeating
Do I need to also specify a field repetition?
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel