web stats
org.dcm4che2.tool.dcmmwl.DcmMWL@22ff95f6 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2018, 05:41 AM
mdehoog mdehoog is offline
Mirth Guru
 
Join Date: Mar 2011
Location: Apeldoorn the Netherlands
Posts: 301
mdehoog is on a distinguished road
Send a message via Skype™ to mdehoog
Default org.dcm4che2.tool.dcmmwl.DcmMWL@22ff95f6

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] = "xconn@www.dicomserver.co.uk:11112"
		
logger.info(DcmMWL(argst));
results in this output.

Code:
org.dcm4che2.tool.dcmmwl.DcmMWL@22ff95f6
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
Reply With Quote
  #2  
Old 02-05-2018, 06:14 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 838
siddharth is on a distinguished road
Default

I think you should find that information in the java docs for dcm4che.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #3  
Old 12-17-2019, 12:41 AM
mdehoog mdehoog is offline
Mirth Guru
 
Join Date: Mar 2011
Location: Apeldoorn the Netherlands
Posts: 301
mdehoog is on a distinguished road
Send a message via Skype™ to mdehoog
Default Packages.org.dcm4che2.tool.dcmmwl.DcmMWL()

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

org.dcm4che2.tool.dcmmwl.DcmMWL@22ff95f6
__________________
X Connections
https://documentor.email
https://www.x-connections.com
Reply With Quote
  #4  
Old 12-17-2019, 05:29 AM
odo odo is offline
OBX.3 Kenobi
 
Join Date: Feb 2017
Location: Luxembourg
Posts: 157
odo is on a distinguished road
Default

Quote:
Originally Posted by mdehoog View Post
Did not find it yet. Anyone any idea what kind of object this is??

org.dcm4che2.tool.dcmmwl.DcmMWL@22ff95f6
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".
Reply With Quote
  #5  
Old 12-17-2019, 01:47 PM
stormcel stormcel is offline
OBX.3 Kenobi
 
Join Date: Mar 2010
Location: Phoenix
Posts: 169
stormcel is on a distinguished road
Default

logger.info(DcmMWL(argst[0]));
????
it's an array, you can iterate it.
Reply With Quote
  #6  
Old 12-17-2019, 05:34 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,095
agermano is on a distinguished road
Default

odo's answer is correct. it's not an array.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation