To understand the event "The doctor gave Jim a prescription.  Jim gave his prescription to the pharmacist.  The pharmacist gave Jim a bottle of pills.", it is important to know that The doctor believes the pills will help alleviate Jim's compliant.