Sounds like there are some parallels. I'm not sure if it's the same in this case, but Mary Mallon was given a court order to give up her job as a cook, but that was the best paying job she could get, so lacking the financial resources necessary to survive without that job she returned to it.
I think the public policy lesson there is: you can't just tell people to stop doing things they have to do in order to exist. If it's necessary in rare cases to tell people to stop working, then it's up to the state to provide them the financial resources to survive.
Germ theory was also pretty new at the time and not something most working class people would know about, nor did Mary have symptoms.
Contrary to today, germ theory is taught in elementary schools and is well understood by basically everyone. And this woman was clearly experiencing symptoms bad enough to require an ER visit! Visiting the ER likely also means that most of the common religious reasons such as being a Christian Scientist are out the window.
The article mentions translators, so there's evidently some sort of language barrier, and probably a cultural one as well.
Even if she did fully understand that she's supposed to socially distance and observe a lot of very strict precautions to not infect anyone, it's not clear if she had the financial means to actually follow all those rules, which likely prevented her from working.
The previous discussion of this situation (link needed) had some discussion on typhoid Mary. That previous thread was actually where I learned about the story.