- Open Access
What clues are available for differential diagnosis of headaches in emergency settings?
© Springer-Verlag 2008
- Received: 2 October 2007
- Accepted: 9 January 2008
- Published: 5 February 2008
The correct diagnosis of headache disorders in an emergency room is important for developing early management strategies and determining optimal emergency room activities. This prospective clinical based study was performed in order to determine demographic and clinical clues for differential diagnosis of primary and secondary headache disorders and also to obtain a classification plot for the emergency room practitioners. This study included 174 patients older than 15 years of age presenting in the emergency room with a chief complaint of headache. Definite headache diagnoses were made according to ICHD-II criteria. Classification and regression tree was used as new method for the statistical analysis of the differential diagnostic process. Our 174 patients with headache were diagnosed as basically primary (72.9%) and secondary (27.1%) headaches. Univariate analysis with cross tabs showed three important results. First, unilateral pain location caused 1.431-fold increase in the primary headache risk (p = 0.006). Second, having any triggers caused 1.440-fold increase in the primary headache risk (p = 0.001). Third, having associated co-morbid medical disorders caused 4.643-fold increase in the secondary headache risk (p < 0.001). It was concluded that the presence of comorbidity, the patient’s age, the existence of trigger and relaxing factors, the pain in other body parts that accompanies headache and the quality of pain in terms of location and duration were all important clues for physicians in making an accurate differentiation between primary and secondary headaches.
- Primary headaches
- Secondary headaches
- Classification and regression tree
- Differential diagnosis
The occurrence of headache as the chief complaint on admission to an emergency room (ER) is between 1% and 16% [1–4]. Headache is a symptom related to many disorders, ranging from benign to more serious diseases. Although most headaches are benign, it is the responsibility of ER and primary healthcare physicians to obtain a detailed history and a careful examination to rule out other causes of pain with significant morbid or fatal outcome. Therefore, the ER practitioner must recognize symptoms and characteristics of headache in order to distinguish who simply needs reassurance and analgesia and who needs prompt diagnosis and interventions [4–7].
In order to obtain a correct diagnostic and therapeutic pathway and ask for targetted specialist consultation, the ER practitioner must be familiar with the various categories of headache. The first great subdivision can be made between primary and secondary headaches due to a specific reason . Classifying headaches as primary or secondary can also facilitate evaluation and management . Primary headaches have no structural or metabolic cause, while secondary headaches are caused by an underlying pathologic or metabolic process. Migraine, tension-type, cluster, and analgesic-rebound headaches are all primary headache disorders. Secondary headaches are caused by conditions such as increased intracranial pressure, pseudotumour, subdural haematomas, ischaemic as well as haemorrhagic strokes, hypertension, meningitis, temporal arteritis, and brain tumours. The majority of patients presenting to ER practitioners complaining of headache have primary headaches, and approximately only 10% of them have a secondary form [5, 9, 10]. In most cases, neurological examination was normal. A complete headache history contributes most to the diagnostic process. History should include information about headache onset, pain intensity and character of the pain, presence of aura, associated autonomic symptoms, and trigger factors [10, 11]. Cortelli et al.  stated that the first step in evaluating headache patients accessing ERs involves exclusion of secondary headaches that reflect an underlying life-threatening condition. “Red flags” for secondary disorders include sudden onset of headache, new onset of headache with aura, onset of headache after 50 years of age, increased frequency or severity of headache, new onset of headache with an underlying medical condition, headache with concomitant systemic illness [2, 8]. The detailed diagnostic criteria and clinical variabilities for headaches are well known by neurologists, but there is a need to obtain a practical guide to the differential diagnosis of headaches for ER practitioners and primary healthcare physicians.
Some previous reports pointed out the importance of the dissemination of the International Headache Society (IHS) diagnostic criteria among primary healthcare physicians in order to avoid the return of patients or their referral to more specialized ERs [5, 6]. The correct diagnosis of headache disorders in ER is also very important for developing early management strategies and for determining optimal ER activities. For these reasons, there is need to obtain an easy guide to evaluate headaches for ER practitioners. We performed this multidisciplinary prospective clinical based study in order to determine demographic and clinical clues for differential diagnosis of primary and secondary headache disorders and also to obtain a classification plot for ER practitioners.
We conducted a prospective study of consecutive adult (age >15 years) patients presenting with a chief complaint of nontraumatic headache to the ER of Mersin University Medical Faculty Hospital from March 2006 to September 2006. The hospital is an academic hospital and it receives patients from an extensive region. The ER sees approximately 20,000 adult cases annually. Written informed consent was obtained from all patients.
All of the consecutive patients older than 15 years of age were included in the study on the basis of a chief complaint of nontraumatic headache. Patients were excluded from the study if headache was not the chief complaint on admission but detected while obtaining medical history. Other patients excluded were those with headaches resulting from trauma. Patients unwilling or unable to provide informed consent were also excluded from the study.
ER practitioners were asked to fill out a patient questionnaire for headache sufferers after obtaining an informed consent from the patient or her/his family member. This questionnaire was developed utilizing “The second edition of The International Classification of Headache Disorders (ICHD-2)” criteria, including questions related to the information about demographic and clinical data . By this way, informative data about frequency, severity, quality, localization and duration of headache, its timing, symptoms that accompanied it, the pain from other body regions, the presence of relevant co-morbidities, previous diseases, family history of headache disorders, any medication taken before admission, any drugs the patient was using, diagnostic tests ordered, therapies employed and response to treatments were obtained.
After ER practitioner’s evaluations, the neurologist in charge was also asked to examine the patients to indicate diagnostic tests and to make the headache diagnosis according to the ICHD-2 criteria. Necessary laboratory and radiography studies and required consultations were performed to establish a definitive diagnosis. All steps of the neurological evaluations were supervised by the headache specialist (A.Ö.), and definite diagnoses of the subjects were also made by her. After ER setting process, all headache patients, except for secondary headaches that relieved after solving secondary causes, were referred to our outpatient headache centre. It is one of the sections of neurology department. Most of the patients referred have primary headaches. Minimum follow-up duration of headaches in this centre is 6 months. The diagnosis was made mostly in the ER. But in some headache patients, we needed a follow-up period in order to make distinct diagnosis. The final diagnoses were controlled by assessing findings that obtained both from the ER and the headache centre.
The data were processed and analysed using the statistical package SPSS-11.0 for Windows. The results of descriptive analyses were tested and found to show equal distribution. Mean and standard deviations of data were calculated. Continuous data were compared using independent t and Mann–Whitney U tests. Categorical data were compared using the χ2 or Fisher exact tests. Since the study is a prospective clinical based study, we used relative risk (RR) as a coefficient for the risk factors; these relative risks were estimated from univariate cross tabs analysis. Post hoc power analysis was performed for the variables found to be statistically significant by univariate analysis to determine whether the sample size was large enough to be statistically valid. The significant variables were also included in a multivariate binary logistic regression analysis model to determine most predictive factors for headache. Significant differences (two-tailed p) less than 0.05 were regarded as significant.
We used Statistica® 6.0 (STATISTICA, 1984–2002) software for the classification and regression tree (CRT). At the initial stage, the building of CRT began with a root node, which contained all of the subjects; then, a series of yes/no questions generated descendant nodes. These nodes were more homogenous than the root node and these terminal homogenous nodes were evaluated.
Totally, 174 patients were included in this analysis and named as “learning sample”. As a dependent variable, the diagnosis of primary headache was coded as 1 (yes) and 0 (no = secondary headache). The variables which possibly affect the headache diagnosis were accepted as independent variables. It was composed of 12 categorical variables and one ordered variable, totally 13 clinical variables. Tenfold cross validation was used as an error estimation method. After the maximum tree value had been obtained, the pruning process began in order to obtain optimum tree set, using the cost-complexity setting method, providing the balance between probability of misclassification calculation from risk matrix and tree complexity. After obtaining the optimum tree, the results of this method have been evaluated.
Demographic features of patients
Primary headache (n = 127)
Secondary headache (n = 47)
Age (year) (mean ± SD)
38.8 ± 11.8
48.6 ± 15.5
Gender (female/male) (%)
37 (78.7)/10 (21.3)
Marital status (n) (%)
Education time (years) (mean ± SD)
9.5 ± 4.0
7.6 ± 4.0
Employment status (n) (%)
First attendance (n) (%)
Other medical conditions (n) (%)
Coronary artery disorders
Triggers for headache (n) (%)
Family history of headache (n) (%)
Diagnosis of headache disorders
Primary headache disorders
Migraine without aura
Migraine with aura
Complications of migraine
Probable migraine without aura
Infrequent episodic tension
Frequent episodic tension
Primary stabbing headache
Secondary headache disorders
Headache attributed to saccular aneurysmb
Headache attributed to arteritisb
Headache attributed to intracranial neoplasmb
Headache attributed to epileptic seizure
Headache attributed to systemic infection
Headache attributed to arterial hypertension
Headache attributed to hypothyroidism
Headache attributed to disorder of neck
Headache attributed to rhinosinusitis
Headache or facial pain attributed to temporomandibular joint disorder
Headache attributed to somatisation disorders
Headache not elsewhere classified
Diagnoses of headache disorders according to ICHD-2 criteria are summarized in Table 2. As shown in this table, primary headache disorders were the most common cause of ER admissions and among them migraine was the most frequent type, followed by infrequent episodic tension-type headache (ETTH). Among the secondary type headache disorders, headache attributed to arterial hypertension was the most common cause, followed by headache attributed to psychiatric disorders.
Headache features of study subjects
Primary headache (n = 127)
Secondary headache (n = 47)
Duration of headache (months) (mean ± SD)
41.6 ± 52.4
47.5 ± 73.8
Duration of attacks (h) (mean ± SD)
15.0 ± 20.0
12.5 ± 17.4
Frequency of attacks (n) (%)
First time (n = 19)
Less than one per month (n = 76)
1–5 days in a month (n = 21)
10–15 days in a month (n = 23)
More than 15 days in a month (n = 7)
Everyday (n = 28)
Severity of attacks (n) (%)
Mild (n = 3)
Moderate (n = 26)
Severe (n = 64)
Very severe (n = 81)
Location of headache (n) (%)
Unilateral (n = 18)
Bilateral (n = 85)
Secondary generalised (n = 6)
Calvarial (n = 17)
Temples (n = 14)
Frontal (n = 16)
Suboccipital (n = 18)
Quality of headache (n) (%)
Throbbing (n = 117)
Pressing (n = 51)
Stabbing (n = 6)
Triggers (n) (%)
None (n = 52)
Stress (n = 92)
Others (n = 30)
Associated features (n) (%)
None (n = 30)
Nausea (n = 22)
Vomiting (n = 2)
Photophobia (n = 4)
Phonophobia (n = 5)
More than two associated features (n = 101)
Others (n = 10)
Timing of headache (n) (%)
None (n = 112)
Mornings (n = 21)
Afternoons (n = 22)
Nights (n = 19)
Univariate analysis for the study variables was conducted by using cross tabs. The results obtained from the univariate analysis showed three important results. First, unilateral pain location caused 1.431-fold increase in the primary headache risk (95%CI: 1.291–1.587, p = 0.006). Second, having any trigger factor caused 1.440-fold increase in the primary headache risk (95%CI: 1.113–1.863, p = 0.001). Third, having associated co-morbid medical disorder caused 4.643-fold increase in the secondary headache risk (95%CI: 2.203–9.783, p < 0.001). Before clinical interpretation of the above mentioned univariate analysis results, post hoc power analysis was performed to determine whether the sample size was large enough for the findings to be statistically valid. The power values for the parameters including the presence of unilateral pain location, trigger factors, and co-morbid medical disorders were found to be as 76.3, 87.06, and 99.89%, respectively. Variables found to be statistically significant by univariate analysis were also included in a multivariate binary logistic regression analysis model to determine which variables were the most important in differentiating primary headaches from secondary ones. Odds ratio could not be calculated for the unilateral pain location parameter, because all of the unilateral headaches were in primary headache group. As a result, odds ratios were calculated for the parameters including the presence of trigger factors and co-morbid medical disorders and found to be as 3.755 (CI: 1.710–8.249, p = 0.001) and, 8.014 (CI: 3.218–19.956, p < 0.001) respectively.
Classification and regression tree
In order to obtain the optimum tree, cross validation and resubstitution cost values were calculated as 0.323 ± 0.0405 and 0.1118, respectively. These values were the estimations of error variance of the tree. Therefore, it can be concluded that the terminal nodes were homogeneous groups. The complexity parameter was 0.000.
Neither comorbidity nor neck–low back pain is present.
If comorbidity is absent, age is between 20 and 40 years, and neck–low back pain accompanies the headache.
If comorbidity is absent, age is between 40 and 60 years, neck–low back pain accompanies the headache, relaxing factor is present, and headache lasts less than 24 h.
If comorbidity is present, age is between 20 and 50 years, and headache is unilateral.
If comorbidity is present, age is between 20 and 50 years, and headache is diffuse without trigger factors.
If comorbidity is present, age is between 20 and 50 years, headache is diffuse with trigger factors, and lasts more than 24 h.
If comorbidity is present, age is between 20 and 50 years, headache is diffuse with trigger factors, but lasts less than 24 h, while no neck pain accompanies it.
If comorbidity is present, age is between 50 and 60 years, and neck–back pain accompanies the headache, while no trigger factor is present.
If comorbidity is present, age is over 50 years, and headache is unilateral, but no neck–back pain accompanies it.
If comorbidity is absent, age is over 40 years, and neck–low back pain accompanies the headache, while no relaxing factor is present.
If comorbidity is absent, age is over 60 years, and neck–low back pain accompanies the headache, while relaxing factor is present.
If comorbidity is absent, age is between 40 and 60 years, neck–low back pain accompanies the headache, relaxing factor is present, and headache lasts more than 24 h.
If comorbidity is present, age is between 20 and 50 years, neck pain accompanies diffuse headache, trigger factor is present, and headache lasts less than 24 h.
If comorbidity is present, age is over 50 years, neck–back pain accompanies the headache, and trigger factor is present.
If comorbidity is present, age is over 50 years, and headache is diffuse, but no neck–back pain accompanies it.
If comorbidity is present, age is over 60 years, and neck pain accompanies the headache, while no trigger factor is present.
Clinicians on duty at busy ERs are frequently faced with difficulties in assessing patients with headache. Bigal et al.  reported that the primary care for headache was unsatisfactory in the ER; therefore, more educated practitioners and new easy guidelines were needed for the accurate diagnosis of headache in the ER settings. Landtblom et al.  also stressed the importance of the rapid differential diagnosis process in ER settings.
For the past 15 years, the diagnostic criteria of the IHS have been the accepted standards. The ICHD-2 reflects our improved understanding of some disorders and the identification of new disorders, and it also provides a subgroup analysis of primary headaches and detailed description for headache attributed to psychiatric disorders . Well-established criteria are available for headache and in most cases a diagnosis can be made without the use of laboratory tests, but these criteria cannot be routinely employed in busy ERs [6, 13]. Furthermore, classical features of the main headache types are generally well known to the neurologists, but ER practitioners have little training in accurate headache diagnosis, and thus most headaches may be misdiagnosed by them in daily practice [6, 7, 12, 15]. As a result, an easy algorithm to guide the classification of headaches according to the IHS criteria is needed to help ER physicians in making rapid and accurate differentiation of primary headaches from secondary ones [8, 16].
An important paper creating four scenarios for the ER-based differential diagnosis of headache disorders, using databases and guidelines, was reported by Cortelli et al. . Their suggestions represented a compromise between accuracy and clinical pragmatisms for the ER-based headache differential diagnosis. Based on this report we designed the present study to provide positive contributions to their suggestions, and used CRT for the same purposes. To our knowledge no guidelines similar to ours have been published to date.
Our CRT-based results showed that the presence of comorbidity, the patient’s age, the existence of trigger and relaxing factors, the pain of the other body parts that accompanies headache (neck, back and low back pain) and the quality of pain in terms of location and duration were all important clues for ER physicians in making an accurate differentiation between primary headaches and those from secondary causes. Obtaining such a complete headache and medical history with elements mentioned above have also been reported as the most important parts of the initial diagnostic evaluation [7, 10, 17].
In our study, comorbidity was found to be the main factor in accurate differentiation of primary headaches from secondary ones. The importance of obtaining information about comorbidity in headache patients has been stressed by many authors, but it has not been used as a classifier in the differential diagnostic process of headaches [5, 8, 17].
Emergency physicians should also pay attention to the patient’s age in the differential diagnostic process of headaches. Headaches beginning under the third decade of life are frequently migraines. Those beginning later may have an organic aetiology . Bigal et al.  reported that there was a sharp predominance of primary headaches, whose frequency increased up to the 40–50 year age range and declined thereafter. Considering that the majority of patients who present to the ERs with acute primary headache have migraine, although most do not receive this diagnosis, the age of migraine patients becomes an important determinator in the differential diagnostic process . Migraine predominantly affects women and reaches its peak between 25 and 55 years of age, while more than 90% of migraineurs experience their first attack before 40 years . Similar to migraine, the age at onset of cluster headache is generally less than 30 years (15,18). Secondary headaches are more frequent in patients over 50 years; approximately 65% of SAH occur during the fourth to sixth decade . However, the limited data mentioned above are inadequate to explain the guiding role of the patient’s age in the differential diagnostic process of headaches. In our study we suggested to consider primary headaches in young patients (between 20 and 50 years of age) with comorbidity whenever headache is unilateral and also in young patients (between 20 and 40 years of age) without comorbidity, if neck–low back pain accompanies it. We also suggested that clinicians should suspect secondary headaches in patients over 50 years of age whenever neck–back pain and trigger factors are present, or in patients over 60 whenever neck–back pain is present but trigger factor is absent. If the headache is diffuse in elder patients without neck–back pain, secondary headaches should also be considered.
Pain characteristics are other important elements in the evaluation of headache patients. A comprehensive history of patients presenting in ER with headache should include questions about quality, location and duration of the pain as well as about conditions which relieve or exacerbate it . Among the restricted reports in this area, Verslegers et al.  described cluster headache as mostly severe and mainly unilateral pain, which is located outside the orbitotemporal region and often lasts more than 180 min. They reported that the initial pain may be located in the neck and the neck pain can overshadow all other symptoms of cluster headache. Gardinali et al.  stated that pain is invariably unilateral in cluster headache and in the majority of migraine attacks. These statements are in good agreement with our findings. Our results also suggested considering primary headaches both in young and older patients with comorbidity whenever headache is unilateral, but to consider secondary headaches in older individuals if the headache is diffuse and neck–back pain does not accompany it. Some reports related to the pain duration in headache patients have indicated that migraine lasts 4–72 h with a median frequency of 1.5 per month and cluster headache lasts 15–180 min with attacks recurring from one every other day to eight per day, while SAH headache lasts from at least 1 h to days to weeks . Our study made positive contributions to these reports, as our findings suggested that primary headaches should be considered if headache lasts less than 24 h in older patients without comorbidity who have neck–low back pain and relaxing factor, while duration of more than 24 h in those patients suggests secondary headaches.
Bigal et al.  reported that the most frequent aetiologies of secondary headache disorders were fewer, acute arterial hypertension, and sinusitis. But hypertension could also be one of the factors leading to exacerbation of the frequency and severity of attacks, both in migraine and tension-type headache, and the evidence supporting a connection between chronic hypertension and headache is scant [15, 19]. As a result, in our study hypertension was not found to be a major factor in the differentiation of secondary headaches from primary ones.
The present study has some limitations. First of all, the study was designed as a hospital-based and a single-centre survey. The rest of ER attendees whose chief complaint was not headache, in other words, in whom headache was only a symptom accompanying any other chief complaint, had to be ignored. And the results could not be accepted as a population-based representation. Second, this was a tertiary university hospital, and our descriptive results may not be necessarily applicable to different hospital settings. Third, because of the sample size, subgroups apart from primary and secondary headache disorders could not be analysed separately. Therefore, a more detailed guideline including these subgroups could not be made.
This study has also several implications. First, in the present study, which was designed in order to obtain a classification plot, required data had been recorded by the ER specialists, not by the subjects themselves. Second, to the best of our knowledge, this is the first study in making differential diagnosis by using CRT as a new method for statistics. Third, in our study we used relative risk estimation and CRT methods together in order to obtain important variables for the differential diagnosis process and relative risk coefficient to achieve the best results. For these reasons, our results can be projected to more comprehensive clinical-based studies in order to obtain headache management algorithms.
It was concluded that the presence of comorbidity, the patient’s age, the existence of trigger and relaxing factors, the pain in other body parts that accompanies headache (neck, back and low back pain) and the quality of pain in terms of location and duration were all important clues for ER physicians in making an accurate differentiation between primary headaches and those from secondary causes.
- Morgenstern LB, Huber JC, Luna-Gonzales H, Saldin KR, Grotta JC, Shaw SG, Knudson L, Frankowski RF (2001) Headache in the emergency department. Headache 41:537–541View ArticlePubMedGoogle Scholar
- Agostoni E, Santoro P, Frigerio R, Frigo M, Beghi E, Ferrarese C (2004) Management of headache in emergency room. Neurol Sci 25(Suppl 3):187–189View ArticleGoogle Scholar
- Carroll C, Zajicek J (2004) Provision of 24 hour acute neurology care by neurologists: manpower requirements in the UK. J Neurol Neurosurg Psychiatry 75:406–409PubMed CentralView ArticlePubMedGoogle Scholar
- Cortelli P, Cevoli S, Nonino F, Baronciani D, Magrini N, Re G, De Berti G, Manzoni GC, Querzani P, Vandelli A (2004) Evidence-based diagnosis of nontraumatic headache in the emergency department: a consensus statement on four clinical scenarios. Headache 44:587–595View ArticlePubMedGoogle Scholar
- Bigal ME, Bordini CA, Speciali JG (2000) Etiology and distribution of headaches in two Brazilian primary care units. Headache 40:241–247View ArticlePubMedGoogle Scholar
- Blumenthal HJ, Weisz MA, Kelly KM, Mayer RL, Blonsky J (2003) Treatment of primary headache in the emergency department. Headache 43:1026–1031View ArticlePubMedGoogle Scholar
- Gaini SM, Fiori L, Cesana C, Vergani F (2004) The headache in the Emergency Department. Neurol Sci 25(Suppl 3):196–201View ArticleGoogle Scholar
- Clinch CR (2001) Evaluation of acute headaches in adults. Am Fam Physician 63:685–692PubMedGoogle Scholar
- Peters KS (2004) Secondary headache and head pain emergencies. Prim Care 31:381–393View ArticlePubMedGoogle Scholar
- Marks DR, Rapoport AM (1997) Practical evaluation and diagnosis of headache. Semin Neurol 17:307–312View ArticlePubMedGoogle Scholar
- Locker T, Mason S, Rigby A (2004) Headache management—are we doing enough? An observational study of patients presenting with headache to the emergency department. Emerg Med J 21:327–332PubMed CentralView ArticlePubMedGoogle Scholar
- Headache Classification Subcommittee of the International Headache Society (2004) The international classification of headache disorders, 2nd edn. Cephalalgia 24(Suppl 1):9–160Google Scholar
- Bigal M, Bordini CA, Speciali JG (2000) Headache in an emergency room in Brazil. Sao Paulo Med J 118:58–62View ArticlePubMedGoogle Scholar
- Landtblom AM, Fridriksson S, Boivie J, Hillman J, Johansson G, Johansson I (2002) Sudden onset headache: a prospective study of features, incidence and causes. Cephalalgia 22:354–360View ArticlePubMedGoogle Scholar
- Gardinali M, Bernareggi M, Magni S (2004) Headaches in the emergency department. Neurol Sci 25(Supply 3):192–195View ArticleGoogle Scholar
- Svenson J, Cowen D, Rogers A (1997) Headache in the emergency department: importance of history in identifying secondary etiologies. J Emerg Med 15:617–621View ArticlePubMedGoogle Scholar
- Maizels M (2004) The patient with daily headaches. Am Fam Physician 70:2299–2306PubMedGoogle Scholar
- Verslegers WR, Pickut BA, De Deyn PP (2006) Paroxysmal neuralgic upper cervical pain attacks: the lower syndrome of cluster headache. Clin Neurol Neurosurg 108:737–743View ArticlePubMedGoogle Scholar
- Pietrini U, De Luca M, De Santis G (2005) Hypertension in headache patients? A clinical study. Acta Neurol Scand 112:259–264View ArticlePubMedGoogle Scholar