Tylex is a combination pain medication that contains two different medicines paracetamol and codeine phosphate hemihydrate. Codeine belongs to a…