Skip to content

Commit

Permalink
Better 'device' format; redact pump serial number
Browse files Browse the repository at this point in the history
  • Loading branch information
mddub committed Oct 14, 2015
1 parent 437e9fa commit fde60cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var transform = module.exports = function(data, sgvLimit) {
}

entries.forEach(function(entry) {
entry['device'] = 'MiniMed Connect ' + data['medicalDeviceFamily'] + ' ' + data['medicalDeviceSerialNumber'];
entry['device'] = 'connect://' + data['medicalDeviceFamily'].toLowerCase();
});

return entries;
Expand Down

0 comments on commit fde60cc

Please sign in to comment.