Put it this way. My wife has had full access to the NHS including giving birth and pre and post natal mid wifery etc and not had to pay a penny. Even free prescriptions while pregnant. She is only just in her 2nd year here but length or type of visa or length of stay was never asked for by anyone. Though she did have to show her passport when first registering.