If a defendant is sentenced to a state correctional facility, the Department of Corrections shall develop a file which shall contain a complete history of that person. The executive director of the Board of Pardons and Paroles shall generate an adequate case history of each inmate of a state correctional facility to enable the executive director to make recommendations to the Board of Pardons and Paroles. The case history shall include results of risk and needs assessments of the inmate conducted by the department and other agencies as available and copies of documents relevant to supervision, treatment, and violation decisions in the inmate's prior prison, probation and parole custodies. The case history shall be transferred and kept as a permanent record of the Department of Corrections, solely for the proper supervision of the inmate by the Department of Corrections and as a guide to the inmate's needs. Except for the information authorized for release pursuant to § 24-2-20, no person other than members of the Board of Pardons and Paroles, its executive director, the secretary of corrections, or any person specifically delegated for such access by the secretary of corrections, may inspect such file unless otherwise ordered by a circuit court or subpoena after notice to the secretary of corrections and an opportunity for a hearing on any objections to inspection. The secretary shall have ten days after receipt of the notice to inform the court if the secretary requests a hearing.
SDCL 24-15-1