--
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 visit https://groups.google.com/d/msgid/xnat_discussion/c437ed68-ec53-4759-8272-4c742ca8ad6fn%40googlegroups.com.

xnat@xnatdev2204:~$ ls /data/xnat/prearchive/MICROSCOPY_DEV
20240910_170828281
xnat@xnatdev2204:~$ ls /data/xnat/prearchive/MICROSCOPY_DEV/20240910_170828281
dicom_upload dicom_upload.xml
ls -l /data/xnat/prearchive/MICROSCOPY_DEV/20240910_170828281/dicom_upload.xml
-rw-r----- 1 xnat xnat 1491 Sep 10 18:13 /data/xnat/prearchive/MICROSCOPY_DEV/20240910_170828281/dicom_upload.xml
xnat@xnatdev2204:~$ cat /data/xnat/prearchive/MICROSCOPY_DEV/20240910_170828281/dicom_upload.xml
<?xml version="1.0" encoding="UTF-8"?>
<xnat:SMSession ID="" UID="1.3.6.1.4.1.36533.8414610519336128691421468925512815321123615" label="dicom_upload" modality="SM" project="MICROSCOPY_DEV" xmlns:arc="http://nrg.wustl.edu/arc" xmlns:cat="http://nrg.wustl.edu/catalog" xmlns:icr="http://icr.ac.uk/icr" xmlns:pipe="http://nrg.wustl.edu/pipe" xmlns:prov="http://www.nbirn.net/prov" xmlns:scr="http://nrg.wustl.edu/scr" xmlns:val="http://nrg.wustl.edu/val" xmlns:wrk="http://nrg.wustl.edu/workflow" xmlns:xdat="http://nrg.wustl.edu/security" xmlns:xnat="http://nrg.wustl.edu/xnat" xmlns:xnat_a="http://nrg.wustl.edu/xnat_assessments" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<xnat:scanner manufacturer="Leica Biosystems" model="GT450"></xnat:scanner>
<xnat:prearchivePath>/data/xnat/prearchive/MICROSCOPY_DEV/20240910_170828281/dicom_upload</xnat:prearchivePath>
<xnat:scans>
<xnat:scan ID="1_3_6_1_4_1_36533_235150831662121946981579010430106254171222" UID="1.3.6.1.4.1.36533.235150831662121946981579010430106254171222" xsi:type="xnat:smScanData">
<xnat:scanner manufacturer="Leica Biosystems" model="GT450"/>
<xnat:modality>SM</xnat:modality>
<xnat:frames>1</xnat:frames>
<xnat:file URI="SCANS/1_3_6_1_4_1_36533_235150831662121946981579010430106254171222/DICOM/scan_1_3_6_1_4_1_36533_235150831662121946981579010430106254171222_catalog.xml" content="RAW" format="DICOM" label="DICOM" xsi:type="xnat:resourceCatalog"/>
</xnat:scan>
xnat@xnatdev2204:~$ ls /data/xnat/prearchive/MICROSCOPY_DEV/20240910_170828281/dicom_upload
SCANS dcmtoxnat.log
The SCANS directory has all the DICOM series that I have uploaded. The dcmtoxnat.log tells me what XNAT found when it tried to build the session. In my case, I see this:
xnat@xnatdev2204:~$ cat /data/xnat/prearchive/MICROSCOPY_DEV/20240910_170828281/dicom_upload/dcmtoxnat.log
session attribute session_type has no value
session attribute fields/field has no value
session attribute dcmPatientBirthDate: DICOM attribute org.nrg.dcm.FixedDicomAttributeIndex@10004f(0010,0030) has bad value (); unable to derive attribute(s) [dcmPatientBirthDate]
session attribute date: DICOM attribute org.nrg.dcm.FixedDicomAttributeIndex@8003f(0008,0020) has bad value (); unable to derive attribute(s) [date]
session attribute time: DICOM attribute org.nrg.dcm.FixedDicomAttributeIndex@8004f(0008,0030) has bad value (); unable to derive attribute(s) [time]
session attribute study_id has no value
session attribute dcmPatientWeight has no value
session attribute dcmPatientId has no value
session attribute dcmPatientName has no value
session attribute dcmAccessionNumber has no value
session attribute acquisition_site has no value
session attribute operator has no value
scan 1_3_6_1_4_1_36533_235150831662121946981579010430106254171222 attribute startTime has no value
scan 1_3_6_1_4_1_36533_235150831662121946981579010430106254171222 attribute start_date has no value
scan 1_3_6_1_4_1_36533_235150831662121946981579010430106254171222 attribute requestedProcedureDescription has no value
scan 1_3_6_1_4_1_36533_235150831662121946981579010430106254171222 attribute protocolName has no value
scan 1_3_6_1_4_1_36533_235150831662121946981579010430106254171222 attribute bodyPartExamined has no value
scan 1_3_6_1_4_1_36533_235150831662121946981579010430106254171222 attribute scanner has no value
scan 1_3_6_1_4_1_36533_235150831662121946981579010430106254171222 attribute series_description has no value
1_3_6_1_4_1_36533_235150831662121946981579010430106254171222 attribute orientation has no value
Luckily, these were all issues with my input data's DICOM conformance, but XNAT didn't regard these as critical errors and so was still able to build the session. My working hypothesis would be that your dcmtoxnat.log file might contain one or more errors that are critical to building the session.
I hope that's useful, but even if it isn't, I hope that gives a bit of insight in terms of what happens when things go into the prearchive.
Best wishes,
Simon
Dear Simon
Thanks for your tips !
I am always grateful to learn trouble-shooting tips.
Yes. The error was at the prearchive
Both files are zero bytes.
Something went wrong.
? session builder problem.
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.
The changes make XNAT able to create a session object from more modalities/SOP classes, but it doesn't address the problem in general. I made XNAT-6490: Allow creation of an XNAT session object from RT series to point out that we made some improvements in 1.8.
As long as the modality of the scans are supported, this should now work. The session is built in the prearchive with the XnatOtherimagesessiondataBean data type, and the scans are then merged into the existing session.
