Dustin Sayes

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 57 total)
  • Author
    Replies
  • in reply to: Deleting threads via TCL script or shell script? #120088
    Dustin Sayes
    Participant

      Hi Megan, thread names and their configurations are stored in the NetConfig file. You’ll find the NetConfig in the site directory.

      in reply to: Convert TIFF to PDF #120036
      Dustin Sayes
      Participant

        Hey Todd, just wanted to thank you for taking the time to respond here. OCR was my missing link; I was using tiff2pdf, but that was simply creating a pdf file that was still an image, where the customer needs a text searchable file.

        I’ve not come to a complete solution here. My OCR results are not super awesome quality. Some letters are changed, and some symbols are missing. I’ve tried tesseract, gocr and cuneiform so far. I have not looked into a professional/for sale solution. My tiff source image is a graphical representation of data (printed anesthesia record). My concern is as you mentioned above “Usually will not be accurate enough for clinical”

         

        Anyway, just wanted to thank you for your instruction. This has been a great learning exercise for me.

        in reply to: fileset-local lost messages #112306
        Dustin Sayes
        Participant

          Excellent. Nice job on getting your .sh to run and to resole your issue.

          I do think it would be best to resolve your issue by addressing the problem, which sounds like at file read time, rather than implementing an additional routine to fix the issue.

          • This reply was modified 5 years, 3 months ago by Dustin Sayes.
          in reply to: fileset-local lost messages #112281
          Dustin Sayes
          Participant

            try adding some information to your cronjob.

            here is a sample cron job that runs a .sh.

            sourcing the /etc/profile, hci .profile, setting root and site, before running the script

            @midnight source /etc/profile; source /home/hci/.profile; setroot; setsite “yoursite”; “dir to your .sh”

             

            in reply to: XLATE ORU to MDM #112280
            Dustin Sayes
            Participant

              Mark, you should be able to do this with no problem at all. Create the inbound hl7 variant for the ORU, and create/use an MDM variant for the outbound side. ORU’s and MDM’s are typically very close in structure – close enough at least to use the copy command, in the xlate and move the message values from inbound to outbound. You’ll want to modify MSH.9 and EVN.1, so that EVN.1 = T02 and MSH.9 is MDM^T02.

              in reply to: How do we access hciserveradmin with PuTTy? #112159
              Dustin Sayes
              Participant

                Off hand, i don’t have a solution. I’d recommend upgrading your GM to the latest release. 6.2.1 appears to be the latest, and see if that fixes the issue.

                in reply to: run cURL command from TCL script #112127
                Dustin Sayes
                Participant

                  if i had to guess, your url will change with each message. so build the url variable…

                  set url $urlConstant/$msgID/file  # or something similar. You are doing an http get, so the webserver will need specifics in the URL. Once you post you’ll get an http status code, not the token you are hoping for. Any sort of data back will be handled outside of handing the http post action.

                  now set the curl command, with all the required switches.

                  $curlHandle configure -url $url \
                  -userpwd $userid:$sample_pwd \
                  -file $rcvFile \
                  -httpget 1 \
                  -httpversion 1.1 \
                  -headervar httpHeader \
                  -verbose 1

                  catch ($curlHandle perform) curlExitCode #this will execute the command and catch the http header that is returned.  now split the header to get the http code.. .now you can have more informaiton on whta the server is replying with..

                  set httpStatCode [lindex [split $httpHeader(http) ” “] 1] #or something like that

                   

                  this is a manual way to accomplish your task, and i’m certain you could program the whole thing, but cloverleaf does have some built in tools to make this a better process. i think it is the java ws server protocol, in the netconfig, then you should be able to watch the process log for the http server response… but you can use the commands above to at least confirm the http server response.

                  • This reply was modified 5 years, 3 months ago by Dustin Sayes.
                  in reply to: OBX From Data Extract #112124
                  Dustin Sayes
                  Participant

                    so sometimes each line will be a new message and sometimes not? that is going to tricky. And i dont think you can reliable do that in an xlate. you’d wanted to be very clear on what is the trigger for creating a new message or appending the next line to the same message.  it could be best to first re-create the source file, so that it contains all the data you need for a single outbound hl7 message.

                    • This reply was modified 5 years, 3 months ago by Dustin Sayes.
                    in reply to: OBX From Data Extract #112120
                    Dustin Sayes
                    Participant

                      I see your sample file. should each line be a new message, or should this entire file create a single HL7 message? Its hard to tell from the example b/c mrn and acct numbers are the same for each line. However, your original post states that multiple lines may be required to create a single message.  Can you clarify that? will the multiple lines also contain the same values in filler orderID and procedure ID? if not, you’ll need to create repeating obr,obx groups to keep the procedure data together.

                      • This reply was modified 5 years, 3 months ago by Dustin Sayes.
                      in reply to: OBX From Data Extract #112116
                      Dustin Sayes
                      Participant

                        is your source file per message -one message per file? if so, is your thread set to read to the end of file? if this is the scenario, then concat the multiple fields, in the xlate, and copy to the obx segment.

                        in reply to: How do we access hciserveradmin with PuTTy? #112094
                        Dustin Sayes
                        Participant

                          i have a similar issue. hciaccess will run but hciserveradmin will not.

                          I was able to resolve my issue… try this fix:

                          navigate to $HCIROOT/client

                          you will modify the client.ini, so you may want to make a backup copy. While in client.ini, change “last_remote=true”, too “last_remote=false”.

                          save client.ini modifications then relaunch hciserveradmin

                          let us know?

                           

                          as is not sure about your globalmonitor issue. looking in your server.ini, located in $HCIROOT/server, are your sites listed under ENVIRONS?

                          in reply to: How do we access hciserveradmin with PuTTy? #112078
                          Dustin Sayes
                          Participant

                            will hciaccess run?

                            in reply to: How do we access hciserveradmin with PuTTy? #112077
                            Dustin Sayes
                            Participant

                              a couple of thoughts..

                              confirm that X11FORWARDING is set to yes in /etc/ssh/sshd_config

                              also, you may need to add this to your .profile.local.end

                              export DISPLAY=”yourlocalmachineIP”:0.0

                              in reply to: Script(s) to archive smat files #111292
                              Dustin Sayes
                              Participant

                                here ya go, should be attached to this post.

                                its nothing special. i think most of this comes with CL by default? but slightly modified. it isnt for 19.1, but still shows as example. you’ll call the cycle_save.bat from task manager.

                                hope this helps..

                                 

                                **edit… clovertech isn’t allowing the .bat and another file to be uploaded. i’ve zipped it up and trying again..

                                • This reply was modified 5 years, 4 months ago by Dustin Sayes.
                                Attachments:
                                You must be logged in to view attached files.
                                in reply to: Script(s) to archive smat files #111290
                                Dustin Sayes
                                Participant

                                  Bevan, did you get it working? I’ve got a combination of .bat and tcl scripts that are triggered from task scheduler to cycle smat files then move them to a target dir, if you need for examples..

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