Buffalo Bills safety Damar Hamlin will be paid his full salary despite landing on injured reserve after suffering a cardiac arrest in Week 17 during a game against the Cincinnati Bengals. 

Hamlin’s contract contains a standard split that allows Buffalo to pay him at a lower rate if he lands on the IR, but the Bills reached an agreement with the NFL and the NFL Players Association to pay him in full, NFL Network reported on Sunday.  

Damar Hamlin in the hospital

Damar Hamlin watching the Bills from his hospital bed. (Credit: @HamlinIsland / SPORTS REPORT+ /TMX)

Hamlin is in the second year of a four-year, $3.64 million contract after being drafted by the Bills in the sixth round of the 2021 NFL Draft out of the University of Pittsburgh. 

BILLS’ DAMAR HAMLIN DISCHARGED FROM BUFFALO HOSPITAL AFTER COMPLETING COMPREHENSIVE TESTS

Hamlin has miraculously recovered since collapsing in the first quarter of a game against the Bengals on "Monday Night Football." 

After requiring CPR on the field, Hamlin was rushed to the University of Cincinnati Medical Center, where he spent nearly a week in intensive care. 

After waking up and being taken off a ventilator, Hamlin was transferred to the Buffalo General Medical Center/Gates Vascular Institute on Monday. 

Damar Hamlin in September 2022

Damar Hamlin, #3 of the Buffalo Bills, after a game against the Tennessee Titans at Highmark Stadium on September 19, 2022, in Orchard Park, New York. (Timothy T Ludwig/Getty Images)

On Wednesday, Hamlin was discharged from the hospital after going through "comprehensive medical evaluation as well as a series of cardiac, neurological and vascular testing on Tuesday."

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

"We have completed a series of tests and evaluations, and in consultation with the team physicians, we are confident that Damar can be safely discharged to continue his rehabilitation at home and with the Bills," Dr. Jamie Nadler, the care team lead, critical care physician and chief quality officer at Kaleida Health, said in a statement through the team.

Bills head coach Sean McDermott said it would be up to Hamlin as to when he will return to the team facility. 

CLICK HERE TO GET THE FOX NEWS APP

Buffalo Bills fans hold a sign for Damar Hamlin

Buffalo Bills fans hold signs in support of Buffalo Bills safety Damar Hamlin prior to the game between the Buffalo Bills and the New England Patriots at Highmark Stadium on January 8, 2023, in Orchard Park, New York. (Timothy T Ludwig/Getty Images)

"His health is first and foremost on our mind as far as this situation," McDermott said Wednesday, according to ESPN. "And then when he feels ready, we will welcome him back."

Buffalo is preparing to start its playoff run on Sunday against the Miami Dolphins. 

The Bills have never won a Super Bowl and will be looking to bounce back after an overtime loss to the Kansas City Chiefs in the 2022 NFL Playoffs. 

Fox News’ Ryan Gaydos contributed to this report.