Metadata adjustment prior to SMAT DB save.

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Metadata adjustment prior to SMAT DB save.

  • Creator
    Topic
  • #55146
    Jason Puskar
    Participant

    Hello,

        I have a TCL script that will adjust the User Data of a transactions Metadata.  Where can I place this script so that the field is adjusted prior to writing to the SMAT db.  This is on an inbound thread.

    Thanks,

    Jay 😀 [/i]

Viewing 3 reply threads
  • Author
    Replies
    • #84326
      Jim Kosloskey
      Participant

      The SMAT data is recorded on inbound prior to any points of control you have so you cannot change the SMAT.

      But do you want to add metadata to the message after it comes into Cloverleaf (post inbound SMAT recording)? If so the Inbound TPS is where I would start.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #84327
      Jason Puskar
      Participant

      Jim,

          Thank you for the response.  I wanted to use this on the inbound thread of an sFTP to store the patient ID.  There is no outbound SMAT as these files are rather large (.PDF).

      Jay

    • #84328
      Jim Kosloskey
      Participant

      Well you can update the Metadata at the Inbound but it would be after SMAT is written to.

      I am not sure why you would want the inbound SMAT to reflect anything other than what was received.

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #84329
      Jason Puskar
      Participant

      Jim,

          Right now the Protocol Driver Control field contains the name of the file.  Part of the name is the Visit number for the patient.  For ease of viewing/searching, the idea was to pull out the Visit number and place in the User Data field.  Since I cannot do this, then we can continue to search Driver field.

      Jay

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

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,293
Replies
34,435
Topic Tags
286
Empty Topic Tags
10