text: (() => {
    'use strict';
  
    angular
      .module('common.test')
      .factory('testService', testService);
  
    testService.$inject = ['$http', '$log'];
  
    function testService($http, $log) {
  
      var OPENMRS_TEST_URL = "/openmrs/ws/rest/v1/testrequest";
  
      var CONFIG = {
        method: "GET",
        params: { v: "full" },
        withCredentials: true
      };
  
      return { getTests: getTests };
  
      function getTests() {
        return $http.get(OPENMRS_TEST_URL, CONFIG).then(response => response.data.results);
      }
  
    }
  
  })();
  