The work of the nurse in the context of transformation: from general hospital to teaching