The Center for Distributed Analytics and Informatics Systems (CDAIS) maintains a data retention process for files stored in PopMedNet for networks managed by the Harvard Pilgrim Health Care Institute. On a scheduled basis, files are deleted from the PMN web portal databases via a task scheduler that invokes an API endpoint on PMN that clears out the responses.
This process is used for all PMN instances (Sentinel, Health Data Collaboration (HDC) projects)
From the dbo.Documents table, ALL documents:
1. Associated with any Request
2. With a CreatedOn (uploaded) date that is greater than the number of days defined in the API, web.config, attribute "KeepResponseDocumentsDays", currently defined as "365" for all instances