Patient was admitted as inpatient on 02/02/2018 with a history of mental status changes, pyuria, complaining of weakness and lethargy. Within subsequent care for 10 days, new diagnosis found everyday such as encephalopathy, respiratory distress/hypoxemia, UTI, acute on CKG, CHF, Hypoalbumin, etc. How to find principal diagnosis code?