Lamb is set to retire at the end of August and the process to appoint her successor is set to get underway shortly, the Scottish government has confirmed.
Lamb, who is a chartered accountant, trained in London with KPMG before moving to Scotland to work in housing and education, before joining the NHS in 2004.
She was appointed by the Scottish government in 2019 as director of the digital health and care directorate and took up her current role in January 2021.
Lamb is also currently the government's director general for health and social care.
