Subject:837 to XML error Author:Jonn Bogar Date:12 Jul 2006 01:05 PM
I'm receiving this error when trying to convert an 837 to XML:
java.io.IOException: Segment GS, Element 480: Cannot decode value "004010X096A1" (file:///c:/Documents and Settings/jbogart/Desktop/837sample.txt:2,43) {close}
Subject:837 to XML error Author:Jonn Bogar Date:01 Aug 2006 09:10 AM
Here is the detail from the error:
java.lang.RuntimeException: java.io.IOException: Segment GS, Element 480: Cannot decode value "004010X098A1" (file:///c:/Documents and Settings/jbogart/Desktop/2006-07-18.01160.PROF.COMM:2,48) {close}
at com.stylusstudio.adapter.fs.AdapterFile.close(AdapterFile.java:570)
Caused by: java.io.IOException: Segment GS, Element 480: Cannot decode value "004010X098A1" (file:///c:/Documents and Settings/jbogart/Desktop/2006-07-18.01160.PROF.COMM:2,48) {close}
at com.stylusstudio.adapter.fs.AdapterFile.checkException(AdapterFile.java:412)
at com.stylusstudio.adapter.fs.AdapterFile.close(AdapterFile.java:568)
Caused by: com.stylusstudio.adapter.InvalidFormatException: Segment GS, Element 480: Cannot decode value "004010X098A1" (file:///c:/Documents and Settings/jbogart/Desktop/2006-07-18.01160.PROF.COMM:2,48)
at com.stylusstudio.adapter.edi.Parser.formatIFE(Parser.java:665)
at com.stylusstudio.adapter.edi.EDI.emitSegment(EDI.java:743)
at com.stylusstudio.adapter.edi.EDI.toXML(EDI.java:569)
at com.stylusstudio.adapter.AdapterBase.toXML(AdapterBase.java:181)
at com.stylusstudio.adapter.fs.AdapterRunner.run(AdapterRunner.java:56)
at com.stylusstudio.adapter.fs.AdapterFile.getInputStream(AdapterFile.java:306)
Subject:837 to XML error Author:Tony Lavinio Date:01 Aug 2006 10:52 AM
Add &tbl=no, or change the setting for
"Force error if value not in code list" from the default of "yes" to "no".
If the release were "004010" instead of "004010X098A1", all would be fine.
We're changing the adapter so that in the future this particular element
is only checked based on the first six characters, unless there is an
exact match based on the new extension mechanism we're adding.
Subject:837 to XML error Author:Tony Lavinio Date:03 Aug 2006 01:57 AM
Well, it means values for elements that aren't in the standard
won't get flagged.
I did check, and the next release of Stylus Studio will only
check the first six digits of element 480 in the GS segment,
so this won't be a problem going forward.