Objective. To investigate the effect of receiving comprehensive care on preoperative anxiety in patients admitted to the operating room at different times. Methods. A generative model was applied to a patient’s preoperative anxiety aid diagnostic model and used to address preoperative anxiety due to the patient. Group ICA first constructed a whole-brain dynamic functional connectivity network, and an initial dataset was constructed by Kendall’s ranking correlation coefficient method; then, an expanded dataset was constructed by a conditional deep convolutional generative adversarial network (CDCGAN), and finally, a dynamic classification study of patients with preoperative anxiety and healthy subjects was conducted by feature selection and discriminant models in turn. Seventy patients who entered the operating theatre at different times were retrospectively analyzed. Children who entered the operating theatre after 14:00 were included in the control group (
n
=
35
), and those who entered between 12:00 were included in the observation group (
n
=
35
). Patients in both groups were given comprehensive care, and preoperative anxiety was compared between the two groups. Results. The earlier the patients entered the operating room, the lower the preoperative anxiety. Conclusion. Comprehensive care could reduce the patients’ preoperative anxiety, keep their emotions stable, and improve their compliance with treatment.