{
  "id": "hospital",
  "name": {
    "en": "Hospitals",
    "de": "Krankenhäuser",
    "nl": "Ziekenhuizen",
    "pa_PK": "ہسپتال",
    "ca": "Hospitals",
    "ru": "Больницы",
    "cs": "Nemocnice"
  },
  "description": {
    "en": "A layer showing hospital grounds",
    "de": "Eine Ebene mit Krankenhäusern",
    "nl": "Een laag die ziekehuizen toont",
    "ca": "Una capa que mostra els terrenys de l'hospital",
    "cs": "Vrstva zobrazující areál nemocnice"
  },
  "source": {
    "osmTags": {
      "or": [
        "amenity=hospital",
        "amenity=clinic"
      ]
    }
  },
  "minzoom": 12,
  "title": {
    "render": {
      "en": "Hospital",
      "de": "Krankenhaus",
      "nl": "Ziekenhuis",
      "pa_PK": "ہسپتال",
      "ru": "Больница",
      "ca": "Hospital",
      "cs": "Nemocnice",
      "pl": "Szpital"
    },
    "mappings": [
      {
        "if": "name~*",
        "then": "{name}"
      }
    ]
  },
  "pointRendering": [
    {
      "iconSize": "40,40",
      "location": [
        "point",
        "centroid"
      ],
      "anchor": "center",
      "marker": [
        {
          "icon": "circle",
          "color": "white"
        },
        {
          "icon": "./assets/layers/hospital/hospital.svg"
        }
      ]
    }
  ],
  "lineRendering": [
    {
      "color": "#fcd862",
      "width": 1
    }
  ],
  "tagRenderings": [
    {
      "id": "name",
      "render": {
        "en": "This hospital is called {name}",
        "ca": "Aquest hospital s'anomena {name}",
        "de": "Der Name des Krankenhauses lautet {name}",
        "nl": "Dit ziekenhuis heet {name}",
        "ru": "Эта больница называется {name}",
        "cs": "Tato nemocnice se jmenuje {name}",
        "pl": "Nazwa tego szpitala to {name}"
      },
      "question": {
        "en": "What is the name of this hospital?",
        "de": "Wie lautet der Name des Krankenhauses?",
        "nl": "Wat is de naam van dit ziekenhuis?",
        "ca": "Quin és el nom d'aquest hospital?",
        "ru": "Как называется эта больница?",
        "cs": "Jak se jmenuje tato nemocnice?",
        "pl": "Jak nazywa się ten szpital?"
      },
      "freeform": {
        "key": "name"
      }
    },
    {
      "id": "inpatient",
      "question": {
        "en": "Does this facility admit inpatients?",
        "de": "Nimmt die Einrichtung stationäre Patienten auf?",
        "ca": "Aquesta instal·lació admet hospitalitzacions?",
        "cs": "Přijímá toto zařízení pacienty na lůžko?"
      },
      "mappings": [
        {
          "if": "amenity=clinic",
          "then": {
            "en": "This is a clinic - patients can not stay overnight",
            "de": "Dies ist ein Medizinisches Versorgungszentrum - Patienten können nicht über Nacht bleiben",
            "ca": "Açò és una clínica: els pacients no poden passar la nit",
            "cs": "Toto je klinika - pacienti nemohou zůstat přes noc"
          }
        },
        {
          "if": "amenity=hospital",
          "then": {
            "en": "This is a hospital - patients can be admitted here for multiple days",
            "de": "Dies ist ein Krankenhaus - Patienten können hier für mehrere Tage aufgenommen werden",
            "ca": "Es tracta d'un hospital: els pacients poden estar ingressats aquí durant diversos dies",
            "cs": "Jedná se o nemocnici – pacienti zde mohou být přijímáni na více dní"
          }
        }
      ],
      "questionHint": {
        "en": "An inpatient is a patient which stays for multiple days in the facility",
        "de": "Ein stationärer Patient ist ein Patient, der mehrere Tage in der Einrichtung bleibt",
        "ca": "Un pacient hospitalitzat és un pacient que roman diversos dies a la instal·lació",
        "cs": "Hospitalizovaný pacient je pacient, který v zařízení pobývá více dní"
      }
    },
    "contact",
    {
      "id": "oh-visitor",
      "question": {
        "en": "When are visitors allowed to visit?",
        "de": "Wann ist der Besuch für Besucher gestattet?",
        "ca": "Quan poden anar els visitants?",
        "cs": "Kdy je povolena návštěva?"
      },
      "questionHint": {
        "en": "These are the regular visitor hours. Some wands have different visitor hours or might allow visitors in emergencies",
        "de": "Dies sind die regulären Besuchszeiten. Einige Stationen haben andere Besuchszeiten oder erlauben Besucher in Notfällen",
        "ca": "Aquests són els horaris habituals dels visitants. Algunes plantes tenen diferents horaris de visita o poden permetre els visitants en cas d'emergència",
        "cs": "Jedná se o pravidelné návštěvní hodiny. Některé oddělení mají jiné návštěvní hodiny nebo mohou povolit návštěvy v naléhavých případech"
      },
      "freeform": {
        "key": "opening_hours:visitors",
        "type": "opening_hours"
      },
      "render": {
        "en": "<h3>Opening hours for visitors</h3>Regular visitors are allowed at the following moments: {opening_hours_table(opening_hours:visitors)}<p class='subtle'>Some wands might have different opening hours. Many hospitals allow visits during emergencies too.</p>",
        "de": "<h3>Öffnungszeiten für Besucher</h3>Regelmäßige Besucher sind zu den folgenden Zeiten zugelassen: {opening_hours_table(opening_hours:visitors)}<p class='subtle'>Einige Krankenhäuser haben möglicherweise andere Öffnungszeiten. Viele Krankenhäuser erlauben Besuche auch in Notfällen.</p>",
        "ca": "<h3>Horari d'obertura per a visitants</h3>S'admeten visitants habituals en els moments següents: {opening_hours_table(opening_hours:visitors)}<p class='subtle'>Algunes palntes poden tenir un horari d'obertura diferent. Molts hospitals també permeten visites en cas d'emergència.</p>",
        "cs": "<h3>Otevírací doba pro návštěvníky</h3>Běžným návštěvníkům je vstup povolen v následujících časech: {opening_hours_table(opening_hours:visitors)}<p class='subtle'>Některá oddělení mohou mít jinou otevírací dobu. Mnohé nemocnice povolují návštěvy i v době pohotovosti.</p>"
      }
    }
  ]
}