In some countries there's a formal labor law for doctors notes after X days that is known by all and which might mean your doctor checks and registers the case(?) in other places it is total discretion if a manager demands a note but rarely does in places that aren't shift work oriented.