MapComplete/Docs/Layers/hospital.md

14 KiB

hospital

A layer showing hospital grounds

  • This layer is shown at zoomlevel 12 and higher

Table of contents

  1. Themes using this layer
  2. Basic tags for this layer
  3. Supported attributes
  4. Featureview elements and TagRenderings

Themes using this layer

Basic tags for this layer

Elements must match any of the following expressions:

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
name string
amenity Multiple choice clinic hospital
phone phone
email email
website url
addr:street Multiple choice
addr:housenumber string
addr:street string
addr:unit string
opening_hours:visitors opening_hours

Featureview elements and TagRenderings

id question labels freeform key
name What is the name of this hospital?
This hospital is called {name}
name (string)
inpatient Does this facility admit inpatients?
2 options
Multiple choice only
phone
(Original in questions)
What is the phone number of ?
{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}
1 options
contact phone (phone)
email
(Original in questions)
What is the email address of ?
{email}
2 options
contact email (email)
website
(Original in questions)
What is the website of ?
{website}
1 options
contact website (url)
address_joined
(Original in address)
{group(header,street;housenumber;unit,)} address Multiple choice only
header
(Original in address)
{addr:street} {addr:housenumber} {addr:unit}
1 options
address, hidden Multiple choice only
housenumber
(Original in address)
What is the number of this house?
The house number is {addr:housenumber}
1 options
address, hidden addr:housenumber (string)
street
(Original in address)
What street is this address located in?
This address is in street {addr:street}
address, hidden addr:street (string)
unit
(Original in address)
What is the unit number or letter?
The unit number is {addr:unit}
1 options
address, hidden addr:unit (string)
oh-visitor When are visitors allowed to visit?

Opening hours for visitors

Regular visitors are allowed at the following moments: {opening_hours_table(opening_hours:visitors,,)}

Some wands might have different opening hours. Many hospitals allow visits during emergencies too.

opening_hours:visitors (opening_hours)
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
move-button {move_button()} Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

name

The question is What is the name of this hospital?

This hospital is called {name} is shown if name is set.

inpatient

The question is Does this facility admit inpatients?

  • This is a clinic - patients can not stay overnight is shown if with amenity=clinic
  • This is a hospital - patients can be admitted here for multiple days is shown if with amenity=hospital

phone

The question is What is the phone number of {title()}?

{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)} is shown if phone is set.

  • {link(&LBRACEcontact:phone&RBRACE,tel:&LBRACEcontact:phone&RBRACE,,,,)} is shown if with contact:phone~.+. This option cannot be chosen as answer

This tagrendering has labels contact

email

The question is What is the email address of {title()}?

{email} is shown if email is set.

  • {contact:email} is shown if with contact:email~.+. This option cannot be chosen as answer
  • {operator:email} is shown if with operator:email~.+. This option cannot be chosen as answer

This tagrendering has labels contact

website

The question is What is the website of {title()}?

{website} is shown if website is set.

  • {contact:website} is shown if with contact:website~.+. This option cannot be chosen as answer

This tagrendering has labels contact

address_joined

This tagrendering has no question and is thus read-only

{group(header,street;housenumber;unit,)}

This tagrendering has labels address

header

This tagrendering has no question and is thus read-only

{addr:street} {addr:housenumber} {addr:unit}

  • No address is known is shown if with addr:street= & addr:unit= & addr:housenumber=

This tagrendering has labels address hidden

housenumber

The question is What is the number of this house?

The house number is {addr:housenumber} is shown if addr:housenumber is set.

This tagrendering has labels address hidden

street

The question is What street is this address located in?

This address is in street {addr:street} is shown if addr:street is set.

This tagrendering has labels address hidden

unit

The question is What is the unit number or letter?

The unit number is {addr:unit} is shown if addr:unit is set.

  • No unit number is shown if with addr:unit=

This tagrendering has labels address hidden

oh-visitor

The question is When are visitors allowed to visit?

Opening hours for visitors

Regular visitors are allowed at the following moments: {opening_hours_table(opening_hours:visitors,,)}

Some wands might have different opening hours. Many hospitals allow visits during emergencies too.

is shown if opening_hours:visitors is set.

leftover-questions

This tagrendering has no question and is thus read-only

{questions( ,hidden)}

This tagrendering has labels ignore-docs added_by_default

move-button

This tagrendering has no question and is thus read-only

{move_button()}

lod

This tagrendering has no question and is thus read-only

{linked_data_from_website()}

This tagrendering has labels added_by_default

This document is autogenerated from assets/layers/hospital/hospital.json