Subject:HL7 Conversion Author:Aaron Forman Date:04 Oct 2008 12:35 PM
I get the following error when converting an HL7 file. The reason of course is that the ZPS segment does not exist in the conversion:
com.ddtek.xmlconverter.adapter.edi.EDIConverterException: [DDEE0047] ERROR No repository information available for this segment. Is the message header present?
Dialect: HL7
Version: message=23;table=23
Message: ORU
Segment: ZPS (line 9)
Native error: 100, in table: H0357
at com.ddtek.xmlconverter.adapter.edi.EDI.errorBuilder(EDI.java:1118)
at com.ddtek.xmlconverter.adapter.edi.EDI.error(EDI.java:981)
at com.ddtek.xmlconverter.adapter.edi.EDI.error(EDI.java:953)
at com.ddtek.xmlconverter.adapter.edi.Segment.reorganize(Segment.java:1250)
at com.ddtek.xmlconverter.adapter.edi.Segment.writeXML(Segment.java:2154)
at com.ddtek.xmlconverter.adapter.edi.EDI.next(EDI.java:760)
at com.ddtek.xmlconverter.platform.SmartByteBuffer$InputStreamPort.read(SmartByteBuffer.java:139)
at java.io.InputStream.read(Unknown Source)
The error states "No repository information available for this segment."
HOW CAN I CHANGE THE REPOSITORY SO THAT IT CAN READ THE ZPS SEGMENT???
Thanks
Here is the EDI message:
MSH|^~\&|1100|LC|VENDOR|LC999999|200510030042||ORU|5689|P|2.3
PID|1|99999999|99999999|999999998|PATIENT^JOHN^MIDDLE||19600505|M|||99 MAIN STREET^^MYTOWN^NC^ 11111-9999||(111)222-9999|||||99999999^^^05^^F^N|999008888
NTE|1|L|This NTE information relates to the test observation
ORC|RE|L2435^LAB|99999999999^LAB||||||200501010000|||A12345^LNAME^FNAME^M^^^^U~23462^LNAME^FNAME^M^^^^L~0123456789^LNAME^FNAME^M^^^^N~1234567890^LNAME^FNAME^MI^^^^P
OBR|1|L2435^LAB|6777463-0^LAB|014790^VITAMIN C^L|||19961002122600||||||^SICK |200501010000||A12345^LNAME^FNAME^M^^^^U~23462^LNAME^FNAME^M^^^^L~0123456789^LNAME^FNAME^M^^^^N~1234567890^LNAME^FNAME^MI^^^^P ||||||200501011200|||F
NTE|1|AC|NTE segments can be attached to PID OBR and OBX
OBX|1|ST|014790^Vitamin C^L||1.5|mg/dL|0.4-2.0|||N|F|20050101||200501011200|01
NTE|1|RC|Greater than 100,000 colony forming units per mL
ZPS|1