Announcement

Collapse
No announcement yet.

DICOM Listener Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DICOM Listener Question

    How do you find out what AE Title to use for Mirth? I am trying to set up a DICOM Listener and our sending machine is asking for an AE Title. This is my first attempt at DICOM via Mirth so any suggestions would be GREATLY appreciated!!

  • #2
    By default the AE title is blank on the DICOM Listener settings, meaning that requests with any title are accepted. If you want to restrict requests to a single title, you can specify one and then notify the sending machine to use the same title.
    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

    Nicholas Rupley
    Work: 949-237-6069
    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


    - How do I foo?
    - You just bar.

    Comment


    • #3
      So, basically if I leave it blank in the DICOM Listener settings in Mirth I will not have to worry about what the sending machine has in it for an AE title?

      Comment


      • #4
        Originally posted by atibbits View Post
        So, basically if I leave it blank in the DICOM Listener settings in Mirth I will not have to worry about what the sending machine has in it for an AE title?
        Yep, that's the idea.
        Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

        Nicholas Rupley
        Work: 949-237-6069
        Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


        - How do I foo?
        - You just bar.

        Comment


        • #5
          I like that idea! Thanks!

          Comment


          • #6
            Need Help Receiving DICOM

            I am having the worst time receiving DICOM. I am wondering if I am missing something on setting this up? I just set up a channel as a DICOM listener and I assigned it a port. I left the Application Entity (AE Title) blank so it would be able to accept any incoming AE Title. Then, our Ultrasound tech puts in our IP/Port and then attempts to send to us, but she keeps getting denied. She is able to ping mirth from the machine though, but she cannot send. I haven't changed any of the defaults in the DICOM listener settings.


            Any thought on what I should do or what I might be missing?

            Comment


            • #7
              Originally posted by atibbits View Post
              I am having the worst time receiving DICOM. I am wondering if I am missing something on setting this up? I just set up a channel as a DICOM listener and I assigned it a port. I left the Application Entity (AE Title) blank so it would be able to accept any incoming AE Title. Then, our Ultrasound tech puts in our IP/Port and then attempts to send to us, but she keeps getting denied. She is able to ping mirth from the machine though, but she cannot send. I haven't changed any of the defaults in the DICOM listener settings.


              Any thought on what I should do or what I might be missing?
              Hmm well, I thought that leaving the AE on the DICOM Listener settings would allow it to accept any AE on an incoming request, but maybe that's not true. Have you tried putting in the correct AE in the DICOM Listener settings? You need to find out what the client is sending and use that.
              Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

              Nicholas Rupley
              Work: 949-237-6069
              Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


              - How do I foo?
              - You just bar.

              Comment


              • #8
                That's probably the only thing I hadn't tried. I will go give that a shot!

                Comment


                • #9
                  Well, that was the issue!! Yay, It works now!

                  Now for testing I have been trying to send the DICOM image to a file. I am unable to get the files to open. I am sending them out as binary. Is there a trick to get that to work? So far, I have tried jpg and pdf with no luck.

                  Comment


                  • #10
                    Originally posted by atibbits View Post
                    Well, that was the issue!! Yay, It works now!

                    Now for testing I have been trying to send the DICOM image to a file. I am unable to get the files to open. I am sending them out as binary. Is there a trick to get that to work? So far, I have tried jpg and pdf with no luck.
                    More information is needed. What exactly are you doing?
                    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

                    Nicholas Rupley
                    Work: 949-237-6069
                    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


                    - How do I foo?
                    - You just bar.

                    Comment


                    • #11
                      Well, I have been trying to send the image I receive via the DICOM listener to a file on my server using a file writer. I have ${DICOMMESSAGE} in my template and I am sending it as a binary file type. I have not yet been able to open the images in a file though.

                      Comment


                      • #12
                        Originally posted by atibbits View Post
                        Well, I have been trying to send the image I receive via the DICOM listener to a file on my server using a file writer. I have ${DICOMMESSAGE} in my template and I am sending it as a binary file type. I have not yet been able to open the images in a file though.
                        Uh, well... that's because it's a DICOM binary file, not an image file.

                        DICOMUtil has methods to convert DICOM files to images.
                        Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

                        Nicholas Rupley
                        Work: 949-237-6069
                        Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


                        - How do I foo?
                        - You just bar.

                        Comment


                        • #13
                          Would using the Covert DICOM to Encoded Image as a byte array be good to use for this case as well? It looks something like this:

                          DICOMUtil.convertDICOMToByteArray('imagetype', connectorMessage, sliceIndex)
                          I am sure that 'imagetype' is the type of file I want (i.e. jpg, tif, png, etc...), but what is the meaning of connectorMessage and sliceIndex? I am thinking that connectorMessage is the actual DICOM image? I am just trying to figure out how to write this and I am probably overthinking it.

                          Any examples or suggestions?

                          Comment


                          • #14
                            I got this to work and I thought I would share what I did! Here is the code that I use in my transformer:

                            var imageslice=DICOMUtil.getSliceCount(connectorMessag e);
                            var imagedata= DICOMUtil.convertDICOM('JPEG', connectorMessage, imageslice)
                            channelMap.put('jpegData', imagedata);

                            Then I put this in my transformer:

                            ${jpegData}

                            Comment


                            • #15
                              DICOM Listener accept any AE

                              Hi Just a question about the earlier statement in the thread.
                              I have a DICOM listener setup. Mirth v 3.1.1
                              I do want to accept any AE title inbound, so I leave on the source AE blank.

                              When trying to send DICOM in I still get the association error.
                              Any known bugs around this functionality??

                              Thanks in advance

                              Comment

                              Working...
                              X