{"id":21259,"date":"2026-05-20T19:39:33","date_gmt":"2026-05-20T17:39:33","guid":{"rendered":"https:\/\/www.drugshortage.ch\/?page_id=21259"},"modified":"2026-05-20T19:39:36","modified_gmt":"2026-05-20T17:39:36","slug":"ausser-handel-2","status":"publish","type":"page","link":"https:\/\/www.drugshortage.ch\/index.php\/ausser-handel-2\/","title":{"rendered":"Ausser Handel"},"content":{"rendered":"\n\n<style>\n  #ah-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  #ah-loading { display:flex; align-items:center; gap:12px; padding:30px 20px; color:#718096; font-size:15px; }\n  .ah-spinner { width:24px; height:24px; border:3px solid #e2e8f0; border-top-color:#e53e3e; border-radius:50%; animation:ahspin .8s linear infinite; flex-shrink:0; }\n  @keyframes ahspin { to { transform:rotate(360deg); } }\n\n  \/* Titel-Box *\/\n  .ah-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  .ah-title { font-size:18px; font-weight:700; color:#2d3748; margin-bottom:6px; }\n  .ah-anzahl { font-size:13px; color:#e53e3e; font-weight:600; margin-top:8px; }\n\n  \/* Hinweis *\/\n  .ah-hinweis { background:#fffbeb; border:1px solid #fbd38d; border-radius:8px; padding:10px 14px; font-size:13px; color:#744210; line-height:1.6; margin-bottom:16px; }\n\n  \/* Suche *\/\n  #ah-suche { width:100%; padding:10px 14px; margin-bottom:12px; border:1px solid #e2e8f0; border-radius:8px; font-size:13px; box-sizing:border-box; outline:none; transition:border-color .2s; }\n  #ah-suche:focus { border-color:#e53e3e; box-shadow:0 0 0 3px rgba(229,62,62,.1); }\n\n  \/* Tabelle *\/\n  .ah-table-wrap { overflow-x:auto; width:100%; border-radius:8px; box-shadow:0 1px 4px rgba(0,0,0,.07); }\n  .ah-table { width:100%; border-collapse:collapse; background:#fff; }\n  .ah-table thead tr { background:#e53e3e; }\n  .ah-table th { padding:9px 12px; text-align:left; font-size:13px; font-weight:600; color:#fff; white-space:nowrap; cursor:pointer; user-select:none; }\n  .ah-table th:hover { background:#c53030; }\n  .ah-table td { padding:7px 12px; border-bottom:1px solid #edf2f7; font-size:13px; vertical-align:middle; }\n  .ah-table tbody tr:last-child td { border-bottom:none; }\n  .ah-table tbody tr:hover td { background:#fff5f5 !important; }\n\n  \/* Footer *\/\n  .ah-footer { font-size:11px; color:#a0aec0; margin-top:10px; text-align:right; }\n<\/style>\n\n<div id=\"ah-outer\">\n  <div id=\"ah-loading\"><div class=\"ah-spinner\"><\/div> Daten werden geladen\u2026<\/div>\n  <div id=\"ah-inhalt\" style=\"display:none;\">\n\n    <div class=\"ah-title-box\">\n      <div class=\"ah-title\">Medikamente, die nach einem Lieferengpass ausser Handel gekommen sind<\/div>\n      <div class=\"ah-anzahl\" id=\"ah-anzahl\">\u2013 Eintr\u00e4ge<\/div>\n    <\/div>\n\n    <div class=\"ah-hinweis\">\n      Die aufgef\u00fchrten Lieferengp\u00e4sse stammen aus freiwilligen Meldungen von Usern dieser Webseite.\n      Diese sind auch verantwortlich f\u00fcr das Update der Meldungen. Die Angaben haben keinen Anspruch auf Vollst\u00e4ndigkeit.<br>\n      F\u00fcr vollst\u00e4ndige Informationen wenden Sie sich bitte an die zust\u00e4ndige Firma.\n    <\/div>\n\n    <input type=\"text\" id=\"ah-suche\" placeholder=\"&#x1f50d;  Suche nach Bezeichnung, Firma oder ATC\u2026\" \/>\n    <div class=\"ah-table-wrap\">\n      <table class=\"ah-table\" style=\"min-width:700px;\">\n        <thead><tr>\n          <th onclick=\"ahSortiere('gtin')\">GTIN &#x2195;<\/th>\n          <th onclick=\"ahSortiere('bezeichnung')\">Bezeichnung &#x2195;<\/th>\n          <th onclick=\"ahSortiere('firma')\">Firma &#x2195;<\/th>\n          <th onclick=\"ahSortiere('atc')\">ATC &#x2195;<\/th>\n          <th onclick=\"ahSortiere('tradeDate')\">Ausser Handel seit &#x2195;<\/th>\n        <\/tr><\/thead>\n        <tbody id=\"ah-tbody\"><\/tbody>\n      <\/table>\n    <\/div>\n    <div class=\"ah-footer\">drugshortage.ch \u00b7 Start der Datenbank am 1.8.2015<\/div>\n\n  <\/div>\n<\/div>\n\n<script>\nconst AH_BASE = \"https:\/\/www.drugshortage.ch\";\nconst AH_API  = AH_BASE + \"\/api_ausserhandel.php\";\n\nlet ahAlleDaten = [];\nlet ahSortiereNach = \"bezeichnung\";\nlet ahAufsteigend = true;\n\nasync function ladeDaten() {\n  try {\n    const res = await fetch(AH_API);\n    const d = await res.json();\n\n    if (d.fehler) {\n      document.getElementById(\"ah-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    ahAlleDaten = d.resultate || [];\n    document.getElementById(\"ah-anzahl\").textContent = ahAlleDaten.length + \" Eintr\u00e4ge\";\n\n    if (ahAlleDaten.length === 0) {\n      document.getElementById(\"ah-tbody\").innerHTML =\n        \"<tr><td colspan='5' style='padding:20px;color:#008000;text-align:center;font-weight:600;'>\" +\n        \"Zur Zeit keine Daten (Start der Datenbank am 1.8.2015)<\/td><\/tr>\";\n    } else {\n      ahZeigeTabelle(ahAlleDaten);\n    }\n\n    document.getElementById(\"ah-loading\").style.display = \"none\";\n    document.getElementById(\"ah-inhalt\").style.display  = \"block\";\n\n  } catch(err) {\n    document.getElementById(\"ah-loading\").innerHTML =\n      \"<div style='color:#c53030;padding:20px;'>&#x274c; Fehler beim Laden: \" + err + \"<\/div>\";\n  }\n}\n\nfunction ahZeigeTabelle(daten) {\n  const tbody = document.getElementById(\"ah-tbody\");\n  tbody.innerHTML = \"\";\n  daten.forEach(function(e) {\n    const tr = document.createElement(\"tr\");\n    tr.innerHTML =\n      \"<td style='color:#a0aec0;font-size:12px;'>\"   + (e.gtin        || \"\u2013\") + \"<\/td>\" +\n      \"<td style='white-space:nowrap;font-weight:500;'>\" + (e.bezeichnung || \"\u2013\") + \"<\/td>\" +\n      \"<td style='white-space:nowrap;'>\"              + (e.firma        || \"\u2013\") + \"<\/td>\" +\n      \"<td style='font-size:12px;'>\"                  + (e.atc          || \"\u2013\") + \"<\/td>\" +\n      \"<td style='white-space:nowrap;color:#e53e3e;font-weight:600;'>\" + ahDatum(e.tradeDate) + \"<\/td>\";\n    tbody.appendChild(tr);\n  });\n}\n\nfunction ahSortiere(feld) {\n  ahAufsteigend = (ahSortiereNach === feld) ? !ahAufsteigend : true;\n  ahSortiereNach = feld;\n  const q = document.getElementById(\"ah-suche\").value.toLowerCase();\n  const liste = ahFiltern(q).sort(function(a, b) {\n    const va = (a[feld] || \"\").toLowerCase();\n    const vb = (b[feld] || \"\").toLowerCase();\n    return ahAufsteigend ? va.localeCompare(vb) : vb.localeCompare(va);\n  });\n  ahZeigeTabelle(liste);\n}\n\nfunction ahFiltern(q) {\n  if (!q) return ahAlleDaten.slice();\n  return ahAlleDaten.filter(function(e) {\n    return (e.bezeichnung || \"\").toLowerCase().includes(q) ||\n           (e.firma       || \"\").toLowerCase().includes(q) ||\n           (e.atc         || \"\").toLowerCase().includes(q);\n  });\n}\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  document.getElementById(\"ah-suche\").addEventListener(\"input\", function() {\n    ahZeigeTabelle(ahFiltern(this.value.toLowerCase()));\n  });\n  ladeDaten();\n});\n\nfunction ahDatum(s) { return s ? s.substring(0, 10) : \"\u2013\"; }\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>Daten werden geladen\u2026 Medikamente, die nach einem Lieferengpass ausser Handel gekommen sind \u2013 Eintr\u00e4ge Die aufgef\u00fchrten Lieferengp\u00e4sse stammen aus freiwilligen Meldungen von Usern dieser Webseite. Diese sind auch verantwortlich f\u00fcr das Update der Meldungen. Die Angaben haben keinen Anspruch auf Vollst\u00e4ndigkeit. F\u00fcr vollst\u00e4ndige Informationen wenden Sie sich bitte an die zust\u00e4ndige Firma. GTIN &#x2195; Bezeichnung&hellip; <a class=\"read-more\" href=\"https:\/\/www.drugshortage.ch\/index.php\/ausser-handel-2\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-fullwidth.php","meta":{"footnotes":""},"class_list":["post-21259","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21259","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=21259"}],"version-history":[{"count":1,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21259\/revisions"}],"predecessor-version":[{"id":21260,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21259\/revisions\/21260"}],"wp:attachment":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/media?parent=21259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}