Home Schema Example JSON Schema

Clinic Settings

Type: object

Settings for configuring miscellaneous clinic settings. This field is exposed to Frontend for Cleo users.

No Additional Properties

API Key

Type: string

API key to verify incoming API calls

Must be at least 1 characters long

Clinician Idle Timeout (Seconds)

Type: number

Clinician sessions will be deactivated after this number of seconds of idling. Defaults to no idle timeout.

Datetime Format

Type: string

Format date/time using this Python strftime style format. Defaults to ISO-8601 format.

Must be at least 1 characters long

Enabled Modules

Type: object

Module that is enabled in the clinic.

Type: boolean

Is V3

Type: boolean

Whether the clinic is using V3 or not. Defaults to false.

Patient Module

Type: object

Settings for patient module in frontend.

No Additional Properties

GQL

Type: enum (of string)

The type of gql in module.

Must be one of:

  • "cleoPatient"
  • "cleoPatientEvent"
  • "cleoPatientForm"
  • "cleoPatientProgram"
  • "cleoSubmissions"

Tabs

Type: array

Tabs in modules.

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Name

Type: string

Name of the tab.

Must be at least 1 characters long

GQL

Type: enum (of string)

The type of gql in module.

Same definition as gql

GQL Filter

Type: object

Filter used in GQL for this tab.

Additional Properties of any type are allowed.

Type: object

Filter (Deprecated)

Type: object

Filter used in GQL for this tab.(Deprecated)

No Additional Properties

Type

Type: const

The type of this element.

Specific value: "expression"

Expression

Type: object

Expression of filter.

No Additional Properties

Operator


Operator of expressions.

Type: object
No Additional Properties

Type

Type: enum (of string)

The type of this element.

Must be one of:

  • "and"
  • "or"
  • "not"
Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "at_least"

At least

Type: object

An operator that filters any data where at least N of the conditions are true

No Additional Properties

Number of data

Type: integer

Number of data where condition is true.

Value must be greater or equal to 1

Expressions

Type: array

Expressions of data

No Additional Items

Each item of this array must be:


Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "condition"

Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "Q"

Query


Django ORM query

No Additional Properties

String Array

Type: array

Must contain a minimum of 1 items

No Additional Items

To exclude data which matches expression in filter_queryset

Type: boolean

Table Columns

Type: array of object

Settings for table columns in this tab.

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

type

Type: enum (of string)

Column type for rendering in frontend.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"
  • "PatientInfo"
  • "ClinicalUsers"
  • "Submissions"
  • "Date"
  • "DateTime"
  • "Time"
  • "MonitoringForm"
  • "MonitoringForms"

label

Type: string

Label for column.

Must be at least 1 characters long

enable sorting

Type: boolean

Whether to allow sorting in this columns.

accessor key

Type: string

Key to retrieve data for this column.

Must be at least 1 characters long

Monitoring Module

Type: object

Settings for monitoring module in frontend.

No Additional Properties

GQL

Type: enum (of string)

The type of gql in module.

Must be one of:

  • "cleoPatient"
  • "cleoPatientEvent"
  • "cleoPatientForm"
  • "cleoPatientProgram"
  • "cleoSubmissions"

Tabs

Type: array

Tabs in modules.

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Name

Type: string

Name of the tab.

Must be at least 1 characters long

GQL

Type: enum (of string)

The type of gql in module.

Same definition as gql

GQL Filter

Type: object

Filter used in GQL for this tab.

Additional Properties of any type are allowed.

Type: object

Filter (Deprecated)

Type: object

Filter used in GQL for this tab.(Deprecated)

No Additional Properties

Type

Type: const

The type of this element.

Specific value: "expression"

Expression

Type: object

Expression of filter.

No Additional Properties

Operator


Operator of expressions.

Type: object
No Additional Properties

Type

Type: enum (of string)

The type of this element.

Must be one of:

  • "and"
  • "or"
  • "not"
Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "at_least"

At least

Type: object

An operator that filters any data where at least N of the conditions are true

No Additional Properties

Number of data

Type: integer

Number of data where condition is true.

Value must be greater or equal to 1

Expressions

Type: array

Expressions of data

No Additional Items

Each item of this array must be:


Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "condition"

Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "Q"

Query


Django ORM query

No Additional Properties

String Array

Type: array

Must contain a minimum of 1 items

No Additional Items

To exclude data which matches expression in filter_queryset

Type: boolean

