Skip to main content

Discovering patterns in outpatient neurology appointments using state sequence analysis

Abstract

Background

Outpatient services in the UK, and in particular outpatient neurology services, are under considerable pressure with an ever-increasing gap between capacity and demand. To improve services, we first need to understand the current situation. This study aims to explore the patterns of appointment type seen in outpatient neurology, in order to identify potential opportunities for change.

Methods

We use State Sequence Analysis (SSA) on routinely collected data from a single neurology outpatient clinic. SSA is an exploratory methodology which allows patterns within sequences of appointments to be discovered. We analyse sequences of appointments for the 18 months following a new appointment. Using SSA we create groups of similar appointment sequence patterns, and then analyse these clusters to determine if there are particular sequences common to different diagnostic categories.

Results

Of 1315 patients 887 patients had only one appointment. Among the 428 patients who had more than one appointment a 6 monthly cycle of appointments was apparent. SSA revealed that there were 11 distinct clusters of appointment sequence patterns. Further analysis showed that there are 3 diagnosis categories which have significant influence over which cluster a patient falls into: seizure/epilepsy, movement disorders, and headache.

Conclusions

Neurology outpatient appointment sequences show great diversity, but there are some patterns which are common to specific diagnostic categories. Information about these common patterns could be used to inform the structure of future outpatient appointments.

Peer Review reports

Background

Outpatient care in the UK is under considerable pressure [1], and in response to this the NHS (National Health Service) has initiated a programme for strategic transformation. The NHS Outpatient Recovery and Transformation programme aims to ‘deliver a personalised outpatient model that better meets individual patient need and improves quality of care and patient outcomes’ [2]. The current model of outpatient care delivery is based on a traditional standard that has not been subject to significant scrutiny or quantitative analysis. In order to determine the nature of any change required, we need to understand the current situation, including current outpatient resource utilisation. The aim of any future recommended changes is to ensure optimal use of available resources, releasing capacity where possible, and improving access to care.

Neurology services in the UK are under particular pressure [3, 4], with a large gap between capacity and demand, and this is especially severe in the geographical area covered in this study (Lancashire and South Cumbria) [5]. The majority of neurology care in the UK is provided in an outpatient setting, so with the current drive for improvements in outpatient care in general and the capacity gap for neurology in particular, there is a pressing need to understand the pressures and potential opportunities for change in this specialty. Although this study is focused on a neurology clinic in England, similar pressures are being experienced elsewhere, and the principles this study is based on are transferable to other geographical and clinical areas.

Understanding the nature of outpatient resource utilisation such as the type of appointments that patients attend, and the order and frequency with which they occur, is useful for both resource planning and improving patient access to appropriate care. An analytical technique called State Sequence Analysis (SSA) has been used in other fields, in particular social sciences, to study patterns in longitudinal data [6, 7]. SSA is used to identify groups of common patterns or sequences of ‘states’ that occur over time. It is a relatively new methodology to healthcare, but a number of studies in the last few years have used SSA. These studies fall into two primary types; those which examine temporal data such as patterns of drug adherence [8, 9] or mortality following illness [10]; and others which study trajectories of care (for example appointment sequences and hospital stays) which are examined in the following paragraph.

Examples of studies which have investigated care trajectory or patient pathway include Le Meur et al. who used SSA to study care consumption in pre-natal care [11] and to examine the determinants of care trajectories in end-stage renal disease [12]. Vanasse et al. used the technique to study healthcare use after hospitalisation with Chronic Obstructive Pulmonary Disease [13]. The same team also used SSA to study care trajectories preceding a diagnosis of schizophrenia [14]. Other recent studies using SSA in healthcare include an examination of social inequalities in care trajectories following a diagnosis of diabetes [15], and a study of referral trajectories in patients with vertigo [16].

Some studies have applied SSA to neurology. For example, in 2021 LeBlanc et al. used SSA in their study of disease modifying therapy (DMT) usage in patients with multiple sclerosis (MS) [17]. They used SSA to identify patterns of DMT use and were able to classify patients into groups with similar usage patterns. In addition, Roux et al. used SSA to analyse care pathways of patients with MS [18, 19]. In their 2019 study they analysed the amount of care that patients ‘consumed’, including GP (General Practitioner) consultations, consultations with a neurologist, and hospital admissions. They were able to identify five different groups of patients with distinct levels of care consumption. In their 2021 study they compared groups of patients with incident and prevalent MS and extended their methodology to include ‘multiple channels’. In this study they use multi-channel SSA to identify 12 care consumption groups for patients with incident MS and 6 groups for prevalent MS.

