{"version":3,"sources":["webpack:///node_modules/basic-trend/dist/index.js","webpack:///src/app/components/avpu-swipe/avpu-swipe.component.html","webpack:///src/app/components/cps-confirm-button/cps-confirm-button.component.html","webpack:///src/app/components/cps-top-bottom/cps-top-bottom.component.html","webpack:///src/app/components/num-pad/num-pad.component.html","webpack:///src/app/components/vital-signs-bp/vital-signs-bp.component.html","webpack:///src/app/components/vital-signs/vital-signs.component.html","webpack:///src/app/home/home.page.html","webpack:///src/app/components/avpu-swipe/avpu-swipe.component.scss","webpack:///src/app/components/avpu-swipe/avpu-swipe.component.ts","webpack:///src/app/components/avpu-swipe/avpu-swipe.module.ts","webpack:///src/app/components/cps-confirm-button/cps-confirm-button.component.scss","webpack:///src/app/components/cps-confirm-button/cps-confirm-button.component.ts","webpack:///src/app/components/cps-confirm-button/cps-confirm-button.module.ts","webpack:///src/app/components/cps-top-bottom/cps-top-bottom.component.scss","webpack:///src/app/components/cps-top-bottom/cps-top-bottom.component.ts","webpack:///src/app/components/cps-top-bottom/cps-top-bottom.module.ts","webpack:///src/app/components/num-pad/num-pad.component.scss","webpack:///src/app/components/num-pad/num-pad.component.ts","webpack:///src/app/components/num-pad/num-pad.module.ts","webpack:///src/app/components/vital-signs-bp/vital-signs-bp.component.scss","webpack:///src/app/components/vital-signs-bp/vital-signs-bp.component.ts","webpack:///src/app/components/vital-signs-bp/vital-signs-bp.module.ts","webpack:///src/app/components/vital-signs/vital-signs.component.scss","webpack:///src/app/components/vital-signs/vital-signs.component.ts","webpack:///src/app/components/vital-signs/vital-signs.module.ts","webpack:///src/app/home/home-routing.module.ts","webpack:///src/app/home/home.module.ts","webpack:///src/app/home/home.page.scss","webpack:///src/app/home/home.page.ts"],"names":["Object","defineProperty","exports","value","trend","data","diff","increasing","decreasing","equals","map","item","index","array","difference","push","length","_default","AVPUSwipeComponent","setAction","avpuSlidesOpts","direction","initialSlide","height","avpuStateText","avpuState","avpuSlides","getActiveIndex","then","currentIndex","console","log","warn","emit","selector","template","AVPUSwipeComponentModule","imports","declarations","CpsConfirmButtonComponent","doConfirm","thisID","confirmMode","confirmBtn","confirmedBtn","confirmTick","imgSrc","status","buttonActive","watchFor","changes","hasOwnProperty","currentValue","CpsConfirmButtonComponentModule","CpsTopBottomComponent","updateAction","confirm2TopState","confirm2BottomState","dependsOn","doUpdateAction","config","topVal","bottomVal","toUpperCase","newAction","CpsTopBottomComponentModule","NumPadComponent","alertCtrl","vitalValue","dotVisible","slashVisible","longButton","units","Map","change","theUnit","vital","theMin","theMax","the2ndMin","the2ndMax","get","theValue","parseFloat","replace","create","header","subHeader","message","buttons","alert","present","indexOf","theSystolic","parseInt","split","theDiastolic","digit","substr","NumPadComponentModule","VitalSignsBpComponent","sysHistory","diaHistory","vitalTitle","imageID","vitalUnits","vitalType","vitalImage","vitalUnits2","visibleSecond","vitalTheme","theme","clearTimeout","timerId","timer","sequence","reading","currentTrend","trendClass","newReading","isFirstChange","splitVal","vital2Value","newSysHistory","timestamp","newDiaHistory","timeSince","history","vitalTextClass","checkVitals","vital2TextClass","vitalIconClass","recalculateTrend","doUpdate","setTimeout","updateTimer","VitalSignsBpComponentModule","VitalSignsComponent","onRequestUpdate","requestInput","sand","clearVitals","doRequestInput","padVisible","keyboardVis","hour","Math","floor","suffix","vitalSign","override","myHR","myBR","mySATS","mySys","myDia","myTEMP","output","assign","newHistory","VitalSignsComponentModule","routes","path","component","HomePageRoutingModule","forChild","HomePageModule","HomePage","emptyString","testString","boolTrue","boolFalse","topBottomConfig","hrConfig","brConfig","satsConfig","tempConfig","bpConfig","topBottomChainVal","blankVitalsReturnData","vitalsReturnData","brVitalsReturnData","satsVitalsReturnData","tempVitalsReturnData","bpVitalsReturnData","vitalRequested","e","testHR","newHRValue","Date","now","testBR","newBRValue","testSATS","newSATSValue","testTEMP","newTEMPValue","testBP","newBPValue","event"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEAA,YAAM,CAACC,cAAP,CAAsBC,OAAtB,EAA+B,YAA/B,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c;AAC/B5J,mBAAO,CAACC,GAAR,CAAY,yBAAZ,EAAuC2J,CAAvC;AACA,iBAAKH,oBAAL,GAA4BG,CAA5B;AACD;AArLkB;AAAA;AAAA,gDAuLGA,CAvLH,EAuLY;AAC7B5J,mBAAO,CAACC,GAAR,CAAY,uBAAZ,EAAqC2J,CAArC;AACA,iBAAKF,kBAAL,GAA0BE,CAA1B;AACD;AAED;;;;;AA5LmB;AAAA;AAAA,uCAgMNa,KAhMM,EAgMS;AAC1BzK,mBAAO,CAACC,GAAR,CAAY,wBAAZ,EAAsCwK,KAAtC;AACA,iBAAKxD,UAAL,GAAkB,KAAlB;;AAEA,gBAAI,KAAK0C,cAAL,KAAwB,KAA5B,EAAmC;AACjC,mBAAKG,UAAL,GAAkB;AAChBxE,uBAAO,EAAEmF,KADO;AAEhB3E,yBAAS,EAAEiE,IAAI,CAACC,GAAL;AAFK,eAAlB;AAID;AACF;AAED;;;;;AA5MmB;AAAA;AAAA,6CAgNAS,KAhNA,EAgNe;AAChCzK,mBAAO,CAACC,GAAR,CAAY,oBAAZ,EAAkCwK,KAAlC,EADgC,CAEhC;;AACA,iBAAKd,cAAL,GAAsBc,KAAK,CAAC9F,UAA5B;AACA,iBAAKsC,UAAL,GAAkB,IAAlB;AACD;AArNkB;AAAA;AAAA,yCAuNJwD,KAvNI,EAuNW;AAC5BzK,mBAAO,CAACC,GAAR,CAAY,oBAAZ,EAAkCwK,KAAlC,EAD4B,CAE5B;;AACA,iBAAKd,cAAL,GAAsB,MAAtB;AACA,iBAAK1C,UAAL,GAAkB,IAAlB;AACD;AA5NkB;;AAAA;AAAA,S;;;;;;AAARwB,cAAQ,6DALpB,gEAAU;AACTrI,gBAAQ,EAAE,UADD;AAETC,gBAAQ,EAAR;AAAA;AAAA,0FAFS;;;;AAAA,OAAV,CAKoB,GAARoI,QAAQ,CAAR","file":"home-home-module-es5.js","sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = exports.trend = void 0;\n\nvar trend = function trend(data) {\n var diff = {\n increasing: [],\n decreasing: [],\n equals: []\n };\n data.map(function (item, index, array) {\n if (index > 0) {\n var difference = item - array[index - 1];\n if (difference === 0) diff.equals.push(difference);else if (difference > 0) diff.increasing.push(difference);else diff.decreasing.push(difference);\n }\n\n return item;\n });\n if (diff.increasing.length > diff.decreasing.length + diff.equals.length) return 1;\n if (diff.decreasing.length > diff.increasing.length + diff.equals.length) return -1;\n if (diff.equals.length > diff.increasing.length + diff.decreasing.length) return 0;\n return 0;\n};\n\nexports.trend = trend;\nvar _default = trend;\nexports[\"default\"] = _default;","export default \"
VOICE\\n
PAIN\\n
Settings
\\nvitalTitle: {{tempVitalsReturnData.vitalTitle}}
\\nvitalType: {{tempVitalsReturnData.vitalType}}
\\nvitalUnits: {{tempVitalsReturnData.vitalUnits}}
\\nimageID: {{tempVitalsReturnData.imageID}}
\\nreading: {{tempVitalsReturnData.reading}}
\\ntimestamp: {{tempVitalsReturnData.timestamp}}
\\nvitalTheme: {{vitalTheme}}
\\nSettings
\\nvitalTitle: {{bpVitalsReturnData.vitalTitle}}
\\nvitalType: {{bpVitalsReturnData.vitalType}}
\\nvitalUnits: {{bpVitalsReturnData.vitalUnits}}
\\nimageID: {{bpVitalsReturnData.imageID}}
\\nreading: {{bpVitalsReturnData.reading}}
\\ntimestamp: {{bpVitalsReturnData.timestamp}}
\\nvitalTheme: {{vitalTheme}}
\\nSettings
\\nvitalTitle: {{vitalsReturnData.vitalTitle}}
\\nvitalType: {{vitalsReturnData.vitalType}}
\\nvitalUnits: {{vitalsReturnData.vitalUnits}}
\\nimageID: {{vitalsReturnData.imageID}}
\\nreading: {{vitalsReturnData.reading}}
\\ntimestamp: {{vitalsReturnData.timestamp}}
\\nvitalTheme: {{vitalTheme}}
\\nSettings
\\nvitalTitle: {{brVitalsReturnData.vitalTitle}}
\\nvitalType: {{brVitalsReturnData.vitalType}}
\\nvitalUnits: {{brVitalsReturnData.vitalUnits}}
\\nimageID: {{brVitalsReturnData.imageID}}
\\nreading: {{brVitalsReturnData.reading}}
\\ntimestamp: {{brVitalsReturnData.timestamp}}
\\nvitalTheme: {{vitalTheme}}
\\nSettings
\\nvitalTitle: {{satsVitalsReturnData.vitalTitle}}
\\nvitalType: {{satsVitalsReturnData.vitalType}}
\\nvitalUnits: {{satsVitalsReturnData.vitalUnits}}
\\nimageID: {{satsVitalsReturnData.imageID}}
\\nreading: {{satsVitalsReturnData.reading}}
\\ntimestamp: {{satsVitalsReturnData.timestamp}}
\\nvitalTheme: {{vitalTheme}}
\\nSettings
\\nvitalTitle: {{tempVitalsReturnData.vitalTitle}}
\\nvitalType: {{tempVitalsReturnData.vitalType}}
\\nvitalUnits: {{tempVitalsReturnData.vitalUnits}}
\\nimageID: {{tempVitalsReturnData.imageID}}
\\nreading: {{tempVitalsReturnData.reading}}
\\ntimestamp: {{tempVitalsReturnData.timestamp}}
\\nvitalTheme: {{vitalTheme}}
\\n\\n\\n@Output doConfirm
\\n@Input thisID
\\n@Input state
\\n@Input watchFor
\\n
\\n\\n@Output updateAction
\\n@Input thisID
\\n@Input config - Uses the CpsTopBottom model to specify values
\\n@Input dependsOn - A boolean, usually connected to a previous confirm button
\\n
Settings
\\n\\ntopBottomChainVal : {{ topBottomChainVal }}
\\n\\n\\n@Output setAction
\\n