# DICOM Export Issue to Treatment Planning System

**URL:** <https://discourse.slicer.org/t/dicom-export-issue-to-treatment-planning-system/21453>\
**Category:** Support\
**Tags:** dicom\
**Created:** [January 13, 2022, 8:41pm UTC](https://discourse.slicer.org/t/dicom-export-issue-to-treatment-planning-system/21453 "2022-01-13T20:41:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdomal](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sdomal](https://discourse.slicer.org/u/sdomal)\
**Post date:** [January 13, 2022, 8:41pm UTC](https://discourse.slicer.org/t/dicom-export-issue-to-treatment-planning-system/21453/1 "2022-01-13T20:41:11Z")

</div>

Operating system: Windows  
Slicer version: 4.11.20200930  
Expected behavior: I am trying to export a virtual phantom as a DICOM image set as to be read in by a treatment planning system, specifically RayStation. I am exporting as “Int” output and with a Rescale Intercept of 0 and Rescale Slope of 1.

Actual behavior: When I try to import the DICOM series into RayStation I get the following error: #707 2.16.840.1.114362.1.11843457.24057291391.599878543.576.8207 CT: Rescale Type (0028,1054) failed IsAnyOf validation

#708 Error while importing CT: If the Rescale Type attribute is defined it must be HU (Hounsfield unit) [CT image module]

at RaySearch.CorePlatform.Dicom.ImportExport.DicomInterface.DicomErrorHandler.FatalError(String format, Object[] args)

at RaySearch.CorePlatform.Presentation.Actions.ImportExport.DicomSeriesImportAction.Import\_(IList`1 iods)

at RaySearch.CorePlatform.Presentation.Actions.ImportExport.DicomSeriesImportAction.DoWork\_()

Are there export options I need to change to work around this issue?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 13, 2022, 8:43pm UTC](https://discourse.slicer.org/t/dicom-export-issue-to-treatment-planning-system/21453/2 "2022-01-13T20:43:13Z")

</div>

Thanks for reporting this. As far as I remember, this issue has been fixed a while ago. Please let us know if I there are problems with images exported by the latest Slicer Preview Release.

---

<div class="post-metadata">

**Author:** ![sdomal](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sdomal](https://discourse.slicer.org/u/sdomal)\
**Post date:** [January 14, 2022, 12:07am UTC](https://discourse.slicer.org/t/dicom-export-issue-to-treatment-planning-system/21453/3 "2022-01-14T00:07:15Z")

</div>

Thank you for your reply, for some reason the current download for the preview version of Slicer for windows is just an empty zip file. I did however update to the newest stable version of slicer and tried again but this time I got the following error:

#3767 1.2.826.0.1.3680043.2.1125.1.90325020486013685008757661786594524 CT: Bits Allocated (0028,0100) failed IsAnyOf validation (occurences: 2)  
#3768 1.2.826.0.1.3680043.2.1125.1.90325020486013685008757661786594524 CT: Bits Stored (0028,0101) failed IsAnyOf validation  
#3769 Error while importing CT: The attribute Bits Allocated must have the value 16. [Image pixel]

at RaySearch.CorePlatform.Dicom.ImportExport.DicomInterface.DicomErrorHandler.FatalError(String format, Object[] args)  
at RaySearch.CorePlatform.Presentation.Actions.ImportExport.DicomSeriesImportAction.Import\_(IList`1 iods)  
at RaySearch.CorePlatform.Presentation.Actions.ImportExport.DicomSeriesImportAction.DoWork\_()

I’m a bit confused on this error but even more so about all of the export options, namely what output type I should be using, for this trial I used “Int”.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [January 14, 2022, 3:04am UTC](https://discourse.slicer.org/t/dicom-export-issue-to-treatment-planning-system/21453/4 "2022-01-14T03:04:24Z")

</div>

Looks like last nights Preview build on Windows didn’t upload correctly. You can use the one from the day before by using the following download link

[https://slicer-packages.kitware.com/api/v1/file/hashsum/SHA512/a81c6d17414024929ea38f1cf7ce6fcff47ccd5f103c6711f9582a4a922e19c83d7a65f206b31d589e034249c1967080f0cc01e8bc2e26fbb79901566c5c8c2b/download](https://slicer-packages.kitware.com/api/v1/file/hashsum/SHA512/a81c6d17414024929ea38f1cf7ce6fcff47ccd5f103c6711f9582a4a922e19c83d7a65f206b31d589e034249c1967080f0cc01e8bc2e26fbb79901566c5c8c2b/download)
