You are entitled to both outpatient and hospitalisation sick leave.
You should calculate sick leave based on the days when you have to report for work, as you do not need to turn up for work on a non-working day, rest day or public holiday.
You are given 10 days of hospitalisation leave that includes 1 rest day and 1 public holiday. You will have used 8 days of sick leave.