Show whether ward visiting is open, restricted, closed or outside scheduled hours, together with today’s hours, visitor rules and any supplied notice.
Live card
Category: Health. Tags: Healthcare, Alerts and status.
Data and privacy
This card uses its configured properties and live card data.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Visiting" | maxLength: 40 | |
ward | string | "" | maxLength: 40 | The ward or unit the rules belong to, beside the title. |
hour12 | boolean | false | ||
timeZone | string, null | null | IANA zone; null uses the screen's zone. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
status | string | "open" | "open", "restricted", "closed" | open: visitors welcome in visiting hours. restricted: visitors welcome in visiting hours under the rules below. closed: no visiting, as in an outbreak. |
hours | array | [] | minItems: 0; maxItems: 7 | Visiting hours. Left empty, visiting runs all day while the status allows it. |
hours[].days | array | [] | maxItems: 7 | The days these hours apply to. Left out or empty, every day. |
hours[].start | string | maxLength: 8; Required | Start in the screen's time zone: 14:00 or 2:00 PM. | |
hours[].end | string | maxLength: 8; Required | End. Earlier than the start means past midnight. | |
rules | array | [] | minItems: 0; maxItems: 6 | Short rules for visitors, one line each: Two visitors at a time. |
notice | string | "" | maxLength: 160 | A notice in the status colour: why visiting is restricted or closed. |
updatedAt | string | "" | maxLength: 64 | Optional visiting-rule update instant for a synchronized Primetime cue. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type visiting-status --major 1 --file params.json --context-file context.md
Example data
{
"status": "open",
"hours": [],
"rules": [],
"notice": "",
"updatedAt": ""
}
Layouts
This fullscreen card fills the whole screen in landscape or portrait and is not placed as a corner, chip, or strip.
Layouts: full. Forms: landscape, portrait.
Use this card
Add this card to a playlist as in Publish a card canvas, place it with the layouts and anchors and update its data as in Write live values.