From: Nico V. <ni...@sk...> - 2006-01-14 10:04:47
|
Hi Thomas, I would like to apologize, I had looked at the messagestructure for P03 in the HL7 version 2.5 standard, and apparently in that version it's different than in 2.4. In 2.4 the structure below is correct, so I'm afraid this is a bug in the HAPI group class (DFT_P03_FINANCIAL) (or in the hl7 database). >FT1 >DG1 >FT1 >DG1 Regards Nico At 13/01/2006, Nagashima, Thomas wrote: >Thanks for the reply. Unfortunately I'm receiving the message from a 3rd >party program. >That's the message that's sent to me via a socket. I suppose I could >reorder the message somehow though. > >-----Original Message----- >From: Nico Vannieuwenhuyze [mailto:ni...@us...] >Sent: Friday, January 13, 2006 1:51 PM >To: Nagashima, Thomas; hl7...@li... >Subject: Re: [HAPI-devel] Why am I not getting multiple DG1s? > > >Hi Thomas, > >I think you should try to correct your hl7 message before parsing it. > >If you look at the hl7 standard, you'll see that the FT1 segment is part of >the Financial segment group, while the DG1 segment is not part of that >group ... meaning that you cannot have > >FT1 >DG1 >FT1 >DG1 > >you should have > >FT1 >FT1 >DG1 >DG2 > >Best Regards > >Nico > >At 12/01/2006, Nagashima, Thomas wrote: > >I'm using HAPI 0.4.3 and have the following message (don't worry it's > >bogus data): > > > >MSH|^~\&|MediNotes|CP|External||20060106171807||DFT^P03|43BEECA94573|P|2. > 4|||AL||| > >EVN|P03|20060106171807|20060106171807 > >PID|1|2815|41659C53246B||Robertson^Denise||19850615000000||||||||||||1234 > 56781 > >PV1|1|O|Ambulatory Surgery Center^^^^^^^^Ambulatory Surgery > >Center||||^Mental^Full|||||||||||||||||||||||||||||||||||||20060106171807 > |||||| > >ORC|SN| > >FT1|1|||20060106171807||CG||||||||||^^^Ambulatory Surgery > >Center|||396^Diseases Of Mitral And Aortic > >Valves^I9|^Mental^Full|||||94664^Demonstration and/or evaluation of > >patient utilization of an aerosol generator, nebulizer, metered dose > >inhaler or IPPB device^C4| > >DG1|1||396^Diseases Of Mitral And Aortic Valves^I9|||F > >FT1|2|||20060106171807||CG||||||||||^^^Ambulatory Surgery > >Center|||396.1^Mitral Valve Stenosis And Aortic Valve > >Insufficiency^I9|^Mental^Full|||||20251^Biopsy, Vertebral Body, Open; > >Lumbar Or Cervical^C4| > >DG1|1||396.1^Mitral Valve Stenosis And Aortic Valve Insufficiency^I9|||F > > > >Here's the odd thing, when parsed by PipeParse.parse it generates only 1 > >DG1 and only 1 FT1. > >If you use the testpanel provided it actually puts the second FT1 and DG1 > >into the DFT_P03_IN1IN2IN3ROL. > >I would think it would generate 2 DG1s (only creates 1) and 2 > >DFT_P03FT1PR1ROLORCOBRNTEOBXNTE's. > > > >Am I doing something wrong? I just have the message as a string and do: > >PipeParse pp = new PipeParser(); > >DFT_P03 p03 = (DFT_P03) pp.parse(message); > > > >Thanks. > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > >for problems? Stop! Download the new AJAX search engine that makes > >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > >http://ads.osdn.com/?ad_idv37&alloc_id865&opick > >_______________________________________________ > >Hl7api-devel mailing list > >Hl7...@li... > >https://lists.sourceforge.net/lists/listinfo/hl7api-devel |