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.
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.