When a hospital merges with another facility, which HIM function is critical to prevent duplicate medical record numbers from causing patient safety issues?