SUPPLEMENTAL DATA

Table S1. PMSI coding

Tuberculosis A150 Pulmonary tuberculosis, confirmed on microscopic exam of I501 Left ventricular failure expectoration, with or without culture J81 Pulmonary edema A151 Pulmonary tuberculosis confirmed with culture only I052 Mitral stenosis (rheumatic) with insufficiency A152 Pulmonary tuberculosis, with histological confirmation I081 Mitral and tricuspid involvement (rheumatic) A155 Tuberculosis of , and bronchi, with I083 Mitral, aortic and tricuspid valve involvement bacteriological and histological confirmation I342 Non­rheumatic mitral valve stenosis I681 Cerebral arteritis in infectious and parasitic diseases classified elsewhere I050 Mitral stenosis A156 Tuberculous , with bacteriological and histological Q232 Congenital mitral stenosis confirmation A157 Tuberculosis primary­infection of with bacteriological and histological confirmation Anticoagulant involvement A159 Non–defined tuberculosis of the , with Y442 Side effects of anticoagulant treatment during their bacteriological and histological confirmation therapeutic use A162 Pulmonary tuberculosis (with no mention of bacteriological D683 Hemorrhagic disorderss due to circulating anticoagulants and histological confirmation) A164 Tuberculosis of the larynx, trachea and bronchi (with no Vascular malformation mention of bacteriological or histological confirmation) Q252 Aortic atresia A190 Acute miliary tuberculosis, single location specified Q254 Others congenital malformations of aorta A191 Acute miliary tuberculosis, multiple locations Q257 Others congenital malformations of pulmonary artery A192 Unspecified acute miliary tuberculosis Q258 Others congenital malformations of great arteries A198 Other miliary tuberculosis I280 Arteriovenous fistula of pulmonary vessels A199 Unspecified miliary tuberculosis I719 Aortic aneurysm of unspecified site (without mention of B909 Unspecified tuberculosis sequelae of respiratory tract rupture) M352 Behcet syndrome bronchopulmonary carcinoma C341 Malignant tumor of superior lobe, bronchi or lung Respiratory Infections C342 Malignant tumor of middle lobe, bronchi or lung J40 , (not specified as acute or chronic) C343 Malignant tumor of inferior lobe, bronchi or lung J10 with , other influenza virus identified C349 Unspecified bronchi or lung malignant tumor J11 influenza with pneumonia, virus not indentified C780 Pulmonary metastasis of malignant tumor J12 Adenoviral pneumonia D381 Neoplasm of uncertain behavior of trachea, and lung J13 Pneumonia due to Streptococcus pneumoniae J14 Pneumonia due to Haemophilus influenzae Benign pulmonary bronchial tumor J15 , not classified elsewhere D143 Benign tumor of bronchi and lungs J16 Pneumonia due to other infectious organisms, not classified elsewhere /bronchial dilatation J17 Pneumonia in diseases classified elsewhere J47 i J18 Pneumonia due to unspecified organism Q334 Congenital bronchiectasis J20 E840 Cystic Fibrosis with pulmonary manifestations A310 Pulmonary Infection due to atypical mycobacteria

Vascularitis Aspergillosis J991 Respiratory disorders in other diffuse connective tissue B440 Invasive pulmonary Aspergillosis disorders B441 Other pulmonary aspergillosis M317 Microscopic Micropolyangeitis B449 Unspecified aspergillosis M310 Hypersensitivity angeitis M301 Polyarteritis with lung involvement [Churg­Strauss] Bronchial Endometriosis N808 Other endometriosis I260 Pulmonary embolism, with acute cor pulmonale Foreign body I269 Pulmonary embolism (without acute cor pulmonale) T178 Foreign body in other and multiple parts of respiratory tract O880 Obstetric air embolism T174 Foreign body in trache O881 Amniotic fluid embolism T175 Foreign body in bronchus O883 Obstetrical Pyaemic and septic embolism O888 Other obstetrical embolism Pulmonary­ hemosiderosis E831 Disorders of iron metabolism thoracic trauma S2580 Injury of other thoracic vessels S270 Traumatic S272 Traumatic Hemopneumothorax S273 Other injuries of lungs S275 Injury of thoracic trachea S277 Multiple injuries of intrathoracic organs S278 Injury of other specified intrathoracic organs S298 Other specified injuries of thorax S299 Unspecified injury of thorax

