How to add patient billed explanation line?

If user is working with a patient, it's details will be displayed else patient search pop up will open. Enter patient no# or patient name or SSN. Based on entered text patient list is displayed. Select the required patient.