Prior to admission, the State Department of State Hospitals shall evaluate each patient committed pursuant to Section 1026 or 1370 of the Penal Code to determine the placement of the patient to the appropriate state hospital. The State Department of State Hospitals shall utilize the documents provided pursuant to subdivision (e) of Section 1026 of the Penal Code and paragraph (2) of subdivision (b) of Section 1370 of the Penal Code to make the appropriate placement. A patient determined to be a high security risk shall be treated in the department’s most secure facilities pursuant to Section 7230. A Penal Code patient not needing this level of security shall be treated as near to the patient’s community as possible if an appropriate treatment program is available.