Providers often write a diagnosis they are not sure of yet: probable, suspected, questionable, rule out, compatible with, consistent with, working diagnosis.
In outpatient visits (offices, clinics, emergency departments, outpatient surgery and observation), you do not code these as if they were confirmed. Code what is certain at this visit: the signs, the symptoms, the abnormal test results or the other reason for the visit.
"Rule out appendicitis" with right lower quadrant pain is coded R10.31. "Probable pneumonia" with cough and fever is coded R05.9 and R50.9.
The reason: a diagnosis on a claim follows the patient. If the workup shows no pneumonia, a pneumonia code would still sit in the record. Hospital inpatient stays follow the opposite rule, which you will learn in the Advanced level.
Outpatient: code what is certain today.