Skip to main content

Colors


Color elements display appointment statuses or contextual messages using consistent semantic styles. Each color represents a specific meaning—such as success, warning, or error—and is rendered as inline blocks within patient records, summaries, or lists. These elements use visual cues like icons, backgrounds, and accent colors to convey information.


Color Variants

✅ Green – Scheduled Appointment

Represents success or confirmed actions.

Green status tag: Scheduled appointment
PropertyValueDescription
TypeGreenUI component type
Identifier21Unique ID
GroupTextPart of the Text group
MaxLinesSupports wrapped content
Text, IconYDisplays icon + label

🔵 Blue – Completed Appointment

Represents informational content, such as a completed or past appointment.

Blue status tag: The visit took place
PropertyValueDescription
TypeBlueUI component type
Identifier1Unique ID
GroupTextPart of the Text group
MaxLinesAllows multiple lines if needed
Text, IconYDisplays star icon and label

🟡 Yellow – Pending Request

Represents a warning or pending status. Used when action is needed (e.g. doctor approval).

Yellow status tag: New appointment request
PropertyValueDescription
TypeYellowUI component type
Identifier56Unique ID
GroupTextPart of the Text group
MaxLinesWraps when content is long
Text, IconYIncludes inline icon and description

🔴 Red – Canceled Appointment

Represents a failure or negative outcome.

Red status tag: Canceled appointment
PropertyValueDescription
TypeRedUI component type
Identifier40Unique ID
GroupTextPart of the Text group
MaxLinesSupports content wrapping
Text, IconYShows icon and status message

Usage Example

<Green>Scheduled appointment</Green>
<Blue>The visit took place</Blue>
<Yellow>You have a new appointment request</Yellow>
<Red>Canceled appointment</Red>

SDK Integration

Color elements appear throughout the Appointments List screen and related flows.

Method: /profile/appointments/list

Colors convey status at a glance and enhance clarity for doctors and support staff. These elements often appear alongside Card, Section, Regular, and Count.


Example UI Placement

LevelTypeValueDescription
3GreenScheduled appointmentConfirmed status in card footer
3BlueThe visit took placeShown after a completed session
3YellowNew appointment requestIndicates pending approval
3RedCanceled appointmentMarks canceled or declined slots

Notes

  • Use these color-coded tags consistently across all appointment screens.
  • Avoid mixing semantic roles (e.g. using Red for warnings that are not errors).
  • Combine with icons and spacing for clarity in list rows and card layouts.