{"id":20469,"date":"2026-09-14T15:59:33","date_gmt":"2026-09-14T13:59:33","guid":{"rendered":"https:\/\/provitam.ro\/?page_id=20469"},"modified":"2026-09-14T17:24:46","modified_gmt":"2026-09-14T15:24:46","slug":"programari-online","status":"publish","type":"page","link":"https:\/\/provitam.ro\/en\/book-appointment\/","title":{"rendered":"Book an appointment"},"content":{"rendered":"<style>\n\/* Appointment pages: trim the gap above the form and narrow the title bar. *\/\nbody.page-id-20469 .pagetitle,\nbody.page-id-20470 .pagetitle {\n\twidth: 50% !important;\n\t\/* the theme sets 85px with !important, so match its weight *\/\n\tpadding-top: 30px !important;\n\tpadding-bottom: 30px !important;\n}\n\nbody.page-id-20469 .site-content,\nbody.page-id-20470 .site-content {\n\tpadding-top: 0;\n}\n\n\/* A half-width bar only makes sense where there is room for it. *\/\n@media (max-width: 900px) {\n\tbody.page-id-20469 .pagetitle,\n\tbody.page-id-20470 .pagetitle {\n\t\twidth: 100% !important;\n\t}\n}\n<\/style>\n\n\n\n<div class=\"provitam-embed\">\n\t<iframe class=\"provitam-appointment-embed\"\n\t\tdata-form=\"doctors\"\n\t\ttitle=\"Programare online - consulta\u021bii de specialitate\"\n\t\tstyle=\"width:100%; height:1400px; border:0; display:block; overflow:hidden;\"\n\t\tscrolling=\"no\"\n\t\tdata-no-lazy=\"1\"><\/iframe>\n\t<noscript>\n\t\t<iframe src=\"https:\/\/apps.provitam.ro\/appointments\/headless\/doctors?lang=ro\"\n\t\t\tstyle=\"width:100%; height:1400px; border:0; display:block;\"><\/iframe>\n\t<\/noscript>\n<\/div>\n\n<script>\n(function () {\n\t'use strict';\n\n\tvar APP_ORIGIN = 'https:\/\/apps.provitam.ro';\n\tvar SUPPORTED = ['ro', 'hu', 'en'];\n\n\t\/\/ TranslatePress serves \/, \/en\/ and \/hu\/ from one page and sets <html lang>,\n\t\/\/ but does not rewrite an iframe src - so the frame reads the language itself.\n\tfunction language() {\n\t\tvar lang = (document.documentElement.lang || 'ro').slice(0, 2).toLowerCase();\n\t\treturn SUPPORTED.indexOf(lang) === -1 ? 'ro' : lang;\n\t}\n\n\tvar frames = document.querySelectorAll('iframe.provitam-appointment-embed');\n\n\tfor (var i = 0; i < frames.length; i++) {\n\t\tif (!frames[i].getAttribute('src')) {\n\t\t\tframes[i].src = APP_ORIGIN + '\/appointments\/headless\/' +\n\t\t\t\tframes[i].getAttribute('data-form') + '?lang=' + language();\n\t\t}\n\t}\n\n\twindow.addEventListener('message', function (event) {\n\t\tif (event.origin !== APP_ORIGIN) { return; }\n\n\t\tvar data = event.data;\n\t\tif (!data || data.source !== 'provitam-headless' || data.type !== 'resize') { return; }\n\n\t\tvar height = parseInt(data.height, 10);\n\t\tif (!height || height < 60 || height > 20000) { return; }\n\n\t\tvar all = document.querySelectorAll('iframe.provitam-appointment-embed');\n\t\tfor (var j = 0; j < all.length; j++) {\n\t\t\tif (all[j].contentWindow === event.source) {\n\t\t\t\t\/\/ Exactly the reported height - adding padding here ratchets upwards.\n\t\t\t\tall[j].style.height = height + 'px';\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}, false);\n})();\n<\/script>","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-20469","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/provitam.ro\/en\/wp-json\/wp\/v2\/pages\/20469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/provitam.ro\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/provitam.ro\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/provitam.ro\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/provitam.ro\/en\/wp-json\/wp\/v2\/comments?post=20469"}],"version-history":[{"count":4,"href":"https:\/\/provitam.ro\/en\/wp-json\/wp\/v2\/pages\/20469\/revisions"}],"predecessor-version":[{"id":20478,"href":"https:\/\/provitam.ro\/en\/wp-json\/wp\/v2\/pages\/20469\/revisions\/20478"}],"wp:attachment":[{"href":"https:\/\/provitam.ro\/en\/wp-json\/wp\/v2\/media?parent=20469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}