During a hospital stay, you observed a man and a woman, both…

During a hospital stay, you observed a man and a woman, both in health professional attire, talking to each other. You assumed that the man was a physician and that the woman was a nurse. Later, you found out the opposite to be true. What type of heuristic did you use during your initial reaction to the two individuals?