Announcement

Collapse
No announcement yet.

Mapping/Drag n drop bug

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mapping/Drag n drop bug

    Hi guys I came across this bug while dragging and dropping hl7 segments from the hl7 tree tab into the mapping text box in "edit transformer".
    When I drag PID.3 CX.1 into the textbox it gives me this:

    msg['ORU_R01.PATIENT_RESULT']['ORU_R01.PATIENT']['PID']['PID.3']['CX.1'].toString()

    but when I deploy it simply returns and empty string, upon examination of the xml under the "transformed message" tab i discovered this:

    <ORU_R01.PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI>
    <ORU_R01.PIDPD1NK1NTEPV1PV2>
    <PID>
    <PID.3>
    <CX.1>780293</CX.1>

    which meant I had to change the mapping to:

    msg[&#039;ORU_R01.PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI &#039;][&#039;ORU_R01.PIDPD1NK1NTEPV1PV2&#039;][&#039;PID&#039;][&#039;PID.3&#039;][&#039;CX.1&#039;].toString()

    in order for it to work. I&#039;m using mirth 1.3.2
    Any thoughts?

    Thanks.

  • #2
    Re: Mapping/Drag n drop bug

    Could you post your message template, please?

    Comment


    • #3
      Re: Mapping/Drag n drop bug

      sure:

      MSH|^~\&|PLS|blah|Generic Vendors|VICNISS|20061205023114||ORU^R01^ORU_R01|29 8327-0612050231136|P|2.3.1|||AL|NE|61a
      PID|s|s|763825^^^SVH^MR^SVH~123^^^PLS^PI~123^^^AUS HIC^MC|a|surname^first name^middle name^suffix^prefix^degree|mother maiden surname^mother maiden first name^mother maiden middle name|19830919|F|patient alias surname^patient alias first name^patient alias middle name|a|a^streetT^city^s^postcode^h|a|c|c|c^h^u|c|f ^dfh|123|asdf|d^d^d|t|pp|eeee|ooo|l|v|x|h|g|g
      PV1||I|IC1^^^SVH|||||NotRequd^Hospital Referral^^^^^^^AUSHIC||||||||||||PU
      ORC|XX||06P389180-8987593^PLS||SC||||20061203000000|AH^Arthur Holod^^^^^^^PLS||NotRequd^Hospital Referral^^^^^^^AUSHIC|||20061205023056||||MACHINE^ Machine Interface^^^^^^^PLS
      OBR|1||06P389180-8987593^PLS|MBC^BLOOD CULTURES^PLS||20061203000000|20061203030000|200612 03030000||SVH^Collected in SVHM||""|Febrile Aml|20061203050000||NotRequd^Hospital Referral^^^^^^^AUSHIC||SVH|IC1||8987593|2006120502 3000|||F||^^^20061203000000^^R|||||Machine&Machine Interface&&&&&&&PLS
      OBX|14|FT|8252-9^TEXT^LN||SPECIMEN: Ref: M965385\.br\Blood Culture , Arterial line\.br\\.br\CULTURE:\.br\Aerobic Bottle: No Growth after 2 days incubation.\.br\Anaerobic Bottle: No Growth after 2 days incubation.\.br\\.br\\.br\NO FURTHER REPORT WILL BE ISSUED unless cultures\.br\become positive on further incubation.||||||F|||20061205023004||Machine^Machi ne Interface^^^^^^^PLS

      with patient identification removed of course.

      Comment


      • #4
        Re: Mapping/Drag n drop bug

        Try clearing the message and trying again. We tried here and it&#039;s showing up as:

        msg[&#039;ORU_R01.PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI &#039;][&#039;ORU_R01.PIDPD1NK1NTEPV1PV2&#039;][&#039;PID&#039;][&#039;PID.3&#039;][&#039;CX.1&#039;].toString()

        In the step.

        -Chris
        Chris Lang

        Comment


        • #5
          Re: Mapping/Drag n drop bug

          thanks for the reply guys, I forgot to mention that I&#039;m running Mirth 1.3.2 on Fedora. I just tried the mappings on the Windows Mirth and the problem disappeared, maybe its a bug just with the Linux version?

          Someone with linux want to do a quick check?

          Ta.

          Comment


          • #6
            Re: Mapping/Drag n drop bug

            Little late but I get the correct mapping on Fedora Core 6:

            msg[&#039;ORU_R01.PIDPD1NK1NTEPV1PV2ORCOBRNTEOBXNTECTI &#039;][&#039;ORU_R01.PIDPD1NK1NTEPV1PV2&#039;][&#039;PID&#039;][&#039;PID.3&#039;][&#039;CX.1&#039;].toString()

            Comment

            Working...
            X
            😀
            🥰
            🤢
            😎
            😡
            👍
            👎