These previous studies show that it is possible to use SSA in a healthcare setting – including within neurology – to group patients by differing levels of care consumption, drug adherence, and patterns of care observed over time. Previous studies in neurology using SSA have only analysed a single diagnosis in multiple settings, in this study we analyse the number, type and order of appointments across all diagnoses in a single neurology outpatient clinic. We aim to discover common patterns in types of appointment, the number of appointments attended, and the interval at which appointments occur. We will use SSA to create groups of similar appointment sequences and then analyse these groups to determine if there are particular sequences common to different diagnostic categories.

Methods

The study population, design and variables

This is a retrospective observational study using SSA to explore patterns in patient appointments in the 18 months following a new appointment. We used routinely collected data from neurology outpatient appointments, from a single clinician, collected over a period of approximately three years and four months (18th September 2015 to 9th January 2019). Data were drawn both from those recorded by the clinician at the time of the appointment, and from administrative information collected by the hospital business intelligence team.

The variables used to create the sequences include the date of an appointment, whether the appointment was attended, if a test was ordered from an appointment and whether a patient was discharged following an appointment. A number of variables were used in further analysis after the sequences had been constructed and clustered, including the diagnosis given to a patient, the patient’s age at the first appointment, the sex of the patient, and the time from referral to the patient’s first appointment.

SSA methodology

Identifying timeframes, defining states and building sequences

To analyse both the timing of appointments and the patterns found in types of appointments we created two separate sets of sequences from the same data. First, we created a set of sequences showing whether an appointment took place in a certain month; this can be seen in Fig. 1a. In this sequence set we used two simple states of “Appointment” and “No Appointment”.

Fig. 1
figure 1

Example of the two types of sequence. a Timing of appointments within the 18-month period and b Appointment type

The second set of sequences included only the months in which an appointment was recorded but incorporated additional information about the type of appointment that occurred (Fig. 1b). In this sequence set five mutually exclusive states were defined as: an attended appointment without either a recorded test, or discharge (A); an appointment where a test was ordered (AwT); an appointment at which a patient was discharged (AD); an appointment where a test was ordered and the patient was discharged (ATD); and an appointment that was unattended (ANA). Unattended appointments included cancellations by both the clinic and the patient, and ‘did not attends’ i.e., where a patient did not cancel, but did not turn up at their allotted time. Organising the data into two different types of sequence allowed for separate analysis of different aspects of patient appointment patterns.

Measuring dissimilarity between sequences

We used Optimal Matching and Hamming distance algorithms to measure dissimilarity numerically between sequences and create the matrices required for clustering. For the sequences based on the timing of appointments we used Hamming distance as this is the most common method applied to sequences of the same length. In addition Hamming distance does not use insertion and deletion and so it preserves the order of the states and the timing of the appointments [20]. Optimal Matching allows for sequences of differing lengths to be compared and was used for the sequences of appointment types [21].

Both algorithms rely on the principle of assigning a value to the number of operations required to turn one sequence into the other. For example, the sequence A-A-A can be transformed into sequence A-B-A by replacing the middle character with a B. We can assign a numerical ‘cost’ to this operation, for example a value of 1 and then compare costs of transformation between all different sequences.

Clustering

We used hierarchical agglomerative clustering with Ward’s criterion [22]. This type of clustering assumes that every individual data point initially belongs in its own cluster, these clusters are compared, and the most similar data points are joined to form clusters. The algorithm then compares these new clusters and again joins the most similar together, and so on until there is only one large cluster with all the data points contained within it. Once the clustering is complete it is necessary to determine the optimal number of clusters.

Optimising the number of clusters

The optimal number was chosen using average silhouette width [23]. Silhouette width measures how similar a sequence is to the cluster to which it has been assigned and compares this to how different it is from the other clusters. Average silhouette width is the average of the silhouette width of all the individual sequences and thus measures how well defined (on average) the clusters are, as well as whether each individual sequence has been placed in the ‘correct’ cluster. The metric ranges in value from -1 to 1 with -1 indicating that the clusters are not well defined and individual sequences are not likely to be placed in the ‘correct’ cluster. A score of 1 indicates that the clusters are perfectly separated, and each sequence is very likely to be assigned to the ‘correct’ cluster.

