Rich

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 27 total)
  • Author
    Replies
  • in reply to: Suppress based on date #120304
    Rich
    Participant

      Hi Jim!

      I should have known that you and that gorgeous car would show up!  I’m using version 20.1, and MSH.7 is formatted 20221209091927 – Year/month/day/time.  Thank you so much for your time!

      in reply to: date time file drop #119998
      Rich
      Participant

        Yes, it’s an outbound thread with protocol:file.  I’d like to put date/time in the file being created.

        in reply to: Problem with IF statement #119658
        Rich
        Participant

          Thank you all for your input, I truly appreciate it!  My final solution, after thinking it through, was to put the values in a table, and kill or send based on the values being present in the table.  This allows room for growth as well.

          in reply to: Problem with IF statement #119656
          Rich
          Participant

            My goal here is to send only clinic screening, and clinic ultrasound, suppressing all other messages.

            in reply to: If Statements #119642
            Rich
            Participant

              Thank you, Paul, that’ll work!

              in reply to: empty message queue #119332
              Rich
              Participant

                That was perfect, thank you!

                in reply to: Multi-OBX Iterate Indexing #119122
                Rich
                Participant

                  First and foremost, A HUGE thank you to Jim Kosloskey for the screen sharing session to point out where I went wrong, and taking the time to make sure I understood the groove he was laying down!

                  The best thing I learned yesterday was that understanding your data completely will reduce mistakes (and frustration).

                  Solution: I didn’t realize that my schema was double nested.  Instead of

                  1(0).1(0).3(0).0(%g1).OBX(0).#3(0).[4]

                  I needed

                  1(0).1(%g2).3(0).0(%g1).OBX(0).#3(0).[4]

                  HL7 Editor is your friend, know your data!

                  in reply to: Multi-OBX Iterate Indexing #119113
                  Rich
                  Participant

                    Thanks, Jim, email incoming…

                    in reply to: Multi-OBX Iterate Indexing #119112
                    Rich
                    Participant

                      I stated that wrong.  I’m coping OBX.3.1 to OBX.3.4

                      in reply to: xlatesubstring error #119007
                      Rich
                      Participant

                        That worked perfectly, thank you!

                        in reply to: xlatesubstring error #119005
                        Rich
                        Participant

                          I’ve never used TCL translate, but that looks like a good solution.  How do I get the PID.3.1 value into the code, then into the PID segment again?

                          in reply to: Add specified messages to view #118635
                          Rich
                          Participant

                            Thanks all, I appreciate the input!

                            in reply to: Variable as array? #118100
                            Rich
                            Participant

                              Another question might be, can I pull the first digit directly out of 0(0).PID(0).#18(0)  by adding (0)(0) ?

                              in reply to: Variable as array? #118099
                              Rich
                              Participant

                                Thanks Rob!  Is there a way to use a numeric variable?  My problem is that Cloverleaf 6.0 won’t let me do a substring search of PID.18.  I’m guessing because it’s numeric.

                                in reply to: substring failing #117440
                                Rich
                                Participant

                                  If I

                                  copy 0(0).PID(0).#13(0).[5] to @AC

                                  then copy 0(0).PID(0).#13(0).[6] to @AD then

                                  Concat: =(
                                  @AC
                                  =)
                                  @AD

                                  I get (601)551XXXX – redacted number

                                  so I know the segment is correct.  However, as soon as I try to

                                  xlateStrSubstring 0 2 with an input of @AD and output to @AE it fails.

                                  All I can conclude is that we have a failure trying to substring a numeric value.  I even tried putting @null in both @AE and @AF to make sure it had a value.  The message still fails to send.  Unfortunately, my testing tool is acting up and I’m unable to echo out values.

                                  Thoughts?

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