Student nurses and midwives will be offered a contract as a healthcare assistant.