If she leaves it in a taxi, the hospital can wipe everything on it, or if her work data is stored in a container, it can wipe the hospital information while leaving her personal information and family photos intact.
Importantly, she put the beetles in a container with blackened walls to be sure the animals were not using information from landmarks on the horizon, which in the wild might be trees, for example.