Similarly, my doctor _should_ know how human anatomy and microbiology work by default, but the person that they are speaking to is essentially a black box. When that black box is diseased, then it's as if the body has imported a library. They cannot easily check the source code to determine which library they have imported or what calls it is making, so they hunt through a bug database to determine which library they have imported and what the code is doing, and then they have to find a way to get that code out of the system, still without access to the source. Of course, they will probably know some things (sinus infection, flu) by default, but medical science is constantly updated. Still, that knowledge of anatomy, microbiology, etc., is tantamount in being able to accurately use that data for assessment.
You might need to adjust your expectations.
I check documentation all the time because I can't remember what language uses 'size', 'size()', 'length', 'length()', 'count', or 'count()'. I have no value in memorizing those facts because I can simply look them up.
The doctors I encounter are the equivalent of a junior developer right out of code school, checking the docs for everything. That might be OK, if we were paying them commensurately with their value add.