Supplementary Table 1. Bladder cancer and cystectomy codes

Code / Description
Bladder cancer
B49..00 / Malignant neoplasm of urinary bladder
B490.00 / Malignant neoplasm of trigone of urinary bladder
B491.00 / Malignant neoplasm of dome of urinary bladder
B492.00 / Malignant neoplasm of lateral wall of urinary bladder
B493.00 / Malignant neoplasm of anterior wall of urinary bladder
B494.00 / Malignant neoplasm of posterior wall of urinary bladder
B495.00 / Malignant neoplasm of bladder neck
B496.00 / Malignant neoplasm of ureteric orifice
B49y.00 / Malignant neoplasm of other site of urinary bladder
B49y000 / Malignant neoplasm, overlapping lesion of bladder
B49z.00 / Malignant neoplasm of urinary bladder NOS
B917.00 / Neoplasm of uncertain behaviour of bladder
B917.12 / Transitional cell papilloma of bladder
BA04.00 / Neoplasm of unspecified nature of bladder
Cystectomy
7B20.00 / Total excision of bladder
7B20.11 / Total cystectomy
7B20000 / Radical cystoprostatourethrectomy
7B20100 / Radical cystourethrectomy - female
7B20200 / Radical cystoprostatectomy
7B20300 / Simple cystectomy
7B20400 / Cystectomy NEC
7B20500 / Cystourethrectomy
7B20y00 / Other specified total excision of bladder
7B20z00 / Total excision of bladder NOS
7B21.11 / Partial cystectomy
7B21100 / Partial cystectomy
Metastasis
B153.00 / Secondary malignant neoplasm of liver
B570.00 / Secondary malignant neoplasm of lung
B576000 / Secondary malignant neoplasm of retroperitoneum
B576100 / Secondary malignant neoplasm of peritoneum
B577.00 / Secondary malignant neoplasm of liver
B57y.00 / Secondary malignant neoplasm of other digestive organ
B58..00 / Secondary malignant neoplasm of other specified sites
B580.00 / Secondary malignant neoplasm of kidney
B583.00 / Secondary malignant neoplasm of brain and spinal cord
B583000 / Secondary malignant neoplasm of brain
B583100 / Secondary malignant neoplasm of spinal cord
B583z00 / Secondary malignant neoplasm of brain or spinal cord NOS
B584.00 / Secondary malignant neoplasm of other nervous system
B585.00 / Secondary malignant neoplasm of bone and bone marrow
B587.00 / Secondary malignant neoplasm of adrenal gland
B58y.00 / Secondary malignant neoplasm of other specified sites
B594.00 / Secondary malignant neoplasm of unknown site
B585000 / Pathological fracture due to metastatic bone disease
BB03.00 / M]Neoplasm, metastatic
BB13.00 / [M]Carcinoma, metastatic, NOS
1D18.00 / Pain from metastases
B56..11 / Lymph node metastases
B57..11 / Metastases of respiratory and/or digestive systems
B577.11 / Liver metastases

Supplementary Table 2. Algorithm performance for detecting incident bladder cancer

# Sampled / # True incident bladder cancers / PPV (%) for incident cancer / 95% CI
All patients / 194 / 182 / 93.8 / 89.4-96.7
Patients with cystectomy / 95 / 92 / 96.7 / 88.6-99.6
Patients without cystectomy / 99 / 90 / 90.9 / 83.4-95.7

Supplementary Table 3. Computation of the proportion of muscle-invasive bladder cancer that is captured by the algorithm for muscle-invasion among those with coded bladder cancer diagnosis in THIN

Codes that predict muscle-invasive / Muscle-invasive on chart review / Number Included in chart review / Weighted value a
A / Yes / Yes / 61 / 4.33
B / Yes / No / 26 / 1.84
C / No / Yes / 7 / 6.50
D / No / No / 91 / 84.5
Estimated proportion without weighting [A/(A+C)] = 89.7% (79.9-95.7)
Estimated proportion with weighting [A/(A+C)] = 40.0% (12.1-73.8)

a Weighted calculation based on N=1,347 patients in THIN with codes for muscle-invasive bladder cancer and N=17,626 patients in THIN with codes for superficial bladder cancer. Row A weighted value =[61*(1347/(1347+17626)]; Row B weighted value = [26*(1347/(1347+17626)]; Row C weighted value = [7*(17626/(1347+17626)]; and Row D weighted value = [91*(17626/(1347+17626)].