Ariba Jones

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 113 total)
  • Author
    Replies
  • in reply to: Need to remove ~ from repeating field #75328
    Ariba Jones
    Participant

      Jim,

      I have never used the MATH:ADD function before.  Am I supposed to keep my %f2 in the Source field and use $%f89 in the destination field?

      Can I just setup my counter something like this?:

      %f89 = %f89 + 1

      I am not sure.  I understand what you are saying needs to happen.  I just am trying to figure out how to do this.

      Thanks,

      Ariba

      in reply to: Need to Trim Leading Zeroes from MRN #72168
      Ariba Jones
      Participant

        Gary,

        I just tried this and it still doesn’t work.

        Here’s what my proc looks like:

        proc TrimLeadingZeroes {n} {

           set xlateOutVals [string trimleft $xlateInVals 0]

           if {[string length $n] == 0} {return “”}

           set trimmed [string trimleft $n 0]

           if {[string length $trimmed] == 0} {

        return “0”

           } else {

        return $trimmed

           }

        }

        Here’s the error I receive in the Testing Tool when I try to test my xlate using this tcl.

        MESSAGE 1

        [0:TEST] [mid:0x30000050] unknown segment ‘ZOM’ — ignored.

        Tcl callout error

        erroCode: NONE

        errorInfo:

        no value given for parameter “n” to “TrimLeadingZeroes”

           invoked from within

        “TrimLeadingZeroes”

        in reply to: IF statement in xlate not working #72135
        Ariba Jones
        Participant

          Tom,

          The way I have this listed is the way it appears when I run one of the messages through the Tester (using the HL7 tab).  I will try it the way you suggest.  I’ll let you know the result.

          in reply to: Newbie Questions: How to remove the leading zeros in tcl #67229
          Ariba Jones
          Participant

            I need to do the exact same thing.  The problem is I don’t know from the replies where you put the command for this.  

            Can this be put in the ‘Pre’ tcl section of a COPY statement in an XLATE?  If so, how do you define the variable?

            in reply to: SMAT File will not update #72093
            Ariba Jones
            Participant

              I got it to work.

              I stopped the process, removed the existing SMAT files and then started the process again. When I did the cycle save it worked.

              Thanks for your responses!

              in reply to: SMAT File will not update #72091
              Ariba Jones
              Participant

                Tom,

                Yes.  I did specify ‘out’ for the direction.   😀

                I look at SMAT files when testing all the time.  It is just strange to me that this one is not working properly.  I made sure the file system was not full and it is not.  I don’t know what else to look at.

                Ariba

                in reply to: Error Message Question #70201
                Ariba Jones
                Participant

                  James and David,

                  Thanks so much for the responses.  I was thinking the same thing…the file must have still been in the processing of being written to.  I was told that the system that creates the file gives the file a name while it creates the file and then something is done on that system to rename the file to the file name that my kornshell script is looking for.  With that said, I expected that my kornshell script should not pick up the file that it is looking for until the file was complete.  

                  This just occurred the last time the interface was run.  This interface has been in place for a couple of years now.  I had not seen this error with it before.  

                  As suggested, I will adjust the timing of my kornshell script and see what happens the next time this runs.

                  Thanks!!  Your suggestions were helpful.

                  Ariba

                  in reply to: Formatting data in a different way #68423
                  Ariba Jones
                  Participant

                    Tom,

                    Yes.  That is what I am looking for.  So, it looks like I can try your solution to see if it works.

                    I’ll also try Charlie’s solution.

                    Thanks to both of you for the suggestions.  I will let you all know what happens.

                    Ariba

                    in reply to: Formatting data in a different way #68418
                    Ariba Jones
                    Participant

                      John,

                      You are correct.  I will need to pull the date and time from the line of text.  I have looked at several messages and the field seems to be formatted the same each time.  

                      I apologize for not stating that.  I was trying to make sure I showed you exactly what the field looks like now (in the OBX segment example) and then what I need to make it look like (in the OBR segment example).

                      I am not sure what you mean by “replace the entire line and then grab the raw date time from another field”.  Can you describe that more?

                      This does sound like something more than what I expected.  Actually, I was starting to think that maybe this would be complex.  I am just not sure how to do what you are saying.  

                      Thanks,

                      Ariba

                      in reply to: Formatting data in a different way #68414
                      Ariba Jones
                      Participant

                        Hi Tom,

                        Thanks for responding to my post.  

                        Where would I put the code that you suggest?  Can I put that in an xlate or does it need to be in a TCL?

                        Do I have to put the specific date and time in the command as you have done or were you just demonstrating (your first line of code)?  I am asking because the date/time will always change.

                        Thanks,

                        Ariba

                        in reply to: Message structure error #68306
                        Ariba Jones
                        Participant

                          Tom,

                          You are awesome!!  You were exactly right.  My variant had the EVN segment required.  Once I made it optional, the error went away and I see the xlate is doing what I want it to do in the FT1 segment.

                          Thanks for that information!  You have made my Friday!!!! 🙂

                          Ariba

                          in reply to: Messages written to disk #67519
                          Ariba Jones
                          Participant

                            I am trying to do exactly what Robert describes…write a day’s worth of messages to a single file or one message per file.

                            How can this be setup on Cloverleaf?

                            Thanks,

                            Ariba

                            in reply to: Error- TPS ERROR disposition #67522
                            Ariba Jones
                            Participant

                              Charlie,

                              Thanks for responding.  I have gotten this issue resolved and the interface is working fine now.

                              Thanks again,

                              Ariba

                              in reply to: Is there a limit to the number of interfaces you can have? #66558
                              Ariba Jones
                              Participant

                                Thanks for this information, Jim and John!!

                                I will look into a methodology for monitoring utilization and capacity.

                                John- This has not happened on our Cloverleaf server.  We also have Cerner and it has occurred on the OpenEngine for Cerner.  Apparently, there is a limit to the number of interfaces you can have on OpenEngine.

                                Thanks again for the input.

                                Ariba

                                in reply to: removing period from middle initial #65897
                                Ariba Jones
                                Participant

                                  Hi Tom,

                                  I tried your first suggestion and that works like a charm!  

                                  Thanks so much for your input.

                                  Tim and Gary- Thank you for all of your input as well!  I really appreciate it.

                                  Ariba

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