Teacher to undergo “emergency medical evaluation” for novel about school shooting