This is an old revision of the document!
Table of Contents
Uploading a DICOM Patient
Importing a new patient into the Planning App requires taking a local DICOM directory and posting each of the files through the Dicom App utilizing Thinknode. Each DICOM patient is posted to the Thinknode ISS and an entry added to the thinknode RKS that allows Planning to see a new patient has been added.
For clinical users, a DICOM receiver is generally installed, allowing for direct exporting from contouring software or other planning systems into Thinknode for use within Astroid. In such cases, you can proceed directly to the Importing Patient Data section below.
In the absence of such a receiver, importing a DICOM directory to Thinknode is accomplished using a python script as described below.
Importing using Python
Note: This guide requires the user to be familiar with python and the existing .decimal python libraries.
- From the .decimal GitHub repository open and edit the post_dicom_patient_rks.py python file.
- Ensure the thinknode.cfg file is set appropriately for your user, account, and realm.
- Edit the following line to point to the directory in which the DICOM patient files are located (note: all DICOM files in this directory will be uploaded):
# Post patient data into ISS obj_list_id = dicom.make_dicom_object_from_dir(iam, 'F:/Datasets/demo-patient/prostate')
- Run the script and allow the patient to upload to thinknode ISS. After the DICOM patient is uploaded to ISS, an RKS entry will be created for the patient for the Planning App to recognize it as a newly imported patient.