BaderLab / GenomeClinic-PGX

Web application for clinical pharmacogenomic interpretation
GNU Lesser General Public License v3.0
9 stars 2 forks source link

Add multi gene support to Future Considerations #154

Closed patmagee closed 8 years ago

patmagee commented 9 years ago

Currently Future considerations only allows for a single gene to be associated with each recommendation unlike the Recommendations. There are several instances where a multi-gene relationship is required: ie CYP2C9 & VKORC1

Incorporating this will look very similar to the Normal Recommendations

CHANGES

DB changes

gene : string >> genes : array class : string >> classes : array

constants Changes

dbConstants.DRUGS.FUTURE.GENE : 'gene' >> dbConstants.DRUGS.FUTURE.GENES : 'gene' dbConstants.DRUGS.FUTURE.CLASS : 'class' >> dbConstants.DRUGS.FUTURE.CLASSES: 'classes'

route changes

All routes dealing with future considerations would need to be updated to reflect the changes to the datgabse. Specifically, when getting future recommendations, all combinations of recommendations would have to be taken into consideration.

patmagee commented 8 years ago

Implemented in a similar way as the drug recommendations.