invokes TouchWorksMagicConstants.ACTION_GET_ENCOUNTER_LIST_FOR_PATIENT action
        :param security_filter - This is the EntryCode of the Security_Code_DE dictionary
            for the providers being sought. A list of valid security codes can be obtained from
            GetDictionary on the Security_Code_DE dictionary.
        :param name_filter
        :param only_providers_flag
        :param internal_external
        :param ordering_authority
        :param real_provider
        :return: JSON response

def get_providers(self, security_filter,
                      name_filter='%',
                      only_providers_flag='Y',
                      internal_external='I',
                      ordering_authority='',
                      real_provider='N'):
        """
        invokes TouchWorksMagicConstants.ACTION_GET_ENCOUNTER_LIST_FOR_PATIENT action
        :param security_filter - This is the EntryCode of the Security_Code_DE dictionary
            for the providers being sought. A list of valid security codes can be obtained from
            GetDictionary on the Security_Code_DE dictionary.
        :param name_filter
        :param only_providers_flag
        :param internal_external
        :param ordering_authority
        :param real_provider
        :return: JSON response
        """
        magic = self._magic_json(
            action=TouchWorksMagicConstants.ACTION_GET_PROVIDERS,
            parameter1=security_filter,
            parameter2=name_filter,
            parameter3=only_providers_flag,
            parameter4=internal_external,
            parameter5=ordering_authority,
            parameter6=real_provider)

        response = self._http_request(TouchWorksEndPoints.MAGIC_JSON, data=magic)
        result = self._get_results_or_raise_if_magic_invalid(
            magic,
            response,
            TouchWorksMagicConstants.RESULT_GET_PROVIDERS)
        return result