Diagnosis typically involves a combination of clinical assessment and diagnostic tests. Chest X-rays can show underdeveloped lungs, and blood gas analysis can indicate poor oxygenation. In some cases, ultrasound or other imaging techniques may be used to evaluate lung structure and function.