I am an ex-civil servant and we were allowed emergency leave to cover various unexpected happenings.
If a child was ill the worker would perhaps get one day off to allow them to arrange childcare for the child for any following period that it would be required for. If all else failed it would be, as factor says, paid or unpaid leave.