How do I link beneficiary or claim-level Medicare datasets?
Research Identifiable Files (RIFs) can be linked by the unique beneficiary identification number. This number will be randomly generated and assigned to your data files by the CMS contractor producing the file. In the LDS Files, claims and files can be linked using the DESY Sort Key, which is the unique identifier CMS assigns to a beneficiary.