Everything goes by contraries with me; so, having made up my mind to be disappointed, of course I wasn't; for, presently, in walked Dr. H., and no sooner had he heard my errand, and glanced at my credentials
The author describes waiting for Dr. H. while preparing to leave. She expects the doctor to arrive too late, but instead he arrives just when she needs him. This creates a sense of irony, because the she expects disappointment but receives exactly the help she was hoping for. I find it interesting that she points out that she is usually disappointed and that doctors tend to not show up when they are supposed to, where as the nurse is doing everything. She also mentions that the doctor looked at her credentials, which i think points to a larger message of how people feel and treated people under them or if they were "worthy" of doing something.