Use NLP techniques to realize the automatic coding of ICD10. According to the input of the patient’s age, gender, medical order, admissions, progress note, surgical records, discharge, ICD-10 diagnostic codeICD-10 disposal code, perform machine learning model trainingcode prediction. In addition, the combination codemedical order-related coding rules in practice are used to establish corresponding rules to optimize the accuracy of AI prediction.