Hypothesis testing

After selecting the optimal number of clusters we extracted the diagnosis and demographic information for the patients falling into each cluster. Using chi squared tests and t-tests (where appropriate) we were able to determine if cluster membership was independent from these demographic factors. Analysis included diagnosis category, age at first appointment, sex, and time from referral to first appointment.

Ethics

The research proposal underwent ethical review with both the NHS Research Ethics Committee (Ref: 19/NW/0178) and Confidentiality Advisory Group (Ref: 19/CAG/0056) and received approval from the Health Research Authority (HRA) on 30 May 2019 (Ref: 255676). In addition, the study underwent ethical review with Lancaster University Faculty of Health and Medicine Research Ethics Committee and obtained approval on 17 June 2019 (Ref: FHMREC18092).

Results

Selection criteria

During the study period data was recorded from 3098 patients who, between them, had 5902 appointments. As patients entered and left the study period at different times, only patients who had a first appointment at least 18 months before the end of the study period were included (see Fig. 2). In addition, many patients only attended one appointment and these patients were removed for separate analysis. This left 428 patients to be included in the sequences analysis.

Fig. 2
figure 2

Flow chart showing selection criteria for the study

Patient characteristics

Of the 1315 patients who had new appointments followed by at least 18 months of data in the study period, 887 only had one appointment. Table 1 shows the baseline characteristics for these 1315 patients, split to allow comparison between those with only one appointment to those with sequences of two or more appointments. Figure 3 displays the numbers of patients falling into each diagnostic category, directly comparing those who return for more than one appointment with those who only have one appointment.

Table 1 Patient and appointment characteristics at the first appointment
Fig. 3
figure 3

The number of patients within each diagnostic category who return for more than one appointment, compared to those who only have one appointment

The mean age at first appointment is similar for both groups of patients – 49.6 for those who only have one appointment compared to 49.2 for those who attend more than one appointment. The time from referral is also similar, 14.6 vs 13 weeks.

In Fig. 3 we see that, overall, the greatest number of patients attend only one appointment. We also see marked differences in the numbers of patients in each diagnostic category. When referring to both Fig. 3 and Table 1 we see that headache (25.0%) and psychological/functional (10.1%) were the most frequent diagnostic categories seen in patients with only one appointment. In addition, patients with only one appointment have a large proportion of unattended appointments (16%) which leads to a high rate of patients where no diagnosis was made (17.3%). Within the group of patients who go on to have more than one appointment, the most common diagnosis is seizure/epilepsy (25.5%), followed by movement disorders (11.4%). The rate of unattended first appointments is much lower in this group (3.9%).

Timing of appointments

Within the group of patients with more than one appointment there is a predominant underlying 6 monthly cycle of appointments, as seen in Fig. 4. After a first appointment (at month zero) most patients return at, or around, the 6 month mark. There is then another peak around 12 months, and a smaller peak at 18 months. Very few patients return in the first or second month following their first appointment, and there is a general decline in the number of appointments after 6 months.

Fig. 4
figure 4

Number of follow-up appointments each month

In order to investigate the timing of appointments more thoroughly we carried out SSA on sequences with two simple states (see Fig. 1 in the methods section for a visual representation of these types of sequences). We found that the optimal number of clusters was five and descriptions of these groups can be found in Table 2. The largest cluster represents patients who return after 6 months for a second appointment. Further analysis of the patients belonging to each of these clusters revealed few other insights. The only significant result being that patients with movement disorders tended to fall more predominantly into cluster 2, with a second appointment at 3 months followed by further follow up at 6 month intervals. Visualisations of these clusters and a table of patient characteristics for each cluster can be found in Additional file 1.

Table 2 Description of the clusters based on SSA of sequences focused on appointment timing

Number and type of appointment

State Sequence Analysis of the second set of sequences, those with different appointment types, revealed an optimal cluster solution of 11 distinct clusters (see Fig. 5), these clusters are described in Table 3. The largest cluster is cluster 6 which represents patients with three or more appointments within the 18 month period, mainly of appointments without tests or discharges. It is interesting to note that there are a number of patients who are discharged on their first appointment, yet still return for further appointments during the following 18 months, as seen in cluster 7 for example.

