code: function normalizeDispense(value) {
      var tokens = value.split(' ');
      var result;
      if (tokens.length === 4 && tokens[1] === 'Every') {
          result = {
              "doseQuantity": {
                  "value": tokens[0]
              },
              "timing": {
                  "repeat": {
                      "durationUnits": tokens[3]
                  }
              }
          };
      } else {
          result = {
              "timing": {
                  "repeat": {
                      "durationUnits": value
                  }
              }
          };
      }
      return result;
  }
docs: Trying to extract dispense information. TODO - It based on a few test cases, may not work in a general case