Hi there,
You are correct that the custom routing option doesn't support compositions of tags, but it wouldn't help you anyway if you're using DQR [I'm presuming you are indeed using DQR based on getting data from a PACS]. DQR uses its own session label assignment from (0020,0010) instead. This is quite off the beaten path, so I'd highly recommend you make sure it acts as you need it to in a dev environment first, but... you can change the location of site-wide anonymization for SCP receivers using the "custom processing" option [and DQR already requires that option] from Swagger:
1. Administer > Miscellaneous > View the Swagger Page
2. Find archive-processor-instance-api
3. With the GET to /processors/site/enabled, find the default configured processor instance with "label": "Site Anonymization".
4. Update the location to "location": "AfterProjectSet".
5. Update it with the PUT to /processors/site/id/{instanceId}
Keep in mind that you probably won't be able to use the subject/session variables in DicomEdit after doing this as it's moving site anonymization earlier in the process than it would normally happen, but I was able to import a study with DQR that used a concatenation of patient ID + study description like this.
Hope that helps.
Thanks,
Charlie Moore