From: Nagashima, T. <TNa...@nu...> - 2006-01-12 21:08:05
|
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 =3D new PipeParser(); DFT_P03 p03 =3D (DFT_P03) pp.parse(message); Thanks. |