Direct-sender, question

Homepage Clovertech Forums Cloverleaf Direct-sender, question

  • Creator
    Topic
  • #118620
    TorfinnK
    Participant

    Hello

    In Cloverleaf 6.2 they introduced the “protocol” direct-sender, that gives me the opportunity to send and e-mail directly from the OB thread, and it works great.

    My question is, can I override the information in “New Email Helper”, meaning can I with a tcl script decide Subject or/and e-mail receiver.

    Secondly, there can be defined multiple “Helpers”, how can i choose which helper I will use.

     

    /Torfinn

    • This topic was modified 3 years, 7 months ago by TorfinnK.
Viewing 0 reply threads
  • Author
    Replies
    • #118622
      Peter Heggie
      Participant

      I don’t know how to manage multiple helpers, but I do use tcl to override the Subject and Recipient.

      set userdata [msgmetaget $mh USERDATA]

      set subject “CCDA / Discharge Summary Document for $patient”
      keylset userdata helper.subject $subject

      set email_to $recipient
      keylset userdata helper.to $email_to

      set MDNto [hcitbllookup “ccda_parms” “CCDA_MDN_to”]
      keylset userdata headers.Disposition-Notification-To $MDNto

      keylset userdata headers.Message-ID “$uuid”

      set myattachment1 {}
      keylset myattachment1 contentFile “$ccdafile”
      keylset myattachment1 contentType “text/xml”

      set shortname [file tail $ccdafile]
      keylsset attachments “$shortname” $myattachment1
      keylset userdata attachments “$attachments”
      msgmetaset $mh USERDATA “$userdata”

      Peter Heggie

Viewing 0 reply threads
  • You must be logged in to reply to this topic.

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,447
Topic Tags
288
Empty Topic Tags
10