Fig. 5
figure 5

Visualisation of the sequences belonging to each of the 11 distinct clusters. The most common sequence in each cluster is oriented at the base of the y-axis and the height of the bars represents the frequency of that sequence within the cluster. Cluster size is included in brackets in the y-axis title

Table 3 Description of the clusters based on SSA of sequences focused on appointment type

Analysis of the characteristics of the patients falling into each cluster reveals that there is no evidence that cluster membership is dependent on sex, age at first appointment, or time to referral. However, there is some evidence that cluster membership is dependent on diagnosis category. Analysis of the individual diagnosis categories shows that there are 3 diagnoses which differ significantly within the clusters, these are seizure/epilepsy, movement disorders, and headache (see Table 4). Visualisation of the diagnosis categories within the clusters reveals further patterns (Fig. 6).

Table 4 Patient characteristics for all 11 clusters
Fig. 6
figure 6

Mosaic plot showing the proportion of patients from each diagnosis category falling into each of the 11 clusters. Note that the width of the vertical columns in the plot represent the relative size of the clusters. Diagnoses with significant results are: Seizure/epilepsy, Movement disorders, Headache, and ‘No diagnosis made’

Figure 6 shows that a large proportion of seizure/epilepsy patients fall into cluster 6, the cluster with longer sequences of a standard appointment types, some of whom have tests ordered at their first appointment. Patients with headache disorders fall largely into clusters 4,7,9, all of which are clusters with high rates of discharge. This indicates that those patients with headache disorders who aren’t discharged at their first appointment (see Table 1), are likely to be discharged at their second appointment. Patients with movement disorders are more likely to fall into cluster 3, with moderate proportions in cluster 4,5, 6 and 8. Cluster 3 contains the patients with the longest sequences and therefore the highest number of appointments in the 18-month period.

Discussion

There has been very little previous work to examine the types of appointments, and the sequence in which they occur, within outpatient neurology departments. This study helps to fill a gap in current understanding and provides a basis on which future work can be built. It is a starting point for understanding the current situation and provides evidence for the types of change that may be needed.

Many patients attended only one appointment and were not offered any follow-up within the neurology outpatient clinic. Within this group of patients there are a number of diagnostic categories where it is likely that a patient has been referred on to a different service after their first and only appointment; for example, patients with brain tumour referred to neuro-oncology; those with psychological and functional disorders referred on to relevant services including neuropsychology or neuropsychiatry; and those with ‘general medical’ diagnoses referred to different services.

Using SSA to explore neurology appointments has shown that there are many and varied ways that patients interact with neurology outpatient services. There is, in essence, no ‘one-size-fits-all’ pattern, even within single diagnostic categories. However, some patterns of similarities can be seen. We found that many patients return for follow-up on an underlying six-monthly cycle. The present study cannot tell us what drives this, but there are several possible explanations such as scheduling based on traditional outpatient pathways, patient behaviour and expectations, and administrative factors. Results in the present study show a ‘decay’ of the six-monthly cycle suggesting that variation in appointment scheduling emerges over the duration of patient follow up. This could be due to condition-specific differences (for example the timing of particular diagnostic investigations or treatments) or patient-specific differences (for example, patient expectations, or the level of support required) in appointment scheduling. This analysis helps to illustrate these varying patterns and the need for service planning to accommodate a wide range of scheduling patterns.

We found eleven distinct clusters of sequence types which describe within them broadly similar patterns of appointment sequence. Within these clusters there are some patterns common to particular diagnostic categories. For example, those with headache disorders are often discharged at the first appointment. By contrast, patients with movement disorders are seen for regular follow-up appointments. It is likely that such differences reflect condition-specific requirements for ongoing specialist clinic management. Primary headache disorders can often be managed in primary care, although some patients require neurologist input to guide primary care management [24]. Other chronic neurological conditions such as Parkinson’s disease (PD) are likely to require ongoing neurologist supervision due to the specialist nature of disease management, and National Institute for Health and Care Excellence (NICE) guidelines for PD suggest follow up appointments should be scheduled every 6 to 12 months [25], which may go some way to accounting for the 6 monthly cycle seen in Fig. 4.

