Next appointment card

Soonest open appointment and each practitioner's next open slot.

Displays the soonest open appointment overall, alongside the next open slot for each practitioner.

Live card

This card is drawn in your browser by the same code the Players run, with sample data.

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

NameTypeDefaultValues and limitsDescription
titlestring"Next appointment"maxLength: 40
hour12booleanfalse
timeZonestring, nullnullIANA zone; null uses the screen's zone.
roomLabelstring"Room"maxLength: 12Put before a short room, so "4" reads "Room 4".
horizonDaysinteger14minimum: 1; maximum: 60Slots further away than this are left out.
staleMinutesinteger30minimum: 1; maximum: 1440A feed older than this shows how long ago it updated.

Dynamic properties

NameTypeDefaultValues and limitsDescription
practitionersarray[]minItems: 0; maxItems: 16Practitioners and their open slots, the same document as the screenrig.appointments/v1 feed's practitioners. The feed wins when present.
practitioners[].namestringminLength: 1; maxLength: 40; Required
practitioners[].specialtystring""maxLength: 40
practitioners[].roomstring""maxLength: 144, B12 or Gym. One to three letters or digits read after the room label.
practitioners[].slotsarray[]maxItems: 200Open appointment starts, ISO 8601 with an offset (or wall time in the screen's zone).
footnotestring""maxLength: 120A line at the foot: how to book.
updatedAtstring""maxLength: 64Optional 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.