Menu

#726 Hapi Terser issue to retrieve HL7 segments

invalid
nobody
None
Tickets
2020-01-23
2020-01-23
No

I am having the following Demo HL7 script which I need to retrieve using Terser.

MSH||||||||||||||||||||||||||||||
EVN||||||||||||||||||||||||||||||
PID|||3214^^^^|||||||||||||||||||
PV1||||||||||||||||||||||||||||||
PV2||||||||||||||||||||||||||||||
IN1|1|^Test IN1(1)|||||||||||||||
IN2|||^Test IN2^^^|||||||||||||||
IN1|2|^Test IN1(2)|||||||||||||||
IN2|||^Test IN2^^^|||||||||||||||
ROL|||^Test ROL^^^|||||||||||||||
DG1|||^Test DG1^^^|||||||||||||||
OBX||CWE|||||||||||||||||||||||||
GT1||123456^^^90XXXX^SS^^||||||||
NK1||^Test NK1^^^||||||||||||||||
ACC||^Test ACC^^^||||||||||||||||
ZAR|Test Z1||||||||||||||||||||||
ZSH|Test Z|||||||||||||||||||||||
ZAR|Test Z2||||||||||||||||||||||
ZSH|Test Z|||||||||||||||||||||||

I am having following issues. Please help.

  1. When I am retrieving the following - terser.get("/PID-3-1") - I am getting the expected result i.e. 3214.
    But the following result is giving NULL - terser.get("/ROL-3-2"), terser.get("/DG1-3-1"), terser.get("/OBX-2"), terser.get("/GT1-2-1"), terser.get("/NK1-2-2"), terser.get("/ACC-2-2").
    Please help me to retrieve ROL, DG1, OBX, GT1, NK1 and ACC segments.

  2. Also if I retrieve terser.get("/IN1-2-2"), I am having the expected result. But I am not able to retrieve the repetition of IN1. I have tried ("/IN1(1)-2-2"), ("/.INSURANCE(1)/.IN1-2-2") but didn't help.

  3. When I am retrieving external segment ("/ZAR-1"), it is returning my result. But I am not able to retrieve ("/ZAR(1)-1"), it's giving NULL. However if the 2nd ZAR segment comes after the 1st ZAR without any ZSH segment then I can retrieve the repetition of ZAR using ("/ZAR(1)-1").

I am waiting for your responses.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2020-01-23
    • status: open --> invalid
     
    • Supratim Paul

      Supratim Paul - 2020-01-24

      Thank you. This ticket can be closed, I have opened a separate ticket with
      HL7 API.

      On Thu, Jan 23, 2020 at 11:34 PM Dave Brondsema brondsem@users.sourceforge.net wrote:

      • status: open --> invalid
      • Comment:

      Hello,

      SourceForge is a hosting provider. As such, we do not support or manage
      the software that is developed on our site. This ticket system is for the
      SourceForge site itself.

      The project you are working with is located here:
      https://sourceforge.net/projects/hl7api/

      The resources they indicate are best for getting support from them are
      listed here: https://sourceforge.net/projects/hl7api/support/

      Sincerely,

      SourceForge Support

      Status: invalid
      Created: Thu Jan 23, 2020 07:23 AM UTC by Supratim Paul
      Last Updated: Thu Jan 23, 2020 07:23 AM UTC
      Owner: nobody

      I am having the following Demo HL7 script which I need to retrieve using
      Terser.

      MSH||||||||||||||||||||||||||||||
      EVN||||||||||||||||||||||||||||||
      PID|||3214^^^^|||||||||||||||||||
      PV1||||||||||||||||||||||||||||||
      PV2||||||||||||||||||||||||||||||
      IN1|1|^Test IN1(1)|||||||||||||||
      IN2|||^Test IN2^^^|||||||||||||||
      IN1|2|^Test IN1(2)|||||||||||||||
      IN2|||^Test IN2^^^|||||||||||||||
      ROL|||^Test ROL^^^|||||||||||||||
      DG1|||^Test DG1^^^|||||||||||||||
      OBX||CWE|||||||||||||||||||||||||
      GT1||123456^^^90XXXX^SS^^||||||||
      NK1||^Test NK1^^^||||||||||||||||
      ACC||^Test ACC^^^||||||||||||||||
      ZAR|Test Z1||||||||||||||||||||||
      ZSH|Test Z|||||||||||||||||||||||
      ZAR|Test Z2||||||||||||||||||||||
      ZSH|Test Z|||||||||||||||||||||||

      I am having following issues. Please help.

      1.

      When I am retrieving the following - terser.get("/PID-3-1") - I am
      getting the expected result i.e. 3214.
      But the following result is giving NULL - terser.get("/ROL-3-2"),
      terser.get("/DG1-3-1"), terser.get("/OBX-2"), terser.get("/GT1-2-1"),
      terser.get("/NK1-2-2"), terser.get("/ACC-2-2").
      Please help me to retrieve ROL, DG1, OBX, GT1, NK1 and ACC segments.
      2.

      Also if I retrieve terser.get("/IN1-2-2"), I am having the expected
      result. But I am not able to retrieve the repetition of IN1. I have tried
      ("/IN1(1)-2-2"), ("/.INSURANCE(1)/.IN1-2-2") but didn't help.
      3.

      When I am retrieving external segment ("/ZAR-1"), it is returning my
      result. But I am not able to retrieve ("/ZAR(1)-1"), it's giving NULL.
      However if the 2nd ZAR segment comes after the 1st ZAR without any ZSH
      segment then I can retrieve the repetition of ZAR using ("/ZAR(1)-1").

      I am waiting for your responses.

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/forge/feature-requests/726/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Dave Brondsema

    Dave Brondsema - 2020-01-23

    Hello,

    SourceForge is a hosting provider. As such, we do not support or manage the software that is developed on our site. This ticket system is for the SourceForge site itself.

    The project you are working with is located here: https://sourceforge.net/projects/hl7api/

    The resources they indicate are best for getting support from them are listed here: https://sourceforge.net/projects/hl7api/support/

    Sincerely,

    SourceForge Support

     

Log in to post a comment.