Navigate to Scheduling >> Patient Scheduling
Right click on empty slot to Add appointment.
Click Add against Diagnosis code
Select "ICD-10 Codes" from drop down. Enter keywords to search and then click "Search".
Selected ICD 10 codes gets added in diagnosis list. Click "Save Appointment" to save appointment.