Menu

#37 Parse non-standard segment - ZPS

closed
None
5
2018-01-22
2010-07-07
Mithun
No

I have a non-statndard segment named 'ZPS' in my hl7. How do i parse it ?

NTE|1|L|Test cancelled at client's request.
NTE|2|L| TEST: 164947 Antinuclear Antibodies, IFA
ZPS|1|EDITE|LabCorp EDI Testing|3060 S Church Street^^Burlington^NC^272150000|3365845171||MD^Pathologist^Testing^^^^MD
ZPS|2|BN|LabCorp Burlington|1447 York Court^^Burlington^NC^272153361|8007624344||MD^Hancock^William F^^^^MD

Discussion

  • Mithun

    Mithun - 2010-07-07
    • assigned_to: nobody --> bryan_tripp
     
  • James Agnew

    James Agnew - 2010-07-20

    Hi Mithun,

    Would you be able to post the complete message you are trying to parse, and an example of what isn't working?

    Cheers,
    James

     
  • Mithun

    Mithun - 2010-07-21

    I got a solution to this thanks to this post: http://old.nabble.com/ZFU-Segment-td17649028.html. I created my own ZPS segment class and extended ORU_R01 to parse ZPS segments. Then used message.getAll("ZPS") to get segments..

     
  • James Agnew

    James Agnew - 2011-02-21

    Closing based on resolution

     
  • James Agnew

    James Agnew - 2011-02-21
    • status: open --> closed
     
  • Jagdeep Singh

    Jagdeep Singh - 2018-01-22

    Hi Mithun,

    I am struggeling with parsing the Z segments. The url you have posted above is not working right now. Could you please help me to parse Z segments using Hapi.
    Thanks

     

Log in to post a comment.