Title: Form and function of written agreements in the clinical education of health professionals