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
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
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..
Closing based on resolution
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