The rules may change in the future but currently and as the rules stand, you will not qualify for ILR with such a low salary.
The going rate for Band 7 of national pay scales for eligible healthcare occupation codes like 2254, starts at £40,057 and that is if you work in Northern Ireland. If you work in other parts of the UK, then the going rate will be even higher.
You need to check out the national pay scales for eligible healthcare occupation codes for your band.
See:
https://www.gov.uk/government/publicati ... tion-codes
All you need to know about salary calculations under the Skilled Worker route
Advice is given based on my personal research and experience only. Do NOT contact me via private message for immigration advice