Using activity theory to transform medical work and learning