You may want to set up a type of link in the web application where if a user clicks on it, it will launch the MicroDicom DICOM Viewer. You need to use URL protocol microdicom://


All command line arguments can be used in URL protocol. The name of parameters has to be pass with "param" and value of this parameter with "value".


Sample:


Open DICOM files and folders:

mDicom.exe -fd "folder1" "folder2" file1 file 2

microdicom://param=fd&value="folder1"&value="folder2"&value="file1"&value="file2"


Scan for DICOM files and copy them to a folder


mDicom.exe -scanAndCopy -in "c:\images" -out "c:\export"

microdicom://param=scanAndCopy&param=in&value="c:\images"&param=out&value="c:\export"


Scan CD for DICOM files and copy them to a folder


mDicom.exe -scanCDAndCopy&param -out "c:\export"

microdicom://param=scanCDAndCopy&param=out&value="c:\export"


Anonymize DICOM files


mDicom.exe -anonymize -in "c:\images" -out "c:\export"

microdicom://param=anonymize&param=in&value="c:\images"&param=out&value="c:\export"



Download and show studies by tag value


mDicom.exe -pacsTagValue 00100010 "PatientName"

microdicom://param=pacsTagValue&value="00100010"&value="PatientName"


mDicom.exe -pacsAETitle orthanc -pacsTagValue 00100010 "PatientName"

microdicom://param="pacsAETitle"&value="orthanc"&param=pacsTagValue&value="00100010"&value="PatientName"


microdicom://param="pacsServer"&value="orthanc:192.168.1.10:4242:move"&param=pacsTagValue&value="00100010"&value="PatientName"

mDicom.exe -pacsServer orthanc:192.168.1.10:4242:move -pacsTagValue 00100010 "PatientName"