[DICOM Browser] About StudyID Editing(Add&Rename StudyID)

Operating system: windows
Slicer version: 4.10.2
Expected behavior:
Actual behavior:

HI :slight_smile:

I want to add below function in DICOM Browser, Add StudyID, Rename StudyID.

Anybody can help me hint about coding the call sequences (or sample codes)?
Thank you

You can create new/rename Patient/Study/Series in Data module in Subject hierarchy tab. When the study is completed you can export it to DICOM. If you enable import option then the exported study will be automatically imported into the DICOM database.

You can create new patient/study/series in the DICOM database by creating a DICOM dataset in memory or file and using it as input for ctkDICOMDatabase::insert().

DICOM standard does not allow you to modify any details of an instance after it is created, as the standard heavily relies on unique identifiers unambiguously identifying a complete data set. If you must modify data then you have to delete the original data set from the database and re-insert a new instance. If there is a chance that the original data set was exported from Slicer to external systems then you must generate a new UID (PACS behavior is undefined if it encounters modified data sets with the same UID).

1 Like

Thank you, I think 3D slicer is very powerful tools for medical image processing and other…

I will Study detailed about DICOM Spec and Slicer functions as you described


2019년 10월 23일 (수) 오후 10:26, Andras Lasso via 3D Slicer Community slicer@discoursemail.com님이 작성:

but, below sceanario, it doesn’t work at Data Module

  1. Add New Study

  2. Import Existing DICOM to New Study(1)

2019년 10월 24일 (목) 오후 1:53, 박촬리 lausiv@gmail.com님이 작성:

If the study instance UID of the study folder that you created does not match the study instance UID stored in the imported DICOM series, then a new study folder will be created for the imported DICOM series.

1 Like

Thank you very much : )