cql-execution
Version:
An execution framework for the Clinical Quality Language (CQL)
30 lines (22 loc) • 716 B
JavaScript
// Generated by CoffeeScript 1.9.3
(function() {
var Results;
module.exports.Results = Results = (function() {
function Results() {
this.patientResults = {};
this.populationResults = {};
}
Results.prototype.recordPatientResult = function(patientId, resultName, result) {
var base;
if ((base = this.patientResults)[patientId] == null) {
base[patientId] = {};
}
return this.patientResults[patientId][resultName] = result;
};
Results.prototype.recordPopulationResult = function(resultName, result) {
return this.populationResults[resultName] = result;
};
return Results;
})();
}).call(this);
//# sourceMappingURL=results.js.map