NHS number is clearly ridiculous.
But, I can see why all the other data are statistically relevant in analysis.
Postcode, so you can track viral outbreak etc with a fair degree of locational accuracy.
Date of birth, so you could analyse if people born in certain seasons had higher incidences of various diseases. (You could probably drop the day and just have month, but there could be cases where there were more hospital deaths for babies born on a Monday, etc).
Gender and ethnicity are obvious.