﻿<?xml version="1.0" encoding="UTF-8"?>
<config>

  <application id="offre_insu_cardiaque"
    langfile="demo/demo.i18n.json"
    title="Offre de santé thématique : insuffisance cardiaque"
    showhelp="true"
    help="apps/OFFRE_INSU_CARDIAQUE/home.html"
    logo="apps/themes/ars/logo_gouv_ars.png"
    favicon="apps/themes/logos/favicon_santegraphie.ico"
    style="apps/themes/ars/theme_gouv.css"
    exportpng="false"
    geoloc="true" />
  <mapoptions maxzoom="20" projection="EPSG:3857" rotation="true" center="285105.56,6227608.18"
    zoom="9"
    projextent="-20037508.342789244, -20037508.342789244, 20037508.342789244, 20037508.342789244" />
  <olscompletion type="ban" url="https://api-adresse.data.gouv.fr/search/" attribution="" />
  <searchparameters localities="true" features="false" bbox="false" querymaponclick="true"
    closeafterclick="false" />

  <baselayers style="gallery">
    <baselayer visible="false" type="OSM" id="osm1" label="OpenStreetMap" title="OpenStreetMap"
      thumbgallery="img/basemap/osm.png" url="http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png" />
    <baselayer visible="false" type="OSM" id="darkmatter" label="Dark Matter" title="CartoDb"
      thumbgallery="img/basemap/darkmatter.png"
      url="http://{a-c}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png" maxzoom="20"
      attribution="Map tiles by CartoDb, under CC BY 3.0" />
    <baselayer visible="true" id="positron" thumbgallery="img/basemap/positron.png" title="CartoDb"
      label="Positron" type="OSM"
      url="https://{a-c}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"
      attribution="Map tiles by  &lt;a href=&quot;https://cartodb.com/attributions&quot;&gt;CartoDb&lt;/a&gt;, under  &lt;a href=&quot;https://creativecommons.org/licenses/by/3.0/&quot;&gt;CC BY 3.0 &lt;/a&gt;" />
  </baselayers>

  <extensions>
    <extension type="component" id="piwik" path="apps/addons" />
    <extension type="component" id="print" path="apps/addons" />
    <extension type="component" id="display-themes-layers" path="apps/addons" />
    <extension type="javascript" src="apps/addons/lib/ol-ext.min.js" />
    <extension type="javascript" src="apps/addons/lib/Chart.min.js" />
  </extensions>

  <themes mini="false" legendmini="false">

    <theme name="Soins spécialisés" id="thematique_1" collapsed="true"
      icon="fa fa-heartbeat">

      <layer
        id="CONTOURS_DEPARTEMENT_IDF"
        name="Départements d'île-de-France"
        type="wms"
        vectorlegend="true"
        url="https://{{url_service}}/geoserver/GCS/ows"
        visible="true"
        queryable="false"
        expanded="false"
        infoformat="application/vnd.ogc.gml"
        index="7"
        toplayer="true"
        attribution="Source : IGN ADMIN-EXPRESS"
        showintoc="false">
      </layer>

      <group name="Offre hospitalière" id="grp1">

        <layer
          id="MCO_USIC"
          name="MCO (avec USIC)"
          toplayer="true"
          index="2"
          attribution="Source : ROR_UO"
          visible="false"
          type="customlayer"
          expanded="true"
          queryable="true"
          exclusive="true"
          vectorlegend="true"
          customcontrol="true"
          legendurl="img/blank.gif"
          infoformat="application/vnd.ogc.gml"
          customcontrolpath="apps/OFFRE_INSU_CARDIAQUE/customcontrols"
          url="apps/OFFRE_INSU_CARDIAQUE/customlayers/MCO_USIC.js"
          infopanel="right-panel">
          <template url="apps/OFFRE_INSU_CARDIAQUE/template/ror_uo.mst"></template>
        </layer>

        <layer
          id="SSR_CARDIO_GER"
          name="SMR - Cardiologie et Gériatrie"
          toplayer="true"
          index="3"
          attribution="Source : ROR_UO"
          visible="false"
          type="customlayer"
          expanded="true"
          queryable="true"
          exclusive="true"
          vectorlegend="true"
          customcontrol="true"
          infoformat="application/vnd.ogc.gml"
          legendurl="img/blank.gif"
          customcontrolpath="apps/OFFRE_INSU_CARDIAQUE/customcontrols"
          url="apps/OFFRE_INSU_CARDIAQUE/customlayers/SSR_CARDIO_GER.js"
          infopanel="right-panel">
          <template url="apps/OFFRE_INSU_CARDIAQUE/template/ror_uo.mst"></template>
        </layer>

      </group>

      <group name="Offre de ville" id="grp2">

        <layer
          id="VUE_REPSIF_PERSONNES_GEO_GP"
          name="Cardiologues libéraux"
          type="wms"
          tiled="true"
          toplayer="true"
          index="1"
          style="COEUR_ROUGE"
          url="https://{{url_service}}/geoserver/GCS/ows"
          filter="CODE_SPEC='SM04' AND (TYPE_ETABLISSEMENT='SA09' OR TYPE_ETABLISSEMENT='SA07' OR TYPE_ETABLISSEMENT='SA08')"
          infoformat="application/vnd.ogc.gml"
          attribution="Source : REPSIF PERSONNES"
          queryable="true"
          visible="true"
          infopanel="right-panel"
          expanded="false">
          <template url="apps/OFFRE_INSU_CARDIAQUE/template/repsif_structures.mst"></template>
        </layer>

      </group>

    </theme>

    <theme name="Soins primaires" id="thematique_2" collapsed="true"
      icon="fas fa-plus-square">

      <group name="Offre de ville" id="grp5">

        <layer
          id="REPSIF_STRUCTURES_DATASANTE"
          name="Centres de Santé et Maisons de Santé"
          type="wms"
          tiled="true"
          filter="(TYPE_ETABLISSEMENT='603' OR TYPE_ETABLISSEMENT='124') AND RS NOT LIKE '%DENTAIRE%' AND RS NOT LIKE '%ORTHO%' AND RS NOT LIKE '%OPHT%'"
          toplayer="true"
          index="4"
          style="cds_msp_cross"
          url="https://{{url_service}}/geoserver/GCS/ows"
          infoformat="application/vnd.ogc.gml"
          attribution="Source : REPSIF STRUCTURES"
          queryable="true"
          visible="false"
          infopanel="right-panel"
          expanded="false">
          <template url="apps/common/templates/cds_msp.mst"></template>
        </layer>


        <layer
          id="ambu_densite_idel"
          name="Densité d'IDEL libéraux pour 10k habitants (2023)"
          type="wms"
          url="https://{{url_service}}/geoserver/ars/ows"
          infoformat="application/vnd.ogc.gml"
          attribution="Source : FNPS - INSEE"
          queryable="true"
          visible="false"
          index="8"
          opacity="0.7"
          infopanel="right-panel"
          expanded="false">
          <template url="apps/OFFRE_INSU_CARDIAQUE/template/densite.mst"></template>
        </layer>

        <layer
          id="ambu_densite_omnipraticien"
          name="Densité d'omnipraticiens libéraux pour 10k habitants (2023)"
          type="wms"
          url="https://{{url_service}}/geoserver/ars/ows"
          infoformat="application/vnd.ogc.gml"
          attribution="Source : FNPS - INSEE"
          queryable="true"
          visible="false"
          index="9"
          opacity="0.7"
          infopanel="right-panel"
          expanded="false">
          <template url="apps/OFFRE_INSU_CARDIAQUE/template/densite.mst"></template>
        </layer>

        <layer
          id="zonage_medecin"
          name="Zonage généralistes libéraux en 2022"
          type="wms"
          url="https://santegraphie.fr/geoserver/ars/ows"
          infoformat="application/vnd.ogc.gml"
          attribution="Source : SNIIRAM"
          queryable="false"
          visible="false"
          opacity="0.7"
          index="10"
          infopanel="right-panel"
          expanded="false">
        </layer>

      </group>

    </theme>

    <!-- <theme name="Éducation thérapeutique du patient cardio-vasculaire" id="thematique_3"
      collapsed="true" icon="fas fa-graduation-cap"></theme> -->

    <theme name="Coordination et animation" id="thematique_4" collapsed="true" icon="fa fa-map">

      <layer
        id="ars:admin_dac_contours"
        name="Contours DAC"
        type="wms"
        vectorlegend="true"
        url="https://{{url_service}}/geoserver/ows"
        queryable="false"
        visible="false"
        style="Contour_DAC"
        expanded="false"
        index="6"
        attribution="Source : ARS">
      </layer>

      <layer
        id="GCS:AMBU_CPTS"
        name="Contours CPTS"
        type="wms"
        vectorlegend="true"
        url="https://{{url_service}}/geoserver/ows"
        style="Contour_CPTS"
        queryable="true"
        visible="false"
        expanded="false"
        infoformat="application/vnd.ogc.gml"
        infopanel="right-panel"
        index="5"
        attribution="Source : ARS">
        <template url="apps/cpts/templates/cpts.mst"></template>
      </layer>

    </theme>

  </themes>

</config>