packages/optimise-core/src/routes/concomitantMedRoute.js
/**
* Route concomitantMed
* @description Redirect request from /concomitantMeds to the proper controller call
*/
import express from 'express';
import ConcomitantMedController from '../controllers/concomitantMedController';
const concomitantMed = express();
concomitantMed.route('/')
.post(ConcomitantMedController.createConcomitantMed)
.put(ConcomitantMedController.editConcomitantMed)
.delete(ConcomitantMedController.deleteConcomitantMed);
export default concomitantMed;