Logical Thinking and the Diagnostic Process