>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^P
03|43BEECA94573|P|2.4|||AL|||
>EVN|P03|20060106171807|20060106171807
>PID|1|2815|41659C53246B||Robertson^Denise||1985061500
0000||||||||||||123456781
>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);
Logged In: YES
user_id=930358
some segments missing in group class
ca.uhn.hl7v2.model.v24.group.DFT_P03_FINANCIAL
DG1
DRG
DFT_P03_FINANCIAL_INSURANCE (group class doesn't exist!)
Logged In: YES
user_id=930358
Note found on hl7.org
P03_implementation_suggestion
Logged In: YES
user_id=881509
Originator: NO
This looks like it was a problem with the HL7 database. I've made the corresponding fix, and will include this in the next release.
Tracker.. Awesome :)