Mike Wilson

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 57 total)
  • Author
    Replies
  • in reply to: XML assistance needed. XML will not parse… #82702
    Mike Wilson
    Participant

      Larry,

      Thank you very much.  This is the first XML dealings I have had so I was a bit lost.  I appreciate your help.  I am going to try and get it working today.  What I had done was write a proc to get the HL7 ack out of the message to not worry about the XML.  But I want to get it working fully.  Thank you again.

      MIke

      in reply to: XML assistance needed. XML will not parse… #82699
      Mike Wilson
      Participant

        Levy Lazarre wrote:

        Mike,

        Did you get this problem resolved? I see a couple of issues with the XSD. Perhaps you already have a fix.

        No I have not gotten it fixed.  If you have some insight I would appreciate it.

        in reply to: TCL compare 2 lists for any matches? #82493
        Mike Wilson
        Participant

          James Cobane wrote:

          Mike,

          Take a look at the ‘intersect’ or ‘intersect3’ commands.

          Thanks,

          Jim Cobane

          Henry Ford Health

          Ok, here is what I came up with. As long as something in the lists matches I pass the message.  Is there a more efficient way to do this?

          set LISTA { 1 2 3}

          set LISTB { 3 4 5}

          set MATCHES [intersect $LISTA $LISTB]

          if {([llength $MATCHES]) > 0}

              continue

          else

              kill

          Thanks for all the help.

          in reply to: Passing evaluator in as ARG. question / possible? #81455
          Mike Wilson
          Participant

            Max Drown wrote:

            Here’s another example of using NetConfig args.

            # NetConfig Args Example 1: {PATTERN {trigger}}
            # NetConfig Args Example 2: {PATTERN {^PEPPP[VHNW][HN]$}}

            proc tps_fileset_dirparse_regex { args } {
            [code]# NetConfig Args Example 1: {PATTERN {trigger}}
            # NetConfig Args Example 2: {PATTERN {^PEPPP[VHNW][HN]$}}

            proc tps_fileset_dirparse_regex { args } {

            in reply to: Passing evaluator in as ARG. question / possible? #81452
            Mike Wilson
            Participant

              Here it is:

              I haven’t tested this with every operator.  But the usuals work so far, >,<,==, etc.

              I can pass the 4 arguments and do whatever filtering is needed.  

              Code:

              if {[expr {$seg_fld_length} $oper {$crit}]} {
                             echo “meets the IF $crit: Remove it”
                         lappend dispList “KILL $mh”
                         } else {
              echo ” Does not meet IF: Keep it”
                             lappend dispList “CONTINUE $mh”
                         }

              in reply to: Passing evaluator in as ARG. question / possible? #81450
              Mike Wilson
              Participant

                just needed the curly braces around the 2 variables.  {}.  I thought I had tried that with no success.  This works great now.  Thanks.

                in reply to: REGSUB & question. Not working as expected. #81376
                Mike Wilson
                Participant

                  Not sure why the & was working to store the original replaced character but I fixed it by adding \ in front of the &.  like so “\"”  not sure of the reasoning.

                  in reply to: Encoding character issue??? Help! #81244
                  Mike Wilson
                  Participant

                    David Barr wrote:

                    I’d try setting the inbound encoding to windows-1252, then using the regsub with u2019. Setting the encoding to 1252 should allow Cloverleaf to properly convert the characters to Unicode, then you can use the Unicode character code to replace with the plain ASCII equivalent.

                    That did the trick!  What a pain.  Thank you David!

                    in reply to: Encoding character issue??? Help! #81242
                    Mike Wilson
                    Participant

                      the Vendor is Meditech C/S 5.66.  I have the encoding set to bypass right now.  I have been changing it to see if I can get any change with no luck.

                      in reply to: Encoding character issue??? Help! #81240
                      Mike Wilson
                      Participant

                        David Barr wrote:

                        From the debug window it looks like your bad character has a hex value of hex 92, so you could use the same regsub but replace the u2019 with x92.

                        David, I have tried that as well.  It simply wont recognize that character with my TCLproc.  Im stumped.

                        in reply to: Encoding character issue??? Help! #81238
                        Mike Wilson
                        Participant

                          unfortunately that didn’t work either.  The sections in bold are where the issue is.

                          Here is what the actual text from the EMR looks like:

                          Comparison is made to the patient

                          in reply to: Encoding character issue??? Help! #81236
                          Mike Wilson
                          Participant

                            Whats the “u2019” ?

                            Is that the code for that specific character?

                            in reply to: HTTP Protocol / HTTPS #77070
                            Mike Wilson
                            Participant

                              I was able to resolve the issue.  The vendor did not actually want the credentials in an HTTP header.  They wanted every message to start with them…  Not documented of course.

                              in reply to: HTTP Protocol / HTTPS #77068
                              Mike Wilson
                              Participant

                                Im in the same boat.  I can not authenticate to them.  Ive tried every authentication option in the GUI.  I added the Authentication header with no luck.  I see nobody replied to your post.  Did you ever figure it out?

                                in reply to: HL7 / OID #73007
                                Mike Wilson
                                Participant

                                  I just requested and received our OID last month.  What questions do you have?

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