Collection Infrastructure¶
This phase created new database structures for versioned questions. There are no user-visible changes to the SyRF interface.
What Changed¶
Two new database collections were created to store versioned annotation questions and question set snapshots. Previously, all question data was stored directly on the project document, which limited how questions could be managed and tracked over time. The new collections provide the storage foundation for the question versioning features described in Phase 4.
Additionally, concurrency protection was added to study documents. This prevents data corruption in the rare case where two users save annotations for the same study at exactly the same time. Previously, one user's work could silently overwrite the other's. Now, the system detects the conflict and asks the second user to refresh before saving.
These are infrastructure changes only. The SyRF interface looks and behaves exactly the same. The benefits become visible when the question lifecycle features (Phase 4) and the rebuilt annotation form (Phase 5) are released.