Waiting time distribution in public health care: empirics and theory