{"id":1023,"date":"2023-05-17T11:48:22","date_gmt":"2023-05-17T11:48:22","guid":{"rendered":"https:\/\/msaeniger.ne\/?page_id=1023"},"modified":"2026-03-06T09:08:04","modified_gmt":"2026-03-06T09:08:04","slug":"reseau_de_soins","status":"publish","type":"page","link":"https:\/\/msaeniger.ne\/?page_id=1023","title":{"rendered":"R\u00e9seau de soins"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1023\" class=\"elementor elementor-1023\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6eb9edc9 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"6eb9edc9\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4f4d723\" data-id=\"4f4d723\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-65e83101 elementor-widget elementor-widget-page-title\" data-id=\"65e83101\" data-element_type=\"widget\" data-settings=\"{&quot;align&quot;:&quot;center&quot;}\" data-widget_type=\"page-title.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\n\t\t<div class=\"hfe-page-title hfe-page-title-wrapper elementor-widget-heading\">\n\n\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/msaeniger.ne\">\n\t\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\n\t\t\t\t\t\t\t\t\n\t\t\t\tR\u00e9seau de soins  \n\t\t\t<\/h2 > \n\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fafdd25 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fafdd25\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5683d9b\" data-id=\"5683d9b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c734fb6 elementor-widget elementor-widget-text-editor\" data-id=\"c734fb6\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.15.0 - 20-08-2023 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<div id=\"msae-reseau\" style=\"max-width: 1200px; margin: 0 auto; padding: 20px; font-family: 'Segoe UI', Roboto, Arial, sans-serif;\">\n    <h2 style=\"color: #1e5f3c; border-left: 6px solid #1e5f3c; padding-left: 15px; margin-bottom: 25px;\">R\u00e9seau de soins conventionn\u00e9<\/h2>\n    <!-- Filtres -->\n    <div style=\"display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; align-items: center;\">\n        <input id=\"search\" style=\"flex: 2; min-width: 250px; padding: 12px 15px; border: 2px solid #dce4ec; border-radius: 40px; font-size: 16px; outline: none; transition: 0.2s;\" type=\"text\" placeholder=\"Rechercher une structure\u2026\" \/>\n        <select id=\"localite\" style=\"flex: 1; min-width: 150px; padding: 12px 15px; border: 2px solid #dce4ec; border-radius: 40px; font-size: 16px; background: white; cursor: pointer;\">\n            <option value=\"\">Localit\u00e9 (toutes)<\/option>\n        <\/select>\n        <select id=\"type\" style=\"flex: 1; min-width: 150px; padding: 12px 15px; border: 2px solid #dce4ec; border-radius: 40px; font-size: 16px; background: white; cursor: pointer;\">\n            <option value=\"\">Type (tous)<\/option>\n        <\/select>\n        <select id=\"statut\" style=\"flex: 1; min-width: 150px; padding: 12px 15px; border: 2px solid #dce4ec; border-radius: 40px; font-size: 16px; background: white; cursor: pointer;\">\n            <option value=\"\">Statut (tous)<\/option>\n        <\/select>\n    <\/div>\n    <!-- Compteur de r\u00e9sultats -->\n    <div id=\"resultCount\" style=\"font-size: 15px; color: #2c3e50; margin-bottom: 12px; font-weight: 500;\">21 structures trouv\u00e9es<\/div>\n    <!-- Tableau responsive -->\n    <div style=\"overflow-x: auto; border-radius: 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.05);\">\n        <table style=\"width: 100%; border-collapse: collapse; background: white; border-radius: 20px; min-width: 600px;\">\n            <thead style=\"background: #1e5f3c; color: white;\">\n                <tr>\n                    <th style=\"padding: 16px 20px; text-align: left; font-weight: 600;\">Structure<\/th>\n                    <th style=\"padding: 16px 20px; text-align: left; font-weight: 600;\">Type<\/th>\n                    <th style=\"padding: 16px 20px; text-align: left; font-weight: 600;\">Localit\u00e9<\/th>\n                    <th style=\"padding: 16px 20px; text-align: left; font-weight: 600;\">Statut<\/th>\n                <\/tr>\n            <\/thead>\n            <tbody id=\"tableBody\"><!-- Les lignes seront g\u00e9n\u00e9r\u00e9es en JavaScript --><\/tbody>\n        <\/table>\n    <\/div>\n    <!-- Note sur les donn\u00e9es -->\n    <p style=\"margin-top: 25px; font-size: 14px; color: #7f8c8d; font-style: italic; text-align: center; border-top: 1px dashed #ccc; padding-top: 15px;\">Donn\u00e9es d\u00e9mo \u2013 \u00e0 remplacer par la liste officielle (CSV\/JSON) issue du syst\u00e8me MSAE.<\/p>\n<\/div>\n\n<script>\n(function() {\n    \/\/ ---------- DONN\u00c9ES EXEMPLES (\u00e0 remplacer par votre source) ----------\n    const structures = [\n        { structure: \"Camp Bano\", type: \"CHR\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Centre Hospitalier R\u00e9gional Poudri\u00e8re\", type: \"CHR\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"H\u00f4pital National Amirou Boubacar Diallo\", type: \"CHU\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"H\u00f4pital National de Niamey\", type: \"CHN\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"H\u00f4pital de l'amiti\u00e9 Niger Turquie\", type: \"CHR\", localite: \"Plateau Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Bassora\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Carrefour Sixi\u00e8me\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Cit\u00e9 Chinoise\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Coll\u00e8ge Mariama\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Des Camps\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Deyzeibon\", type: \"Pharmacie\", localite: \"LIBERTE NIAMEY\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Fassa\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Gamkal\u00e9\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Route Torodi\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Saye\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie Vogue\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie des Ar\u00e8nes\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie du Complexe\", type: \"Pharmacie\", localite: \"Kalley EST Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie du Liptako\", type: \"Pharmacie\", localite: \"Rive Droite Niamey 5\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie du Plateau 2\", type: \"Pharmacie\", localite: \"Plateau Niamey\", statut: \"Conventionn\u00e9\" },\n        { structure: \"Pharmacie la Nation\", type: \"Pharmacie\", localite: \"Niamey\", statut: \"Conventionn\u00e9\" }\n    ];\n\n    \/\/ ---------- \u00c9L\u00c9MENTS DU DOM ----------\n    const searchInput = document.getElementById('search');\n    const localiteSelect = document.getElementById('localite');\n    const typeSelect = document.getElementById('type');\n    const statutSelect = document.getElementById('statut');\n    const tableBody = document.getElementById('tableBody');\n    const resultCountDiv = document.getElementById('resultCount');\n\n    \/\/ ---------- FONCTION POUR EXTRAIRE LES VALEURS UNIQUES ----------\n    function getUniqueValues(key) {\n        const values = structures.map(item => item[key]);\n        return [...new Set(values)].sort((a, b) => a.localeCompare(b));\n    }\n\n    \/\/ ---------- REMPLIR LES SELECTS AVEC LES OPTIONS UNIQUES ----------\n    function populateFilters() {\n        const localites = getUniqueValues('localite');\n        localites.forEach(loc => {\n            const option = document.createElement('option');\n            option.value = loc;\n            option.textContent = loc;\n            localiteSelect.appendChild(option);\n        });\n\n        const types = getUniqueValues('type');\n        types.forEach(t => {\n            const option = document.createElement('option');\n            option.value = t;\n            option.textContent = t;\n            typeSelect.appendChild(option);\n        });\n\n        const statuts = getUniqueValues('statut');\n        statuts.forEach(s => {\n            const option = document.createElement('option');\n            option.value = s;\n            option.textContent = s;\n            statutSelect.appendChild(option);\n        });\n    }\n\n    \/\/ ---------- AFFICHAGE DU TABLEAU FILTR\u00c9 ----------\n    function renderTable() {\n        const searchTerm = searchInput.value.toLowerCase().trim();\n        const selectedLocalite = localiteSelect.value;\n        const selectedType = typeSelect.value;\n        const selectedStatut = statutSelect.value;\n\n        const filtered = structures.filter(item => {\n            const matchesSearch = searchTerm === '' || \n                item.structure.toLowerCase().includes(searchTerm) ||\n                item.type.toLowerCase().includes(searchTerm) ||\n                item.localite.toLowerCase().includes(searchTerm) ||\n                item.statut.toLowerCase().includes(searchTerm);\n            const matchesLocalite = selectedLocalite === '' || item.localite === selectedLocalite;\n            const matchesType = selectedType === '' || item.type === selectedType;\n            const matchesStatut = selectedStatut === '' || item.statut === selectedStatut;\n            return matchesSearch && matchesLocalite && matchesType && matchesStatut;\n        });\n\n        resultCountDiv.textContent = filtered.length + ' structure' + (filtered.length > 1 ? 's trouv\u00e9es' : ' trouv\u00e9e');\n\n        if (filtered.length === 0) {\n            tableBody.innerHTML = `\n                <tr>\n                    <td colspan=\"4\" style=\"text-align: center; padding: 40px; color: #7f8c8d;\">Aucune structure ne correspond aux filtres.<\/td>\n                <\/tr>\n            `;\n        } else {\n            let html = '';\n            filtered.forEach(item => {\n                html += `\n                    <tr style=\"background-color: #f0f9f0; border-bottom: 1px solid #ecf0f1;\">\n                        <td style=\"padding: 14px 20px;\">${item.structure}<\/td>\n                        <td style=\"padding: 14px 20px;\">${item.type}<\/td>\n                        <td style=\"padding: 14px 20px;\">${item.localite}<\/td>\n                        <td style=\"padding: 14px 20px;\"><span style=\"background: #d4edda; color: #155724; padding: 5px 12px; border-radius: 30px; font-size: 14px;\">${item.statut}<\/span><\/td>\n                    <\/tr>\n                `;\n            });\n            tableBody.innerHTML = html;\n        }\n    }\n\n    \/\/ ---------- \u00c9COUTEURS D'\u00c9V\u00c9NEMENTS ----------\n    searchInput.addEventListener('input', renderTable);\n    localiteSelect.addEventListener('change', renderTable);\n    typeSelect.addEventListener('change', renderTable);\n    statutSelect.addEventListener('change', renderTable);\n\n    \/\/ ---------- INITIALISATION ----------\n    populateFilters();\n    renderTable();\n})();\n<\/script>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>R\u00e9seau de soins R\u00e9seau de soins conventionn\u00e9 Localit\u00e9 (toutes) Type (tous) Statut (tous) 21 structures trouv\u00e9es Structure Type Localit\u00e9 Statut Donn\u00e9es d\u00e9mo \u2013 \u00e0 remplacer par la liste officielle (CSV\/JSON) issue du syst\u00e8me MSAE.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-1023","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/msaeniger.ne\/index.php?rest_route=\/wp\/v2\/pages\/1023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/msaeniger.ne\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/msaeniger.ne\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/msaeniger.ne\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/msaeniger.ne\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1023"}],"version-history":[{"count":59,"href":"https:\/\/msaeniger.ne\/index.php?rest_route=\/wp\/v2\/pages\/1023\/revisions"}],"predecessor-version":[{"id":2122,"href":"https:\/\/msaeniger.ne\/index.php?rest_route=\/wp\/v2\/pages\/1023\/revisions\/2122"}],"wp:attachment":[{"href":"https:\/\/msaeniger.ne\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}