Factors Related to Errors in Medication Prescribing