uwscope / scope-web

0 stars 5 forks source link

Create an Empty Recent Entry Mark for Newly-Created Patients #538

Closed anantmittal closed 2 weeks ago

anantmittal commented 3 weeks ago

Newly-created patients will be created with an empty reviewMark. This ensures that new patients will initially show any data since enrollment as "new". We decided upon this after the deployment of v0.18.0.

Fixes #537, except we took a different approach than was initially sketched there. We included this in ensure_patient_documents (i.e., rather than in a populate script) so it would automatically happen if patient creation later moves out of populate scripts (e.g., in a self-deployed version of this).

540 documents an ongoing need to be sensitive to this change in any future data migration.