How to Build a Locations Status Board to Track COVID-19 Infections
An important aspect of a COVID-19 response is to track infections at various locations. Here we show you how to create a new status board to track these details in D4H Incident Management.
Pandemic events are geographical. It is important to understand the knock-on impact on each of your locations. Plot your buildings on a map, and give each a status: Open - No Impact. Limited - Some services have been reduced. Closed - No services from this location. For each location, you should know the number infected with the virus and the number of those who have fully recovered.
The quickest way to build this Locations Status Board into your account is to copy the below code. You can then edit it however you wish.
To install, go to the Admin Area > Templates > Status Boards > New Status Board
Scroll down to Advanced Options > Raw Template and paste in the code below. By scrolling up, you’ll see the template has been automatically loaded. Just press Save and then switch it on in your Channel Settings.
{
"name": "Locations",
"defaultColor": "#A3A3A3",
"nameLabel": "Name",
"uniq_name": "locations",
"icon": "fa fa-building",
"layout": [
{
"type": "section",
"rows": [
{
"type": "row",
"items": [
"location",
"status"
]
}
]
},
{
"type": "section",
"rows": [
{
"type": "row",
"items": [
"infected",
"recovered"
]
}
],
"name": "Pandemic"
}
],
"fields": {
"infected": {
"label": "# Infected",
"type": "number",
"postSymbol": "People"
},
"recovered": {
"label": "# Recovered",
"type": "number",
"postSymbol": "People"
},
"location": {
"label": "Location",
"type": "location"
},
"status": {
"label": "Status",
"type": "select",
"options": [
{
"label": "Open",
"value": "open"
},
{
"value": "limited",
"label": "Limited"
},
{
"value": "closed",
"label": "Closed"
}
],
"default": "open"
}
},
"listLayout": {
"row": [
"infected",
"recovered",
"status"
]
},
"expressions": {
"danger": "status==='closed'",
"warning": "status==='limited'",
"success": "status==='open'"
}
}