# This file contains configuration information for the DICOM server
# Example Linux version using SqLite
# Copy this file to dicom.ini to use it
# Network configuration: server name and TCP/IP port#
# Reference to other files: known dicom servers; database layout; sops
SOPClassList = dgatesop.lst
# Configured to run without a database
# Host for postgres or mysql only, name, username and password for database
# Default database config
# Host for postgres or mysql only, name, username and password for database
SQLServer = ./data/dbase/conquest.db3
UseEscapeStringConstants = 0
UIDPrefix = 1.2.826.0.1.3680043.2.135.1448994913.43877
EnableReadAheadThread = 1
WorkListReturnsISO_IR_100 = 1
DecompressNon16BitsJpeg = 1
IgnoreOutOfMemoryErrors = 0
# Configuration of compression for incoming images and archival
DroppedFileCompression = un
# Names of the database tables
PatientTableName = DICOMPatients
StudyTableName = DICOMStudies
SeriesTableName = DICOMSeries
ImageTableName = DICOMImages
DMarkTableName = DICOMAccessUpdates
RegisteredMOPDeviceTable = RegisteredMOPIDs
UIDToMOPIDTable = UIDToMOPID
UIDToCDRIDTable = UIDToCDRID
# Banner and host for debug information
OperatorConsole = 127.0.0.1
# Configuration of disk(s) to store images
ForwardAssociationLevel = SERIES
#Manipulate Incoming Dicom
#Displaying in the logs :: CalledAE, CallingAE, Modality, PatientName, PatientID, Accession, Series Number, SOPUID, SIUID, Series Date, Series Time
ImportConverter0 = nop %c %u %m %V0010,0010 %i %V0008,0050 %V0020,0011 %o %V0020,000E %V0008,0021 %V0008,0031;
#Updates empty Sending AE if empty
ImportConverter1 = setifempty 0002,0016 to "EmptyAE";
#Updates StudyID tag to match value of Accession Number
ImportCallingAE2 = PACSSCAN*
ImportConverter2 = set 0020,0010 to "%V0008,0050"; nop %u %c %V0010,0010 %i %V0008,0050;
#Routes data to RSX; will update FujiPrivateCRStorage SOPClass to CR
ImportConverter3 = ifequal "%V0008,0016", "1.2.392.200036.9125.1.1.2"; set 0008,0016 to "1.2.840.10008.5.1.4.1.1.1"; nop %u %c %V0010,0010;
#Routes data to Hologic - Displaying in the logs :: CalledAE, CallingAE, Modality, PatientName, PatientID, Accession, Series Number, SOPUID, SIUID, Series Date, Series Time
ImportConverter4 = nop %c %u %m %V0010,0010 %i %V0008,0050 %V0020,0011 %o %V0020,000E %V0008,0021 %V0008,0031;
#Export Rules For ARCHIVE
#Sends stores received by CONQUESTSRV1 to the Active PACS Archive - Displaying in the logs :: CallingAE, Modality, PatientName, PatientID, Accession, Series Number, SOPUID, SIUID, Series Date, Series Time
#ExportCalledAE0 = CONQUESTSRV1
#ExportConverter0 = forward to VMLTA01_ARCHIVE org %u; nop %u %m %V0010,0010 %i %V0008,0050 %V0020,0011 %o %V0020,000E %V0008,0021 %V0008,0031; delete series after 600; # This forwards DICOM images to VMLTA01
ExportConverter0 = forward to VMLTA02_ARCHIVE org %u; nop %u %m %i %V0008,0050 %V0020,0011 %o; delete series after 3600; # Uncomment to forward DICOM images to VMLTA02
#ExportConverter0 = forward to VMTEST_ARCHIVE org %u; nop %u %m %i %V0008,0050 %V0020,0011 %o; delete series after 3600; # Uncomment to forward DICOM images to the test server
#Deletes all stored data after 10 minutes, keeps storage from filling
#ExportConverter1 = delete series after 600;
#Sends Mammo stores to MERGE PACS
#ExportConverter2 = forward to DHMERGEPACS01 org %u; nop %u %m %V0010,0010 %i %V0008,0050 %o;
#Sends stores received by CQRSX to RSX
ExportConverter1 = forward to DHGATEWAY_SSA; delete series after 600;
#Sends stores received by CQMG to 3 Hologic workstations - Displaying in the logs :: CallingAE, Modality, PatientName, PatientID, Accession, Series Number, SOPUID, SIUID, Series Date, Series Time
ExportConverter2 = forward to SVDXMGR org %u; nop %u %m %V0010,0010 %i %V0008,0050 %V0020,0011 %o; delete series after 600;
#Routes MG objects stored to CONQUESTSRV1 to Mammo stations.
ExportCalledAE3 = CONQUESTSRV1
ExportConverter3 = forward to SVDXMGR org %u; nop %u %m %V0010,0010 %i %V0008,0050 %V0020,0011 %o %V0020,000E %V0008,0021 %V0008,0031;
#VirtualServerFor0 = VMLTA01_ARCHIVE
VirtualServerFor0 = VMLTA02_ARCHIVE
#VirtualServerFor0 = VMTEST_ARCHIVE
#Truncates (0032,1030)/ReasonForStudy down to 64 characters
#ImportConverter5 = Data.ReasonForStudy = string.sub(Data.ReasonForStudy, 1, 64)
ImportConverter5 = if Data.ReasonForStudy then Data.ReasonForStudy = string.sub(Data.ReasonForStudy, 1, 64) end
ImportConverter6 = Data.PatientID = string.gsub(Data.PatientID, '^0*', '')
ImportConverter7 = Data.PatientID = string.gsub('000123', '^0*', '')