Table Columns

Type: array of object

Settings for table columns in this tab.

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

type

Type: enum (of string)

Column type for rendering in frontend.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"
  • "PatientInfo"
  • "ClinicalUsers"
  • "Submissions"
  • "Date"
  • "DateTime"
  • "Time"
  • "MonitoringForm"
  • "MonitoringForms"

label

Type: string

Label for column.

Must be at least 1 characters long

enable sorting

Type: boolean

Whether to allow sorting in this columns.

accessor key

Type: string

Key to retrieve data for this column.

Must be at least 1 characters long

Appointment Module

Type: object

Settings for appointment module in frontend.

No Additional Properties

GQL

Type: enum (of string)

The type of gql in module.

Must be one of:

  • "cleoPatient"
  • "cleoPatientEvent"
  • "cleoPatientForm"
  • "cleoPatientProgram"
  • "cleoSubmissions"

Tabs

Type: array

Tabs in modules.

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Name

Type: string

Name of the tab.

Must be at least 1 characters long

GQL

Type: enum (of string)

The type of gql in module.

Same definition as gql

GQL Filter

Type: object

Filter used in GQL for this tab.

Additional Properties of any type are allowed.

Type: object

Filter (Deprecated)

Type: object

Filter used in GQL for this tab.(Deprecated)

No Additional Properties

Type

Type: const

The type of this element.

Specific value: "expression"

Expression

Type: object

Expression of filter.

No Additional Properties

Operator


Operator of expressions.

Type: object
No Additional Properties

Type

Type: enum (of string)

The type of this element.

Must be one of:

  • "and"
  • "or"
  • "not"
Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "at_least"

At least

Type: object

An operator that filters any data where at least N of the conditions are true

No Additional Properties

Number of data

Type: integer

Number of data where condition is true.

Value must be greater or equal to 1

Expressions

Type: array

Expressions of data

No Additional Items

Each item of this array must be:


Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "condition"

Type: object
No Additional Properties

Type

Type: const

The type of this element.

Specific value: "Q"

Query


Django ORM query

No Additional Properties

String Array

Type: array

Must contain a minimum of 1 items

No Additional Items

To exclude data which matches expression in filter_queryset

Type: boolean

Table Columns

Type: array of object

Settings for table columns in this tab.

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

type

Type: enum (of string)

Column type for rendering in frontend.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"
  • "PatientInfo"
  • "ClinicalUsers"
  • "Submissions"
  • "Date"
  • "DateTime"
  • "Time"
  • "MonitoringForm"
  • "MonitoringForms"

label

Type: string

Label for column.

Must be at least 1 characters long

enable sorting

Type: boolean

Whether to allow sorting in this columns.

accessor key

Type: string

Key to retrieve data for this column.

Must be at least 1 characters long

Name Style

Type: enum (of string)

Describes the first/last name style. Defaults to eastern.

Must be one of:

  • "eastern"
  • "eastern_with_comma"
  • "western"
  • "western_with_comma"

Patient Idle Timeout (Seconds)

Type: number

Patient sessions will be deactivated after this number of seconds of idling. Defaults to no idle timeout.

Use Masked Identifiers

Type: boolean

Show full identifiers everywhere on the dashboard for this clinic. Defaults to true.

Billing Settings

Type: object

Settings related to billing for this clinic.

No Additional Properties

Maximum Number of Users

Type: integer

The maximum number of users allowed to be registered in the clinic. Optional.

Value must be greater or equal to 1

Billing Start Date

Type: stringFormat: date-time

First Day of the clinic's subscription plan. To be of format 'YYYY-mm-dd'

Billing End Date

Type: stringFormat: date-time

Last Day of the hospital's subscription plan. To be of format 'YYYY-mm-dd'

Plan's Package

Type: string

Type of Package chosen

Type of Plan

Type: string

Type of Plan chosen

Chatterbox Settings

Type: object

Settings related to Cleo integration with Chatterbox for this clinic.

No Additional Properties

Allow Non Enrolled Patients

Type: boolean

Whether to allow users who are not enrolled to talk to the Bot. Defaults to false. The PATIENT_NOT_ENROLLED template will be sent for patients that are not enrolled when this value is false.

Jarvis Settings

Type: object

Settings related to Cleo integration with Jarvis for this clinic.

No Additional Properties

Disclaimer Window Time

Type: integer

Number of seconds to wait before it sent a new disclaimer. Defaults to 3600.

