def save_task(task_type, target_user, work_object_id = 0, comments = "", subject = "Other")
      params =
        MagicParams.format(
          user_id: @allscripts_username,
          parameter1: task_type,
          parameter2: target_user,
          parameter3: work_object_id,
          parameter4: comments,
          parameter5: subject
        )
      results = magic("SaveTask", magic_params: params)
      results["savetaskinfo"]
    end
def save_task(task_type, target_user, work_object_id = 0, comments = "", subject = "Other")
      params =
        MagicParams.format(
          user_id: @allscripts_username,
          parameter1: task_type,
          parameter2: target_user,
          parameter3: work_object_id,
          parameter4: comments,
          parameter5: subject
        )
      results = magic("SaveTask", magic_params: params)
      results["savetaskinfo"]
    end
ViewNote
 client.get_dictionary("IDX_TASK_ACTION_DE") "ViewNote"
 target_user "jmedici"