Judge accepted father's petition to have medical professional examine whether prison treatment appropriate given inmate's condition, but appointment won't take place for months