added total prescribed in API
updated API for drug