An affidavit is revealing new details about what led up to a shooting at a Leawood nursing home.