Home Schema Example JSON Schema

Settings

Type: object

Settings related to the einstein are stored in the respective Hospital.settings under the einstein field. This field will be exposed to the Frontend.

No Additional Properties

Type: object

Designations

Type: array of integer

List of day intervals to send the activation email notifications to users (ie. 7 days after activation, 14 days, etc.)

All items must be unique

No Additional Items

Each item of this array must be:

Type: integer

Value must be greater or equal to 1

List of emails to send Usage Reports to

Type: array of string

List of emails to send regular Usage Reports to. If empty or missing, then we will not send any usage reports.

All items must be unique

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

List of emails to send Deactivation task report emails to

Type: array of string

List of emails to send regular task Deactivation Reports to. If empty or missing, then we will not send any deactivation task reports.

All items must be unique

No Additional Items

Each item of this array must be:

Hospital Go-Live Date

Type: string

To be of format 'YYYY-mm-dd'. Marks the official go-live date of this hospital. Important for metrics (ie. all data-points before this date are ignored for metrics purposes)

Must be at least 1 characters long

DirectoryProfile Provision Limit

Type: integer Default: 5

The maximum allowed active/provisioned DirectoryProfile users for this Hospital.

Administrator Provision Limit

Type: integer Default: 1

The maximum allowed active Administrators for this Hospital.

Billing Start Date

Type: string

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

Must be at least 1 characters long

Billing End Date

Type: string

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

Must be at least 1 characters long

User Contact Fields

Type: array of enum (of string)

Contact Fields that the DirectoryProfiles of this hospital will use. Choices limited to - email, phone

All items must be unique

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "email"
  • "phone"

Admin Contact Fields

Type: array of enum (of string)

Contact Fields that the Administrators of this hospital will use. Choices limited to - email, phone

All items must be unique

No Additional Items

Each item of this array must be:

Type: enum (of string)

Must be one of:

  • "email"
  • "phone"

Profile Filter Options

Type: object

Filter options for frontend when displaying Hospital profiles.

No Additional Properties

Designations

Type: array of string

List of designations for filtering. Defaults to [Associate Consultant, Consultant, House Officer, Senior Associate, Staff Nurse].

All items must be unique

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Include Existing Designations

Type: boolean

If true, existing designations of profiles will be appended to the above designations list. The results are unique-fied case-insensitively. Defaults to true.

Departments

Type: array of string

List of departments for filtering. Defaults to [].

All items must be unique

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Include Existing Departments

Type: boolean

If true, existing departments of profiles will be appended to the above departments list. The results are unique-fied case-insensitively. Defaults to true.

Type: object

Additional Properties of any type are allowed.

Type: object