C_STORE of single image session results in two session items in pre-archive

33 views
Skip to first unread message

Ralph Brecheisen

unread,
Feb 3, 2022, 4:41:22 AM2/3/22
to xnat_discussion
Hi

I'm using C_STORE to push DICOM files of two subjects, each with a single image session (consisting of multiple scans), to the XNAT pre-archive but when I do, the pre-archive shows two sessions for each subject instead of just one (see picture below). When I try to archive the data, I get two conflicts so XNAT really thinks these duplicate sessions are the same.

Screenshot 2022-02-03 at 10.34.39.png

Just before I send each DICOM file using pynetdicom, I update its header using pydicom as follows:

p = pydicom.dcmread(f)
p.PatientComments = f'Project: {project_id} Subject: {subject_id} Session: {session_id}'
association.send_c_store(p)

I was wondering what other DICOM attributes XNAT reads that cause it to identify two sessions instead of only one. 

Any hints are greatly appreciated!

Ralph

Note: I'm using XNAT 1.8.2, build 3


Moore, Charlie

unread,
Feb 3, 2022, 10:29:24 AM2/3/22
to xnat_di...@googlegroups.com
Hi Ralph,

I would double check that (0020,000D) Study Instance UID is the same for every file in your session. If that's not true, that would cause this behavior.

Thanks,
Charlie

From: xnat_di...@googlegroups.com <xnat_di...@googlegroups.com> on behalf of Ralph Brecheisen <ralph.br...@gmail.com>
Sent: Thursday, February 3, 2022 3:41 AM
To: xnat_discussion <xnat_di...@googlegroups.com>
Subject: [XNAT Discussion] C_STORE of single image session results in two session items in pre-archive
 

* External Email - Caution *

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/95598fc8-b289-4c72-ad7d-197371f00bd0n%40googlegroups.com.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Ralph Brecheisen

unread,
Feb 7, 2022, 6:42:00 AM2/7/22
to xnat_discussion
Thanks for the info!

Op donderdag 3 februari 2022 om 16:29:24 UTC+1 schreef moore.c:
Reply all
Reply to author
Forward
0 new messages