{
"id": "grab_rail",
"description": {
"en": "A grab rail is a support to help persons with reduced mobility or a motor disability. It helps them to transfer from their wheelchair onto the toilet, to stand in a shower, close a door, ... "
},
"source": "special:library",
"tagRenderings": [
{
"id": "has_grab_rail_lr",
"question": {
"en": "Is there a grab rail?",
"nl": "Is er een handgreep of grijpbeugel?"
},
"#questionHint": "The questionhint should indicate how 'left' and 'right' are interpreted",
"mappings": [
{
"if": {
"and": [
"grab_rail:left=yes",
"grab_rail:right=yes"
]
},
"alsoShowIf": "grab_rails=both",
"addExtraTags": [
"grab_rails="
],
"then": {
"en": "Grab rails on both sides",
"nl": "Grijpbeugels aan beide zijdes"
}
},
{
"if": {
"and": [
"grab_rail:left=yes",
"grab_rail:right=no"
]
},
"alsoShowIf": "grab_rail:left=yes",
"addExtraTags": [
"grab_rails="
],
"then": {
"en": "Only grab rails on the left side",
"nl": "Grijpbeugels enkel aan de linkderzijde"
}
},
{
"if": {
"and": [
"grab_rail:left=no",
"grab_rail:right=yes"
]
},
"alsoShowIf": "grab_rail:right=yes",
"addExtraTags": [
"grab_rails="
],
"then": {
"en": "Grab rails on the right side",
"nl": "Grijpbeugels enkel aan de rechterkant"
}
},
{
"if": {
"and": [
"grab_rail:left=no",
"grab_rail:right=no"
]
},
"alsoShowIf": "grab_rails=no",
"addExtraTags": [
"grab_rails="
],
"then": {
"en": "No grab rails at all",
"nl": "Geen grijpbeugels"
}
}
]
},
{
"id": "has_grab_rail_behind",
"question": {
"en": "Does the toilet have a grab rail behind the toilet?",
"nl": "Heeft deze toilet een grijpbeugel achter de toilet?"
},
"mappings": [
{
"if": "grab_rail:behind=yes",
"then": {
"en": "Has a grab rail behind the toilet",
"nl": "Heeft een grijpbeugel achter de toilet"
}
},
{
"if": "grab_rail:behind=no",
"then": {
"en": "No grab rail behind the toilet",
"nl": "Heeft geen grijpbeugel achter de toilet"
}
}
]
},
{
"id": "is_foldable",
"rewrite": {
"sourceString": [
"LOCATION",
"{{TRANSL}}"
],
"into": [
[
"left",
{
"en": "left",
"nl": "linker"
}
],
[
"right",
{
"en": "right",
"nl": "rechter"
}
]
]
},
"renderings": [
{
"id": "is_foldable_LOCATION",
"labels": [
"generic_questions"
],
"question": {
"en": "Is the {{TRANSL}} grab rail foldable?",
"nl": "Is de grijpbeugel aan de {{TRANSL}}kant opklapbaar?"
},
"mappings": [
{
"if": "is_foldable:LOCATION=yes",
"then": {
"en": "The {{TRANSL}} grab rail is foldable",
"nl": "De grijpbeugel aan de {{TRANSL}}kant is opklapbaar"
}
},
{
"if": "is_foldable:LOCATION=no",
"then": {
"en": "The {{TRANSL}} grab rail is not foldable",
"nl": "De grijpbeugel aan de {{TRANSL}}kant is niet opklapbaar"
}
}
],
"condition": {
"and": [
"grab_rail:LOCATION=yes"
]
}
}
]
}
]
}