Home Schema Example JSON Schema

Settings

Type: object

Hospital.settings are used to store settings related to the hospital. This field will be exposed to the Frontend.

No Additional Properties

Beta Programs

Type: array of string

Beta Programs that this hospital is running

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Organization key

Type: object

This is to denote the organization key used on Chatterbox and by legacy Hippocrates. This key will be included in the ProfileTags.schema as well.

Alexandra

Type: const

Alexandra Hospital

Specific value: "alexandra"

AHI

Type: const

Association of Healthtech Indonesia

Specific value: "ahi"

Digihealth

Type: const

Digihealth

Specific value: "digihealth"

Bot MD Demo Hospital

Type: const

Bot MD Demo Hospital for our internal testing purposes.

Specific value: "bdh"

CGH

Type: const

Changi General Hospital

Specific value: "cgh"

Cleo

Type: const

All cleo dialogues are nested under this hospital. Permissions to different clinics are separated by tags of the form cleo:<domain>.

Specific value: "cleo"

Dharmais

Type: const

Rumah Sakit Kanker Dharmais

Specific value: "dharmais"

Fleming Hospital

Type: const

Fleming Hospital is our hospital for public users.

Specific value: "fleminghospital"

Bot MD

Type: const

Bot MD.

Specific value: "botmd"

Bot MD ID Web

Type: const

Bot MD ID Demo Web

Specific value: "botmd_id_web"

EB Medicine Demo

Type: const

EB Medicine Demo

Specific value: "eb_medicine"

Faithful Empire

Type: const

Faithful Empire Webbot

Specific value: "faithful_empire_web"

Harapan Kita

Type: const

Pusat Jantung Nasional Harapan Kita

Specific value: "pjnhk"

ICC

Type: const

Icon Cancer Centre

Specific value: "icc"

IDI

Type: const

Indonesian Medical Association

Specific value: "idi"

IDI Web

Type: const

Indonesian Medical Association Web

Specific value: "idi_web"

IDI Whatsapp

Type: const

Indonesian Medical Association Whatsapp

Specific value: "idi_whatsapp"

Iskandar Demo

Type: enum (of string)

Iskandar demo project.

Must be one of:

  • "iskandar_demo"
  • "iskandar"

Indonesia Care

Type: const

Indonesia care

Specific value: "indonesia_care"

Indonesia Hospital

Type: const

Indonesia hospital

Specific value: "indonesia_hospital"

Klinik In Harmony

Type: const

Klinik In Harmony

Specific value: "inharmony"

KONSULTAMD

Type: const

Konsulta MD

Specific value: "konsultamd"

KKWCH

Type: const

KK Women's and Children's Hospital

Specific value: "kkwch"

KTPH

Type: const

Khoo Teck Puat Hospital

Specific value: "ktph"

MOH Singapore

Type: const

Ministry of Health (Singapore)

Specific value: "moh_sg"

National Hospital

Type: const

National Hospital

Specific value: "nationalhospital"

NCCS

Type: const

National Cancer Centre Singapore

Specific value: "nccs"

NCIS

Type: const

National University Cancer Institute Singapore

Specific value: "ncis"

NCIS Engage

Type: const

NCIS Engage

Specific value: "ncis_engage"

NCIS Engage Web

Type: const

NCIS Engage Web

Specific value: "ncis_engage_web"

NEMG

Type: const

Northeast Medical Group

Specific value: "nemg"

NEMG WEB

Type: const

NEMG WEB

Specific value: "nemg_web"

NKTI

Type: const

National Kidney Transplant Institute

Specific value: "nkti"

NTFGH

Type: const

Ng Teng Fong General Hospital

Specific value: "ntfgh"

NUHS

Type: const

National University Health System

Specific value: "nuhs"

NUH

Type: const

National University Hospital

Specific value: "nuh"

NUS Med

Type: const

NUS School of Medicine

Specific value: "nus_med"

Parkway Radiology

Type: const

Parkway Radiology

Specific value: "parkwayradio"

Philippine General Hospital

Type: const

Philippine General Hospital

Specific value: "pgh"

Prodia Demo

Type: const

Prodia Demo

Specific value: "prodia_demo"

PPhA

Type: const

Philippine Pharmacists Association, Inc

Specific value: "ppha"

Roche Singapore

Type: const

Roche Singapore

Specific value: "roche"

Roche Brunei

Type: const

Roche Brunei

Specific value: "roche_brunei"

Roche HCP

Type: const

Roche HCP is the public bot hosted on https://roche.com.sg

Specific value: "roche_hcp"

Roche HCP Private

Type: const

Roche HCP Private is the private bot hosted on https://roche.com.sg

