Therefore, a set of probabilistic matching algorithms needed to be built, which could identify incoming data with in-EHR patients fairly well, but not with 100% accuracy. When there was uncertainty, it required the user (the clinician) to hand-pick the correct patient with whom to link the external data.