{"id":21197,"date":"2026-05-20T13:33:46","date_gmt":"2026-05-20T11:33:46","guid":{"rendered":"https:\/\/www.drugshortage.ch\/?page_id=21197"},"modified":"2026-07-01T19:05:20","modified_gmt":"2026-07-01T17:05:20","slug":"alternativen","status":"publish","type":"page","link":"https:\/\/www.drugshortage.ch\/index.php\/alternativen\/","title":{"rendered":"Alternativen"},"content":{"rendered":"\n<!-- ============================================================\n     ANLEITUNG: In WordPress als \"Benutzerdefiniertes HTML\"-Block einf\u00fcgen.\n     Diese Seite wird via URL-Parameter aufgerufen:\n     z.B. https:\/\/drugshortage.ch\/alternativen\/?GTIN=7680123456789\n     ============================================================ -->\n<style>\n  #alt-outer { width:100%; box-sizing:border-box; font-family:'Segoe UI',Arial,sans-serif; font-size:13px; color:#2d3748; }\n  .container,.container-fluid,.entry-content,.post-content,.page-content,\n  .site-content,.content-area,#content,#primary,main,article {\n    max-width:100% !important; overflow:visible !important;\n  }\n\n  \/* Ladeanimation *\/\n  #alt-loading { display:flex; align-items:center; gap:12px; padding:30px 20px; color:#718096; font-size:15px; }\n  .alt-spinner { width:24px; height:24px; border:3px solid #e2e8f0; border-top-color:#e53e3e; border-radius:50%; animation:altspin .8s linear infinite; flex-shrink:0; }\n  @keyframes altspin { to { transform:rotate(360deg); } }\n\n  \/* Titel-Box *\/\n  .alt-title-box { background:#fff; border:1px solid #e2e8f0; border-radius:10px; padding:20px 24px; margin-bottom:20px; box-shadow:0 1px 4px rgba(0,0,0,.06); }\n  .alt-title { font-size:20px; font-weight:700; color:#2d3748; margin-bottom:4px; }\n  .alt-medi-name { font-size:17px; font-weight:600; color:#e53e3e; margin-bottom:6px; }\n  .alt-subtitle { font-size:13px; color:#4a5568; margin-bottom:8px; }\n  .alt-hinweis { background:#fff5f5; border:1px solid #feb2b2; border-radius:8px; padding:10px 14px; font-size:12px; color:#c53030; line-height:1.6; margin-top:12px; }\n\n  \/* Kein-Algorithmus-Box *\/\n  .alt-kein-algo { background:#fffbeb; border:1px solid #f6e05e; border-radius:10px; padding:20px 24px; margin-top:16px; }\n  .alt-kein-algo-titel { font-size:15px; font-weight:700; color:#744210; margin-bottom:8px; }\n  .alt-kein-algo-text { font-size:13px; color:#744210; line-height:1.7; }\n\n  \/* Abschnittstitel *\/\n  .alt-section-title { font-size:15px; font-weight:700; color:#2d3748; margin:24px 0 6px 0; padding-bottom:6px; border-bottom:2px solid #e53e3e; display:flex; align-items:center; gap:8px; }\n  .alt-icon { background:#e53e3e; color:#fff; border-radius:6px; padding:2px 8px; font-size:11px; font-weight:600; }\n\n  \/* Unterabschnittstitel *\/\n  .alt-sub-title { font-size:13px; font-weight:600; color:#4a5568; margin:10px 0 6px 0; padding-left:10px; border-left:3px solid #e2e8f0; }\n  .alt-sub-title.gleich { border-left-color:#48bb78; color:#276749; }\n  .alt-sub-title.andere { border-left-color:#ed8936; color:#7b341e; }\n\n  \/* Tabellen *\/\n  .alt-table-wrap { overflow-x:auto; width:100%; border-radius:8px; box-shadow:0 1px 4px rgba(0,0,0,.07); margin-bottom:6px; }\n  .alt-table { width:100%; border-collapse:collapse; background:#fff; }\n  .alt-table thead tr { background:#2d3748; }\n  .alt-table th { padding:9px 12px; text-align:left; font-size:13px; font-weight:600; color:#fff; white-space:nowrap; }\n  .alt-table td { padding:7px 12px; border-bottom:1px solid #edf2f7; font-size:13px; vertical-align:middle; }\n  .alt-table tbody tr:last-child td { border-bottom:none; }\n  .alt-table tbody tr:hover td { background:#f7fafc !important; }\n  .alt-table a { color:#e53e3e; text-decoration:none; font-weight:500; }\n  .alt-table a:hover { text-decoration:underline; }\n\n  \/* Leer-Hinweis *\/\n  .alt-leer { padding:14px; color:#718096; text-align:center; font-style:italic; font-size:12px; background:#f7fafc; border-radius:8px; margin-bottom:6px; }\n\n  \/* Badge Original\/Generikum *\/\n  .alt-badge { display:inline-block; padding:2px 8px; border-radius:10px; font-size:11px; font-weight:600; }\n  .alt-orig { background:#bee3f8; color:#2b6cb0; }\n  .alt-gen  { background:#c6f6d5; color:#276749; }\n\n  \/* GTIN-Eingabe *\/\n  .alt-gtin-box { background:#fffbeb; border:1px solid #fbd38d; border-radius:10px; padding:20px 24px; }\n  .alt-gtin-input { padding:10px 14px; border:1px solid #e2e8f0; border-radius:8px; font-size:14px; width:220px; outline:none; }\n  .alt-gtin-input:focus { border-color:#e53e3e; }\n  .alt-gtin-btn { padding:10px 20px; background:#e53e3e; color:#fff; border:none; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; margin-left:8px; }\n  .alt-gtin-btn:hover { background:#c53030; }\n\n  \/* Footer *\/\n  .alt-footer { font-size:11px; color:#a0aec0; margin-top:16px; text-align:right; }\n<\/style>\n\n<div id=\"alt-outer\">\n  <div id=\"alt-loading\" style=\"display:none;\"><div class=\"alt-spinner\"><\/div> Alternativen werden gesucht\u2026<\/div>\n\n  <!-- GTIN-Eingabe falls kein URL-Parameter -->\n  <div id=\"alt-gtin-box\" class=\"alt-gtin-box\" style=\"display:none;\">\n    <p style=\"font-weight:600;margin-bottom:12px;\">Bitte GTIN eingeben um Alternativen anzuzeigen:<\/p>\n    <input type=\"text\" id=\"alt-gtin-input\" class=\"alt-gtin-input\" placeholder=\"13-stellige GTIN\u2026\" maxlength=\"13\">\n    <button class=\"alt-gtin-btn\" onclick=\"altSuche()\">Suchen \u2192<\/button>\n  <\/div>\n\n  <!-- Kein-Algorithmus-Meldung -->\n  <div id=\"alt-kein-algo-box\" style=\"display:none;\">\n    <div class=\"alt-title-box\">\n      <div class=\"alt-title\">Alternativen <span style=\"font-weight:400;font-size:16px;\">(ohne gemeldeten Lieferengpass)<\/span><\/div>\n      <div class=\"alt-medi-name\" id=\"alt-kein-algo-medi-name\"><\/div>\n      <div style=\"font-size:12px;color:#718096;\">GTIN: <strong id=\"alt-kein-algo-gtin\">\u2013<\/strong><\/div>\n    <\/div>\n    <div class=\"alt-kein-algo\">\n      <div class=\"alt-kein-algo-titel\">&#x26a0;&#xfe0f; Keine algorithmische Alternativensuche m\u00f6glich<\/div>\n      <div class=\"alt-kein-algo-text\" id=\"alt-kein-algo-text\"><\/div>\n    <\/div>\n  <\/div>\n\n  <div id=\"alt-inhalt\" style=\"display:none;\">\n\n    <!-- Titel -->\n    <div class=\"alt-title-box\">\n      <div class=\"alt-title\">Alternativen <span style=\"font-weight:400;font-size:16px;\">(ohne gemeldeten Lieferengpass)<\/span><\/div>\n      <div class=\"alt-medi-name\" id=\"alt-medi-name\"><\/div>\n      <div class=\"alt-subtitle\">Gleiche Wirkstoffklasse \u00b7 gleicher Verabreichungsweg \u00b7 allenfalls unterschiedliche Dosierungen oder Packungsgr\u00f6ssen<\/div>\n      <div style=\"font-size:12px;color:#718096;\">GTIN: <strong id=\"alt-gtin-anzeige\">\u2013<\/strong><\/div>\n      <div class=\"alt-hinweis\">\n        &#x26a0;&#xfe0f; <strong>Hinweis:<\/strong> Die Alternativen werden \u00fcber einen Algorithmus automatisch abgefragt.\n        Es handelt sich um <strong>keine Empfehlung<\/strong>, sondern um eine Datenbankabfrage.\n        Die Beurteilung ob eine Alternative f\u00fcr einen einzelnen Patienten\/Patientin geeignet ist,\n        muss von einer Fachperson gemacht werden.\n      <\/div>\n    <\/div>\n\n    <!-- 1. Gleiche Firma -->\n    <div class=\"alt-section-title\"><span class=\"alt-icon\">&#x1f3ed;<\/span> Alternativpr\u00e4parate von der gleichen Firma<\/div>\n    <div class=\"alt-sub-title gleich\">&#x2705; Gleiche Dosierung<\/div>\n    <div id=\"alt-gleiche-firma-gleich\"><\/div>\n    <div class=\"alt-sub-title andere\">&#x1f538; Andere Dosierungen<\/div>\n    <div id=\"alt-gleiche-firma-andere\"><\/div>\n\n    <!-- 2. Co-Marketing -->\n    <div class=\"alt-section-title\"><span class=\"alt-icon\">&#x1f504;<\/span> Co-Marketing Pr\u00e4parate <span style=\"font-size:13px;font-weight:400;\">(identisch)<\/span><\/div>\n    <div class=\"alt-sub-title gleich\">&#x2705; Gleiche Dosierung<\/div>\n    <div id=\"alt-comarketing-gleich\"><\/div>\n    <div class=\"alt-sub-title andere\">&#x1f538; Andere Dosierungen<\/div>\n    <div id=\"alt-comarketing-andere\"><\/div>\n\n    <!-- 3. Alle Alternativen -->\n    <div class=\"alt-section-title\"><span class=\"alt-icon\">&#x1f4cb;<\/span> \u00dcbersicht alle Alternativ-Pr\u00e4parate<\/div>\n    <div class=\"alt-sub-title gleich\">&#x2705; Gleiche Dosierung<\/div>\n    <div id=\"alt-alle-gleich\"><\/div>\n    <div class=\"alt-sub-title andere\">&#x1f538; Andere Dosierungen<\/div>\n    <div id=\"alt-alle-andere\"><\/div>\n\n    <div class=\"alt-footer\">Quelle: drugshortage.ch \u00b7 automatische Datenbankabfrage<\/div>\n  <\/div>\n<\/div>\n\n<script>\n\nconst ALT_BASE = \"https:\/\/www.drugshortage.ch\";\nconst ALT_API  = ALT_BASE + \"\/ds.php?a=alternativen\";\n\nfunction altGetParam(name) {\n  const params = new URLSearchParams(window.location.search);\n  return params.get(name) || params.get(name.toLowerCase()) || \"\";\n}\n\nasync function altLade(gtin) {\n  document.getElementById(\"alt-loading\").style.display      = \"flex\";\n  document.getElementById(\"alt-gtin-box\").style.display     = \"none\";\n  document.getElementById(\"alt-inhalt\").style.display       = \"none\";\n  document.getElementById(\"alt-kein-algo-box\").style.display = \"none\";\n\n  try {\n    const res = await fetch(ALT_API + \"&GTIN=\" + encodeURIComponent(gtin), {headers: {'X-Requested-With': 'XMLHttpRequest'}});\n    const d = await res.json();\n    document.getElementById(\"alt-loading\").style.display = \"none\";\n\n    if (d.fehler) {\n      document.getElementById(\"alt-loading\").style.display = \"flex\";\n      document.getElementById(\"alt-loading\").innerHTML =\n        \"<div style='color:#c53030;padding:20px;background:#fff5f5;border-radius:8px;width:100%;'>\" +\n        \"<strong>&#x26a0;&#xfe0f; Fehler:<\/strong> \" + d.fehler + \"<\/div>\";\n      return;\n    }\n\n    \/\/ \u2500\u2500 Kein Algorithmus m\u00f6glich \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n    if (d.keinAlgorithmus) {\n      var nameEl2 = document.getElementById(\"alt-kein-algo-medi-name\");\n      nameEl2.textContent = d.bezeichnungSuche || '';\n      nameEl2.style.display = d.bezeichnungSuche ? \"block\" : \"none\";\n      document.getElementById(\"alt-kein-algo-gtin\").textContent = gtin;\n      document.getElementById(\"alt-kein-algo-text\").textContent = d.meldung || '';\n      document.getElementById(\"alt-kein-algo-box\").style.display = \"block\";\n      return;\n    }\n\n    \/\/ \u2500\u2500 Normale Anzeige \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n    document.getElementById(\"alt-gtin-anzeige\").textContent = gtin;\n    var nameEl = document.getElementById(\"alt-medi-name\");\n    if (d.bezeichnungSuche) {\n      nameEl.textContent = d.bezeichnungSuche;\n      nameEl.style.display = \"block\";\n    } else {\n      nameEl.style.display = \"none\";\n    }\n\n    var colsBase = [\n      {key:\"bezeichnung\", label:\"Bezeichnung\"},\n      {key:\"firma\",       label:\"Firma\"},\n      {key:\"gtin\",        label:\"GTIN\"}\n    ];\n    var colsMitGencd = colsBase.concat([{key:\"gencd\", label:\"Original\/Generikum\", badge:true}]);\n\n    altZeigeTabelle(d.gleicheFirmaGleich || [], \"alt-gleiche-firma-gleich\", colsBase,\n      \"Keine Alternativpr\u00e4parate der gleichen Firma mit identischer Dosierung vorhanden.\");\n    altZeigeTabelle(d.gleicheFirmaAndere || [], \"alt-gleiche-firma-andere\", colsBase,\n      \"Keine Alternativpr\u00e4parate der gleichen Firma in anderer Dosierung vorhanden.\");\n    altZeigeTabelle(d.coMarketingGleich || [], \"alt-comarketing-gleich\", colsMitGencd,\n      \"Kein Co-Marketing Pr\u00e4parat mit identischer Dosierung ohne gemeldeten Lieferengpass.\");\n    altZeigeTabelle(d.coMarketingAndere || [], \"alt-comarketing-andere\", colsMitGencd,\n      \"Kein Co-Marketing Pr\u00e4parat in anderer Dosierung ohne gemeldeten Lieferengpass.\");\n    altZeigeTabelle(d.alleGleich || [], \"alt-alle-gleich\", colsMitGencd,\n      \"Keine Alternativpr\u00e4parate mit identischer Dosierung auf dem Schweizer Markt vorhanden.\");\n    altZeigeTabelle(d.alleAndere || [], \"alt-alle-andere\", colsMitGencd,\n      \"Keine Alternativpr\u00e4parate in anderer Dosierung auf dem Schweizer Markt vorhanden.\");\n\n    document.getElementById(\"alt-inhalt\").style.display = \"block\";\n\n  } catch(err) {\n    document.getElementById(\"alt-loading\").style.display = \"flex\";\n    document.getElementById(\"alt-loading\").innerHTML =\n      \"<div style='color:#c53030;padding:20px;'>&#x274c; Fehler beim Laden: \" + err + \"<\/div>\";\n  }\n}\n\nfunction altZeigeTabelle(daten, containerId, cols, leerText) {\n  const container = document.getElementById(containerId);\n  if (!daten.length) {\n    container.innerHTML = \"<div class='alt-leer'>\" + leerText + \"<\/div>\";\n    return;\n  }\n  let html = \"<div class='alt-table-wrap'><table class='alt-table'><thead><tr>\";\n  cols.forEach(function(c) { html += \"<th>\" + c.label + \"<\/th>\"; });\n  html += \"<\/tr><\/thead><tbody>\";\n  daten.forEach(function(row) {\n    html += \"<tr>\";\n    cols.forEach(function(c) {\n      const val = row[c.key] || \"\u2013\";\n      if (c.badge) {\n        const cls = val.toLowerCase().includes(\"gen\") ? \"alt-gen\" : \"alt-orig\";\n        html += \"<td style='text-align:center;'><span class='alt-badge \" + cls + \"'>\" + val + \"<\/span><\/td>\";\n      } else if (c.key === \"bezeichnung\") {\n        html += \"<td style='white-space:nowrap;font-weight:500;'>\" + val + \"<\/td>\";\n      } else if (c.key === \"gtin\") {\n        html += \"<td style='color:#a0aec0;font-size:12px;'>\" + val + \"<\/td>\";\n      } else {\n        html += \"<td style='white-space:nowrap;'>\" + val + \"<\/td>\";\n      }\n    });\n    html += \"<\/tr>\";\n  });\n  html += \"<\/tbody><\/table><\/div>\";\n  container.innerHTML = html;\n}\n\nfunction altSuche() {\n  const gtin = document.getElementById(\"alt-gtin-input\").value.trim();\n  if (!\/^\\d{13}$\/.test(gtin)) {\n    alert(\"Bitte eine g\u00fcltige 13-stellige GTIN eingeben.\");\n    return;\n  }\n  altLade(gtin);\n}\n\n(function() {\n  function init() {\n    const gtin = altGetParam(\"GTIN\");\n    if (gtin) {\n      altLade(gtin);\n    } else {\n      document.getElementById(\"alt-gtin-box\").style.display = \"block\";\n    }\n  }\n  if (document.readyState === \"loading\") {\n    document.addEventListener(\"DOMContentLoaded\", init);\n  } else {\n    init();\n  }\n  var inp2 = document.getElementById(\"alt-gtin-input\");\n  if (inp2) inp2.addEventListener(\"keydown\", function(e) {\n    if (e.key === \"Enter\") altSuche();\n  });\n}());\n\n<\/script>\n\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alternativen werden gesucht\u2026 Bitte GTIN eingeben um Alternativen anzuzeigen: Suchen \u2192 Alternativen (ohne gemeldeten Lieferengpass) GTIN: \u2013 &#x26a0;&#xfe0f; Keine algorithmische Alternativensuche m\u00f6glich Alternativen (ohne gemeldeten Lieferengpass) Gleiche Wirkstoffklasse \u00b7 gleicher Verabreichungsweg \u00b7 allenfalls unterschiedliche Dosierungen oder Packungsgr\u00f6ssen GTIN: \u2013 &#x26a0;&#xfe0f; Hinweis: Die Alternativen werden \u00fcber einen Algorithmus automatisch abgefragt. Es handelt sich um keine Empfehlung,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":"","_members_access_role":[],"_members_access_error":""},"class_list":["post-21197","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/comments?post=21197"}],"version-history":[{"count":11,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21197\/revisions"}],"predecessor-version":[{"id":21902,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21197\/revisions\/21902"}],"wp:attachment":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/media?parent=21197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}