ahcis-rds / study_finder

StudyFinder is a flexible and configurable application to pull studies from clinicaltrials.gov and augment the data from alternate datasources such as a clinical trials management system.
MIT License
17 stars 4 forks source link

Handle more varieties of intervention data #105

Closed cdinger closed 3 years ago

cdinger commented 3 years ago

This better handles incomplete intervention data. An initial implementation was submitted in #104, but only handles the case where an intervention name is present. Some system may only contain intervention type data and this implementation will format correctly in either case.

The formatting method has also been pushed to the TrialIntervention model since it really has nothing to do with the Trial model.

cdinger commented 3 years ago

@johnsja special for you! Because I know you're dying to have this conversation again 😆

This will handle the cases regardless of what Mayo provides to us and is a better generic way to approach this I think.