Displays the soonest open appointment overall, alongside the next open slot for each practitioner.
Live card
Category: Health. Tags: Healthcare, Schedules, Queues and waits.
Data and privacy
Feed: screenrig.appointments/v1.
Feed documents carry source attribution. The Player supplies the feed to the card.
Properties
For theme, background, accent, colour overrides and position, see Common properties.
Static properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
title | string | "Next appointment" | maxLength: 40 | |
hour12 | boolean | false | ||
timeZone | string, null | null | IANA zone; null uses the screen's zone. | |
roomLabel | string | "Room" | maxLength: 12 | Put before a short room, so "4" reads "Room 4". |
horizonDays | integer | 14 | minimum: 1; maximum: 60 | Slots further away than this are left out. |
staleMinutes | integer | 30 | minimum: 1; maximum: 1440 | A feed older than this shows how long ago it updated. |
Dynamic properties
| Name | Type | Default | Values and limits | Description |
|---|---|---|---|---|
practitioners | array | [] | minItems: 0; maxItems: 16 | Practitioners and their open slots, the same document as the screenrig.appointments/v1 feed's practitioners. The feed wins when present. |
practitioners[].name | string | minLength: 1; maxLength: 40; Required | ||
practitioners[].specialty | string | "" | maxLength: 40 | |
practitioners[].room | string | "" | maxLength: 14 | 4, B12 or Gym. One to three letters or digits read after the room label. |
practitioners[].slots | array | [] | maxItems: 200 | Open appointment starts, ISO 8601 with an offset (or wall time in the screen's zone). |
footnote | string | "" | maxLength: 120 | A line at the foot: how to book. |
updatedAt | string | "" | maxLength: 64 | Optional supplied-data update instant; feed-backed cards use fetchedAt. |
Example params
{
"theme": "neomustard"
}
screenrig card create --type next-appointment --major 1 --file params.json --context-file context.md
Example data
{
"practitioners": [],
"footnote": "",
"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.