Table 1

Diagnostic (ICD-9) and procedural (CPT) codes used to generate predictor and outcome variables

VariableDiagnostic or procedure nameCode typeCode
Reference standard outcome for prediction model of aim 1
Obstructive sleep apnoeaObstructive sleep apnoea (adult or paediatric)ICD-9327.23
Unspecified sleep apnoeaICD-9780.57
PolysomnographySleep study, simultaneous recording of ventilation, respiratory effort, ECG or heart rate, oxygen saturation, attended by a technologistCPT95807
Any age, sleep staging with 1–3 additional parameters of sleep, attended by a technologistCPT95808
Age 6 years or older, sleep staging with 4 or more additional parameters of sleep, attended by a technologistCPT95810
Age 6 years or older, sleep staging with 4 or more additional parameters of sleep, with continuous positive airway pressure therapy or bi-level ventilation, attended by a technologistCPT95811
Medical comorbidities
Arterial hypertensionMalignant essential hypertensionICD-9401.0
Benign essential hypertensionICD-9401.1
Unspecified essential hypertensionICD-9401.9
Other malignant secondary hypertensionICD-9405.09
Other benign secondary hypertensionICD-9405.19
Other unspecified secondary hypertensionICD-9405.99
Pulmonary hypertensionPulmonary hypertensionICD-9416.0
Coronary artery diseaseCoronary atherosclerosis of unspecified type of vessel native or graftICD-9414.00
Coronary atherosclerosis of native coronary arteryICD-9414.01
Coronary atherosclerosis of autologous vein bypass graftICD-9414.02
Coronary atherosclerosis of non-autologous biological bypass graftICD-9414.03
Coronary atherosclerosis of artery bypass graftICD-9414.04
Coronary atherosclerosis of unspecified bypass graftICD-9414.05
Coronary atherosclerosis of native coronary artery of transplanted heartICD-9414.06
Coronary atherosclerosis of bypass graft (artery) (vein) of transplanted heartICD-9414.07
Aneurysm of heart (wall)ICD-9414.10
Aneurysm of coronary vesselsICD-9414.11
Dissection of coronary arteryICD-9414.12
Other aneurysm of heartICD-9414.19
Chronic total occlusion of coronary arteryICD-9414.20
Coronary atherosclerosis due to lipid rich plaqueICD-9414.30
Coronary atherosclerosis due to calcified coronary lesionICD-9414.40
Other specified forms of chronic ischaemic heart diseaseICD-9414.80
Chronic ischaemic heart disease unspecifiedICD-9414.90
DyslipidemiaPure hypercholesterolaemiaICD-9272.0
Pure hyperglyceridaemiaICD-9272.1
Mixed hyperlipidaemiaICD-9272.2
HyperchylomicronemiaICD-9272.3
Other and unspecified hyperlipidaemiaICD-9272.4
Other disorders of lipoid metabolismICD-9272.8
The following medical comorbidities are derived from ICD-9 codes, as defined by the Deyo Charlson Comorbidity Index:68
Myocardial Infarction, Congestive Heart Failure, Peripheral Vascular Disease, Cerebrovascular Accident, Dementia, Chronic Pulmonary Disease, Mild Liver Disease, Moderate to Severe Liver Disease, Diabetes with Chronic Complications, Diabetes without Chronic Complications, Hemiplegia or Paraplegia, Peptic Ulcer Disease
Primary Outcome for Aim 2 and Aim 3
PneumoniaPneumococcal pneumonia (Streptococcus pneumonia)ICD-9481
Pneumonia due to Klebsiella pneumoniaeICD-9482.0
Pneumonia due to PseudomonasICD-9482.1
Pneumonia due to Streptococcus, unspecifiedICD-9482.30
Pneumonia due to Staphylococcus, unspecifiedICD-9482.40
Pneumonia due to Staphylococcus aureusICD-9482.41
Methicillin resistant pneumonia due to Staphylococcus aureusICD-9482.42
Pneumonia due to Escherichia coliICD-9482.82
Pneumonia due to other Gram-negative bacteriaICD-9482.83
Pneumonia due to other specified bacteriaICD-9482.89
Bacterial pneumonia, unspecifiedICD-9482.9
Pneumonia, organism unspecifiedICD-9486
Pneumonia due to other specified organismICD-9483.8
Pneumonia in aspergillosisICD-9484.6
Bronchopneumonia, organism unspecifiedICD-9485
Pneumonitis due to inhalation of food or vomitusICD-9507.0
Pulmonary oedemaPulmonary congestion and hypostasisICD-9514
Acute oedema of lung, unspecifiedICD-9518.4
Congestive heart failureICD-9428.0
Fluid overloadICD-9276.6
Other fluid overloadICD-9276.69
ReintubationIntubation, endotracheal, emergency procedureCPT31500
Ventilation assist and management, initiation of pressure or volume preset ventilators for assisted or controlled breathing; hospital inpatient/observation, initial dayCPT94002
Respiratory failurePulmonary insufficiency following trauma and surgeryICD-9518.5
Acute respiratory failure following trauma and surgeryICD-9518.51
Other pulmonary insufficiency, not elsewhere classified, following trauma and surgeryICD-9518.52
Respiratory failureICD-9518.81
Other pulmonary insufficiency, not elsewhere classifiedICD-9518.82
Acute and chronic respiratory failureICD-9518.84
  • CPT, Current Procedural Terminology; ICD, International Classification of Diseases.