Officer shot in head during 1 October released from hospital