Diagnosis of pulmonary edema is made based on clinical signs of respiratory distress and the presence of crackles on thoracic auscultation.