{"version":3,"sources":["webpack:///./node_modules/core-js/modules/_string-at.js","webpack:///./node_modules/core-js/modules/_advance-string-index.js","webpack:///./node_modules/core-js/modules/_flags.js","webpack:///./node_modules/core-js/modules/_fix-re-wks.js","webpack:///./src/components/appointment-status/user.vue?d087","webpack:///src/components/appointment-status/user.vue","webpack:///./src/components/appointment-status/user.vue?2c97","webpack:///./src/components/appointment-status/user.vue","webpack:///./node_modules/core-js/modules/es6.regexp.flags.js","webpack:///./src/components/pagination/index.vue?8834","webpack:///./src/components/pagination/index.vue?9aee","webpack:///src/components/pagination/index.vue","webpack:///./src/components/pagination/index.vue?ebc3","webpack:///./src/components/pagination/index.vue?9c36","webpack:///./node_modules/core-js/modules/_regexp-exec.js","webpack:///./node_modules/core-js/modules/_regexp-exec-abstract.js","webpack:///./node_modules/core-js/modules/es6.regexp.to-string.js","webpack:///./src/views/consultation/clinic/list.vue?1dbd","webpack:///src/views/consultation/clinic/list.vue","webpack:///./src/views/consultation/clinic/list.vue?d3c1","webpack:///./src/views/consultation/clinic/list.vue","webpack:///./node_modules/core-js/modules/es6.regexp.replace.js","webpack:///./node_modules/core-js/modules/es6.regexp.exec.js","webpack:///./src/utilities/index.js"],"names":["toInteger","defined","module","exports","TO_STRING","that","pos","a","b","s","String","i","l","length","undefined","charCodeAt","charAt","slice","at","S","index","unicode","anObject","this","result","global","ignoreCase","multiline","sticky","redefine","hide","fails","wks","regexpExec","SPECIES","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","groups","replace","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","apply","arguments","split","KEY","SYMBOL","DELEGATES_TO_SYMBOL","O","DELEGATES_TO_EXEC","execCalled","constructor","nativeRegExpMethod","fns","nativeMethod","regexp","str","arg2","forceStringMethod","done","value","call","strfn","rxfn","prototype","RegExp","string","arg","render","_vm","_h","$createElement","_c","_self","class","badgeClass","_v","_s","badgeDisplay","staticRenderFns","component","flags","f","configurable","get","attrs","staticClass","hasPreviousPage","on","$event","goToPage","goToPrevious","_l","page","key","pageNumber","display","hasNextPage","goToNext","totalPages","_e","regexpFlags","nativeExec","nativeReplace","patchedExec","LAST_INDEX","UPDATES_LAST_INDEX_WRONG","re1","re2","NPCG_INCLUDED","PATCH","lastIndex","reCopy","match","source","classof","builtinExec","R","TypeError","$flags","DESCRIPTORS","$toString","define","fn","concat","name","title","directives","rawName","filter","expression","validationErrors","has","staticStyle","domProps","target","composing","$set","first","ref","getPatientConsultationHistory","consultationList","isTableLoading","consultation","patientName","date","time","doctorName","_m","consultationId","columnsCount","pagination","scrollPosition","model","callback","$$v","toObject","toLength","advanceStringIndex","regExpExec","max","Math","min","floor","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","maybeToString","it","REPLACE","$replace","maybeCallNative","searchValue","replaceValue","res","rx","functionalReplace","fullUnicode","results","push","matchStr","accumulatedResult","nextSourcePosition","matched","position","captures","j","namedCaptures","replacerArgs","replacement","getSubstitution","tailPos","m","symbols","ch","capture","n","proto","forced","convertToUserReadableDate","iso8601DateTimeString","momentInstance","moment","format","convertToUserReadableDateWithDay","convertToUserReadableTime","convertToUserReadableDateTime","convertDateToDDMMYYYY","convertDateToIso8601","birthdate","toISOString","replaceLineBreakInHtml","contentString","getBirthDateFromNewIc","newIcNumber","dateTimeFormat","birthDateChunk","substring","isAfter","subtract","isValid","generateRandomId","randLetter","fromCharCode","random","toString","substr","constructPrescriptionList","prescriptionListResponse","map","item","drugItem","dd","pn","dt","q","fd","qc","di","drugType","drugActiveIngredient","ai","unitPrice","up","unit","u","pdai","pdrp","pdu"],"mappings":"qGAAA,IAAIA,EAAY,EAAQ,QACpBC,EAAU,EAAQ,QAGtBC,EAAOC,QAAU,SAAUC,GACzB,OAAO,SAAUC,EAAMC,GACrB,IAGIC,EAAGC,EAHHC,EAAIC,OAAOT,EAAQI,IACnBM,EAAIX,EAAUM,GACdM,EAAIH,EAAEI,OAEV,OAAIF,EAAI,GAAKA,GAAKC,EAAUR,EA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M,OAAS,EAAG,CACvC,IAAI0M,EAAiBF,EAAYG,UAAU,EAAG,GAC1ChB,EAAiBC,IAAOc,EAAgB,UAM5C,GAJIf,EAAeiB,QAAQhB,QACvBD,EAAekB,SAAS,IAAK,SAG7BlB,EAAemB,UACf,OAAOnB,EAAeE,OAAOY,GAGrC,MAAO,GAGJ,SAASM,IACZ,IAAIC,EAAanN,OAAOoN,aAAa,GAAK7D,KAAKE,MAAsB,GAAhBF,KAAK8D,WAC1D,gBAAUF,GAAV,OAAuB5D,KAAK8D,SAASC,SAAS,IAAIC,OAAO,EAAG,KAGzD,SAASC,EAA2BC,GACvC,OAAOA,EAAyBC,KAAI,SAACC,GACjC,IAAIC,EAAW,CACX,YAAeD,EAAKE,GAAKF,EAAKE,GAAGC,GAAK,IACtC,SAAYH,EAAKE,GAAKF,EAAKE,GAAGE,GAAK,EACnC,SAAYJ,EAAKK,EACjB,qBAAwBL,EAAKM,GAC7B,uBAA0BN,EAAKO,GAC/B,OAAUP,EAAKE,GAAKF,EAAKE,GAAGM,GAAK,KAarC,OAV0B,IAAtBP,EAASQ,UACTR,EAASS,qBAAuBV,EAAKE,GAAKF,EAAKE,GAAGS,GAAK,IACvDV,EAASW,UAAYZ,EAAKE,GAAKF,EAAKE,GAAGW,GAAK,EAC5CZ,EAASa,KAAOd,EAAKE,GAAKF,EAAKE,GAAGa,EAAI,KACT,IAAtBd,EAASQ,WAChBR,EAASS,qBAAuBV,EAAKE,GAAKF,EAAKE,GAAGc,KAAO,IACzDf,EAASW,UAAYZ,EAAKE,GAAKF,EAAKE,GAAGe,KAAO,EAC9ChB,EAASa,KAAOd,EAAKE,GAAKF,EAAKE,GAAGgB,IAAM,KAGrCjB","file":"js/chunk-1fe5104a.497475df.js","sourcesContent":["var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","'use strict';\nvar at = require('./_string-at')(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n};\n","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nrequire('./es6.regexp.exec');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar fails = require('./_fails');\nvar defined = require('./_defined');\nvar wks = require('./_wks');\nvar regexpExec = require('./_regexp-exec');\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n return ''.replace(re, '$') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n re.exec = function () { execCalled = true; return null; };\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n }\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n ) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(\n defined,\n SYMBOL,\n ''[KEY],\n function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n }\n return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n }\n return { done: false };\n }\n );\n var strfn = fns[0];\n var rxfn = fns[1];\n\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) { return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) { return rxfn.call(string, this); }\n );\n }\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:[\n'badge',\n_vm.badgeClass\n]},[_vm._v(\"\\n \"+_vm._s(_vm.badgeDisplay)+\"\\n\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./user.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./user.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./user.vue?vue&type=template&id=1a39fbc9&\"\nimport script from \"./user.vue?vue&type=script&lang=js&\"\nexport * from \"./user.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// 21.2.5.3 get RegExp.prototype.flags()\nif (require('./_descriptors') && /./g.flags != 'g') require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{attrs:{\"aria-label\":\"Page navigation example\"}},[_c('ul',{staticClass:\"pagination justify-content-center mb-1\"},[_c('li',{class:{\n 'page-item': true,\n 'disabled': !_vm.hasPreviousPage\n }},[_c('a',{staticClass:\"page-link\",attrs:{\"href\":\"javascript: void(0);\"},on:{\"click\":function($event){_vm.goToPage($event, 1)}}},[_c('i',{staticClass:\"fa fa-fast-backward\"})])]),_c('li',{class:{\n 'page-item': true,\n 'disabled': !_vm.hasPreviousPage\n }},[_c('a',{staticClass:\"page-link\",attrs:{\"href\":\"javascript: void(0);\"},on:{\"click\":_vm.goToPrevious}},[_c('i',{staticClass:\"fa fa-angle-left\"})])]),_vm._l((_vm.pagesList),function(page,index){return _c('li',{key:index,class:{\n 'page-item': true,\n 'active': _vm.value === page.pageNumber\n }},[_c('a',{staticClass:\"page-link\",attrs:{\"href\":\"javascript: void(0);\"},on:{\"click\":function($event){_vm.goToPage($event, page.pageNumber)}}},[_vm._v(\"\\n \"+_vm._s(page.display)+\"\\n \")])])}),_c('li',{class:{\n 'page-item': true,\n 'disabled': !_vm.hasNextPage\n }},[_c('a',{staticClass:\"page-link\",attrs:{\"href\":\"javascript: void(0);\"},on:{\"click\":_vm.goToNext}},[_c('i',{staticClass:\"fa fa-angle-right\"})])]),_c('li',{class:{\n 'page-item': true,\n 'disabled': !_vm.hasNextPage\n }},[_c('a',{staticClass:\"page-link\",attrs:{\"href\":\"javascript: void(0);\"},on:{\"click\":function($event){_vm.goToPage($event, _vm.totalPages)}}},[_c('i',{staticClass:\"fa fa-fast-forward\"})])])],2),(_vm.totalPages > 0)?[_c('center',[_c('p',[_vm._v(\"Page \"+_vm._s(_vm.value)+\" of \"+_vm._s(_vm.totalPages))])])]:_vm._e()],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=49b7d0ec&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","'use strict';\n\nvar regexpFlags = require('./_flags');\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/,\n re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n match = nativeExec.call(re, str);\n\n if (UPDATES_LAST_INDEX_WRONG && match) {\n re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n // eslint-disable-next-line no-loop-func\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\n\nvar classof = require('./_classof');\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n if (typeof result !== 'object') {\n throw new TypeError('RegExp exec method returned something other than an Object or null');\n }\n return result;\n }\n if (classof(R) !== 'RegExp') {\n throw new TypeError('RegExp#exec called on incompatible receiver');\n }\n return builtinExec.call(R, S);\n};\n","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object');\nvar $flags = require('./_flags');\nvar DESCRIPTORS = require('./_descriptors');\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (require('./_fails')(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h1',{staticClass:\"display-heading\"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"d-flex align-items-baseline\"},[(_vm.isFamily)?_c('div',{staticClass:\"form-group mr-3 d-flex align-items-baseline\"},[_c('label',{staticClass:\"mr-2 font-weight-bold\"},[_vm._v(\"Patient Name:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.filter.name),expression:\"filter.name\"},{name:\"validate\",rawName:\"v-validate\",value:(''),expression:\"''\"}],class:{\n 'form-control': true,\n 'is-invalid': _vm.validationErrors.has('filterName')\n },staticStyle:{\"width\":\"150px\"},attrs:{\"type\":\"text\",\"name\":\"filterName\",\"data-vv-as\":\"filter patient name\",\"data-vv-validate-on\":\"blur\"},domProps:{\"value\":(_vm.filter.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.filter, \"name\", $event.target.value)}}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.validationErrors.has('filterName')),expression:\"validationErrors.has('filterName')\"}],staticClass:\"invalid-feedback\"},[_vm._v(\"\\n \"+_vm._s(_vm.validationErrors.first('filterName'))+\"\\n \")])]):_vm._e(),_c('div',{staticClass:\"form-group mr-3 d-flex align-items-baseline\"},[_c('label',{staticClass:\"mr-2 font-weight-bold\"},[_vm._v(\"Created Date:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.filter.date),expression:\"filter.date\"},{name:\"validate\",rawName:\"v-validate\",value:('date_format:DD/MM/YYYY'),expression:\"'date_format:DD/MM/YYYY'\"}],ref:\"filterDate\",class:{\n 'form-control': true,\n 'is-invalid': _vm.validationErrors.has('filterDate')\n },staticStyle:{\"width\":\"150px\"},attrs:{\"type\":\"text\",\"name\":\"filterDate\",\"data-vv-as\":\"filter created date\",\"data-vv-validate-on\":\"blur\"},domProps:{\"value\":(_vm.filter.date)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.filter, \"date\", $event.target.value)}}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.validationErrors.has('filterDate')),expression:\"validationErrors.has('filterDate')\"}],staticClass:\"invalid-feedback\"},[_vm._v(\"\\n \"+_vm._s(_vm.validationErrors.first('filterDate'))+\"\\n \")])]),_c('button',{staticClass:\"btn btn-primary\",on:{\"click\":_vm.getPatientConsultationHistory}},[_vm._v(\"Search\")])]),_c('div',{staticClass:\"d-md-none\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.consultationList.length === 0),expression:\"consultationList.length === 0\"}],staticClass:\"card mb-3\"},[_c('div',{staticClass:\"card-body\"},[_vm._v(\"\\n \"+_vm._s(_vm.isTableLoading ? \"Loading Data\": \"No Data\")+\"\\n \")])]),_vm._l((_vm.consultationList),function(consultation,index){return _c('div',{key:index,staticClass:\"card mb-3\"},[_c('div',{staticClass:\"card-body\"},[(_vm.isFamily)?_c('div',{staticClass:\"mb-3\"},[_c('label',{staticClass:\"label-display\"},[_vm._v(\"\\n Patient Name\\n \")]),_c('div',[_vm._v(\"\\n \"+_vm._s(consultation.patientName)+\"\\n \")])]):_vm._e(),_c('div',{staticClass:\"mb-3\"},[_c('label',{staticClass:\"label-display\"},[_vm._v(\"\\n Date\\n \")]),_c('div',[_vm._v(\"\\n \"+_vm._s(consultation.date)+\"\\n \")])]),_c('div',{staticClass:\"mb-3\"},[_c('label',{staticClass:\"label-display\"},[_vm._v(\"\\n Time\\n \")]),_c('div',[_vm._v(\"\\n \"+_vm._s(consultation.time)+\"\\n \")])]),_c('div',{staticClass:\"mb-3\"},[_c('label',{staticClass:\"label-display\"},[_vm._v(\"\\n Doctor Name\\n \")]),_c('div',[_vm._v(\"\\n \"+_vm._s(consultation.doctorName)+\"\\n \")])]),_vm._m(0,true),_c('div',[_c('label',{staticClass:\"label-display\"},[_vm._v(\"\\n Action\\n \")]),_c('div',{staticClass:\"mt-2\"},[_c('router-link',{staticClass:\"btn btn-primary btn-primary-insv\",attrs:{\"to\":{'name': 'user-clinic-consultation-detail', 'params': {'id': consultation.consultationId}}}},[_vm._v(\"View Consultation\")])],1)])])])})],2),_c('div',{staticClass:\"d-none d-md-block\"},[_c('div',{ref:\"tableSection\"},[_c('div',{staticClass:\"table-responsive\"},[_c('table',{ref:\"listTable\",staticClass:\"table table-hover\"},[_c('colgroup',[_c('col',{attrs:{\"width\":\"40\"}}),(_vm.isFamily)?_c('col'):_vm._e(),_c('col',{attrs:{\"width\":\"140\"}}),_c('col',{attrs:{\"width\":\"140\"}}),_c('col'),_c('col',{attrs:{\"width\":\"100\"}}),_c('col',{attrs:{\"width\":\"200\"}})]),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"#\")]),(_vm.isFamily)?_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Patient Name\")]):_vm._e(),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Date\")]),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Time\")]),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Doctor Name\")]),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Status\")]),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\"Action\")])])]),_c('tbody',[_c('tr',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.consultationList.length === 0),expression:\"consultationList.length === 0\"}]},[_c('td',{staticClass:\"text-center font-italic\",attrs:{\"colspan\":_vm.columnsCount}},[_vm._v(\"\\n \"+_vm._s(_vm.isTableLoading ? \"Loading Data\": \"No Data\")+\"\\n \")])]),_vm._l((_vm.consultationList),function(consultation,index){return _c('tr',{key:index},[_c('th',{attrs:{\"scope\":\"row\"}},[_vm._v(_vm._s(index+1))]),(_vm.isFamily)?_c('td',[_vm._v(_vm._s(consultation.patientName))]):_vm._e(),_c('td',{staticClass:\"text-nowrap\"},[_vm._v(_vm._s(consultation.date))]),_c('td',{staticClass:\"text-nowrap\"},[_vm._v(\"\\n \"+_vm._s(consultation.time)+\"\\n \")]),_c('td',[_vm._v(_vm._s(consultation.doctorName))]),_vm._m(1,true),_c('td',[_c('router-link',{attrs:{\"to\":{'name': 'user-clinic-consultation-detail', 'params': {'id': consultation.consultationId}}}},[_vm._v(\"View Consultation\")])],1)])})],2)]),_c('pagination',{attrs:{\"totalPages\":_vm.pagination.totalPages,\"scrollPosition\":_vm.pagination.scrollPosition},model:{value:(_vm.pagination.currentPage),callback:function ($$v) {_vm.$set(_vm.pagination, \"currentPage\", $$v)},expression:\"pagination.currentPage\"}})],1)])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mb-3\"},[_c('label',{staticClass:\"label-display\"},[_vm._v(\"\\n Status\\n \")]),_c('div',{staticClass:\"mt-2\"},[_c('span',{staticClass:\"badge badge-secondary\"},[_vm._v(\"\\n Ended\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',[_c('span',{staticClass:\"badge badge-secondary\"},[_vm._v(\"\\n Ended\\n \")])])}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./list.vue?vue&type=template&id=fd570f7a&\"\nimport script from \"./list.vue?vue&type=script&lang=js&\"\nexport * from \"./list.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","'use strict';\n\nvar anObject = require('./_an-object');\nvar toObject = require('./_to-object');\nvar toLength = require('./_to-length');\nvar toInteger = require('./_to-integer');\nvar advanceStringIndex = require('./_advance-string-index');\nvar regExpExec = require('./_regexp-exec-abstract');\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n return [\n // `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative($replace, regexp, this, replaceValue);\n if (res.done) return res.value;\n\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + S.slice(nextSourcePosition);\n }\n ];\n\n // https://tc39.github.io/ecma262/#sec-getsubstitution\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return $replace.call(replacement, symbols, function (match, ch) {\n var capture;\n switch (ch.charAt(0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return str.slice(0, position);\n case \"'\": return str.slice(tailPos);\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return ch;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return ch;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return ch;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n }\n});\n","'use strict';\nvar regexpExec = require('./_regexp-exec');\nrequire('./_export')({\n target: 'RegExp',\n proto: true,\n forced: regexpExec !== /./.exec\n}, {\n exec: regexpExec\n});\n","import moment from 'moment';\r\nexport function convertToUserReadableDate (iso8601DateTimeString) {\r\n let momentInstance = moment(iso8601DateTimeString);\r\n\r\n return momentInstance.format('DD MMMM YYYY');\r\n}\r\n\r\nexport function convertToUserReadableDateWithDay (iso8601DateTimeString) {\r\n let momentInstance = moment(iso8601DateTimeString);\r\n\r\n return momentInstance.format('DD MMMM YYYY (dddd)');\r\n}\r\n\r\nexport function convertToUserReadableTime (iso8601DateTimeString) {\r\n let momentInstance = moment(iso8601DateTimeString);\r\n\r\n return momentInstance.format('hh:mm A');\r\n}\r\n\r\nexport function convertToUserReadableDateTime (iso8601DateTimeString) {\r\n let momentInstance = moment(iso8601DateTimeString);\r\n\r\n return momentInstance.format('DD MMMM YYYY hh:mm A');\r\n}\r\n\r\nexport function convertDateToDDMMYYYY (iso8601DateTimeString) {\r\n let momentInstance = moment(iso8601DateTimeString);\r\n\r\n return momentInstance.format('DD/MM/YYYY');\r\n}\r\n\r\nexport function convertDateToIso8601 (birthdate) {\r\n let momentInstance = moment(birthdate, 'DD/MM/YYYY');\r\n return momentInstance.toISOString(true);\r\n}\r\n\r\nexport function replaceLineBreakInHtml (contentString) {\r\n if (!contentString) {\r\n return '-';\r\n }\r\n return contentString.replace(/(?:\\r\\n|\\r|\\n)/g, '
');\r\n}\r\n\r\nexport function replaceDashInUUID (uuid) {\r\n return uuid.replace(/-/g, '');\r\n}\r\n\r\nexport function getBirthDateFromNewIc (newIcNumber, dateTimeFormat = 'DD/MM/YYYY') {\r\n if (newIcNumber && newIcNumber.length > 5) {\r\n let birthDateChunk = newIcNumber.substring(0, 6);\r\n let momentInstance = moment(birthDateChunk, 'YYMMDD');\r\n\r\n if (momentInstance.isAfter(moment())) {\r\n momentInstance.subtract(100, 'years');\r\n }\r\n\r\n if (momentInstance.isValid()) {\r\n return momentInstance.format(dateTimeFormat);\r\n }\r\n }\r\n return '';\r\n}\r\n\r\nexport function generateRandomId () {\r\n let randLetter = String.fromCharCode(65 + Math.floor(Math.random() * 26));\r\n return `${randLetter}${Math.random().toString(36).substr(2, 10)}`;\r\n}\r\n\r\nexport function constructPrescriptionList (prescriptionListResponse) {\r\n return prescriptionListResponse.map((item) => {\r\n let drugItem = {\r\n 'productName': item.dd ? item.dd.pn : '-',\r\n 'drugType': item.dd ? item.dd.dt : 0,\r\n 'quantity': item.q,\r\n 'consumptionFrequency': item.fd,\r\n 'quantityPerConsumption': item.qc,\r\n 'drugId': item.dd ? item.dd.di : '-'\r\n };\r\n\r\n if (drugItem.drugType === 1) {\r\n drugItem.drugActiveIngredient = item.dd ? item.dd.ai : '-';\r\n drugItem.unitPrice = item.dd ? item.dd.up : 0;\r\n drugItem.unit = item.dd ? item.dd.u : '-';\r\n } else if (drugItem.drugType === 2) {\r\n drugItem.drugActiveIngredient = item.dd ? item.dd.pdai : '-';\r\n drugItem.unitPrice = item.dd ? item.dd.pdrp : 0;\r\n drugItem.unit = item.dd ? item.dd.pdu : '-';\r\n }\r\n\r\n return drugItem;\r\n });\r\n}\r\n"],"sourceRoot":""}