The association between unexpected weight loss and cancer diagnosis in primary care: a matched cohort analysis of 65,000 presentations

We aimed to understand the time period of cancer diagnosis and the cancer types detected in primary care patients with unexpected weight loss (UWL) to inform cancer guidelines. This retrospective matched cohort study used cancer registry linked electronic health records from the UK’s Clinical Practice Research Datalink from between 2000 and 2014. Univariable and multivariable time-to-event analyses examined the association between UWL, and all cancers combined, cancer site and stage. In all, 63,973 patients had UWL recorded, of whom 1375 (2.2%) were diagnosed with cancer within 2 years (days-to-diagnosis: mean 181; median 80). Men with UWL (HR 3.28 (2.88–3.73)) and women (1.87 (1.68–2.08)) were more likely than comparators to be diagnosed with cancer within 3 months. The association was greatest in men aged ≥50 years and women ≥70 years. The commonest cancers were pancreas, cancer of unknown primary, gastro-oesophageal, lymphoma, hepatobiliary, lung, bowel and renal-tract. The majority were late-stage, but there was some evidence of association with stage II and stage III cancers. In the 3–24 months after presenting with UWL, cancer diagnosis was less likely than in comparators. UWL recorded in primary care is associated with a broad range of cancer sites of early and late-stage.


INTRODUCTION
Many developed countries have national strategies to improve survival from cancer. A key component is diagnosing cancer earlier. 1 National guidelines encourage primary care clinicians/ general practitioners (GPs) to act on 'alarm' symptoms, such as haemoptysis or rectal bleeding, and to refer patients with these symptoms rapidly for specialist investigation. 2,3 However, half of patients with cancer present with non-specific symptoms, such as unexpected weight loss, that do not point to a specific cancer site. 4,5 These patients have longer times to diagnosis, are less likely to be referred urgently, and more likely to be diagnosed as an emergency or at an advanced stage. [6][7][8][9][10] Given that investigations for possible cancer in these patients need to be wider-ranging than for localising symptoms, 11,12 perhaps with bespoke clinical services, 13,14 we need to understand which cancers are diagnosed in patients presenting to primary care with unexpected weight loss.
A systematic review from 2018 found 25 primary care studies reporting a positive association between presenting to primary care with unexpected weight loss and a subsequent diagnosis of 10 different cancers. 15 The sensitivity of unexpected weight loss for cancer ranged from 2% to 47%, the specificity from 92% to 99%. None of the studies reported on cancer stage; knowing this is crucial when considering how to improve outcomes. The review may have incorrectly estimated the association between unexpected weight loss and cancer as for some cancer sites no evidence was available. Moreover, some study designs in the review were affected by bias. For example, sensitivity was higher in studies at risk of recall bias and positive predictive values were higher in case-control studies compared with cohort studies on the same tumour site. Furthermore, most studies examined the association between unexpected weight loss and a diagnosis of cancer within the next 2 years, but it is plausible that the association between unexpected weight loss and cancer diagnosis changes over time. 16 Therefore, since the current evidence on this topic is limited and conflicting, we aimed to examine the association between unexpected weight loss and a diagnosis of cancer, and whether any association varies over time, for all cancers combined and separately by cancer site and cancer stage.

