USERDATA of the METADATA is disappearing

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf USERDATA of the METADATA is disappearing

  • Creator
    Topic
  • #49332
    Ellen Shenk
    Participant

      I put a 6 digit number in the USERDATA field of the METADATA.  Now that I have this transaction going through intermediary threads, the data in the USERDATA field is disappearing.  What can I do to retain that data the whole way through to the final outbound thread?

      This works:

      ADT_FR_CER sets USERDATA to 712345 and routes to ADT_TO_MG which can pull 712345 out of the USERDATA field.

      This does not work:

      ADT_FR_CER sets USERDATA to 712345 and routes to ADT_TO_Y1. USERDATA is 712345.

      ADT_TO_Y1 sends TCP/IP to ADT_FR_Y1.  USERDATA is blank.

      ADT_FR_Y1 routes to ADT_TO_MG.   USERDATA is blank

      I’ve tried reading the USERDATA and rewriting the USERDATA in thread ADT_TO_Y1 but that hasn’t worked.

      Thanks for your help.

      Ellen

    Viewing 0 reply threads
    • Author
      Replies
      • #61553
        John Mercogliano
        Participant

          Ellen,

           The problem you are encountering is that the metadata is a cloverleaf data item and not a physical part of the message.  So when the message leaves the confines of the process it is running in via an outbound connection the metadata is lost.  If you need this data to travel with the message you can create an HL7 variant with a Z segment and place the information there then remove the Z segment before you send it to it’s final destination.

          John

          John Mercogliano
          Sentara Healthcare
          Hampton Roads, VA

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