Local officer suffers from heart problems while on duty