From v9.1, OpenSpecimen supports sharing the consent document across the multiple collection protocols.
Many CPs use the same consent forms. Having duplicates is painful to maintain across languages and versions. Instead, now it would be easier because the consent forms were defined outside and used within the CP.
System-level consent documents can be created and updated by only super and institute admin users. The Institute admin can update the documents created by the institute admin of any institute.
The CP users can use any system-level consent documents in their CPs to capture the patient consent.
When a system-level consent document is archived, it cannot be used in any new associations with the CPs. However, the existing CP associations will continue to work without any impact.
When a consent document added at CP level is archived, it cannot be used to capture the patient responses.
Added migration scripts to move the documents created at the CP level to the system level and create appropriate CP associations.