Writing a nursing diagnosis involves several steps: 1. Assessment: Collect comprehensive data about the patient's health status. 2. Diagnosis: Analyze the data to identify health problems. 3. Formulation: Construct the diagnosis using the format Problem-Etiology-Symptoms (PES).