Manage, Transfer, & Refill Prescriptions Online


Pharmacy | Manage, Transfer, & Refill Prescriptions Online | CVS Pharmacy 1 && qs[1] === ‘filter=readyforpickup’) { window.sessionStorage.setItem(‘loadReadyForPickup’, true); } //Passing the env in the query string var envQs = getQs(‘env’); if (envQs && envQs.value) { document.cookie = ‘env=’ + String(envQs.value).toUpperCase(); } var iST = getQs(‘selftie’) || getQs(‘WT.ac’); if (iST && (iST.key === ‘selftie’ || (iST.value && iST.value.indexOf(‘ConnectPrescriptions’) >= 0))) { try { var isRxmOn = String(getCookie(‘rxm’)).toUpperCase() === ‘ON’; if (isRxmOn) { window.sessionStorage.setItem(‘rxmInfo’, JSON.stringify({ returnURL: window.location.protocol + ‘//’ + window.location.hostname })); window.location.href = ‘/pharmacy/rx-manage/rxtie’; } else { window.sessionStorage.setItem(‘selfTieV2’, true); } } catch (ex) { } } var channelCookie = getCookie(‘Channel’); var isPBM = checkIsCMKportal(); var desktopMatched = location.hash.match(/#/dashboard/i); // mobile uses *.cvs.com/#/pharmacy for dashboard var mobileMatched = location.hash.match(/#/pharmacy/i); var isRxSettingsPage = location.hash.match(/#/pharmacy-settings/i); var transfer = location.hash.match(/#/pharmacy/rxTransfer/i); // handling bookmarking to V1 dashboard, redirecting to V2 if ((desktopMatched || mobileMatched) && !location.hostname.match(/caremark.com/i) && !isRxSettingsPage && !transfer) { location.replace(location.href.replace(‘/v1/’, ‘/v2/’)); } // given a cookie name, get its value function getCookie(name) { var value = “; ” + document.cookie; var parts = value.split(“; ” + name + “=”); if (parts.length >= 2) { return parts.pop().split(“;”).shift(); } else { return ”; } } window.getCookie = getCookie; function checkIsCMKportal() { return (channelCookie === ‘CVS_PBM_ANDROID’ || channelCookie === ‘CVS_PBM_IPHONE’ || channelCookie === ‘CVS_PBM_WEB’); } function checkIsRetail() { return (channelCookie === ‘CVS_RETAIL_IPHONE’ || channelCookie === ‘CVS_RETAIL_ANDROID’); } function getQs(key) { var envQs = location.search || location.hash; var qsPos = envQs.indexOf(‘?’); if (qsPos >= 0) { envQs = envQs.substr(qsPos + 1).split(‘&’) .map(function (q) { return { key: q.split(‘=’)[0], value: q.split(‘=’)[1] }; }) .filter(function (q) { return q.key === key })[0]; } return envQs; } ]]>

One moment while we process your request.


Source