From fde60cc9194a00134a598d5d46e5fe0b78c1d5bb Mon Sep 17 00:00:00 2001 From: Mark Wilson Date: Tue, 13 Oct 2015 17:10:17 -0700 Subject: [PATCH] Better 'device' format; redact pump serial number --- transform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transform.js b/transform.js index 489ba22..217ff6b 100644 --- a/transform.js +++ b/transform.js @@ -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;