icgc-argo / argo-clinical

Clinical data submission for ARGO programs.
GNU Affero General Public License v3.0
2 stars 0 forks source link

Treatment Detail Exception - API - Remove Donors from Program's Exception #1158

Closed joneubank closed 2 months ago

joneubank commented 3 months ago

Implement the API Endpoint to remove donors from a program's treatment detail exception.

Detailed Description

Refer to wiki for endpoint details: https://wiki.oicr.on.ca/display/icgcargotech/Treatment+Details+Exception

Will need to make a service module to provide the remove donors from exception implementation that is called by the api endpoint.

Possible Implementation

Implementation will be very similar to Missing Entity Exception and can be used as a model. One important distinction: when a treatment detail exception is added no recalculation of existing donor data needs to be done as it was with missing entity exceptions.

demariadaniel commented 3 months ago

Working Swagger result

Screenshot 2024-03-27 at 2.47.09 PM.png