Enriching a message during processing

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Enriching a message during processing

  • Creator
    Topic
  • #52915
    Michael Vork
    Participant

      Hello everybody,

      I would like to hear from someone who has experience with a situation similar to the following situation:

      – An ADT-message is sent to cloverleaf.

      – This message does nog contain the primary key (PI) of the patient but does contain the national number (NNNLD, of the netherlands in this case), which is also a unique ID.

      – While processing this message, a QRY^A19 (using the NNNLD value) should be submitted to the HIS, in order to obtain the PI.

      – From the response (ADR^A19), the PI-value should be extracted and inserted into the original message.

      – Finally, this enriched message must be sent to the recipient.

      Any input is more than welcome.

      Greetings,

      Micha

    Viewing 3 reply threads
    • Author
      Replies
      • #75914
        Charlie Bursell
        Participant

          sqlite is your friend  ðŸ˜€

        • #75915
          Michael Vork
          Participant

            Hello Charlie,

            Thanks for the quick response.

            No doubt sqlite will be my friend. I will try to appreciate the significance of your remark. However, if you would like to elaborate on your original response, that will possibly be a great help.

            GRTX,

            Micha

          • #75916
            Charlie Bursell
            Participant

              Simply sayng store the ADT in sqlite till you get the needed component and send it on.

              You will also have to have some sort of max time to wait if the other message never received send to Error DB, etc.

              Seems simple enough  ðŸ˜‰

            • #75917
              Michael Vork
              Participant

                Charlie,

                Thanks again. I think that will do the trick.

                Clean and simple.

                Greetings,

                Micha

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