Abstract:The paper introduces the basic concepts of data mining and association rule, mines and analyzes the medication data of pneumonia in children by adopting the Apriori algorithm, summarizes overall medication, high-frequency medication, medication combination, and the association rule of medication, provides pediatric clinical specialists with scientific basis in the aspects of scientific study and disease diagnosis, which is conducive to the safety and standardization of safe medication for children.