        $diagnosis = array("appointment_id" => $appointment_id, "diagnosis_file" => $diagnosis_file);
        if ($this->db->insert("diagnosis", $diagnosis)){
            return true;
        }else{
            return false;