Value must be greater or equal to 0

LLM Response Identifier

Type: string

Identifier to use for LLM responses. Defaults to *.

Must be at least 1 characters long

Allowed Login Methods

Type: array of enum (of string)

Array of allowed login methods. If not set, defaults to [phone].

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "phone"
  • "email"

Clinician Designations

Type: object

List of clinician designations to complement/override the auto-generated list. This will be reflected in the cleoClinicianDesignations GQL object type.

No Additional Properties

Replace Auto Generated List

Type: boolean

Replace the auto-generated list instead of adding on to it. Defaults to true.

Designations

Type: object

A mapping from canonical clinical designations to possible instantiations when searching and filtering. Filtering/searching should be case insensitive.

Each additional property must conform to the following schema

Designation

Type: array of string

List of designations to use for filtering. The canonical designation is always part of the list (i.e., empty list is okay).

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Patient Dashboard Verification

Type: object

Describes how the patient should be verified when accessing their own dashboard. If patient_dashboard_verification is not set or verification_fields is empty, it means no verification is necessary.

No Additional Properties

Title

Type: string

Message to display as the on the secondary verification page. Defaults to "".

Must be at least 1 characters long

Verification Fields

Type: array of object

An array of verification fields displayed to the user for verification purposes before accessing their personal dashboard.

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Key

Type: enum (of string)

Use this verification key as secondary verification of the patient. A limited number of options are currently supported:
- none: No verification is required
- identifier and identifier_last_4: Based on the Patient model's identifier field.
- verification_token and verification_token_last_4: Based on the Patient model's verification_token field.
- phone, phone_e164, and phone_without_country_code: Based on the Patient model's phone field.
Note that all comparisons are case-insensitive.

Must be one of:

  • "identifier"
  • "identifier_last_4"
  • "verification_token"
  • "verification_token_last_4"
  • "phone_e164"
  • "phone_without_country_code"
  • "phone_last_4"

Key Display

Type: object

Show this text as the label of the associated text input.

Discharged Patients list Table Settings

Type: object

Table settings for configuring the look and feel of "Discharged Patients" table.

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Active Patients Table Settings

Type: object

Table settings for configuring the look and feel of "Active Patients" table.

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Active Patient Forms Table Settings

Type: object

Table settings for configuring the look and feel of "Active Patients" table.

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Patient monitoring table settings "All" tab

Type: object

Table settings for patient monitoring "All" tab

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Discharged Patient Forms Table Settings

Type: object

Table settings for configuring the look and feel of "Discharged Patients" table.

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Patient monitoring table settings "Non-Compliant" tab

Type: object

Patient monitoring table settings "Non-Compliant" tab

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Patient monitoring table settings "Unread comments" tab

Type: object

Patient monitoring table settings "Unread comments" tab

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Single patient submissions view table settings

Type: object

Single patient submissions view table settings

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Patient monitoring table settings "Unresolved Alerts" tab

Type: object

Patient monitoring table settings "Unresolved Alerts" tab

No Additional Properties

Title

Type: string

Title of the table for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Default sort field

Type: string

This is used to decide the default sorting for the result set.

Must be at least 1 characters long

Order descending

Type: boolean

Result is order in descending order based on the default sort field is set to true.

Columns

Type: array of object

Settings for each column in the table. This is an ordered array of columns from left to right.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

ID

Type: string

Column unique identifier. This is used for sorting purposes.

Must be at least 1 characters long

Header

Type: string or object

The column header for display. Will be passed through i18n if its a string, if it is an object it will be rendered based on the component property (ie. component "TableSectionHeader, TableSubSectionHeader", componentProps "title, subtitle").

Accessor

Type: string

Accessor value to use to retrieve the data

Must be at least 1 characters long

Sticky

Type: enum (of string)

Make column sticky either to left or right

Must be one of:

  • "left"
  • "right"

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Background color

Type: string

background color of the column

Must be at least 3 characters long

Sub columns

Type: array of object

Define child columns within a header column. The properties of this column are similar to its parent

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Component

Type: enum (of string)

The component to render. Defaults to Text.

Must be one of:

  • "Text"
  • "Link"
  • "Alert"
  • "Comment"
  • "BGTableCell"
  • "Badge"
  • "Markdown"
  • "MonitoringFormsArray"
  • "Boolean"

Width

Type: string

Width of the column. Defaults to browser math.

