Files
pydicom-google-uploader/config.py
2025-04-22 20:00:36 +07:00

25 lines
770 B
Python

# config.py
# Configuration settings for the DICOM uploader
# PACS Configuration
PACS_HOST = '128.199.154.150' # Replace with your PACS host
PACS_PORT = 11112 # Replace with your PACS port
PACS_AE_TITLE = 'ABPACS' # Replace with your PACS AE Title
LOCAL_AE_TITLE = 'DCM UPLOADER' # Replace with your local AE Title
# Go OHIF Proxy Configuration
PROXY_URL = 'http://128.199.154.150:5555'
# API Configuration
API_URL = 'https://devone.aplikasi.web.id/one-api/mockup/godicomupreq/godicomupreq'
# Processing Configuration
MAX_RETRIES = 3
RETRY_DELAY = 5 # seconds
BATCH_SIZE = 10 # Process orders in batches
# Logging Configuration
LOG_LEVEL = 'INFO'
LOG_FILE = 'server.log'
LOG_MAX_SIZE = 10 * 1024 * 1024 # 10 MB
LOG_BACKUP_COUNT = 5 # Keep 5 backup log files