Managing the number, frequency and type of individual patient follow-up appointments relies on many different factors, including the type of diagnosis given. This study shows that there are varied ways in which patients interact with neurology services, and although there are some commonalities between patients with the same diagnosis, there are also differences. This indicates the need for a flexible approach to appointment planning, a conclusion which is supported by the Getting It Right First Time (GIRFT) report released in September 2021. This report recommends that, for all patients with chronic neurological conditions, outpatient departments should “consider arranging clinically triggered follow-ups for patients with pending results, personalised patient-initiated follow-ups for patients with disease in remission or with stable disease, as well as the traditional timed follow-up appointments” [5].

This study has also shown that some patients have unexpected sequences, for example being discharged on a first appointment and yet returning for further follow-up. It is likely that a number of factors are responsible for this, such as an initial discharge being conditional upon the outcome of diagnostic investigations, a further appointment requested by the patient’s GP to explain investigation results where the GP may lack capacity to relay such information, or a patient initiating a follow-up appointment through contact with a different member of the booking team. This finding needs further investigation to explore the extent to which the observed appointment sequences deviate from planned sequences, in order to better understand what drives such differences.

Limitations

This study focuses on a single clinic, so it is limited by both the amount of data available and the generalisability of the findings. Even with data from multiple clinics different types of analysis would need to be undertaken to move from the observational analysis of SSA to an understanding of why we see the results we have found. Furthermore, there are many stages during SSA where a different decision, for example to use a different algorithm to measure dissimilarity, could have effects on the results. More work needs to be done to understand the magnitude of the effects of choosing different parameters.

In this study we analyse the results at the level of diagnostic category, even though for some individuals more specific diagnosis will have been made. This is necessary both because the size of the study limits the amount of detail we can observe, and because specific diagnosis was not routinely coded at neurology outpatient appointments when the data for this study was collected. Routine coding of diagnoses, coupled with larger datasets would allow for a more detailed analysis of the differences in appointment sequences between diagnoses.

Benefits

We have shown that neurology outpatients is a complex environment. Patients have many different diagnoses, with significant variation in multiple dimensions, including patient needs and expectations, as well as a multitude of condition-specific and clinician-directed elements, all of which influence the planned and/or observed number and types of appointments. Using SSA has allowed us to visualise distinct sequences and see which types of sequences are most common. Identifying common patterns, whilst acknowledging the breadth of the differences, can help to inform future planning. This study provides a starting point for understanding neurology outpatients and should offer support in the wider effort to meet targets and standards, and ultimately to improve patient access based on clinical need, as well care delivery.

Future work

The data for this study were acquired prior to the COVID-19 pandemic, and it is possible that data collected post-pandemic would show different patterns in appointment sequences. For example, the use of remote services adopted during the pandemic, such as telehealth consultations instead of face-to-face appointments, might have changed the pattern and timing of follow-up appointments. Further work is needed to verify this. In addition, it is possible that the release of the GIRFT report in 2021 may have influenced the policy and practice of when and how follow-up appointments are offered. Examining the impact of these two changes offers an interesting avenue for future research.

Future work could also expand the current research to a national level which would facilitate much more comprehensive understanding of patterns of outpatient care. With larger datasets more detail could be examined, for example looking in more depth at diagnosis-specific sequences. In addition, national level research could also be used to highlight differences within and between regions, examining variation and its potential causes. This study only looks at a single clinic in a region which has a particularly low consultant to population ratio; it would be informative, for example, to compare this to the types of appointment sequences seen in areas which are better resourced with consultant neurologists.

Conclusion

SSA is a useful methodology for exploring patterns of outpatient appointments, especially patterns of appointment type. Neurology outpatient appointments show great diversity across all diagnostic categories, but there are some patterns which are more common within specific diagnoses. Information about these common patterns could be used to inform the structure of future outpatient appointments, especially when considering initiatives such as the NHS Outpatient Transformation Program.

Availability of data and materials

The datasets analysed during this study are not publicly available due to patient data confidentiality and restrictions imposed by the Health Research Authority (HRA). Data are available from the authors on reasonable request and with permission of the HRA.

Abbreviations

DMT:

Disease Modifying Therapy

GIRFT:

Getting It Right First Time

GP:

General Practitioner

MS:

Multiple Sclerosis

NHS:

National Health Service

NICE:

National Institute for Health and Care Excellence

PD:

Parkinson’s Disease

SSA:

State Sequences Analysis

