The core of the research will be the randomised controlled trial. 48 primary care clinics in the city will be randomly chosen either 1) to get the whole package of patient management tool plus training, or 2) only to get the patient management tool (which we expect will make little difference without training). The investigators will compare patients in these two groups of clinics to see the effects of the training. They will use the clinics' electronic medical records to identify about 2000 adults diagnosed with asthma or COPD. After the training starts they will follow these patients up for a year, and assess whether they are being appropriately treated and tested. They will also compare the rates of new diagnoses of asthma and COPD in each clinic, and various health indicators.