Types and origins of diagnostic errors in primary care settings.