code: def get_task_list_by_view(self, patient_id, task_view_id, org_id=''):
          
          magic = self._magic_json(
              action=TouchWorksMagicConstants.ACTION_GET_TASKLIST_BY_VIEW,
              patient_id=patient_id,
              parameter1=task_view_id,
              parameter2=org_id)
          response = self._http_request(TouchWorksEndPoints.MAGIC_JSON, data=magic)
          result = self._get_results_or_raise_if_magic_invalid(
              magic,
              response,
              TouchWorksMagicConstants.RESULT_GET_TASKLISTBY_VIEW)
          return result
docs: invokes TouchWorksMagicConstants.ACTION_GET_ENCOUNTER_LIST_FOR_PATIENT action
          :return: JSON response