1. A device, comprising: at least one computer programmed to perform: assigning word-class information to words in a medical report, the assigning comprising: assigning first word-class information to a first word or word sequence in the medical report, wherein the first word or word sequence names a particular medicament; and assigning second word-class information to a second word or word sequence in the medical report; performing at least one action related to the particular medicament and associated with a combination of the first word-class information and the second word-class information, wherein the second word or word sequence identifies an allergy of a patient toward an active agent, and wherein performing the at least one action comprises determining whether the particular medicament includes the active agent, and providing a prescription for the particular medicament in response to determining that the particular medicament does not include the active agent.