I am no language expert but two words that are often used together tend to become one word over time (e.g. eyepatch). I have not found healthcare as one word in a dictionary, but dictionaries reflect trends in language rather then create them (and my dictionaries are a few years old). I would hazard to guess that, currently, both ways are correct.