In the context of California Pharmacy Jurisprudence Exam, what is the primary purpose of conducting a job hazard analysis related to patient safety?