XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Aaron FormanSubject: 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

Postnext
Tony LavinioSubject: HL7 Conversion
Author: Tony Lavinio
Date: 05 Oct 2008 11:19 PM
The simplest way is to set the 'val=no' URI option, which will cause
the converter to not complain about segments it doesn't understand.

The next step would be to actually define what those segments look
like.

Posttop
Aaron FormanSubject: HL7 Conversion
Author: Aaron Forman
Date: 06 Oct 2008 03:09 PM
ok so where do i define how the edi segments are structured so they can be read?

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.