Study design and population
This was a retrospective matched cohort study using electronic health records (EHR) from the Clinical Practice Research Datalink (CPRD): a representative anonymised primary care records database covering 6.9% of the UK population. 17 After acceptance by CPRD's Independent Scientific Advisory Committee (16_164A2A) a protocol was published, 18 to which we added sensitivity analyses. Cohort entry, exclusions and exit are summarised in Fig. 1. www.nature.com/bjc Patients with and without unexpected weight loss. We identified which unexpected weight loss codes that were truly associated with objectively measured weight loss in a previous internal validation study and used these to define unexpected weight loss in this study 19 (Supplementary information 1). Five patients of the same year of birth and sex who had consulted in the same practice within 3 months of the patient with unexpected weight loss were matched as a comparator to each patient with coded unexpected weight loss. We then excluded cases and comparators registered within the previous year, prescribed a weight loss medication or who had bariatric surgery in the previous 6 months, plus patients with a previous diagnosis of cancer. If a patient with unexpected weight loss was excluded, their matched comparators were excluded. If a comparator patient without unexpected weight loss was excluded, we excluded only that one comparator.
Identifying patients with subsequent diagnosis of cancer. The records were examined for a diagnosis of cancer for 2 years after the index date. Cancer diagnoses were identified using codes in CPRD and codes for all ICD-O categories in the linked cancer registry data. We grouped cancers together typically investigated together. For example, renal, ureteric and bladder cancer as renal tract, and liver, gallbladder and biliary tree as hepatobiliary (HPB). 18 The first cancer code following the index date was used to define cancer type. We classified cancer of unknown primary (CUP) if patients' records indicated secondary cancer but no primary. Cancer stage was analysed by individual stage, and then grouped as early-stage (I and II) and late-stage (III and IV).
Covariates. Potential confounders were taken from the dataset before the index date as defined in Table 1. Missing data was categorised using a missing indicator variable as shown in Table 1. We also adjusted for comorbidity that could cause weight loss as defined in our previous study of weight recording in primary care. 20 All code lists are available from the corresponding author.

Statistical analysis
Time to event analyses. The number of days between the index date and the cancer diagnosis is defined as the diagnostic interval (DI). 21 It was summarised using the median (inter-quartile range (IQR)) and mean (standard deviation (SD)) for cases and comparators, and differences between medians assessed using the k-sample test. We identified whether unexpected weight loss was associated with being diagnosed with cancer for all cancers combined and separately by cancer type, cancer stage, by gender and by age-group. To do so, we plotted and compared smoothed hazard and cumulative hazard rates, over time from the index consultation, assessing significance using the Wilcoxon rank test. Multivariable Cox models derived hazard ratios (HRs) for cancer for each 6-month period of follow-up, adjusted for all covariates as detailed in Table 1. We chose to do this a priori to explore the time varying nature of the predictive value for cancer diagnosis. We assessed whether these models met the proportional hazards assumption using the Schoenfeld residuals test (SRT). 22 The SRT   failed for cancer overall in both genders and lung cancer in men in the 6-month models ( Table 2). After refitting Cox models with an initial 3-month interval and stratifying the analysis by comorbidity, all cancers passed the SRT. Adjusted HRs for 0-3 m and 0-6 m intervals were plotted in order of magnitude, and by gender.
Sensitivity analyses. We conducted four sensitivity analyses. Firstly, we assessed further how the HR changed over time by fitting flexible parametric Royston-Parmar (RP) models for cancer overall, adjusted for all covariates, using restricted cubic splines with 4 degrees of freedom. 23 Secondly, we calculated HRs including a matching variable in the Cox models to assess the effect of including a matching variable on HR precision, because we wanted to assess whether ignoring the matching variable led to significant bias. 24 Thirdly, to identify thresholds that could inform investigative action, we calculated the predicted HR for cancer in the next 3 months for a person with unexpected weight loss based on their age and gender by substituting age-group with age as a continuous variable in the 0-3 m Cox models, centring age at 60 years, including interactions between unexpected weight loss, age and gender, and calculating marginal effects at representative values of age. 25,26 These interactions were chosen based on previous literature reporting a different effect of unexpected weight loss by gender and age. 15 Finally, to assess the validity of our results, we fitted multinomial logistic regression models to assess whether the association between unexpected weight loss and a diagnosis of cancer in the next six months was similar to the Cox models for each cancer site in the primary analysis.

