episphere / connect

Connect API for DCEG's Cohort Study
10 stars 5 forks source link

Blocking Research or Clinical collection entry if collection type does not match previous collection at same timepoint- July release (Biospecimen Dashboard) #1004

Open erincschwartz opened 2 months ago

erincschwartz commented 2 months ago

IGNORE THIS, SEE BELOW

Add backend check during Specimen Link in both Research and Clinical Dashboards to determine whether a collection has already been entered for that timepoint (i.e. Baseline) of the other type (Research/Clinical). If so, disable specimen link button (gray out) and add pop up message "Specimen Link not allowed. Check previous collections for this participant."

Block API push of clincial collection data if Research Collection was already completed.

erincschwartz commented 1 week ago

@Gbarra9 Updating this request, we no longer need to block clinical collections or backend clinical collection data.

Add backend check during check in step in Research Dashboard to determine whether a Clinical collection (blood or urine) has already been entered for that timepoint (i.e. Baseline). If so, disable 'check in' button (gray out) and add pop up message "Check In not allowed, participant already has clinical collection for this timepoint."

Gbarra9 commented 3 days ago

This is merged in dev and ready to be tested.