Authorities say a patient armed with a gun was shot and injured by an off-duty police officer at a hospital in Gary.