https://github.com/sscotti/python_script_library
Place to collect free-standing and/or Orthanc Python Plug-ins, mostly for development, with a focus on Modality Worklist Management for Orthanc or PACS in general.
https://github.com/sscotti/python_script_library
dicom hl7 orthanc python
Last synced: 2 months ago
JSON representation
Place to collect free-standing and/or Orthanc Python Plug-ins, mostly for development, with a focus on Modality Worklist Management for Orthanc or PACS in general.
- Host: GitHub
- URL: https://github.com/sscotti/python_script_library
- Owner: sscotti
- License: gpl-3.0
- Created: 2021-08-20T22:28:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T12:14:20.000Z (about 3 years ago)
- Last Synced: 2025-02-12T23:12:17.092Z (4 months ago)
- Topics: dicom, hl7, orthanc, python
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## USAGE:
### json_to_mwl.py
1. INSTALL the PIP module for pydicom if not already on your system: https://github.com/pydicom/pydicom, sudo python3 -m pip install pydicom
2. SET 'WORKLIST_DIR' in the script to a PATH on your system where you want to store the generated MWL file.
3. The script already has a sample JSON description of a MWL. Just type:
```
cd /path/to/directoryfor/son_to_mwl.py
python3 json_to_mwl.py
```
4. A sample mwl will be created the the WORKLIST_DIR.