The integration of artificial intelligence (AI; ChatGPT 4.0) into medical workflows presents a great potential to enhance efficiency and quality. The use of artificial intelligence in the creation of discharge summaries seems particularly interesting and valid. The course of each hospitalization is described in the discharge summary, which is given to each patient and then to his general practitioner at the end of hospital treatment. An exploratory analysis of discharge summaries in psychiatric clinics underscores that these documents must fulfill diverse and specific requirements. Nevertheless, AI-generated discharge summaries offer the opportunity to optimize information transfer and alleviate the workload on physicians. The study evaluates the quality of discharge summaries produced by clinical staff and by an AI model (ChatGPT 4.0). The clinicians involved in writing of the discharge summaries were not informed about the study's purpose or methodology. The completed summaries were subsequently assessed by four attending physicians using predefined criteria. These physicians were also blinded to the study's objectives and were unaware of the individual authors of the summaries. The evaluation criteria included consistency, completeness, and comprehensibility. Additionally, the time required to prepare these summaries and its impact on overall quality were analyzed. The results of the study indicate that discharge summaries generated by AI are more efficient than discharge summaries prepared by clinic staff. The AI was particularly effective in terms of coherence and information structure. Further research, training and development is needed to improve the accuracy and reliability of AI-generated discharge summaries.