Lina Patel

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 37 total)
  • Author
    Replies
  • in reply to: Xlate STRING Action – Using fields, temp variables? #84806
    Lina Patel
    Participant

      Of course – Thank you! 🙂

      See it now…

      in reply to: Xlate STRING Action – Using fields, temp variables? #84804
      Lina Patel
      Participant

        Xlate date field is YYYYMMDD or YYYYMMDDmmss

        I only need YYYYMMDD

        xlateStrSubstring 0 5

        xlateStrSubstring 1 6

        Above two functions do not seem to work,

        How can I obtain YYYYMMDD in Xlate.

        Thank you!

        in reply to: Removing a failed message from front of queue #84778
        Lina Patel
        Participant

          Outbound thread –

          I do not have access to old tcl procs mentioned in post.

          What is best approach for bypassing state 16 messages and saving to error db so remaining messages can continue processing.

          Thank you!

          in reply to: Xlate Date Calculation #85946
          Lina Patel
          Participant

            I need to calculate age 18 as adult and younger as children’s for vaccines using PID-7.

            Is there any existing logic that would be useful to calculate age?

            Thank you for your response.

            in reply to: Date/Time formatting #85121
            Lina Patel
            Participant

              Below worked:

                          set new_actweightdt “”

                            set new_actweightdt [clock format [clock scan $actweightdt] -format “%Y%m%d%H%M%S”]

                 

              Thank you again for all your help!

              Lina 🙂

              in reply to: Date/Time formatting #85119
              Lina Patel
              Participant

                Absolutely – Hugh help!

                Works using command line

                hcitcl>clock format [clock scan “2017-11-02 14:59:31”] -format “%Y%m%d%H%M%S”

                20171102145931

                Does not work when plugging in variable in tclproc – no errors

                clock format [clock scan $actweightdt] -format “%Y%m%d%H%M%S”

                2017-11-02 14:59:31

                in reply to: Date/Time formatting #85116
                Lina Patel
                Participant

                  Hello,

                  tcl proc current date is:

                  2017-11-02 14:59:31

                  Needs to be:

                  yyyymmddhhmiss

                  Thank you for your assistance.

                  Lina

                  in reply to: tcl OBX append #85501
                  Lina Patel
                  Participant

                    Hello,

                    Have a request to copy pid-2 to pid3 if different for this working tclproc below:

                    in reply to: Xlate check partial string #85624
                    Lina Patel
                    Participant

                      I have changed it to below and works as well…

                      Code:

                      IF @EP  eq =5070

                      Thank you.

                      in reply to: Xlate check partial string #85622
                      Lina Patel
                      Participant

                        Thank you Mr. Jim Kosloskey for taking time and discussing string functions over the phone.

                        Much appreciated.

                        Lina

                        in reply to: Xlate check partial string #85621
                        Lina Patel
                        Participant

                          I am not getting a match (5070) in Xlate with attached logic.

                          in reply to: Xlate check partial string #85619
                          Lina Patel
                          Participant

                            I am currently using v6.1.1

                            xlateStrTrimLeft is the closest match.

                            Is there any documentation for the String actions?

                            in reply to: Xlate check partial string #85617
                            Lina Patel
                            Participant

                              Will be testing attached -once again continue learning and growing from everyone.

                              Thank you!

                              Lina

                              in reply to: Xlate check partial string #85615
                              Lina Patel
                              Participant

                                I have to check all instances of FT1 in each message….

                                Ok to generate separate output records.

                                If I change MATH:ADD to CONTINUE (option #2) above, will Xlate logic

                                in reply to: Xlate check partial string #85613
                                Lina Patel
                                Participant

                                  The attached works for one record only.

                                  1) What is the correct syntax for repeating destination using variable in attached example.

                                  2) I have initialized Copy =0   $%f99

                                     before and after the ITERATE.

                                  Thank you in advance.

                                  Lina

                                Viewing 15 replies – 1 through 15 (of 37 total)