#52 DFT-P03 - incorrect message structure

closed-fixed
None
5
2012-04-13
2006-01-14
No

>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);

Discussion

  • Nico Vannieuwenhuyze

    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!)

     
  • Nico Vannieuwenhuyze

    Logged In: YES
    user_id=930358

    Note found on hl7.org

     
  • James Agnew

    James Agnew - 2006-12-11
    • assigned_to: nobody --> jamesagnew
     
  • James Agnew

    James Agnew - 2006-12-11

    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.

     
  • Nobody/Anonymous

    Tracker.. Awesome :)

     
  • Christian Ohr

    Christian Ohr - 2012-04-13
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks