<p>Thousands of people visit emergency departments with headaches every year, but research suggests the way these visits are recorded may be hiding important clues about patients' needs.</p>