Analytics DB Structure

Once the Analytics DB is active, it will automatically generate a dedicated table for each available template in your system, including usage sessions, commands, and alerts.
Each table and its attributes have a unique Analytics DB name, which can be viewed directly within the template.

To find the Analytics DB name:

  1. Go to the BioT console portal
  2. Select the desired template
  3. Navigate to the “Dev” section (of the template name or attribute)
  4. The Analytics DB name will be shown as in the screenshot below

Changing Analytics DB Names

You can rename templates and attributes, but only when Analytics Sync is turned off.

  • Allowed: Templates and custom attributes.
  • Not allowed: Built-in attributes (these are fixed).

Note: If Analytics Sync is active, no changes can be made.

To update names, turn off Sync, make your changes, and then reinitialize the Analytics DB.

Observations

The observations table is created only after you add at least one observation to the Patient template.
Table naming format: observation<_ADB name of the Patient template>

For each defined observation, a new column is created.

Data is stored based on type:

  • int, double, and waveform → stored as numeric
  • boolean → stored as boolean
  • Waveform values are:
    • Decoded
    • Saved as separate rows
    • Timestamps are calculated using waveform frequency and size

Default Columns (for observation table):

Column NameData Type
patientIdtext
sessionIdtext
sourceEntityIdtext
timestamptimestamp
patientTemplateNametext
_ownerOrganization.idtext
sessionTemplateNametext
sourceEntityTemplateNametext

Note: This table can include text, numeric, or boolean fields depending on the observation types.


Special Attribute Types

Attributes in each template are converted into table columns using the following mapping:

Attribute typeAttribute name in templateAttribute name in Analytics DB TableNumber of columns created
Regular_email_email1
Object_address_address.address1,_address.address2,_address.city, _address.countryCode, _address.state, _address.zipCode6
Objectfilefile.id, file.size, file.name, file.mimeType4
Objectimage1image.id, image.size, image1.name, image1.mimeType4
Reference_patient_patient.id, _patient.templateName2

Each Analytics DB table also includes the following default columns:

  • _id
  • _templateName

The exception: the Observations<_ADB name of the Patient template> table does not include_ id and _templateName.