Case-based surveillance operates by collecting detailed information about each diagnosed case of a disease. This can include data such as the patient's demographic information, clinical symptoms, laboratory test results, and possible exposure sources. The collected data is then analyzed to determine trends, identify hotspots, and assess the effectiveness of public health interventions.