Retrieving data from a remote server to add to a transaction

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Retrieving data from a remote server to add to a transaction

  • Creator
    Topic
  • #49894
    Sundeep Kumar
    Participant

    I have a need to lookup a ICD9 code based on a user account inside a ORU transaction and add it to the transaction for one route. There is a external server that does DB looksups to get me that data but I have to query this from the TPS inbound stream (or from route TPS). I learned that tcl sockets dont work inside TPS streams so I cannot open a socket connection from a proc. Any one has ideas on how to accomplish this

Viewing 1 reply thread
  • Author
    Replies
    • #64029
      Rob Abbott
      Keymaster

      Tcl sockets will work inside TPS.  A couple caveats:

      You cannot use callbacks.  Also be careful of using functions that will block the engine.

      Rob Abbott
      Cloverleaf Emeritus

    • #64030
      Sundeep Kumar
      Participant

      Rob Abbott wrote:

      Tcl sockets will work inside TPS.

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

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10