Must be at least 1 characters long

Style

Type: object

Styling props to pass to the component.

Additional Properties of any type are allowed.

Type: object

Disable Sort By

Type: boolean

Make this column un-sortable. Defaults to false.

Data

Type: object

Describes how data is being formatted and rendered to the user.

No Additional Properties

Value Template

Type: string

Template string (include ${x} variables) to define how cells are rendered.

The following variables are available for patient-form tables:

  • ${clinic[name]}: Name of clinic.
  • ${clinic[uid]}: UID of clinic.
  • ${clinic[domain]}: Domain for clinic login.
  • ${clinic[effective_logo]}: URL to clinic logo.
  • ${profile[uid]}: UID of clinician/patient profile.
  • ${profile[name]}: Name of clinician/patient.
  • ${profile[phone]}: Phone number of clinician/patient.
  • ${profile[language]}: ISO language code of clinician/patient's preferred language.
  • ${profile[communication_method]}: Preferred communication method of clinician/patient.
  • ${clinician[designation]}: Designation of clinician (currently not used).
  • ${patient[identifier]}: Masked identifier for patient.
  • ${monitoring_formset[uid]}: UID of monitoring formset.
  • ${monitoring_formset[name]}: Name of monitoring formset.
  • ${monitoring_formset[alert_rules]}: Comma-separated names of alert rules of monitoring formset.
  • ${monitoring_formset[reminders]}: Comma-separated names of effective reminders of monitoring formset.
  • ${monitoring_formset[reminder_descriptions]}: Comma-separated description of effective reminders of monitoring formset. Descriptions are human readable representation of the reminder schedule.
  • ${monitoring_formset[clinical_parameters]}: Comma-separated names of clinical parameters of monitoring formset.
  • ${monitoring_form[uid]}: UID of monitoring form.
  • ${monitoring_form[effective_name]}: Name of monitoring form.
  • ${monitoring_form[language]}: Language of monitoring form.
  • ${monitoring_form[url]}: URL of monitoring form.
  • ${patient_form[uid]}: UID of patient-form.
  • ${patient_form[language]}: Language of patient-form.
  • ${patient_form[alert_rules]}: Comma-separated names of effective alert rules of patient-form.
  • ${patient_form[reminders]}: Comma-separated names of effective reminders of patient-form.
  • ${patient_form[reminder_descriptions]}: Comma-separated description of effective reminders of patient-form. Descriptions are human readable representation of the reminder schedule.
  • ${patient_form[alertees]}: Comma-separated values of patient-form's clinicians alertees' names.
  • ${patient_form[ics]}: Comma-separated values of patient-form's clinicians in-charges' names.
  • ${patient_form[created_on]}: Enrollment date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[deactivated_on]}: Discharge date of patient-form. Formatted using clinic datetime format string.
  • ${patient_form[last_submitted_on]}: Date of most recent submission form. Formatted using clinic datetime format string; N/A if not available.

The following variables are available for submission tables (in addition to the variables ☝️)

  • ${submission[uid]}: UID of submission.
  • ${submission[created_on]}: Submission date of submission.
  • ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
  • ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Href Template

Type: string

Template string for href of Link component. The same variables set as valueTemplate is supported.

Patient Charts

Type: array

Charts settings for displaying individual patient's charts. Charts will be displayed in the same order as this array of settings.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Clinic Chart Settings

Type: object

Schema for configuring the look and feel of a patient chart.

No Additional Properties

Title

Type: string

Title of the chart for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Subtitle

Type: string

subtitle of the chart for display to the user. Will be passed through i18n.

Must be at least 1 characters long

Chart Type

Type: enum (of string)

Type of the chart, either scatter, singleLine or multiLine.

Must be one of:

  • "scatter"
  • "singleLine"
  • "multiLine"

Key

Type: string

key identifying which chart is being display. i.e HR, BP

Must be at least 1 characters long

combineClinicalParametersData

Type: boolean

For example in the case of Alexandra, we combine the BG data Reading values with time taken (i.e After Meal, before Meal, etc...)

manualSorting

Type: boolean

Use to determine if we do the sorting manually or use the predefined sorting functionality that comes with the library

Legend

Type: object

Props for configuring the legend of the series. It will be passed to VictoryLegend. If not specified, legends will not be used for the chart.

Unit

Type: string

Unit associated with the average result. i.e %, °C.

Must be at least 1 characters long

DecimalPlaces