Specific value: "roche_hcp_private"

Philippine General Hospital

Type: const

Philippine General Hospital

Specific value: "upcm"

Sanglah

Type: const

Sanglah General Hospital

Specific value: "sanglah"

SGH

Type: const

Singapore General Hospital

Specific value: "sgh"

SKH

Type: const

Sengkang General Hospital

Specific value: "skh"

SingHealth

Type: const

SingHealth

Specific value: "singhealth"

Siloam Hospitals

Type: const

Siloam Hospitals

Specific value: "siloam"

Speedoc

Type: const

Speedoc

Specific value: "speedoc"

Stanford

Type: const

Stanford Health Care

Specific value: "stanford"

Sunway

Type: const

Sunway

Specific value: "sunway"

TTSH

Type: const

Tan Tock Seng Hospital

Specific value: "ttsh"

Ultravioleta

Type: const

Ultravioleta hospital

Specific value: "ultravioleta"

UPCM

Type: object

College of Medicine - University of the Philippines Manila

Active Heimdall Provider

Type: string

Heimdall Provider UID that this hospital will login using

Must be at least 1 characters long

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

Domain Root

Type: string

The domain rppt (eg. botmd.io, botmd.sg) of the hospital. Used to alter all API endpoints for the specified hospital. Defaults to botmd.io.

Must be at least 1 characters long

Timezone

Type: string

Default timezone to assume for patients, clinicians in this clinic. This is publicly available to frontend via cleoClinicPublicSettings endpoint. Defaults to UTC.

Must be at least 1 characters long

Einstein

Type: object

Einstein specific settings.

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

Jarvis V2 Assistant settings

Type: object

Hospital assistant-specific configs are stored here. If hospital has J2 enabled and this is not provided, default values will be used

Jarvis V2 Assistant

Type: object

Jarvis V2 Assistant metadata

Is enabled

Type: boolean Default: true

True iff this assistant is available for use. True by default

LLM Query Engine Settings YAML path

Type: string

Kondo Resources path to LLM Query Engine Settings YAML. Backend should have hardcoded defaults if not provided

Must be at least 1 characters long

Jarvis V2 Assistant

Type: object

Jarvis V2 Assistant metadata

Same definition as @documents

Jarvis V2 Assistant

Type: object

Jarvis V2 Assistant metadata

Same definition as @documents

Is Guest Hospital?

Type: boolean

Mark this hospital as a guest hospital. There can only be one.

Maximum active devices per profile for a web channel

Type: number

Only the number of most recent active web devices will be kept upon registering new web device

Value must be greater or equal to 1

Public Profile UID

Type: string

Default hospital profile uid for public session. Setting this will also allow this hospital to be used with PublicServiceProvider for authorization flow.

Legacy Account User Config (Deprecated)

Type: object

Config in JSON to store modules config such as reminder times.

Additional Properties of any type are allowed.

Type: object

Notifications

Type: object

Notifications related hospital settings.

No Additional Properties

Available Notifications.

Type: array of object

A list of notification types that are available in the hospital.

All items must be unique

No Additional Items

Each item of this array must be:

Type: object

Key

Type: object

These keys uniquely identify the notification type. When storing in Profile.settings.notifications.deactivated[], these keys should be used.

Bot

Type: const

Messages from Bot. This is the default is no delivery_by is specified.

Specific value: "bot"

Alert

Type: const

Alerts

Specific value: "alert"

Email Notification

Type: const

Email Notification to Admin / User (eg. User License limit, activation, expiry, etc.)

Specific value: "email_notification"

Broadcast

Type: const

Broadcast to hospital

Specific value: "broadcast"

Profile Reminder

Type: const

Profile related reminder (eg. profile creation, activation, expiry, etc).

Specific value: "profile_reminder"

Temperature Reminder

Type: const

Temperature reminder for Singapore hospitals.

Specific value: "temperature_reminder"

ART Reminder

Type: const

ART reminder for Singapore hospitals.

Specific value: "art_reminder"

ED

Type: const

ED Roster Updates used by TTSH Emergency Department.

Specific value: "ed_roster"

Mental Health

Type: const

Mental Health bot for TTSH.

Specific value: "emobot"

Mood Log Reminder

Type: const

Mood Log Reminder for TTSH Mental Health Module (2024)

Specific value: "moodlog_reminder"

ECG

Type: const

ECG Updates used by TTSH Emergency Department.

Specific value: "ecg"

Arise

Type: const

Arise/PSP used by Roche.

Specific value: "arise_psp"

Name

Type: string

This notification name will be displayed in the notifications screen on the frontend.

Must be at least 1 characters long