init: bisa cget 1dcm dan upload

This commit is contained in:
mario
2025-04-22 18:45:09 +07:00
parent 6d6ef572de
commit 20f9f9c6e1
4 changed files with 319 additions and 0 deletions

23
config.py Normal file
View File

@@ -0,0 +1,23 @@
# 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/get_uprequests'
# 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'