Hello people smarter than I am,
<e en="T" t="00080020" n="StudyDate">@incrementdate(this,@DATEINC)</e>
And I’ve used the below to refer to a lookup table outside the DicomAnonymizer stage script
<e en="T" t="00100010" n="PatientName">@lookup(PatientID,ptid)</e>
<e en="T" t="00080020" n="StudyDate">@incrementdate(this, @lookup(PatientID,poff)</e> where poff is a column name in the lookup table with a value in each row with PatientID, containing the increment value in the lookup table (for example -365 for a shift backwards by a year)
@dateinterval(this,poff,PatientID) but I don’t think that will work since I think dateinterval expects M/D/YYYY or YYYYMMDD (origindate) format.
But I’m kind of stuck at this point. Do you have suggestions?
Tracy Nolan
If you receive this email outside of your normal working hours, I do not expect a response until you are back at work.
Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.