1 2012 2011 2010 2009 2008

Incident cases 16,713 15,818 15,196 15,666 14,559 Duration of hospital stay 8.7 +/‐ 13.8 8.2 +/‐ 12.4 8.0 +/‐ 12.2 7.7 +/‐ 11.8 7.7 +/‐ 12.3 (mean +/‐ SD) ICU (%) 7.1 10.9 10.6 9.8 6.6 Thoracic surgery (%) 1.3 1.3 1.3 1.1 0.7

Flexible fibroscopy (%) 43.0 44.8 47.3 49.2 50.1 Rigid bronchocopy (%) 0.5 0.5 0.5 0.5 0.4

Endobronchial 43.2 45 47.4 49.3 50.3 intervention (%)

CT scanner (%) 32.1 31.8 31.2 30.2 28.8

Table S2. Characteristics (ICU admission and interventional procedures) for the initial stay for hemoptysis

SD: standard deviation; ICU: intensive care unit; CT: computerized tomography;

2 14 13 12 11 10 2008 e

g 9 a

t 2009 n

e 8 c 2010 r e

P 7 2011 2012 6 5 4 3 1 2 3 4 5 6 7 8 9 10 11 12 Month of discharge

Figure S1: Seasonal variations of hemoptysis with associated diagnosis of infectious disease

3 Figure S2. Geographical distribution of hemoptysis associated with tuberculosis The distribution of the incidence of hemoptysis due to active tuberculosis is superimposable on the distribution of total hemoptysis in France (see Figure 1). Areas with the highest population densities have the highest rates of hemoptysis due to tuberculosis.

4 2008 BPC TB SD VM ASP BR/CF

cryptogenic 9,3 1,4 0,3 0,2 0,6 2,7 Respiratory 9,7 2,6 0,5 0,2 0,9 6,4 infections Table S3. Frequency of occurrence of a new diagnosis during the 3 years of follow­up according to initial diagnosis. (%) BPC: bronchopulmonary cancer; TB: tuberculosis; SD: systemic disease; VM: vascular malformation; ASP: aspergillosis; BR/CF: bronchiectasis/cystic fibrosis

12

10 9,6 9,3

8

6 2008

2009 4 4,2 4 4 3,3

2 1,7 1,6

0 total 1month 2 months >2 months

Figure S3. Delay to onset of bronchopulmonary cancer during the 3 years of follow up of cryptogenic hemoptysis The delay to onset of a diagnosis of bronchopulmonary cancer was analyzed. The first column represents all incident cases with cryptogenic hemoptysis; in 2009, 9.6% of incident hemoptysis cases were diagnosed as bronchopulmonary cancer during their follow up. Other columns represent the time from the first episode of hemoptysis to the diagnosis of lung cancer

5 12 10,4 10 9,7

8

6 2008 4,8 2009 4,3 4 3,3 3,6

2,1 2 2

0 total 1 month 2 months > 2 months

Figure S4. Delay to onset of bronchopulmonary cancer during the 3 years of follow up of hemoptysis initially diagnosed as “respiratory infection” The first column represents all incident cases with hemoptysis associated with respiratory infection; in 2009, 10.4% of these patients experienced recurrence with the diagnosis of bronchopulmonary cancer during the 3 years of follow up. Other columns represent the time from the first episode of hemoptysis to diagnosis of lung cancer: within the first month, within the first 2 months and beyond.

2009 BPC TB SD VM ASP RI BR/CF Cr

cryptogenic 14.3 3.3 0.3 0.9 1.2 12.9 8.9 61.1 respiratory 12.0 3.1 0 0 1.9 47.7 7.8 34.5 infection

Table S4. Frequency of occurrence of a new diagnosis during the recurrences, according to initial diagnosis. (%) BPC: bronchopulmonary cancer; TB: tuberculosis; SD: systemic disease; VM: vascular malformation; RI: respiratory infections; ASP: aspergillosis; BR/CF: bronchiectasis/cystic fibrosis; Cr: cryptogenic

6