ADT Filter based on Age

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf ADT Filter based on Age

  • Creator
    Topic
  • #54794
    Randy Nelson
    Participant

      Hi,

      I looking for a tcl that will filter an ADT message based on the age of a patient for an obstetrics application. I would like to send ADTs if the patients age is between (xx) and (xx), (min) (max). I found a message on the forum pertaining to this, but the tcl script is no longer available for download. Any help is appreciated!

      Thanks,

      Randy

    Viewing 1 reply thread
    • Author
      Replies
      • #83028
        Keith McLeod
        Participant

          Here is one I haven’t used for a while, but should have something close to what you may be looking for…

          tps_FilterByAgeGTdob using args {AGE 6} {DISP CONTINUE}

          tps_FilterByAgeGTdob using args {AGE 6} {DISP KILL}

          If you want a min and max, you may need to modify.

        • #83029
          Randy Nelson
          Participant

            Thank you Keith! This is exactly what we were looking for.

            Thanks again,

            Randy

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