Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [email protected]

    I am using dcm4che to retrieve a worklist from a Dicom server.
    Using the 'dcm4che-2.0.29\\bin\\dcmmwl.bat' I do get a response containing the MWL.

    But I would like to use the java way. Calling the jar like this:
    Code:
    importPackage(Packages.org.dcm4che2.tool.dcmmwl);	
    var argst=new Array();
    argst[0] = "[email protected]:11112"
    		
    logger.info(DcmMWL(argst));
    results in this output.

    What kind of object is this? Array??

    And how to read it?

    Im using Mirth 3.5.1 and windows 10.
    X Connections
    https://documentor.email
    https://www.x-connections.com

  • #2
    I think you should find that information in the java docs for dcm4che.
    HL7v2.7 Certified Control Specialist!

    Comment


    • #3
      Packages.org.dcm4che2.tool.dcmmwl.DcmMWL()

      Did not find it yet. Anyone any idea what kind of object this is??

      [email protected]
      X Connections
      https://documentor.email
      https://www.x-connections.com

      Comment


      • #4
        Originally posted by mdehoog View Post
        Did not find it yet. Anyone any idea what kind of object this is??

        [email protected]
        Well, it's a org.dcm4che2.tool.dcmmwl.DcmMWL - object.


        You can find information about the available methods in the javadoc.


        Btw. I am surprised that you managed to instantiate the class without using "new".

        Comment


        • #5
          logger.info(DcmMWL(argst[0]));
          ????
          it's an array, you can iterate it.

          Comment


          • #6
            odo's answer is correct. it's not an array.

            Comment

            Working...
            X