Type: number

How many decimal places to show after each entry. ie. 1

Value must be greater or equal to 0

Clinical Parameters

Type: array of string

Clinical parameters that will be displayed on this chart. This will be used to filter submission values in GQL (and reduce network traffic). It can be either name or uid of parameter. Defaults to returning all parameter values.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Y-Axis

Type: object

Props for configuring the y-axis of the chart. It will be passed to VictoryAxis.

Table columns

Type: array of object

Representation of the graph in table view, columns definition. The properties of these columns are similar to the table config

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Series

Type: array of object

Settings for each series to display in the chart.

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Title

Type: string

Title of the line / series. This will be used for default in legends, etc.

Must be at least 1 characters long

Symbol Style

Type: object

Props for configuring the symbols/data points of the series. It will be passed to the chart as style.data.

Line Style

Type: object

Props for configuring the line of the series. It will be passed to the chart as style.data. This is only applicable for line charts.

Tooltip Template

Type: string

Template string defining how tooltips for data points are shown. Supported variables are:
- ${submission[uid]}: UID of submission.
- ${submission[created_on]}: Submission date of submission.
- ${submission_value[<name_with_group>]}: Submission value for clinical parameter name_with_group. Example: ${submission_value[BP Systolic]}.
- ${submission_value[<uid>]}: Submission value for clinical parameter with UID uid. Example: ${submission_value[xxxxx123456789012345678901234567]}.

Must be at least 1 characters long

Engage

Type: object

Engage clinic settings.

No Additional Properties

Allow Re-enrollment

Type: boolean

Whether to allow an already enrolled patient to re-enroll, thereby resetting their state. Defaults to false.

MOH CDMP

Type: object

MOH CDMP settings.

No Additional Properties

Fancy Export

Type: boolean

Whether to allow the fancy Excel file export format for MOH CDMP users. Defaults to false.

NEMG scheduling

Type: object

NEMG scheduling settings

No Additional Properties

Confirmation

Type: object

Scheduling confirmation settings

No Additional Properties

Message template set UID

Type: string

UID of message template set to use for confirmation message

Cancellation

Type: object

Scheduling cancellation settings

No Additional Properties

Message template set UID

Type: string

UID of message template set to use for cancellation message

Rescheduling

Type: object

Rescheduling settings

No Additional Properties

Message template set UID

Type: string

UID of message template set to use for rescheduling message

Reminders

Type: array of object

List of reminders settings

No Additional Items

Each item of this array must be:

Type: object
No Additional Properties

Interval

Type: integer

Reminder interval in seconds, use negative value for reminding before the event and positive for reminding after

Callback data

Type: object

Callback data for event reminder Kronos callback

Message template set UID

Type: string

UID of message template set to use for reminder message

Additional Properties of any type are allowed.

Type: object

Embedding settings

Type: object

Settings for the LLM model during query flow.

Prompt Name

Type: enum (of string) Default: "query"

Prompt for the embedding.

Must be one of:

  • "query"
  • "text"

Dimension

Type: integer Default: -1

Dimension of the embedding

Model Source

Type: enum (of string) Default: "huggingface"

Where is the model from?

Must be one of:

  • "huggingface"
  • "bedrock"

HNSW settings

Default: null

HNSW settings

HNSW Graph Settings

Type: object

Defines settings for HNSW graph. See
https://github.com/run-llama/llamaindex/blob/977d60a058c691957dae3eb3c66c1894faea24ac/llama-index-integrations/vectorstores/llama-index-vector-stores-postgres/llamaindex/vectorstores/postgres/base.py#L570

dist_method

Type: enum (of string) Default: "vector_cosine_ops"

Distance metric to use. Note that by default PGVectorStore.buildquery calls cosine_distance

Must be one of:

  • "vector_l2_ops"
  • "vector_ip_ops"
  • "vector_cosine_ops"
  • "vector_l1_ops"
  • "bit_hamming_ops"
  • "bit_jaccard_ops"

ef_construction

Type: integer Default: 64

Size of the dynamic candidate list for constructing the graph. Higher value provides better recall at the cost of speed

m

Type: integer Default: 16

Max number of connections per layer.

Model

Type: string

Name of embedding model to use.

Must be at least 1 characters long

Query Instruction

Type: string Default: "Represent this sentence for searching relevant passages:"

Instruction for the query.

Context Size

Type: integer Default: 512

Context size of the embedding model