Community hospitals and general practice: extended attachments for medical students