updated writeMissedDrugEvent - Ty
udated writeMissedDrugEvent (+php) - Ty