"Employers cannot require a doctor's note when workers take three or fewer consecutive days of paid leave. They can require a doctor's note if an employee misses more than three days, takes time off for a medical appointment, or shows a pattern of abusing sick time," states an article on sfgate.com. "Employees start accruing sick leave after 90 days of service."
However, there are some limits. According to the same article, "SF residents who are employed outside the city but occasionally work from home accrue sick leave for their work-at-home time if it amounts to 56 or more hours per year" as well as "employees who perform work in SF on an occasional basis—such as a NY lawyer who is here for a trial—are covered by the law if they perform 56 or more hours of work here in a calendar year."
Other things covered by the law include employees using paid leave for sick family members or designated people such as roommates or neighbors. Also, for every 30 hours employees work, they will receive one hour paid leave.