{"id":4710,"date":"2021-09-14T13:24:52","date_gmt":"2021-09-14T13:24:52","guid":{"rendered":"https:\/\/telemedi.com\/?page_id=4710"},"modified":"2024-11-15T11:12:04","modified_gmt":"2024-11-15T10:12:04","slug":"consultation-book","status":"publish","type":"page","link":"https:\/\/telemedi.com\/pl\/consultation-book\/","title":{"rendered":"Um\u00f3w wizyt\u0119"},"content":{"rendered":"\n<section id=\"\" class=\"u-bg-romance hero section--padding-default\">\n<div class=\"container u-bg-romance hero__wrapper  after-background-romance\">\n            <div class=\"row columns-14 columns-mobile-8 hero__header-wrapper\">\n            <div class=\"hero__header \">\n                <h1 class=\"h1 hero__heading\" >Razem zadbamy <\/br>o<span class=\"u-text-green\"> Twoje zdrowie<\/span><\/h1>                <div class=\"hero__description\">\n                    <p>Potrzebujesz recepty, zwolnienia lub skierowania na badania? <strong>Wizyta ju\u017c w ci\u0105gu godziny.<\/strong><\/p>\n                <\/div>\n            <\/div>\n            <div class=\"hero__image-mobile\" style=\"background-image: url('')\">\n\n            <\/div>\n        <\/div>\n        <div class=\"row columns-14 u-bg-white hero__content-wrapper  \">\n                <div class=\"hero__content hero__content--ultrawide\">\n            <style>\n        #telemedi-widget-wrapper .telemedi-widget-root {\n            position: relative;\n            width: 100%;\n            height: auto;\n        }\n        \/* hide shadow box for the stationary widget *\/\n        #telemedi-consbook-stationary-widget > div > div {\n            padding: 0;\n            box-shadow: unset;\n        }\n    <\/style>\n    <div id=\"telemedi-widget-wrapper\"><\/div>\n        <script>\n        function getWidgetConfig() {\n            const widgetConfig = {\n                targetElementID: 'telemedico-widget',\r\n                apiHost: 'https:\/\/telemedi.co',\r\n                                logoImage: '',\r\n                displayMode: 'regular',\r\n                splashScreen: false,\r\n                splashScreenBackgroundImage: '',\r\n                visitDatePicker: 'consbook',\r\n                onDeclarationSuccess: ()=>{},\r\n                formDescription: '',\r\n                fullWidthLayout: true,\r\n                specializationID: '164b5f7f-b72e-4038-a67c-5308082734a9',\r\n                quickPaidRegisterPathFields: [],\r\n                                covidVisibility: false,\r\n                                saveSession: false,\r\n                loadSession: false,\r\n                defaultStrategy: 'newUserStrategy',\r\n                showUserSessionStatus: false,\r\n                VPOZDeclarationsPromotionCodeSource: '',\r\n                additionalPaymentLinkRedirectURL: true,\r\n                dashboardHost: 'https:\/\/panel.telemedi.com',\r\n                ignoredChannels: [],\r\n                defaultChannel: 'PHONE',\r\n                language: 'pl',\r\n                referralPromotionEnabled: false,\r\n                detailedSource: 'cb-wide',\r\n                fusionAuthEnabled: true,\r\n               fusionAuthHost: \"https:\/\/sso-middleware.telemedi.com\",\r\nclinicId: \"e255f0a2-36e6-4b41-b6c3-580669d42cbc\",\r\nshouldPaymentProviderRedirectBackToCurrentHost: true,\r\nshouldAddLanguageToRedirectUrl: true,            }\n\n            \/\/ update widget config specializationID with overrideSpecializationID\n            const overrideSpecializationID = \"\";\n            if (overrideSpecializationID) {\n                widgetConfig.specializationID = overrideSpecializationID;\n            }\n            \/\/ update widget config specializationID with specializationID from url\n            const urlParams = new URLSearchParams(window.location.search);\n            if (urlParams.get('specializationID')) {\n                widgetConfig.specializationID = urlParams.get('specializationID');\n            }\n\n            \/\/ update stationary widget config with city and specialization parameters from friendly url\n            const stationaryCity = \"\";\n            const stationarySpecialization = \"\";\n            if (stationaryCity && stationarySpecialization) {\n                widgetConfig.city = stationaryCity;\n                widgetConfig.specialization = stationarySpecialization;\n            }\n\n            if (typeof window.OpenReplay !== \"undefined\" ) {\n                \/\/ pass OpenReplay reference to widget config\n                widgetConfig.openReplayTracker = window.OpenReplay;\n            }\n\n            return widgetConfig;\n        }\n\n        function getMultipleWidgetData() {\n            const multipleWidgetData = [{\n                'hostUrl': 'https:\/\/widget.telemedi.com\/consbook-widget\/widget.js?v=t1',\n                'widgetRoot': 'Telemedico',\n                'widgetId': 'telemedico-widget',\n                'widgetConfig': getWidgetConfig(),\n            }]\n                        return multipleWidgetData;\n        }\n\n        \/\/ appends passed config data to initially loaded data\n        function reloadConsbookWidgetWithConfigUpdate(widgetConfigUpdate = {}) {\n            if (typeof reloadConsbookWidget !== 'undefined') {\n                const widgetConfig = { ...getWidgetConfig(), ...widgetConfigUpdate };\n                reloadConsbookWidget(widgetConfig);\n            }\n        }\n\n        function telemediLoadWidget(widgetRoot, hostUrl, widgetId, config, tabIndex) {\n            \/\/ clear existing widget\n            const widgetWrapper = document.getElementById(\"telemedi-widget-wrapper\");\n            widgetWrapper.innerHTML =\n                '<div class=\"telemedi-widget-root\" id=\"' + widgetId + '\"><div class=\"telemedi-loader\"><\/div><\/div>';\n            \/\/ hide custom html\n            document.querySelectorAll(\".telemedi-widget-custom-html\").forEach(function (element) {\n                element.style.display = \"none\";\n            });\n            \/\/ check if selected tab has custom html\n            const customHtmlTab = document.querySelector(`[data-widget-tab=\"${tabIndex}\"]`);\n            if (customHtmlTab) {\n                widgetWrapper.style.display = \"none\";\n                customHtmlTab.style.display = \"block\";\n            } else {\n                widgetWrapper.style.display = \"block\";\n            }\n            \/\/ load widget\n            \/\/ check if consbook widget is already loaded on page\n            \/\/ if so reloadConsbookWidget to prevent error:\n            \/\/ Element.attachShadow: Unable to re-attach to existing ShadowDOM\n            if (widgetRoot === 'Telemedico' && window[widgetRoot] && typeof reloadConsbookWidget !== 'undefined') {\n                reloadConsbookWidget(config);\n            } else {\n                (function (w, d, s, o, f, js, fjs) {\n                    w[o] = w[o] || function () {\n                        (w[o].q = w[o].q || []).push(arguments)\n                    };\n                    js = d.createElement(s), fjs = d.getElementsByTagName(s)[0];\n                    js.id = o;\n                    js.src = f;\n                    js.async = 1;\n                    fjs.parentNode.insertBefore(js, fjs);\n                }(window, document, 'script', widgetRoot, hostUrl));\n                window[widgetRoot](config);\n            }\n        }\n\n        function telemediLoadWidgetByTabIndex(index) {\n            const multipleWidgetData = getMultipleWidgetData();\n            const widgetData = multipleWidgetData[index];\n            telemediLoadWidget(\n                widgetData['widgetRoot'],\n                widgetData['hostUrl'],\n                widgetData['widgetId'],\n                widgetData['widgetConfig'],\n                index\n            );\n        }\n\n        telemediLoadWidget(\n            'Telemedico',\n            'https:\/\/widget.telemedi.com\/consbook-widget\/widget.js?v=t1',\n            'telemedico-widget',\n            getWidgetConfig(),\n            0\n        );\n    <\/script>\n        <\/div>\n            <\/div>\n    <\/div>\n<\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-full-width.php","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"class_list":["post-4710","page","type-page","status-publish","hentry"],"acf":[],"lang":"pl","translations":{"pl":4710},"_links":{"self":[{"href":"https:\/\/telemedi.com\/tm-api\/wp\/v2\/pages\/4710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/telemedi.com\/tm-api\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/telemedi.com\/tm-api\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/telemedi.com\/tm-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/telemedi.com\/tm-api\/wp\/v2\/comments?post=4710"}],"version-history":[{"count":33,"href":"https:\/\/telemedi.com\/tm-api\/wp\/v2\/pages\/4710\/revisions"}],"predecessor-version":[{"id":22210,"href":"https:\/\/telemedi.com\/tm-api\/wp\/v2\/pages\/4710\/revisions\/22210"}],"wp:attachment":[{"href":"https:\/\/telemedi.com\/tm-api\/wp\/v2\/media?parent=4710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}