get_written_hearing_input function

Retrieve written input for a specified hearing