Removing DHEC wrapper

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Removing DHEC wrapper

  • Creator
    Topic
  • #55589
    Lisa Nanney
    Participant

      Has anyone done the bi-directional feed to and from SC DHEC for immunization history query?  I am putting the wrapper around the QBP msg outbound to DHEC.  I’m trying to write a tcl to remove the wrapper coming back in and haven’t been successful.  I need to extract the HL7 message from the wrapper, kill it if its  ACK/NAK, and route the RSP message back to Epic.

    Viewing 0 reply threads
    • Author
      Replies
      • #85855
        Brent Fenderson
        Participant

          I’ve done something like that for Hawaii awhile back. I created an xml format then extracted the hl7 message with the following statements.

           set ghd [grmcreate -msg $mh xml hhsc s$Envelope]

                     set datList [datlist]                       ;# record existing handles

                     set rplyData [datget [grmfetch $ghd {s:Envelope.s:Body.submitSingleMessageResponse.submitSingleMessageResult.#text}] VALUE]

                     if $debug {echo in $module reply is $rplyData}

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.