References

  1. NHS. Priorities and operational planning guidance. 2022. Available from: https://www.england.nhs.uk/wp-content/uploads/2022/02/20211223-B1160-2022-23-priorities-and-operational-planning-guidance-v3.2.pdf [cited 31 Oct 2022].

  2. NHS. Principles and approach to deliver a personalised outpatient model. 2022. Available from: https://www.england.nhs.uk/wp-content/uploads/2022/05/B1388_i_principles-and-approach-to-deliver-a-personalised-outpatient-model_300322.pdf [cited 31 Oct 2022].

  3. National Audit Office. Services to people with neurological conditions: progress review. 2015.

  4. House of Commons Committee of Public Accounts. Services to people with neurological conditions: progress review. 2016. Available from: https://publications.parliament.uk/pa/cm201516/cmselect/cmpubacc/502/502.pdf [cited 1 Jun 2020].

  5. Fuller G. Neurology GIRFT programme national specialty report. 2021. Available: https://www.gettingitrightfirsttime.co.uk/medical-specialties/neurology/.

  6. Abbott A. Sequences of social events: concepts and methods for the analysis of order in social processes. Hist Methods J Quant Interdiscip Hist. 1983;16(4):129–47.

    Article  Google Scholar 

  7. Liao TF, Bolano D, Brzinsky-Fay C, Cornwell B, Fasang AE, Helske S, et al. Sequence analysis: its past, present, and future. Soc Sci Res. 2022;107:102772.

    Article  PubMed  Google Scholar 

  8. Brodeur S, Vanasse A, Courteau J, Courteau M, Stip E, Fleury MJ, et al. Antipsychotic utilization trajectories three years after initiating or reinitiating treatment of schizophrenia: a state sequence analysis approach. Acta Psychiatr Scand. 2022;145(5):469–80.

    Article  CAS  PubMed  Google Scholar 

  9. Vanoli J, Nava CR, Airoldi C, Ucciero A, Salvi V, Barone-Adesi F. Use of State sequence analysis in pharmacoepidemiology: a tutorial. Int J Environ Res Public Health. 2021;18(24):13398.

    Article  PubMed  PubMed Central  Google Scholar 

  10. Martin GL, Atramont A, Mazars M, Tajahmady A, Agamaliyev E, Singer M, Leone M, Legrand M. Days Spent at Home and Mortality After Critical Illness: A Cluster Analysis Using Nationwide Data. Chest. 2023;163(4):826–42. https://doi.org/10.1016/j.chest.2022.10.008.

  11. Le Meur N, Gao F, Bayat S. Mining care trajectories using health administrative information systems: the use of state sequence analysis to assess disparities in prenatal care consumption. BMC Health Serv Res. 2015;15(1):200.

    Article  PubMed  PubMed Central  Google Scholar 

  12. Le Meur N, Vigneau C, Lefort M, Lebbah S, Jais JP, Daugas E, et al. Categorical state sequence analysis and regression tree to identify determinants of care trajectory in chronic disease: example of end-stage renal disease. Stat Methods Med Res. 2019;28(6):1731–40.

    Article  PubMed  Google Scholar 

  13. Vanasse A, Courteau J, Courteau M, Benigeri M, Chiu YM, Dufour I, et al. Healthcare utilization after a first hospitalization for COPD: a new approach of state sequence analysis based on the ‘6W’ multidimensional model of care trajectories. BMC Health Serv Res. 2020;20(1):1–15.

    Article  Google Scholar 

  14. Vanasse A, Courteau J, Courteau M, Roy MA, Stip E, Fleury MJ, et al. Multidimensional analysis of adult patients’ care trajectories before a first diagnosis of schizophrenia. Schizophr Heidelb Ger. 2022;8(1):52.

    Article  Google Scholar 

  15. McKay R, Letarte L, Lebel A, Quesnel-Vallée A, TORSADE Cohort Working Group. Exploring social inequalities in healthcare trajectories following diagnosis of diabetes: a state sequence analysis of linked survey and administrative data. BMC Health Serv Res. 2022;22(1):131.

    Article  PubMed  PubMed Central  Google Scholar 

  16. Katzenberger B, Koller D, Strobl R, Kisch R, Sanftenberg L, Voigt K, et al. Referral trajectories in patients with vertigo, dizziness and balance disorders and their impact on health-related quality of life and functioning: results from the longitudinal multicenter study MobilE-TRA. J Neurol. 2022;269(12):6211–21.

    Article  PubMed  PubMed Central  Google Scholar 

  17. Leblanc S, Roux J, Tillaut H, Le Page E, Leray E. Disease-modifying therapy usage in patients with multiple sclerosis in France: a 6-year population-based study. Rev Neurol (Paris). 2021;177(10):1250–61.

    Article  CAS  PubMed  Google Scholar 

  18. Roux J, Grimaud O, Leray E. Use of state sequence analysis for care pathway analysis: the example of multiple sclerosis. Stat Methods Med Res. 2019;28(6):1651–63.

    Article  PubMed  Google Scholar 

  19. Roux J, Kingwell E, Zhu F, Tremlett H, Leray E. Care consumption of people with multiple sclerosis: a multichannel sequence analysis in a population-based setting in British Columbia, Canada. Mult Scler J. 2021. https://doi.org/10.1177/13524585211016726.

    Article  Google Scholar 

  20. Bookstein A, Kulyukin VA, Raita T. Generalized hamming distance. Inf Retr. 2002;5(4):353–75.

    Article  Google Scholar 

  21. Lesnard L. Using optimal matching analysis in sociology: Cost setting and sociology of time. InAdvances in sequence analysis: Theory, method, applications. Cham: Springer International Publishing; 2014. pp. 39–50 .

  22. Vijaya, Sharma S, Batra N. Comparative Study of Single Linkage, Complete Linkage, and Ward Method of Agglomerative Clustering. In: 2019 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COMITCon). 2019. p. 568–73. Available from: https://ieeexplore.ieee.org/abstract/document/8862232 [cited 16 Oct 2023].

  23. Batool F, Hennig C. Clustering with the average silhouette width. Comput Stat Data Anal. 2021;158:107190.

    Article  Google Scholar 

  24. NHS England. NHS RightCare Headache and Migraine Toolkit. Available from: https://www.england.nhs.uk/rightcare/toolkits/headache-and-migraine-toolkit/. [cited 18 Jan 2023].

  25. NICE guidance for Parkinson’s disease. NICE. Available from: https://www.nice.org.uk/guidance/ng71/ifp/chapter/Follow-up-checks [cited 18 Jan 2023].