Summary of cohort
In all, 63,973 of 4,832,140 (1.3%) patients had at least one record of unexpected weight loss in the eligible population ( Fig. 1) (1.5% prior to exclusions). Table 1  Risk of cancer diagnosis following presentation with unexpected weight loss Over the 2 years, the risk of a cancer diagnosis was higher in patients with unexpected weight loss than controls in the three months after the index consultation, but thereafter, the risk of cancer was lower than controls ( Fig. 2-left panel, Supplementary information 3). The same pattern was observed after adjustment for potential confounders and after taking into account matching in the first and second sensitivity analyses ( Table 2, Supplementary information 4). Expressed as the cumulative hazard of cancer, 1.2% of patients with unexpected weight loss and 0.5% without unexpected weight loss had been diagnosed with cancer in the first three months after the index consultation, a difference that narrowed to 1.6% and 1.5% by 9 months and then inverted to 1.8% and 2.0% by 12 months (Fig. 2-right panel).
Gender and age-group Overall, the time to diagnosis was significantly shorter in men with unexpected weight loss (median 67 days (IQR 22-212)) than women (median 111 days (IQR 33-358)) (Supplementary information 5). In the first 3 months men with unexpected weight loss had more than a 3-fold likelihood of being diagnosed with cancer compared to comparators (HR 3.28 (2.88-3.73)) in the Cox models, whereas for women it was less (1.85 (1.6-2.14)) ( Fig. 3, Table 2). The same difference between sexes was seen across the first 6 months (Fig. 3, Table 2). In the third sensitivity analysis, there were statistically significant interactions between unexpected weight loss and gender (p < 0.01), gender and age (p < 0.01), and unexpected weight loss, age and gender (p < 0.01). Unexpected weight loss was associated with a decreased risk of cancer in men under the age of 35 years compared to controls (Fig. 4 Unexpected weight loss was associated with an increased likelihood of pancreatic cancer, cancer of unknown primary, gastro-oesophageal, lymphoma, HPB, lung, bowel and renal tract compared with controls. Unexpected weight loss was associated with a decreased likelihood of breast and prostate cancer than controls (Fig. 5, Table 2). Bone connective and soft tissue cancers were significantly increased in men over 3 months and 6 months. Myeloma in men and ovarian in women were significantly increased over 3 months in patients with unexpected weight loss but not over 6 months (Fig. 5, Table 2). Bowel and renal tract cancer were not significantly increased at 6 months for women with unexpected weight loss but were at 3 months (Fig. 5, Table 2).
For both genders, unexpected weight loss was associated with increased late-stage cancer diagnoses (Fig. 6). This was most often stage IV cancer but there was also an increased likelihood of stage III in men (Table 2). An increased likelihood of stage II cancer was observed for men (3.38 (1.3-8.82)) but there was no difference when earlier-stage cancers were combined.

Summary of findings
Patients for whom their GP records unexpected weight loss are at increased risk of the following cancers within the next three months: pancreatic, cancer of unknown primary, gastro-oesophageal, lymphoma, hepatobiliary, lung, bowel and renal tract. The association is greatest in men aged ≥50 years and in women aged ≥70 years. Conversely, breast cancer and prostate cancer are less likely with unexpected weight loss than comparators. Most cancers associated with unexpected weight loss are diagnosed at a late-stage, but there was also evidence for an association between unexpected weight loss and the diagnosis of stage II and stage III cancers. After the initial three-month period, the risk of a cancer diagnosis dropped below the risk of cancer in patients without unexpected weight loss, and this reduction is sustained for the following 21 months.

Strengths and limitations
To our knowledge this is the largest study to examine the association between unexpected weight loss and subsequent cancer diagnosis in primary care. By using a matchedcohort design and time-to-event methods we have identified the period of time with the greatest likelihood of a cancer diagnosis. We adjusted for potential confounders to establish the independent association between weight loss and cancer. By using cancer registry linked data we have been able to investigate the association between unexpected weight loss and Weight loss and cancer in primary care BD Nicholson et al. We took care to ensure that the cohort with unexpected weight loss was accurately defined. Firstly, we relied on coded unexpected weight loss entries, as UK GPs do not weigh patients frequently enough to allow reliable identification of weight loss in the EHR. 20,27,28 Secondly, our internal validation study identified the codes which most consistently defined weight loss. 4,5,19 Thirdly, we excluded patients with a past history of cancer as they are at higher risk of cancer than the primary care population, 29 unlike several previous studies. 30,31 Including patients with past cancer would bias the study and lead to inflated estimates of association. Other studies have adjusted for previous cancer, though without considering how long ago the cancer was diagnosed. 32,33 Fourthly, we excluded patients with evidence of intentional weight loss with medication or surgery. Finally, when related to a common disease state, unexpected weight loss usually represents a deterioration or complication, such as endstage COPD or wasting in dementia. 34 The prevalence of these conditions is potentially high, and it is challenging to identify    severity of disease in EHRs. We therefore adjusted for comorbidity in our multivariable analyses. Most previous studies have used a 1-2 year pre-diagnostic period to examine the association between unexpected weight loss and cancer diagnosis. 16 A common justification is 'a 2-year period was used, since this represents the period of time during which existing cancers are likely to become clinically manifest'. 32,33 This does not allow the predictive value of a given symptom to vary during different periods before diagnosis. We show that the probability of cancer is initially much higher in patients with unexpected weight loss, once it is recorded, after which it falls below the probability in patients without unexpected weight loss. This non-proportional hazard highlights the mechanism that could lead to inaccurate estimates of association between symptoms and cancer diagnoses. For example, the probability of cancer could be underestimated with too long a follow-up period: initially high probabilities are counterbalanced by later lower probabilities attenuating the hazard ratio to the null. Similarly, predictive values could be overestimated as cancers occurring after the 'at-risk' period would be incorrectly classified as true positives. Restricting our analysis to the period of greatest probability resulted in low event numbers for some cancer sites and uncertainty of the estimates of association. Creating larger cancer groups to overcome this would have countered our intent to define clinically sensible groups of cancers that are diagnosed in a common pathway. To assess whether the results were robust, we examined different statistical models and the strengths of association between cancer site and stage over the first 3 and first 6 months after presenting with unexpected weight loss and found similar results whichever analysis was used.
Findings in context A systematic review found evidence that unexpected weight loss was associated with 10 different cancers. 15 Since then, English and Swedish case-control studies have reported that weight loss is associated with acute and chronic leukaemia and non-metastatic colorectal cancer. 35,36 For some cancer sites there have been no studies on the association with unexpected weight loss in primary care. Our analysis is the first to focus on the association between unexpected weight loss and cancer across all sites.
Few studies have reported the association between unexpected weight loss and cancer stage in primary care. 15 A recent crosssectional study using data from the English National Cancer Diagnosis Audit (NCDA) of reported that 49% of 584 cancers associated with unexpected weight loss were diagnosed at stage IV. 37 In our study, 66-70% of staged cancers were diagnosed at Adjusted hazard ratios for cancer in people with unexpected weight loss in men (5a) and women (5b) in the 6 months following presentation derived using cox regression adjusted for all covariates.
Weight loss and cancer in primary care BD Nicholson et al. stage IV, depending on gender and the period of follow-up. These differences are likely to relate to the method of data collection: the NCDA relied on retrospective review of coded and uncoded (free text) EHR data whereas our study relied on coded EHR data only. A previous study investigating ovarian cancer diagnosis showed that weight loss was reported more frequently when data were collected by questionnaire or telephone interview compared with using only coded EHR data. 38 Our finding that breast cancer is negatively associated with the recording of unexpected weight loss has not been reported before. A case-control study excluded unexpected weight loss as it was present in <1% of patients, reflecting that breast cancer much more commonly follows other symptoms in primary care. 39 A negative association means that breast cancer may still be diagnosed following unexpected weight loss, but this is less likely than in patients without unexpected weight loss. Our finding that prostate cancer is negatively associated with unexpected weight loss conflicts with two previous primary care studies reporting positive associations. 32,40 This difference could be a consequence of the longer period of follow-up used without consideration of non-proportional hazards. Our estimate of association between unexpected weight loss and myeloma was imprecise as there were few with myeloma, but a previous case-control study found an increased risk of myeloma in the 3 months following presenting with unexpected weight loss. 41 The literature links unexpected weight loss with long delays in the interval between the symptom onset and the final cancer diagnosis (the diagnostic interval). 6 Our analysis shows that patients are diagnosed with cancer within three months of their GP recording it (the health system interval). Walter et al. reported unexpected weight loss as the symptom associated with the longest interval between symptom onset and GP presentation (the patient interval) in patients later diagnosed with pancreatic cancer. 10 Further research is required to understand how patients experience unexpected weight loss prior to a diagnosis of cancer to inform strategies to promote earlier GP attendance.
Implications for research and practice Our findings have important implications for future research. NICE recommend urgent cancer investigation for patients with clinical features with a positive predictive value ≥3%. We demonstrate that predictive values derived from observational studies may be incorrect if a follow-up period longer (or shorter) than the symptoms' 'at-risk' period is used. Studies used to inform policy should therefore report estimates of association for the period of increased risk, which will likely vary by symptom and cancer site.
Previous studies suggest that health-care systems focussed on investigating individual cancer sites based on alarm symptoms might disadvantage patients with non-specific symptoms. 12 A Danish study showed that 6% of patients who received a negative result after single cancer site investigation were rereferred within 6 months to another, 4.4% of whom are diagnosed with cancer. 42 Our results show that unexpected weight loss is associated with several cancer sites and so a broader investigative strategy may be better suited to these patients than one focussed on ruling-out a single cancer site. Focus in Northern Europe has shifted to the role of multidisciplinary diagnostic centres (MDCs) to achieve this. 12,14,43,44 Emerging evidence from MDC pilot sites in the UK show that unexpected weight loss is the most common reason for referral. 14,44 Insights gained from the ongoing evaluation of MDCs may inform the optimal diagnostic process for patients referred with unexpected weight loss.
As unexpected weight loss is a symptom of a wide range of benign and serious conditions related to almost any bodily system, cancer must not be considered in isolation. 34,45 Evidence from MDCs shows that serious disease, other than cancer, is diagnosed in up to one third of patients referred. 11 Most patients presenting to primary care with unexpected weight loss will not have cancer or serious disease and based on this study only 0.2% of patients under 60 years old will have cancer. In many countries, efforts are underway to reduce unnecessary medical intervention that does not add value for patients and may even cause harm. 46 In the US, the Institute of Medicine estimates that $105 billion could be saved annually by reducing unnecessary intervention by 50%. 47 In the UK, increasing diagnostic activity in the UK related to 'alarm' symptoms with a PPV ≥ 3% is already stretching diagnostic capacity. 48,49 In this study the approximate PPVs for a cancer diagnosis within 3 months in men aged ≥50 years and women aged ≥70 years with unexpected weight loss were 2.4% and 1.5%, respectively, rising to 3.0% and 1.9% over a 6-month period. Research is urgently required to identify patients with unexpected weight loss at greatest risk of cancer and other serious diseases to  inform evidence-based guidelines by using additional risk factors, clinical features, and primary care tests. These tests would have to be easily accessible to GPs and reported quickly to avoid delays in referral to the appropriate speciality. For patients with unexpected weight loss not initially investigated for possible cancer, or in those with ongoing unexpected weight loss for whom initial investigation does not identify malignancy, primary care clinicians could employ a policy of watchful waiting over the subsequent 3 months when the risk of a cancer being detected is greatest. During this time, repeat evaluation may consider the necessity of further investigation and referral.

CONCLUSION
Presentation and recording of a first presentation of unexpected weight loss is uncommon in primary care (1.5% patients during the 14-year study period). However, unexpected weight loss may be a presenting feature of cancer in primary care that, when recorded in older people, warrants early investigation across a broad range of cancer sites. Future analyses must establish the role of risk factors and accompanying symptoms, signs and simple primary care tests that could safely be used to select patients with unexpected weight loss for further intensive cancer investigation.