Yes, it is equivalent to this code being

```
processPatientData: function(data) {
  var processData = chartUtil.processData(data);
  window.tidelineData = processData;
  window.theData = data;
  return  processData;
},
```