Download references

Acknowledgements

Not applicable.

Funding

Fran Biggin is funded by an EPSRC doctoral training partnership grant number EP/R513076/1. The funder of the study had no role in study design, data collection, data analysis, data interpretation, or writing of the report. The corresponding author had full access to all the data in the study and had final responsibility for the decision to submit for publication.

Author information

Authors and Affiliations

Authors

Contributions

FB: Conceptualisation, methodology, software, formal analysis, interpretation, writing – original draft, visualisation. QA: validation, data curation. TH: validation, data curation. JK: Conceptualisation, interpretation, writing – review and editing, supervision, funding acquisition. HE: Conceptualisation, interpretation, writing – review and editing, supervision. All authors approved the final manuscript.

Corresponding author

Correspondence to Fran Biggin.

Ethics declarations

Ethics approval and consent to participate

HRA approval granted on 30 May 2019 (Ref: 255676). Lancaster University Faculty of Health and Medicine Research Ethics Committee approval granted on 17 June 2019 (Ref: FHMREC18092). The need for informed consent was waived by the North West – Preston Research Ethics Committee and the Confidentiality Advisory Group (CAG). All methods were performed in accordance with the relevant guidelines and regulations.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1: Supplemental Table 1.

Patient characteristics for the 5 clusters resulting from SSA on the sequences focussed on appointment timing. Chi-square tests were carried out to test for significance and statistically significant p-values are highlighted in bold (Bonferroni adjustments for multiple testing were used). Supplemental Figure 1. Visualisation of the 5 clusters resulting from SSA on the sequences focussed on appointment timing. The most common sequence in each cluster is oriented at the base of the y-axis and the height of the bars represents the frequency of that sequence within the cluster. Cluster size is included in brackets in the y-axis title.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Biggin, F., Ashcroft, Q., Howcroft, T. et al. Discovering patterns in outpatient neurology appointments using state sequence analysis. BMC Health Serv Res 23, 1208 (2023). https://doi.org/10.1186/s12913-023-10218-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s12913-023-10218-y

Keywords