Is it true that was dead poets society adapted from another work based on the following text?

The script was written by Tom Schulman, based on his experiences at the Montgomery Bell Academy in Nashville, Tennessee, particularly with his inspirational teacher Samuel Pickering. A scene in the original script showing Keating dying in a hospital was removed by film director Peter Weir. Filming took place at St. Andrew's School in Middletown, Delaware, and at locations in New Castle, Delaware, and in nearby Wilmington, Delaware.
no