Merged patient detection.