The development and implementation are described of a new 6-week course in general practice and public health medicine for final-year medical students. This course is based on the principles of student-directed problem-based learning in small groups and makes substantial use of student attachments to local general practices which act as learning resources. Student assessment is by profiles. Course evaluation is by qualitative feedback, and the results of this are presented. The course offers a flexible learning environment in which the aims of its designers and the goals of their students can be achieved.