Analysis of medication consultation networks and reporting medication errors: a mixed methods study