SAN MATEO (CBS SF) — Everyone escaped injury when fire crews encountered a person with a gun during a medical emergency call Saturday morning in San Mateo, San Mateo fire officials said.

Firefighters responded at about 12:50 a.m. to the 200 block of South Idaho Street where they encountered the person with a gun inside a home, according to fire officials.

Firefighters exited the home and the gun went off, fire officials said.

The person with the gun was inside the home as firefighters called police, according to fire officials.

Police officers secured the area and when firefighters went back into the home no one had been injured, fire officials said.

The patient was taken to a hospital for further evaluation, according to fire officials.

© Copyright 2015 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.