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 - Create / Update Exception #1155

Closed joneubank closed 2 months ago

joneubank commented 3 months ago

Implement the API Endpoint to add treatment detail exception to donors for a program.

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 create 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 endpoints for:

Screenshot 2024-03-18 at 12.54.28 PM.png Screenshot 2024-03-18 at 12.54.16 PM.png Screenshot 2024-03-18 at 12.54.06 PM.png