It happened just before 1 p.m. at the facility off Interstate 85 and Ruin Creek Road.
According to investigators, the man was a mental patient who taken to the hospital for involuntary commitment.
Witnesses said the man became agitated and did not respond to verbal attempts to calm him down.
Police said the situation escalated when the man attacked the officer. The officer used pepper spray and a Taser to try and subdue the patient, but was struck in the head and began to lose consciousness.
The officer then took out his gun and shot the patient.
Both patient and officer are now being treated at the hospital and are listed in good condition.
The State Bureau of Investigation was on scene reviewing the incident, which is standard in any police involved shooting.