The expected structure of the subject hierarchy items by the export code is too rigid. It would be nice to allow more flexible discovery of the items. See https://discourse.slicer.org/t/export-segmentation-in-dicom-rt-format/16805