Hi, I gave it a quick try with hapi 1.2 and could successfully parse it using the Hapi TestPanel. What hapi version do you use? Do you have the hapi-structures-v231.jar in your classpath? Can you provide some example code that demonstrates your problem?
cheers Christian Garrett McTear wrote: > > I am having success with ACK, ADT_A08, ADT_A11, and ADT_A40 messages in my > HL7 project I have been working on. I am, however, having difficulty with > ORM_O01 messages. This is the specific message I have been given as an > example message to be parsed: > > > MSH|^~\&|RAMSOFT|SENDING FACILITY|RAMSOFT|RECEIVING > FACILITY|20101223202939-0400||ORM^O01|104|P|2.3.1|||||||| > EVN|O01|20101223202939-0400|||| > PID||P12345^^^ISSUER|P12345^^^ISSUER||PATIENT^TEST^M^^^^||19741018|M|||10808 > FOOTHILL BLVD^^RANCHO > CUCAMONGA^CA^91730^US||(909)481-5872^^^sa...@ramsoft.com > |(909)481-5800x1||M||12345|286-50-9510||| > PV1||O|ER^ER^^MEDICAL > CENTER^^^^^ER||||1234567890^JONES^SAMUEL^^MD^|1234567890^JONES^SAMUEL^^MD^| > 306507^SMITH^JOHN^^MD^~689789^JONES^ED^^MD^||||||||||||||||||||||||||||||||||||||||||||| > ORC|SC|A123456|A123456||SC||1^^^20110615025434-0400^^R^^^^||20110704211036- > 0400|FRONTDESK||1234567890^JONES^SAMUEL^^MD^|^^^MEDICAL > CENTER|8883439146|||MEDICAL CENTER| > OBR||A123456|A123456|70100^XRAY JAW < 4 > VIEWS^^^|||20110704211036-0400|||||R|Patient was in an > altercation||^^^JAW^|1234567890^JONES^SAMUEL^^MD^||A123456|RP890|A123456||||CR|||^^^20110615025434- > 0400^^R^^^^|||WALK|830.1^DISLOCATION OF JAW; OPEN > DISLOCATION^|2345678901&PATEL&APU&&MD&||&LEVINSON&KERRY&K&RT&|&TRANKLIN&KATY&K&&||||PATIENT > WAS DRUNK||U|||70100^XRAY > JAW < 4 VIEWS^^^|| > NTE|1|O|CLINICAL NOTES|RE| > ZDS|1.2.124.113540.0.0.3.725.4^RAMSOFT^Application^DICOM| > > > getErrorCode() returns a 207 which is an APPLICATION_INTERNAL_ERROR. > > I was just wondering if any of you see anything in this message that would > make it not work. > > Thanks, > Garrett > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Hl7api-devel mailing list > Hl7api-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > -- View this message in context: http://old.nabble.com/ORM_O01-tp33043417p33047117.html Sent from the hl7api-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel