Command line parameters

Suggestions for MicroDicom viewer
Post Reply
mravunko
Posts: 2
Joined: Sat Oct 30, 2021 2:10 pm

Command line parameters

Post by mravunko »

Hi,

It will be really useful if there are some kind on command line options available. It will definitely help with integration with other software.

For example: if you have a hospital information system which keeps track of patient records like the unique Study ID, the HIS will be able to start the MicroDicom viewer directly with the patient study loaded.

Kind regards,
Nikolay
microdicom
Site Admin
Posts: 436
Joined: Thu Jan 01, 1970 2:00 am
Location: Bulgaria
Contact:

Re: Command line parameters

Post by microdicom »

Thanks for suggestion.
We can use following command line arguments now:

- Open a DICOM file: mDicom.exe <path_to_DICOM_file>

- Open a DICOMDIR file: mDicom.exe <path_to_DICOMDIR_file>

- Scan a directory for DICOM files: mDicom.exe <path_to_directory_to_scan>

Could you suggest some other command line options that will be useful for you?
mravunko
Posts: 2
Joined: Sat Oct 30, 2021 2:10 pm

Re: Command line parameters

Post by mravunko »

Hello,

for me it will be really useful if I can download a study from a remote location.

For example if I have previously added PACS server with AET TESTPACS and an IP/Port pair 10.20.30.40:4242 to use it in the following fashion:

mDicom.exe /server TESTPACS
or maybe
mDicom.exe /server 10.20.30.40:4242

I made some tests and found that the only unique field in the servers menu is the description. So the server option may be even:
mDicom.exe /server DESC_OF_SERVER

Also it will be really useful to combine the /server option with searching a unique tag for example ACCESSION NUMBER, Tag (0008,0050)

mDicom.exe /server TESTPACS /asnumber 78569.16426778

to download the study.

Kind regards,
Nikolay
microdicom
Site Admin
Posts: 436
Joined: Thu Jan 01, 1970 2:00 am
Location: Bulgaria
Contact:

Re: Command line parameters

Post by microdicom »

Thanks for suggestions.
I already write them in our TODO list and we will implement downloading from PACS server via command line.
jclarke
Posts: 1
Joined: Mon Aug 08, 2022 2:27 pm

Re: Command line parameters

Post by jclarke »

Has this ever been looked into again?

Jeremy
microdicom
Site Admin
Posts: 436
Joined: Thu Jan 01, 1970 2:00 am
Location: Bulgaria
Contact:

Re: Command line parameters

Post by microdicom »

No, but command line parameters will be extended in a few months.
microdicom
Site Admin
Posts: 436
Joined: Thu Jan 01, 1970 2:00 am
Location: Bulgaria
Contact:

Re: Command line parameters

Post by microdicom »

We added some new command line options. You can download latest beta from https://www.microdicom.com/beta.html

Download and show studies by tag value. Search in all PACS servers from the settings
mDicom.exe -pacsTagValue 00100020 "PatientID"
mDicom.exe -pacsTagValue 00100010 "PatientName"

Download and show studies by tag value. Search in a specific PACS servers with AE title from the settings
mDicom.exe -pacsAETitle PACS_AETITLE -pacsTagValue 00100010 "PatientName"

Download and show studies by tag value. Search in a specific PACS servers with AE title, IP, Port and Protocol
mDicom.exe -pacsServer <AETITLE>:<IP>:<Port>:<Protocol> -pacsTagValue 00100020 "PatientID"
Post Reply