How to code visit if Dr. who was on call received call regarding patient, and at that moment patient wasn't admitted as inpatient yet but by the time when Dr. saw pt, patient was admitted as inpatient. Should I code as ER visit or as inpatient visit?