Lifebox M&E System Database Schema Documentation

Introduction

This documentation provides a comprehensive overview of the lifebox_mesystem PostgreSQL database schema. Designed to support a comprehensive monitoring and evaluation system with features for tracking projects, indicators, beneficiaries, and evaluations.

Key Features

  • Project Management: Track project details, timelines, and budgets
  • Indicator Tracking: Monitor performance indicators and targets
  • Beneficiary Management: Track beneficiary information and participation
  • Evaluation Framework: Conduct baseline, midline and endline evaluations
  • Real-time Reporting: Generate comprehensive reports and dashboards
  • User Management: Role-based access control system

Database Overview

32 32 32 32 32
Statistic Value
Total Tables 110
Primary Tables projects, indicators, beneficiaries, evaluations
Reference Tables locations, organizations, indicator_types, etc.
System Tables users, roles, permissions, audit_logs

Getting Started

Database Connection

To connect to the lifebox_mesystem database, use the following connection parameters:

// PHP PDO Connection for PostgreSQL
$db_host = '127.0.0.1';
$db_port = '5432';
$db_name = 'lifebox_mesystem';
$db_user = 'postgres';
$db_pass = 'mikeintosh';

try {
    $pdo = new PDO("pgsql:host=$db_host;port=$db_port;dbname=$db_name", $db_user, $db_pass);
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    echo "Connected successfully";
} catch(PDOException $e) {
    echo "Connection failed: " . $e->getMessage();
}

Database Schema

The database follows a relational model with proper normalization. Key entities include:

32 32 32 32 32
Entity Description Related Tables
Projects Core entity storing all project information projects, project_indicators, project_beneficiaries
Indicators Performance indicators and targets indicators, indicator_values, indicator_types
Beneficiaries Beneficiary information and participation beneficiaries, beneficiary_projects, beneficiary_evaluations
Evaluations Evaluation data and results evaluations, evaluation_indicators, evaluation_participants

Entity Relationship Diagram

The interactive Entity Relationship Diagram (ERD) below provides a visual representation of the database structure and relationships. Click and drag to navigate, scroll to zoom, and click on tables to see details.

Tables Documentation

This section provides detailed documentation for each table in the database, including column definitions, relationships, and sample data.

antibiotics

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
antibiotic_id int4(32,0) No nextval('antibiotics_antibiotic_id_seq'::regclass) PRIMARY
antibiotic_name varchar(100) No NULL
description text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

No sample data available for this table.

case_antibiotics

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
case_antibiotic_id int4(32,0) No nextval('case_antibiotics_case_antibiotic_id_seq'::regclass) PRIMARY
case_id uuid Yes NULL
antibiotic_id int4(32,0) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

No sample data available for this table.

clean_cut_implementations

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
implementation_id int4(32,0) No nextval('clean_cut_implementations_implementation_id_seq'::regclass) PRIMARY
facility_id int4(32,0) Yes NULL
country_id int4(32,0) Yes NULL
implementation_year int4(32,0) No NULL
start_date date No NULL
end_date date Yes NULL
implementation_months int4(32,0) Yes NULL
avg_monthly_surgical_volume int4(32,0) Yes NULL
estimated_operations_impacted int4(32,0) Yes NULL
general_surgery_volume int4(32,0) Yes NULL
ob_gyn_volume int4(32,0) Yes NULL
pediatrics_volume int4(32,0) Yes NULL
ortho_volume int4(32,0) Yes NULL
total_volume int4(32,0) Yes NULL
remarks text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

No sample data available for this table.

facilities

12 columns 2 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
facility_id int4(32,0) No nextval('facilities_facility_id_seq'::regclass) PRIMARY
facility_name varchar(500) No NULL UNIQUE
country_id int4(32,0) Yes NULL UNIQUE
facility_type varchar(100) Yes NULL
address text Yes NULL
city varchar(100) Yes NULL
latitude numeric(10,8) Yes NULL
longitude numeric(11,8) Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
region_id int4(32,0) Yes NULL FOREIGN
32 32 32
Column References Relationship
country_id countries (country_id) Many facilities belong to one countries
region_id regions (region_id) Many facilities belong to one regions
32 32 32 32 32 32
facility_id facility_name country_id facility_type address city latitude longitude is_active created_at updated_at region_id
11 Adama NULL NULL NULL NULL NULL NULL 1 2025-05-27 17:48:41.415969+00 2025-05-27 17:48:41.415969+00 NULL
18 Lifebox/12 CEU NULL NULL NULL NULL NULL NULL 1 2025-05-27 17:48:41.418859+00 2025-05-27 17:48:41.418859+00 NULL
23 BSA NULL NULL NULL NULL NULL NULL 1 2025-05-27 17:48:41.420887+00 2025-05-27 17:48:41.420887+00 NULL
25 Yaahot Hotel NULL NULL NULL NULL NULL NULL 1 2025-05-27 17:48:41.421675+00 2025-05-27 17:48:41.421675+00 NULL
26 Ramada Addis Hotel NULL NULL NULL NULL NULL NULL 1 2025-05-27 17:48:41.422079+00 2025-05-27 17:48:41.422079+00 NULL

Showing 5 sample records.

training_attendance

8 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
attendance_id int4(32,0) No nextval('training_attendance_attendance_id_seq'::regclass)
day_number int4(32,0) No NULL
attended bool No false
attendance_date date Yes NULL
notes text Yes NULL
recorded_at timestamp Yes CURRENT_TIMESTAMP
recorded_by int4(32,0) Yes NULL
participation_id int4(32,0) No NULL

This table has no foreign key relationships.

32 32 32 32 32 32
attendance_id day_number attended attendance_date notes recorded_at recorded_by participation_id
1 1 1 2024-06-07 2025-05-28 00:00:00 NULL 1
2 2 1 2024-06-08 2025-05-29 00:00:00 NULL 1
3 1 1 2024-06-07 2025-05-29 00:00:00 NULL 2
4 2 1 2024-06-08 2025-05-29 00:00:00 NULL 2
5 1 2024-06-07 NULL 2025-05-29 21:36:07.396262 NULL 3

Showing 5 sample records.

training_participants

15 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
participant_id int4(32,0) No nextval('training_participants_participant_id_seq'::regclass)
first_name varchar(100) No NULL
last_name varchar(100) No NULL
sex_id int4(32,0) Yes NULL
role_id int4(32,0) Yes NULL
facility_id int4(32,0) Yes NULL
phone varchar(50) Yes NULL
email varchar(100) Yes NULL
country_id int4(32,0) Yes NULL
training_date date No NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
venue_id int4(32,0) Yes NULL
title_salutation varchar(50) Yes NULL
middle_name varchar(100) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
participant_id first_name last_name sex_id role_id facility_id phone email country_id training_date created_at updated_at venue_id title_salutation middle_name
2 Nihar Kundu 1 2 30 +8801713337806 niharranjan5200@gmail.com 9 2024-06-07 2025-05-28 21:00:00+00 NULL 1 Dr. Ranjan
3 Momotaj Begum 2 3 30 +8801744634336 9 2024-06-07 2025-05-28 21:00:00+00 NULL 1
4 Shaheen Shah 1 5 31 +8801712946585 shahin.ps81@gmail.com 9 2025-05-30 2025-05-29 21:00:00+00 NULL 1 Dr.
5 Golam Shorwar 1 2 31 +8801715007936 dr.kallol03@gmail.com 9 2025-05-30 2025-05-29 21:00:00+00 NULL 1 Dr.
6 Sabina Yeasmin 2 3 31 +8801964619497 sabinayeasmin2610@gmail.com 9 2025-05-30 2025-05-29 21:00:00+00 NULL 1

Showing 5 sample records.

training_participation

7 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32
Column Type Nullable Default Key
participation_id int4(32,0) No nextval('training_participation_participation_id_seq'::regclass)
participant_id int4(32,0) No NULL
training_id int4(32,0) No NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
pre_test_score numeric(5,2) Yes NULL
post_test_score numeric(5,2) Yes NULL
ceu_points numeric(5,2) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
participation_id participant_id training_id created_at pre_test_score post_test_score ceu_points
5 4 6 2025-05-29 21:00:00+00 NULL NULL NULL
6 5 6 2025-05-29 21:00:00+00 NULL NULL NULL
7 6 6 2025-05-29 21:00:00+00 NULL NULL NULL
8 7 6 2025-05-29 21:00:00+00 NULL NULL NULL
9 8 6 2025-05-29 21:00:00+00 NULL NULL NULL

Showing 5 sample records.

training_sessions

21 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
training_id int4(32,0) No nextval('training_sessions_training_id_seq'::regclass)
course_id int4(32,0) Yes NULL
training_type text Yes NULL
training_approach text Yes NULL
program text Yes NULL
quarter text Yes NULL
start_date date No NULL
end_date date No NULL
facility_id int4(32,0) Yes NULL
host_country_id int4(32,0) Yes NULL
ceu_points numeric(5,2) Yes NULL
num_participants int4(32,0) Yes NULL
avg_pre_test_score numeric(5,2) Yes NULL
avg_post_test_score numeric(5,2) Yes NULL
remarks text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
training_type_id int4(32,0) Yes NULL
approach_id int4(32,0) Yes NULL
program_id int4(32,0) Yes NULL
venue_id int4(32,0) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
training_id course_id training_type training_approach program quarter start_date end_date facility_id host_country_id ceu_points num_participants avg_pre_test_score avg_post_test_score remarks created_at updated_at training_type_id approach_id program_id venue_id
2 2 NULL NULL NULL 1 2024-04-30 2024-04-30 3 2 NULL 9 NULL NULL 2025-05-26 21:00:00+00 NULL 2 1 3 NULL
3 2 NULL NULL NULL 1 2024-05-02 2024-05-02 4 2 NULL 7 NULL NULL 2025-05-26 21:00:00+00 NULL 2 1 3 NULL
4 2 NULL NULL NULL 2 2024-08-02 2024-08-02 8 2 NULL 18 NULL NULL 2025-05-26 21:00:00+00 NULL 2 1 3 NULL
5 2 NULL NULL NULL 2 2024-08-01 2024-08-01 8 2 NULL 18 NULL NULL 2025-05-26 21:00:00+00 NULL 2 1 3 NULL
1 1 NULL NULL NULL 1,2,3 2024-04-01 2024-11-30 NULL NULL NULL 280 NULL NULL 2024-03-31 21:00:00+00 2025-05-27 18:02:18.19304+00 3 1 3 NULL

Showing 5 sample records.

device_distribution_log

8 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
log_id int4(32,0) No nextval('device_distribution_log_log_id_seq'::regclass)
distribution_id int4(32,0) Yes NULL
device_type int4(32,0) No NULL
previous_quantity int4(32,0) No NULL
distributed_quantity int4(32,0) No NULL
new_quantity int4(32,0) No NULL
performed_by varchar(100) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32
log_id distribution_id device_type previous_quantity distributed_quantity new_quantity performed_by created_at
1 1 1 125 25 100 system 2025-06-07 21:00:00+00
2 2 1 77 2 75 system 2025-06-07 21:00:00+00
3 3 1 79 6 73 system 2025-06-07 21:00:00+00
4 10 1 67 4 63 postgres 2025-06-09 18:02:26.820903+00

Showing 4 sample records.

regions

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
region_id int4(32,0) No nextval('regions_region_id_seq'::regclass) PRIMARY
region_name varchar(50) No NULL UNIQUE
description text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
region_id region_name description created_at updated_at
1 Africa-E&S Africa-E and S 2025-05-25 21:00:00+00 NULL
2 Africa-W&F Africa-W and F 2025-05-25 21:00:00+00 NULL
3 Asia Asia 2025-05-25 21:00:00+00 NULL
4 Europe Europe 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00
5 LatAm Latin America 2025-05-25 21:00:00+00 NULL

Showing 5 sample records.

device_distributions

22 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
distribution_id int4(32,0) No nextval('device_distributions_distribution_id_seq'::regclass)
region_id int4(32,0) Yes NULL
country_id int4(32,0) Yes NULL
order_reference varchar(50) No NULL
facility_id int4(32,0) Yes NULL
monthly_surgical_volume int4(32,0) Yes NULL
contact_name varchar(200) Yes NULL
contact_email varchar(100) Yes NULL
distribution_month int4(32,0) No NULL
distribution_year int4(32,0) No NULL
quantity int4(32,0) No NULL
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
device_type int4(32,0) No NULL
payment_method int4(32,0) Yes NULL
transaction_type int4(32,0) No NULL
donor int4(32,0) Yes NULL
is_received bool Yes NULL
receiving_date timestamp Yes NULL
started_using bool Yes NULL
date_started_using timestamp Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
distribution_id region_id country_id order_reference facility_id monthly_surgical_volume contact_name contact_email distribution_month distribution_year quantity notes created_at updated_at device_type payment_method transaction_type donor is_received receiving_date started_using date_started_using
31 1 16 sub39 129 NULL NULL NULL 6 2011 1 2026-01-29 00:00:00+00 NULL 1 1 2 1 NULL NULL
1 5 149 sub28 101 NULL NULL NULL 3 2011 1 2025-06-07 21:00:00+00 2025-09-11 21:00:00+00 1 1 2 1 1 2025-09-02 00:00:00 1 2025-09-03 00:00:00
2 4 27 sub33 102 NULL NULL NULL 4 2011 6 2025-06-07 21:00:00+00 NULL 1 1 2 1 NULL NULL NULL NULL
3 1 1 sub33 103 NULL NULL NULL 4 2011 2 2025-06-07 21:00:00+00 NULL 1 1 2 1 NULL NULL NULL NULL
4 2 62 sub33 104 NULL NULL NULL 4 2011 1 NULL 2026-02-12 14:06:28.498586+00 2026-02-12 14:06:28.498586+00 1 1 2 1 NULL NULL NULL NULL

Showing 5 sample records.

devices

16 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
device_id int4(32,0) No nextval('devices_device_id_seq'::regclass)
device_type varchar(100) No NULL
model varchar(100) Yes NULL
description text Yes NULL
serial_number varchar(255) Yes NULL
manufacturer varchar(100) Yes NULL
production_date date Yes NULL
warranty_expiry date Yes NULL
unit_price numeric(12,2) Yes NULL
total_quantity int4(32,0) Yes 0
available_quantity int4(32,0) Yes 0
status bool Yes true
facility_id int4(32,0) Yes NULL
warehouse_location varchar(100) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32
device_id device_type model description serial_number manufacturer production_date warranty_expiry unit_price total_quantity available_quantity status facility_id warehouse_location created_at updated_at
2 Pulse ox BT-710 Pulse ox BT-710 Pulse Oximeter Beta NULL NULL NULL 150 150 1 NULL 2025-06-07 21:00:00+00 NULL
3 Headlight HL8R Headlight HL8R Surgical Headlight NULL NULL NULL 500 500 1 NULL 2025-06-07 21:00:00+00 NULL
4 Zug capno Zug capno Capnography Monitor NULL NULL NULL 77 77 1 NULL 2025-06-07 21:00:00+00 NULL
1 Pulse ox AH-M1 Pulse ox AH-M1 Pulse Oximeter 2025-06-08 2027-06-08 NULL 100 63 1 NULL 2025-06-07 21:00:00+00 2025-06-09 18:02:26.820903+00

Showing 4 sample records.

donors

10 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('donors_id_seq'::regclass)
organization_name varchar No NULL
country_id int4(32,0) Yes NULL
email varchar Yes NULL
phone varchar Yes NULL
address_information varchar Yes NULL
contact_person varchar Yes NULL
donor_status bool Yes NULL
donor_type varchar Yes NULL
notes varchar Yes NULL

This table has no foreign key relationships.

32 32
id organization_name country_id email phone address_information contact_person donor_status donor_type notes
1 Smile Train 31 info@smiletrain.org +1800-932-9541 1

Showing 1 sample records.

diagnoses

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
diagnosis_id int4(32,0) No nextval('diagnoses_diagnosis_id_seq'::regclass) PRIMARY
diagnosis_name varchar(200) No NULL UNIQUE
diagnosis_category varchar(100) Yes NULL
description text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

No sample data available for this table.

languages

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
language_id int4(32,0) No nextval('languages_language_id_seq'::regclass)
language_name varchar(50) No NULL
iso_code varchar(3) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
language_id language_name iso_code created_at
1 Afar aa 2025-05-27 15:06:54.749089+00
2 Abkhazian ab 2025-05-27 15:06:54.752462+00
3 Achinese ace 2025-05-27 15:06:54.753231+00
4 Afrikaans af 2025-05-27 15:06:54.75394+00
5 Akan ak 2025-05-27 15:06:54.754636+00

Showing 5 sample records.

follow_ups

19 columns 1 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
follow_up_id int4(32,0) No nextval('follow_ups_follow_up_id_seq'::regclass) PRIMARY
case_id uuid Yes NULL
facility_id int4(32,0) Yes NULL FOREIGN
phone_call_date date Yes NULL
data_collector_name varchar(200) Yes NULL
call_successful bool Yes NULL
call_failure_reason text Yes NULL
patient_status varchar(100) Yes NULL
neonatal_death bool Yes NULL
wound_opened bool Yes NULL
wound_drainage bool Yes NULL
drainage_type drainage_type_enum Yes NULL
visited_healthcare_provider bool Yes NULL
provider_location varchar(100) Yes NULL
scheduled_postop_visit bool Yes NULL
attended_postop_visit bool Yes NULL
missed_visit_reason text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
32 32
Column References Relationship
facility_id facilities (facility_id) Many follow_ups belong to one facilities

No sample data available for this table.

lbapt_beginnings_fund

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
bf_id int4(32,0) No nextval('lbapt_beginnings_fund_bf_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
kpi text Yes NULL
means_of_verification text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32
bf_id strategic_area_id key_objective kpi means_of_verification status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 8 Improved quality, number, and distribution of maternal and neonatal health (MNH) workforce in focus ... 2 facilities will demonstrate greater compliance with at least 4 out of 6 standard safety or infecti... Monthly compliance audits using standardized checklists <br>- Direct observation assessments during ... 2 NULL 2025-08-17 15:24:00.503744+00 2025-08-17 15:24:00.503744+00

Showing 1 sample records.

lbapt_communications

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
communication_id int4(32,0) No nextval('lbapt_communications_communication_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
activity text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32
communication_id strategic_area_id key_objective activity kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 3 Grow social media engagement Develop annual social media calendar Calendar published and followed 1 1 2025-08-17 00:00:00+00 2025-09-05 00:00:00+00
2 3 Media engagement Host media training session for staff 1 session completed 4 1 2025-09-05 00:00:00+00 NULL

Showing 2 sample records.

lbapt_cri

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
cri_id int4(32,0) No nextval('lbapt_cri_cri_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
year_1_target text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32
cri_id strategic_area_id key_objective year_1_target kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 7 Implement the Safe Surgical Systems Strengthening (S4) framework in at least 10 countries Develop S4 Strategy "playbook" integrating all current & planned program interventions 2 NULL 2025-08-17 15:24:00.489257+00 2025-08-17 15:24:00.489257+00

Showing 1 sample records.

lbapt_development

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
development_id int4(32,0) No nextval('lbapt_development_development_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
activity text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32
development_id strategic_area_id key_objective activity kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 4 Expand peer-to-peer fundraising Launch ASA-Lifebox Resident Challenge Resident Challenge launched 1 1 2025-08-17 00:00:00+00 2025-09-05 00:00:00+00

Showing 1 sample records.

lbapt_elma

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
elma_id int4(32,0) No nextval('lbapt_elma_elma_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
kpi text Yes NULL
means_of_verification text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32
elma_id strategic_area_id key_objective kpi means_of_verification status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 6 Improved maternal and neonatal outcomes 1 million patients benefit from safer surgical systems 2 NULL 2025-08-17 15:24:00.482608+00 2025-08-17 15:24:00.482608+00

Showing 1 sample records.

lbapt_finance

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
finance_id int4(32,0) No nextval('lbapt_finance_finance_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
activity text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32
finance_id strategic_area_id key_objective activity kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 9 Improve forecasting Develop 3-year financial projections Projections document finalized 1 1 1 2025-08-16 00:00:00+00 2025-09-07 00:00:00+00

Showing 1 sample records.

lbapt_governance

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
governance_id int4(32,0) No nextval('lbapt_governance_governance_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
activity text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32
governance_id strategic_area_id key_objective activity kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 5 Global Governance Council Successfully on board 4 (+) new Council members; All new GGC members are onboarded succesfullly 1 NULL 2025-08-17 15:24:00.511714+00 2025-08-17 15:24:00.511714+00

Showing 1 sample records.

lbapt_hr

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
hr_id int4(32,0) No nextval('lbapt_hr_hr_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
activity text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32
hr_id strategic_area_id key_objective activity kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 10 HRIS development Scope for HRIS and develop implementation plan Plan approved 2 2025-08-16 21:00:00+00 NULL

Showing 1 sample records.

lbapt_cathedral

17 columns 2 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
cathedral_id int4(32,0) No nextval('lbapt_cathedral_cathedral_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL FOREIGN
key_objective text Yes NULL
kpi text Yes NULL
means_of_verification text Yes NULL
status_id int4(32,0) Yes NULL FOREIGN
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
32 32 32
Column References Relationship
status_id lbapt_status (status_id) Many lbapt_cathedral belong to one lbapt_status
strategic_area_id lbapt_strategic_areas (strategic_area_id) Many lbapt_cathedral belong to one lbapt_strategic_areas
32 32
cathedral_id strategic_area_id key_objective kpi means_of_verification status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 11 This is the objective and this is the activity what do you think 4 1 2025-09-12 21:00:00+00 2025-09-13 18:27:08.662902+00

Showing 1 sample records.

lbapt_operations

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
operation_id int4(32,0) No nextval('lbapt_operations_operation_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
activity text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32
operation_id strategic_area_id key_objective activity kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 2 Optimize Office 365 Train staff on Office 365 tools 90% usage post-training 1 1 2025-08-17 00:00:00+00 2025-09-05 00:00:00+00
2 2 Device strategy Develop comprehensive device management roadmap Roadmap completed and approved 3 1 2025-09-05 00:00:00+00 NULL

Showing 2 sample records.

lbapt_programs

17 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
program_id int4(32,0) No nextval('lbapt_programs_program_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
activity text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32
program_id strategic_area_id key_objective activity kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 1 Develop S4 playbook and tools Develop comprehensive assessment tools with expert team Assessment tool developed and validated 1 1 2025-08-16 00:00:00+00 2025-09-05 00:00:00+00
2 1 Develop S4 playbook and tools Expert review and finalize tools Expert validation completed 4 1 2025-08-16 00:00:00+00 2025-09-05 00:00:00+00
3 1 Conduct baseline assessments Train facility assessment teams Teams trained in 4 countries 1 1 2025-09-05 00:00:00+00 NULL

Showing 3 sample records.

lbapt_status

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
status_id int4(32,0) No nextval('lbapt_status_status_id_seq'::regclass) PRIMARY
status_name varchar(50) No NULL
status_description text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32
status_id status_name status_description created_at updated_at
1 In Progress Activity is currently being worked on 2025-08-17 15:24:00.436856+00 2025-08-17 15:24:00.436856+00
2 Not Started Activity has not been initiated yet 2025-08-17 15:24:00.436856+00 2025-08-17 15:24:00.436856+00
3 Stalled Activity has encountered obstacles and progress has stopped 2025-08-17 15:24:00.436856+00 2025-08-17 15:24:00.436856+00
4 Completed Activity has been successfully finished 2025-08-17 15:24:00.436856+00 2025-08-17 15:24:00.436856+00

Showing 4 sample records.

lbapt_strategic_areas

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
strategic_area_id int4(32,0) No nextval('lbapt_strategic_areas_strategic_area_id_seq'::regclass) UNIQUE
area_name varchar(100) No NULL
area_description text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
strategic_area_id area_name area_description created_at updated_at
1 Programs Implementation of Lifebox's global health initiatives and clinical programs Key Activities: Su... 2025-08-16 21:00:00+00 2025-08-17 17:05:38.659867+00
2 Operations Organizational infrastructure and support systems Key Functions: Financial management and repo... 2025-08-16 21:00:00+00 2025-08-17 17:06:22.906006+00
3 Communications Storytelling and brand management Key Activities: External communications and public relations... 2025-08-16 21:00:00+00 2025-08-17 17:19:34.723+00
4 Development Resource mobilization and fundraising Key Functions: Grant writing and foundation relations M... 2025-08-16 21:00:00+00 2025-08-17 17:19:53.686427+00
6 ELMA Maternal and neonatal health outcomes Signature Program: Safe surgical systems for obstetric car... 2025-08-16 21:00:00+00 2025-08-17 17:20:25.272537+00

Showing 5 sample records.

lbapt_annual_plan_tracker

18 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
tracker_id int4(32,0) No nextval('lbapt_annual_plan_tracker_tracker_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
key_objective text Yes NULL
activity text Yes NULL
kpi text Yes NULL
status_id int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
fyear int4(32,0) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
tracker_id strategic_area_id key_objective activity kpi status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at fyear
1 1 Develop S4 playbook and tools Develop comprehensive assessment tools with expert team Assessment tool developed and validated 1 2025-08-16 21:00:00+00 2025-08-17 19:19:39.604042+00 12
2 1 Develop S4 playbook and tools Expert review and finalize tools Expert validation completed 2 2025-08-16 21:00:00+00 NULL 12
3 1 Develop S4 playbook and tools Develop training and orientation materials Training materials ready 2 2025-08-16 21:00:00+00 2025-08-17 19:32:02.283937+00 12
4 1 Conduct baseline assessments Train facility assessment teams Teams trained in 4 countries 1 2025-08-16 21:00:00+00 NULL 12
5 1 Conduct baseline assessments Conduct baseline assessments in selected facilities 6 facilities assessed 1 2025-08-16 21:00:00+00 NULL 12

Showing 5 sample records.

lbapt_dashboard_summary

9 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
summary_id int4(32,0) No nextval('lbapt_dashboard_summary_summary_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
total_activities int4(32,0) Yes NULL
completed int4(32,0) Yes NULL
in_progress int4(32,0) Yes NULL
not_started int4(32,0) Yes NULL
on_track_percentage numeric(5,2) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
summary_id strategic_area_id total_activities completed in_progress not_started on_track_percentage created_at updated_at
543 5 1 0 1 0 100.00 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00
544 4 1 0 1 0 100.00 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00
545 2 2 0 1 0 50.00 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00
546 6 1 0 0 1 0.00 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00
547 14 1 0 1 0 100.00 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00

Showing 5 sample records.

lbapt_st

17 columns 2 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
st_id int4(32,0) No nextval('lbapt_st_st_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL FOREIGN
key_objective text Yes NULL
kpi text Yes NULL
means_of_verification text Yes NULL
status_id int4(32,0) Yes NULL FOREIGN
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
32 32 32
Column References Relationship
status_id lbapt_status (status_id) Many lbapt_st belong to one lbapt_status
strategic_area_id lbapt_strategic_areas (strategic_area_id) Many lbapt_st belong to one lbapt_strategic_areas
32 32
st_id strategic_area_id key_objective kpi means_of_verification status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 12 This is the key obj for ST Smile Train KPI this was the ver 1 1 2025-09-12 21:00:00+00 NULL

Showing 1 sample records.

lbapt_kpis_on_track

13 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
kpi_id int4(32,0) No nextval('lbapt_kpis_on_track_kpi_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
number_of_kpis int4(32,0) Yes NULL
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
kpi_id strategic_area_id number_of_kpis planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 created_at updated_at
433 1 3 1 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00
434 2 2 1 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00
435 3 2 1 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00
436 4 1 1 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00
437 5 1 2025-09-14 17:53:29.09669+00 2025-09-14 17:53:29.09669+00

Showing 5 sample records.

lbapt_sample_workflow

16 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
workflow_id int4(32,0) No nextval('lbapt_sample_workflow_workflow_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL
program_name varchar(100) Yes NULL
activity text Yes NULL
target_q1 bool Yes false
target_q2 bool Yes false
target_q3 bool Yes false
target_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
status_id int4(32,0) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
fyear int4(32,0) Yes NULL

This table has no foreign key relationships.

32 32
workflow_id strategic_area_id program_name activity target_q1 target_q2 target_q3 target_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 status_id created_at updated_at fyear
1 1 1 Development of comprehensive assessment tools with expert team 1 2025-08-16 21:00:00+00 2025-08-17 18:25:18.135215+00 12

Showing 1 sample records.

lbpmi_data_sources

3 columns
Structure
Relationships
Sample Data
32 32 32 32
Column Type Nullable Default Key
source_id int4(32,0) No nextval('lbpmi_data_sources_source_id_seq'::regclass) PRIMARY
data_source_name varchar(250) No NULL
data_source_description text Yes NULL

This table has no foreign key relationships.

32 32 32 32
source_id data_source_name data_source_description
1 Training All training data
2 Device Distribution All Device Distribution Data
3 DHIS2 CC DHIS2 Data Source

Showing 3 sample records.

lbln_courses

24 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
data_id int4(32,0) No nextval('lbln_courses_data_id_seq'::regclass) PRIMARY
course_id varchar(255) No NULL UNIQUE
course_title text No NULL
type varchar(50) Yes 'course'::character varying
categories jsonb Yes NULL
description text Yes NULL
name varchar(100) Yes NULL
image text Yes NULL
course_image text Yes NULL
original_price numeric(10,2) Yes 0
discount_price numeric(10,2) Yes 0
final_price numeric(10,2) Yes 0
access varchar(50) Yes 'free'::character varying
expires timestamp Yes NULL
expires_type varchar(50) Yes NULL
drip_feed varchar(50) Yes 'none'::character varying
identifiers jsonb Yes NULL
after_purchase jsonb Yes NULL
author jsonb Yes NULL
created int8(64,0) Yes NULL
modified int8(64,0) Yes NULL
fetched_at timestamp Yes CURRENT_TIMESTAMP
last_updated timestamp Yes CURRENT_TIMESTAMP
is_active bool Yes true

This table has no foreign key relationships.

32 32 32 32 32 32
data_id course_id course_title type categories description name image course_image original_price discount_price final_price access expires expires_type drip_feed identifiers after_purchase author created modified fetched_at last_updated is_active
4 master-file---do-not-touch Master File - DO NOT TOUCH course [] Description here English https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b919663e.png https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b919663e.png 0.00 0.00 0.00 draft NULL NULL none {"slug": "master-file---do-not-touch", "apple_store_id": "master_file___do_not_touch", "google_store... {"type": "course", "settings": {"url": null, "page": null}, "navigationType": "global"} {"name": "English", "image": "https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b9... 1596729339 1761741643 2026-04-09 08:22:33.178555 2026-04-09 09:14:23.786025 1
5 covid-espanol Recursos de Lifebox COVID-19 en español course ["COVID-19"] Herramientas y recursos para mantener seguros a los proveedores de atención médica y a los pacient... Español https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b919663e.png https://lwfiles.mycourse.app/lifebox-public/2f5841e5fad6e82f0c8b0b27bb3d1c89.jpeg 0.00 0.00 0.00 free NULL NULL none {"slug": "covid-espanol", "apple_store_id": "covid_espanol", "google_store_id": "covid_espanol"} {"type": "course", "settings": {"url": null, "page": null}, "navigationType": "global"} {"name": "Español", "image": "https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b... 1596732242 1761741643 2026-04-09 08:22:33.180304 2026-04-09 09:14:23.787896 1
6 covid-hindi Lifebox COVID-19 Resources in Hindi course ["COVID-19"] COVID-19 महामारी के दौरान स्वास्थ्य सेवा प�... Hindi https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b919663e.png https://lwfiles.mycourse.app/lifebox-public/2f5841e5fad6e82f0c8b0b27bb3d1c89.jpeg 0.00 0.00 0.00 free NULL NULL none {"slug": "covid-hindi", "apple_store_id": "covid_hindi", "google_store_id": "covid_hindi"} {"type": "course", "settings": {"url": null, "page": null}, "navigationType": "global"} {"name": "Hindi", "image": "https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b919... 1596735119 1761741643 2026-04-09 08:22:33.182278 2026-04-09 09:14:23.789744 1
7 covid-19french Les resources COVID-19 de Lifebox en français course ["COVID-19"] Outils et resources pour aider à assurer la sécurité des travailleurs de la santé dans la lutte ... Français https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b919663e.png https://lwfiles.mycourse.app/lifebox-public/2f5841e5fad6e82f0c8b0b27bb3d1c89.jpeg 0.00 0.00 0.00 free NULL NULL none {"slug": "covid-19french", "apple_store_id": "covid_19french", "google_store_id": "covid_19french"} {"type": "course", "settings": {"url": null, "page": null}, "navigationType": "global"} {"name": "Français", "image": "https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875... 1597151019 1761741643 2026-04-09 08:22:33.18554 2026-04-09 09:14:23.791542 1
8 covidspc COVID-19 Surgical Patient Checklist Workshop course ["COVID-19"] This workshop engages surgical team members to identify COVID-19 risks in the operating room and out... English https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b919663e.png https://lwfiles.mycourse.app/lifebox-public/ee8018d4783cfa07a1faa9ebe0ca4f81.png 0.00 0.00 0.00 free NULL NULL none {"slug": "covidspc", "apple_store_id": "covidspc", "google_store_id": "covidspc"} {"type": "course", "settings": {"url": null, "page": null}, "navigationType": "global"} {"name": "English", "image": "https://lwfiles.mycourse.app/lifebox-public/dfe93913cd3f698976f71875b9... 1604944603 1761741643 2026-04-09 08:22:33.187382 2026-04-09 09:14:23.793363 1

Showing 5 sample records.

lbln_course_analytics

16 columns 1 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
data_id int4(32,0) No nextval('lbln_course_analytics_data_id_seq'::regclass) PRIMARY
course_id varchar(255) No NULL UNIQUE
course_title text No NULL
students int4(32,0) Yes 0
videos int4(32,0) Yes 0
learning_units int4(32,0) Yes 0
video_time int4(32,0) Yes 0
avg_score_rate numeric(7,3) Yes 0
success_rate numeric(7,3) Yes 0
total_study_time int4(32,0) Yes 0
avg_time_to_finish int4(32,0) Yes 0
social_interactions int4(32,0) Yes 0
certificates_issued int4(32,0) Yes 0
video_viewing_time int4(32,0) Yes 0
fetched_at timestamp Yes CURRENT_TIMESTAMP
analytics_date date Yes CURRENT_DATE UNIQUE
32 32
Column References Relationship
course_id lbln_courses (course_id) Many lbln_course_analytics belong to one lbln_courses
32 32 32 32 32 32
data_id course_id course_title students videos learning_units video_time avg_score_rate success_rate total_study_time avg_time_to_finish social_interactions certificates_issued video_viewing_time fetched_at analytics_date
1 master-file---do-not-touch Master File - DO NOT TOUCH 0 0 8 0 0.000 0.000 0 0 0 0 0 2026-04-09 09:49:24.589006 2026-04-09
2 covid-espanol Recursos de Lifebox COVID-19 en español 12 0 7 0 0.000 0.000 127 0 0 0 0 2026-04-09 09:49:25.918987 2026-04-09
3 covid-hindi Lifebox COVID-19 Resources in Hindi 10 0 6 0 0.000 0.000 259 0 0 0 0 2026-04-09 09:49:27.244301 2026-04-09
4 covid-19french Les resources COVID-19 de Lifebox en français 14 0 7 0 0.000 0.000 1003 0 0 0 0 2026-04-09 09:49:28.543152 2026-04-09
5 covidspc COVID-19 Surgical Patient Checklist Workshop 99 0 18 0 100.000 20.202 125360 1358 3 1 0 2026-04-09 09:49:30.103054 2026-04-09

Showing 5 sample records.

lbln_fetch_logs

14 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
log_id int4(32,0) No nextval('lbln_fetch_logs_log_id_seq'::regclass) PRIMARY
operation_type varchar(50) No NULL
table_name varchar(50) No NULL
items_processed int4(32,0) Yes 0
items_inserted int4(32,0) Yes 0
items_updated int4(32,0) Yes 0
items_skipped int4(32,0) Yes 0
errors jsonb Yes NULL
start_time timestamp Yes CURRENT_TIMESTAMP
end_time timestamp Yes NULL
duration interval Yes NULL
status varchar(20) Yes 'running'::character varying
message text Yes NULL
parameters jsonb Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
log_id operation_type table_name items_processed items_inserted items_updated items_skipped errors start_time end_time duration status message parameters
1 fetch_courses lbln_courses 0 0 0 0 NULL 2026-01-06 21:43:21.335343 NULL NULL running NULL {"params": {"page": 1, "single_page": 0}, "endpoint": "courses.php"}
2 fetch_courses lbln_courses 32 32 0 0 [] 2026-01-06 21:51:25.937056 2026-01-06 21:51:26 NULL completed Processed 32 courses (32 inserted, 0 updated, 0 skipped) {"params": {"page": 1, "single_page": 0}, "endpoint": "courses.php"}
3 fetch_analytics lbln_course_analytics 32 32 0 0 [] 2026-01-06 21:51:40.329224 2026-01-06 21:52:14 NULL completed Processed analytics for 32 courses (32 inserted, 0 skipped) {"courses_count": 32}
4 fetch_users_progress lbln_course_users 0 0 0 0 NULL 2026-01-06 21:52:32.71734 NULL NULL running NULL {"batch_size": "3", "session_id": "user_fetch_695d84207b53b8.37530302", "courses_count": 1}
5 refresh_analytics lbln_course_analytics 1 1 0 0 [] 2026-01-06 21:52:59.734294 2026-01-06 21:53:00 NULL completed Refreshed analytics for 1 courses (1 updated) {"course_ids": ["covidspc"]}

Showing 5 sample records.

lbln_fetch_sessions

12 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lbln_fetch_sessions_id_seq'::regclass) PRIMARY
session_id varchar(100) No NULL UNIQUE
session_type varchar(50) No NULL
target_table varchar(50) No NULL
selected_courses jsonb Yes NULL
course_progress jsonb Yes NULL
total_courses int4(32,0) Yes 0
options jsonb Yes NULL
status varchar(20) Yes 'pending'::character varying
created_at timestamp Yes CURRENT_TIMESTAMP
updated_at timestamp Yes CURRENT_TIMESTAMP
completed_at timestamp Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
id session_id session_type target_table selected_courses course_progress total_courses options status created_at updated_at completed_at
2 user_fetch_695d86c857bfd6.51906729 user_fetch lbln_course_users ["cleancut", "completing-the-training-report", "descontaminacin-uvc-n95"] {"cleancut": {"errors": [], "status": "completed", "last_page": 0, "total_pages": 0, "total_users": ... 3 [] completed 2026-01-06 22:03:52.360619 2026-01-06 22:03:57.81445 NULL
7 user_fetch_695e818c1eeb36.08206018 user_fetch lbln_course_users ["capnography"] {"capnography": {"errors": ["cURL Error: Operation timed out after 60000 milliseconds with 0 bytes r... 1 [] completed 2026-01-07 15:53:48.127881 2026-01-07 16:06:06.074141 NULL
10 user_fetch_696152895e8487.06383937 user_fetch lbln_course_users ["covidspc"] {"covidspc": {"errors": [], "status": "completed", "last_page": 0, "total_pages": 0, "total_users": ... 1 [] completed 2026-01-09 19:10:01.388654 2026-01-09 19:10:12.211892 NULL
1 user_fetch_695d84207b53b8.37530302 user_fetch lbln_course_users ["covidspc"] {"covidspc": {"errors": [], "status": "completed", "last_page": 0, "total_pages": 0, "total_users": ... 1 [] completed 2026-01-06 21:52:32.506407 2026-01-06 21:52:40.899559 NULL
12 user_fetch_696154b0306422.64457378 user_fetch lbln_course_users ["cleancut", "completing-the-training-report", "descontaminacin-uvc-n95", "descontaminao-uvc-n95", "... {"cleancut": {"errors": [], "status": "completed", "last_page": 0, "total_pages": 0, "total_users": ... 10 [] completed 2026-01-09 19:19:12.19936 2026-01-09 19:22:09.419861 NULL

Showing 5 sample records.

lbpmi_aggregation_type

2 columns
Structure
Relationships
Sample Data
32 32 32
Column Type Nullable Default Key
agg_id int4(32,0) No nextval('lbpmi_aggregation_type_agg_id_seq'::regclass) PRIMARY
aggregation_type varchar Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
agg_id aggregation_type
1 SUM
2 AVERAGE
3 COUNT
4 MIN
5 MAX

Showing 5 sample records.

lbpmi_data_elements

13 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
data_element_id int4(32,0) No nextval('lbpmi_data_elements_data_element_id_seq'::regclass) PRIMARY
data_element_name varchar(255) No NULL
data_element_description text Yes NULL
data_element_code varchar(100) No NULL UNIQUE
value_type varchar(50) No NULL
aggregation_type varchar(50) No NULL
domain_type varchar(50) No NULL
category_combo_id int4(32,0) Yes NULL
is_active bool Yes true
created_by varchar(250) Yes NULL
created_at timestamp Yes CURRENT_TIMESTAMP
updated_at timestamp Yes CURRENT_TIMESTAMP
dataset_id int4(32,0) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
data_element_id data_element_name data_element_description data_element_code value_type aggregation_type domain_type category_combo_id is_active created_by created_at updated_at dataset_id
38 Total number of leaders demonstrating commitments for shared vision PQ7OPJX2U87 NUMBER SUM AGGREGATE 3 1 Mr. Abush (Data Manager) 2026-03-19 01:51:40 NULL 3
40 Total number of facilities assessed YTCRSOVDWJE NUMBER SUM AGGREGATE 4 1 Mr. Abush (Data Manager) 2026-03-19 02:26:47 NULL 4
41 Total number of facilities assessed/supported QTO8ALCJM8I NUMBER SUM AGGREGATE 5 1 Mr. Abush (Data Manager) 2026-03-19 02:27:37 NULL 5
17 Total perioperative death Measures the total number of patient deaths occurring during the perioperative period 24Z7FWLSW6Z NUMBER SUM AGGREGATE 1 1 Mr. Abush (Data Manager) 2026-03-18 06:25:37 NULL 1
16 Anesthesia related adverse events Measures the number incidents or complications associated with the administration of anesthesia 1K5YBI6KZ7F NUMBER SUM AGGREGATE 2 1 Mr. Abush (Data Manager) 2026-03-18 06:23:56 NULL 2

Showing 5 sample records.

lbpmi_calculation_log

16 columns 5 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
log_id int4(32,0) No nextval('lbpmi_calculation_log_log_id_seq'::regclass) PRIMARY
indicator_id int4(32,0) Yes NULL FOREIGN
data_element_id int4(32,0) Yes NULL FOREIGN
calculation_type varchar(50) No NULL
period_type varchar(20) No NULL
period_year int4(32,0) Yes NULL
period_quarter int4(32,0) Yes NULL
period_month int4(32,0) Yes NULL
region_id int4(32,0) Yes NULL FOREIGN
country_id int4(32,0) Yes NULL FOREIGN
facility_id int4(32,0) Yes NULL FOREIGN
calculated_value numeric Yes NULL
calculation_timestamp timestamp Yes CURRENT_TIMESTAMP
status varchar(20) No NULL
error_message text Yes NULL
execution_time_ms int4(32,0) Yes NULL
32 32 32 32 32 32
Column References Relationship
country_id countries (country_id) Many lbpmi_calculation_log belong to one countries
data_element_id lbpmi_data_elements (data_element_id) Many lbpmi_calculation_log belong to one lbpmi_data_elements
facility_id facilities (facility_id) Many lbpmi_calculation_log belong to one facilities
indicator_id lbpmi_indicators (indicator_id) Many lbpmi_calculation_log belong to one lbpmi_indicators
region_id regions (region_id) Many lbpmi_calculation_log belong to one regions

No sample data available for this table.

lbpmi_calculation_jobs

17 columns 5 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
job_id int4(32,0) No nextval('lbpmi_calculation_jobs_job_id_seq'::regclass) PRIMARY
indicator_id int4(32,0) Yes NULL FOREIGN
data_element_id int4(32,0) Yes NULL FOREIGN
period_type varchar(20) No NULL
period_year int4(32,0) No NULL
period_quarter int4(32,0) Yes NULL
period_month int4(32,0) Yes NULL
region_id int4(32,0) Yes NULL FOREIGN
country_id int4(32,0) Yes NULL FOREIGN
facility_id int4(32,0) Yes NULL FOREIGN
priority int4(32,0) Yes 5
status varchar(20) Yes 'pending'::character varying
created_at timestamp Yes CURRENT_TIMESTAMP
processed_at timestamp Yes NULL
error_message text Yes NULL
attempts int4(32,0) Yes 0
next_retry timestamp Yes NULL
32 32 32 32 32 32
Column References Relationship
country_id countries (country_id) Many lbpmi_calculation_jobs belong to one countries
data_element_id lbpmi_data_elements (data_element_id) Many lbpmi_calculation_jobs belong to one lbpmi_data_elements
facility_id facilities (facility_id) Many lbpmi_calculation_jobs belong to one facilities
indicator_id lbpmi_indicators (indicator_id) Many lbpmi_calculation_jobs belong to one lbpmi_indicators
region_id regions (region_id) Many lbpmi_calculation_jobs belong to one regions
32 32 32 32 32 32
job_id indicator_id data_element_id period_type period_year period_quarter period_month region_id country_id facility_id priority status created_at processed_at error_message attempts next_retry
2 2 NULL Monthly 2026 NULL 1 1 NULL NULL 3 pending 2026-03-19 01:02:05.257527 NULL NULL 0 NULL
3 2 NULL Monthly 2026 NULL 2 1 NULL NULL 3 pending 2026-03-19 01:02:05.257527 NULL NULL 0 NULL
4 2 NULL Monthly 2026 NULL 3 1 NULL NULL 3 pending 2026-03-19 01:02:05.257527 NULL NULL 0 NULL
5 2 NULL Monthly 2026 NULL 4 1 NULL NULL 3 pending 2026-03-19 01:02:05.257527 NULL NULL 0 NULL
6 2 NULL Monthly 2026 NULL 5 1 NULL NULL 3 pending 2026-03-19 01:02:05.257527 NULL NULL 0 NULL

Showing 5 sample records.

lbln_course_users

35 columns 1 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
data_id int4(32,0) No nextval('lbln_course_users_data_id_seq'::regclass) PRIMARY
course_id varchar(255) No NULL UNIQUE
course_title text No NULL
user_id varchar(255) No NULL UNIQUE
email varchar(255) No NULL
username varchar(255) Yes NULL
first_name varchar(100) Yes NULL
middle_name varchar(100) Yes NULL
last_name varchar(100) Yes NULL
subscribed_for_marketing_emails bool Yes false
eu_customer bool Yes false
is_admin bool Yes false
is_instructor bool Yes false
is_suspended bool Yes false
is_reporter bool Yes false
is_affiliate bool Yes false
role_level varchar(50) Yes NULL
role_name varchar(100) Yes NULL
referrer_id varchar(255) Yes NULL
created Yes NULL
last_login Yes NULL
signup_approval_status varchar(100) Yes NULL
email_verification_status varchar(100) Yes NULL
fields jsonb Yes NULL
tags jsonb Yes NULL
utms jsonb Yes NULL
billing_info jsonb Yes NULL
nps_score int4(32,0) Yes NULL
nps_comment text Yes NULL
fc_country varchar(10) Yes NULL
fc_referrer text Yes NULL
lc_referrer text Yes NULL
lc_country varchar(10) Yes NULL
fetched_at timestamp Yes CURRENT_TIMESTAMP
last_seen timestamp Yes CURRENT_TIMESTAMP
32 32
Column References Relationship
course_id lbln_courses (course_id) Many lbln_course_users belong to one lbln_courses
32 32 32 32 32 32
data_id course_id course_title user_id email username first_name middle_name last_name subscribed_for_marketing_emails eu_customer is_admin is_instructor is_suspended is_reporter is_affiliate role_level role_name referrer_id created last_login signup_approval_status email_verification_status fields tags utms billing_info nps_score nps_comment fc_country fc_referrer lc_referrer lc_country fetched_at last_seen
1 ipc Perioperative Infection Prevention & Control: self-learning modules 69c9971b8724fdb84d090ea6 misanahisaya057@gmail.com Isaya Misana Majulah Isaya Misana NULL Majulah user User NULL 1774819099.6365 1774819106.2711 NULL skipped_verification NULL NULL NULL NULL NULL NULL US https://www.lifebox.org/ https://www.lifebox.org/ US 2026-04-09 09:50:33.2508 2026-04-09 09:50:33.2508
2 ipc Perioperative Infection Prevention & Control: self-learning modules 69c9854e39b303104702c5b5 massawezenno@gmail.com Elvis Zenno Elvis NULL Zenno 1 user User NULL 1774814542.5383 1774814543.6493 NULL skipped_verification NULL NULL NULL NULL NULL NULL TZ https://www.lifebox.org/ https://www.lifebox.org/ TZ 2026-04-09 09:50:33.349734 2026-04-09 09:50:33.349734
3 ipc Perioperative Infection Prevention & Control: self-learning modules 69c97384655d2181410b4189 mutashobyamilka@gmail.com milkamutashobya@gmail.com NULL NULL milkamutashobya@gmail.com 1 user User NULL 1774809988.6347 1774809989.8465 NULL skipped_verification NULL NULL NULL NULL NULL NULL TZ https://www.lifebox.org/ https://www.lifebox.org/ TZ 2026-04-09 09:50:33.352374 2026-04-09 09:50:33.352374
4 ipc Perioperative Infection Prevention & Control: self-learning modules 69c964ec1a3659f80d033064 jonaskabuka01@gmail.com JONAS LOTH KABUKA JONAS LOTH NULL KABUKA user User NULL 1774806252.4999 1774806253.8187 NULL skipped_verification NULL NULL NULL NULL NULL NULL TZ https://www.lifebox.org/ https://www.lifebox.org/ TZ 2026-04-09 09:50:33.354484 2026-04-09 09:50:33.354484
5 ipc Perioperative Infection Prevention & Control: self-learning modules 69c956fd73744ae43f07c840 artzami12@gmail.com LINDAN BUSONGSI MATHIAS LINDAN BUSONGSI NULL MATHIAS 1 user User NULL 1774802684.887 1774802685.9663 NULL skipped_verification NULL NULL NULL NULL NULL NULL TZ https://www.lifebox.org/ https://www.lifebox.org/ TZ 2026-04-09 09:50:33.356717 2026-04-09 09:50:33.356717

Showing 5 sample records.

lbpmi_datasets

10 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
dataset_id int4(32,0) No nextval('lbpmi_datasets_dataset_id_seq'::regclass) PRIMARY
dataset_name varchar(255) No NULL
dataset_description text Yes NULL
dataset_code varchar(100) No NULL UNIQUE
period_type varchar(20) No NULL
data_elements text Yes NULL
is_active bool Yes true
created_by varchar(250) Yes NULL
created_at timestamp Yes CURRENT_TIMESTAMP
updated_at timestamp Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
dataset_id dataset_name dataset_description dataset_code period_type data_elements is_active created_by created_at updated_at
1 Surgical safety and infection prevention 8R8B3ION9H8 Quarterly 1 1 Mr. Abush (Data Manager) 2025-09-20 00:00:00 2026-03-18 14:32:33
2 Anesthesia safety and Quality 1ZNQZ96S0UZ Quarterly 5 1 Mr. Abush (Data Manager) 2025-09-21 00:00:00 2026-03-18 15:02:04
3 Leadership, Teamwork, and Culture of safety 2C69NKTN2SF Quarterly 2 1 Mr. Abush (Data Manager) 2026-03-06 07:55:51 2026-03-18 15:04:04
4 Innovation, Technology Integration T9QN10KEPNZ Quarterly 7 1 Mr. Abush (Data Manager) 2026-03-06 07:56:31 2026-03-18 15:04:37
5 System level assessment, evidence generation and use data ZINX30O2U4S Quarterly 6 1 Mr. Abush (Data Manager) 2026-03-06 07:57:13 2026-03-18 15:05:26

Showing 5 sample records.

lbpmi_domain_type

2 columns
Structure
Relationships
Sample Data
32 32 32
Column Type Nullable Default Key
dom_id int4(32,0) No nextval('lbpmi_domain_type_dom_id_seq'::regclass) PRIMARY
domain_type varchar Yes NULL

This table has no foreign key relationships.

32 32 32 32
dom_id domain_type
1 AGGREGATE
2 TRACKER
3 OUTCOME

Showing 3 sample records.

lbpmi_indicator_targets

16 columns 4 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
target_id int4(32,0) No nextval('lbpmi_indicator_targets_target_id_seq'::regclass) PRIMARY
indicator_id int4(32,0) No NULL UNIQUE
period_type varchar(20) No NULL UNIQUE
period_year int4(32,0) No NULL UNIQUE
period_quarter int4(32,0) Yes NULL UNIQUE
period_month int4(32,0) Yes NULL UNIQUE
region_id int4(32,0) Yes NULL UNIQUE
country_id int4(32,0) Yes NULL UNIQUE
facility_id int4(32,0) Yes NULL UNIQUE
target_value numeric Yes NULL
is_annual_target bool Yes false
created_by varchar(250) Yes NULL
created_at timestamp Yes CURRENT_TIMESTAMP
updated_at timestamp Yes CURRENT_TIMESTAMP
baseline_period varchar(255) Yes NULL
baseline_value varchar(255) Yes NULL
32 32 32 32 32
Column References Relationship
country_id countries (country_id) Many lbpmi_indicator_targets belong to one countries
facility_id facilities (facility_id) Many lbpmi_indicator_targets belong to one facilities
indicator_id lbpmi_indicators (indicator_id) Many lbpmi_indicator_targets belong to one lbpmi_indicators
region_id regions (region_id) Many lbpmi_indicator_targets belong to one regions
32 32 32 32 32 32
target_id indicator_id period_type period_year period_quarter period_month region_id country_id facility_id target_value is_annual_target created_by created_at updated_at baseline_period baseline_value
2 3 Monthly 2026 NULL NULL 8 NULL NULL 70 1 Mr. Abush (Data Manager) 2026-03-19 02:41:27 NULL 2026 NULL
3 28 Quarterly 2026 NULL NULL 8 NULL NULL 25 1 Mr. Abush (Data Manager) 2026-03-19 02:48:29 NULL 2026 NULL
4 2 Monthly 2026 NULL NULL 8 NULL NULL 25 1 Mr. Abush (Data Manager) 2026-03-19 02:53:41 NULL 2026 NULL
5 6 Monthly 2026 NULL NULL 8 NULL NULL 25 1 Mr. Abush (Data Manager) 2026-03-19 03:02:41 NULL 2026 NULL
6 5 Quarterly 2026 NULL NULL 8 NULL NULL 25 1 Mr. Abush (Data Manager) 2026-03-19 03:04:12 NULL 2026 NULL

Showing 5 sample records.

lbpmi_indicator_groups

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
indicator_group_id int4(32,0) No nextval('lbpmi_indicator_groups_indicator_group_id_seq'::regclass) PRIMARY
indicator_group_name varchar Yes NULL
indicator_group_description varchar Yes NULL
indicator_group_code varchar Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
indicator_group_id indicator_group_name indicator_group_description indicator_group_code
5 SO5: Strengthen System level assessment, evidence generation and use data for decision making Strengthen system-level assessments, generate evidence, and promote the effective use of data to inf... MKRK0IEIRLR
1 SO1: Strengthen Surgical safety and Infection Prevention Improve the quality and safety of surgical care by strengthening adherence to the WHO Surgical Safet... AMZ5GGOTQUZ
2 SO2: Strengthen Anesthesia safety and Quality Improve the safety and quality of anesthesia services by strengthening adherence to clinical standar... 1Q784EZWH20
3 SO3: Strengthen Leadership, Teamwork, and Culture of safety to achieve sustained, system wide excell... Strengthen leadership, teamwork, and a culture of safety to promote accountability, effective commun... W6BQY6FYRSU
4 SO4: Drive Innovation, Technology Integration, and Environmental Sustainability Promote innovation, integrate appropriate technologies, and support environmentally sustainable prac... 317RY4F8BC1

Showing 5 sample records.

lbpmi_data_values

20 columns 4 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
data_value_id int8(64,0) No nextval('lbpmi_data_values_data_value_id_seq'::regclass) PRIMARY
data_element_id int4(32,0) No NULL FOREIGN
period_type varchar(20) No NULL
period_year int4(32,0) No NULL
period_quarter int4(32,0) Yes NULL
period_month int4(32,0) Yes NULL
period_week int4(32,0) Yes NULL
period_day date Yes NULL
region_id int4(32,0) Yes NULL FOREIGN
country_id int4(32,0) Yes NULL FOREIGN
facility_id int4(32,0) Yes NULL FOREIGN
value numeric Yes NULL
stored_by varchar(255) Yes 'system'::character varying
created timestamp Yes CURRENT_TIMESTAMP
last_updated timestamp Yes CURRENT_TIMESTAMP
deleted bool Yes false
data_source text Yes NULL
source_detail text Yes NULL
value_type varchar(50) Yes NULL
scope_level varchar(50) Yes NULL
32 32 32 32 32
Column References Relationship
country_id countries (country_id) Many lbpmi_data_values belong to one countries
data_element_id lbpmi_data_elements (data_element_id) Many lbpmi_data_values belong to one lbpmi_data_elements
facility_id facilities (facility_id) Many lbpmi_data_values belong to one facilities
region_id regions (region_id) Many lbpmi_data_values belong to one regions
32 32 32 32 32 32
data_value_id data_element_id period_type period_year period_quarter period_month period_week period_day region_id country_id facility_id value stored_by created last_updated deleted data_source source_detail value_type scope_level
2 5 Quarterly 2026 1 3 NULL 2026-03-20 8 NULL NULL 300 Sys Admin 2026-03-20 02:53:50 2026-04-05 22:19:34 NUMBER Regional
11 17 Monthly 2026 NULL 3 NULL 2026-03-26 1 4 2046 2 Sys Admin 2026-03-26 12:44:48 2026-04-05 22:20:34 NUMBER Facility
3 42 Quarterly 2026 1 3 NULL 2026-03-20 8 NULL NULL 25 Mr. Abush (Data Manager) 2026-03-20 02:56:18 NULL NUMBER Regional
4 2 Quarterly 2026 1 3 NULL 2026-03-20 8 NULL NULL 30 Mr. Abush (Data Manager) 2026-03-20 02:56:44 NULL NUMBER Regional
5 4 Quarterly 2026 1 3 NULL 2026-03-20 8 NULL NULL 280 Mr. Abush (Data Manager) 2026-03-20 02:57:43 NULL NUMBER Regional

Showing 5 sample records.

lbpmi_indicator_types

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
indtype_id int4(32,0) No nextval('lbpmi_indicator_types_indtype_id_seq'::regclass) PRIMARY
indicator_type varchar Yes NULL
indicator_factor numeric(12,4) Yes NULL
indicator_type_description varchar(255) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
indtype_id indicator_type indicator_factor indicator_type_description
1 Number 1.0000 The result is shown as a raw number with no scaling applied.
2 Percent 100.0000 Multiplies the result by 100 to show a percentage value (0–100%).
3 Per thousand 1000.0000 Multiplies the result by 1,000 to represent a rate per 1,000 population or events.
4 Per ten thousand 10000.0000 Multiplies the result by 10,000 to represent a rate per 10,000 population or events.
5 Per hundred thousand 100000.0000 Multiplies the result by 100,000 to represent a rate per 100,000 population or events.

Showing 5 sample records.

lbpmi_indicator_actuals

14 columns 4 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
actual_id int4(32,0) No nextval('lbpmi_indicator_actuals_actual_id_seq'::regclass) PRIMARY
indicator_id int4(32,0) No NULL UNIQUE
period_type varchar(20) No NULL UNIQUE
period_year int4(32,0) No NULL UNIQUE
period_quarter int4(32,0) Yes NULL UNIQUE
period_month int4(32,0) Yes NULL UNIQUE
region_id int4(32,0) Yes NULL UNIQUE
country_id int4(32,0) Yes NULL UNIQUE
facility_id int4(32,0) Yes NULL UNIQUE
actual_value numeric Yes NULL
is_calculated bool Yes true
calculation_timestamp timestamp Yes NULL
created_at timestamp Yes CURRENT_TIMESTAMP
updated_at timestamp Yes CURRENT_TIMESTAMP
32 32 32 32 32
Column References Relationship
country_id countries (country_id) Many lbpmi_indicator_actuals belong to one countries
facility_id facilities (facility_id) Many lbpmi_indicator_actuals belong to one facilities
indicator_id lbpmi_indicators (indicator_id) Many lbpmi_indicator_actuals belong to one lbpmi_indicators
region_id regions (region_id) Many lbpmi_indicator_actuals belong to one regions
32 32 32 32 32 32
actual_id indicator_id period_type period_year period_quarter period_month region_id country_id facility_id actual_value is_calculated calculation_timestamp created_at updated_at
2 28 Quarterly 2026 1 3 8 NULL NULL 5 2026-03-19 03:20:17 2026-03-19 03:20:17 NULL
3 6 Quarterly 2026 1 3 8 NULL NULL 10 2026-03-19 03:22:09 2026-03-19 03:22:09 NULL
4 29 Quarterly 2026 1 3 8 NULL NULL 80 2026-03-19 03:24:50 2026-03-19 03:24:50 NULL
5 5 Quarterly 2026 NULL 3 8 NULL NULL 25 2026-03-19 03:26:37 2026-03-19 03:26:37 NULL
6 3 Quarterly 2026 1 3 8 NULL NULL 75 2026-03-19 03:27:58 2026-03-19 03:27:58 NULL

Showing 5 sample records.

lbpmi_source_details

3 columns 1 relationships
Structure
Relationships
Sample Data
32 32 32 32
Column Type Nullable Default Key
detail_id int4(32,0) No nextval('lbpmi_source_details_detail_id_seq'::regclass) PRIMARY
source_id int4(32,0) Yes NULL FOREIGN
source_detail text Yes NULL
32 32
Column References Relationship
source_id lbpmi_data_sources (source_id) Many lbpmi_source_details belong to one lbpmi_data_sources
32 32 32 32
detail_id source_id source_detail
1 1 Lifebox Training Attendance
2 2 Device Distribution Log
3 3 Clean Cut DHIS2 Data

Showing 3 sample records.

lbquiz_questiontypes

3 columns
Structure
Relationships
Sample Data
32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lbquiz_questiontypes_id_seq'::regclass)
name varchar(100) No NULL
created_at timestamptz Yes now()

This table has no foreign key relationships.

32 32 32 32 32
id name created_at
1 Single choice 2025-08-27 17:50:10.86336+00
2 Multiple choice 2025-08-27 17:50:10.86336+00
3 Decision matrix 2025-08-27 17:50:10.86336+00
4 Fill in blanks 2025-08-27 17:50:10.86336+00

Showing 4 sample records.

lbquiz_response_details

6 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lbquiz_response_details_id_seq'::regclass)
response_id int4(32,0) No NULL
quiz_question_id int4(32,0) No NULL
answer_ids _int4 Yes '{}'::integer[]
answer_text text Yes NULL
points_awarded numeric(10,4) Yes 0

This table has no foreign key relationships.

32 32 32 32 32 32
id response_id quiz_question_id answer_ids answer_text points_awarded
1 3 3 {} Paris 0.0000
2 4 3 {} Paris 1.0000
3 6 1 {15} NULL 1.0000
4 7 3 {} paris 1.0000
5 7 4 {11,13,16} NULL 1.0000

Showing 5 sample records.

lbquiz_responses

11 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lbquiz_responses_id_seq'::regclass)
participation_id int4(32,0) No NULL
test_id int4(32,0) No NULL
userid int4(32,0) Yes NULL
score numeric(8,2) Yes NULL::numeric
points_raw numeric(12,4) Yes NULL::numeric
started_at timestamptz Yes now()
submitted_at timestamptz Yes NULL
raw_answers jsonb Yes NULL
checksum varchar(64) Yes NULL
created_at timestamptz Yes now()

This table has no foreign key relationships.

32 32 32 32 32 32
id participation_id test_id userid score points_raw started_at submitted_at raw_answers checksum created_at
1 1 1 NULL 0.00 0.0000 2025-08-27 17:58:03.135587+00 2025-08-27 17:58:03.147678+00 [] 034ccdefcc22cc43a0a353aaf246effefef70ebd6eeecff5088815b59a019447 2025-08-27 17:58:03.135587+00
2 1 1 NULL 0.00 0.0000 2025-08-27 18:00:38.772605+00 2025-08-27 18:00:38.779766+00 [] 958924d4acfc4aecce204171a01a0682a9e7dad7a9e7d3c7ea33f2da14b849eb 2025-08-27 18:00:38.772605+00
3 1 1 NULL 0.00 0.0000 2025-08-27 18:03:07.032973+00 2025-08-27 18:03:07.032973+00 {"3": {"text": "Paris"}} 3000866b5cca89796c8a53b1064442e0acaaa8bbbc0b9ec8224ee1b8c84d0506 2025-08-27 18:03:07.032973+00
4 1 1 NULL 100.00 1.0000 2025-08-27 18:08:06.836637+00 2025-08-27 18:08:06.844957+00 {"3": {"text": "Paris"}} 1a7496c888316dc61b909b0fad7ba0b8500d4277ce9ed18ad52b8c04de649796 2025-08-27 18:08:06.836637+00
5 4 2 1 0.00 0.0000 2025-08-28 19:57:21.058677+00 2025-08-28 19:57:21.058677+00 NULL NULL 2025-08-28 19:57:21.058677+00

Showing 5 sample records.

lbpmi_indicators

16 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
indicator_id int4(32,0) No nextval('lbpmi_indicators_indicator_id_seq'::regclass) PRIMARY
indicator_name varchar(255) No NULL
indicator_description text Yes NULL
indicator_code varchar(100) No NULL UNIQUE
indicator_type varchar(50) No NULL
numerator_description text Yes NULL
denominator_description text Yes NULL
formula text No NULL
annualized bool Yes false
decimals int4(32,0) Yes 2
is_active bool Yes true
created_by varchar(250) Yes NULL
created_at timestamp Yes CURRENT_TIMESTAMP
updated_at timestamp Yes CURRENT_TIMESTAMP
indicator_group_id int4(32,0) Yes NULL
dataset_id int4(32,0) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
indicator_id indicator_name indicator_description indicator_code indicator_type numerator_description denominator_description formula annualized decimals is_active created_by created_at updated_at indicator_group_id dataset_id
10 Neonatal POMR within 24 hours Measures the proportion of neonatal (0-28 days of life) deaths occurring within 24 hours of a surgic... UWTRNLD0DPP Percent 12 36 (Total number of neonatal perioperative death within 24 hours/Total number of neonatal surgical proc... NULL 1 Mr. Abush (Data Manager) 2026-03-19 01:32:36 NULL 1 1
11 Neonatal POMR within 48 hours Measures the proportion of neonatal deaths occurring within 48 hours of a surgical procedure 3Q7D0FD2E57 Percent 13 36 (Total number of neonatal perioperative death within 48 hours/Total number of neonatal surgical proc... NULL 1 Mr. Abush (Data Manager) 2026-03-19 01:36:49 NULL 1 1
2 Surgical site infection rate Measures the proportion of surgical procedures that result in an infection at the operative site wit... KBGMI850QCE Percent 2 5 (Surgical site infection/Total surgical procedures performed)*100 NULL 1 Mr. Abush (Data Manager) 2026-03-19 01:00:52 NULL 1 1
4 Number of countries adapting surgical safety components within policies, strategies or action plans 0VWVUS62KWK Number Measures the number of countries that have incorporated surgical safety components into their nation... NULL 1 Mr. Abush (Data Manager) 2026-03-19 01:07:03 NULL 3 3
12 Neonatal POMR within 30 days Measures the proportion of neonatal deaths occurring within 30 days of a surgical procedure VIVOXRKK5SS Percent 14 36 (Total number of neonatal perioperative death within 30 days/Total number of neonatal surgical proce... NULL Mr. Abush (Data Manager) 2026-03-19 01:39:08 NULL 1 1

Showing 5 sample records.

lbquiz_results_audit

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lbquiz_results_audit_id_seq'::regclass)
response_id int4(32,0) No NULL
action varchar(50) No NULL
details jsonb Yes NULL
created_at timestamptz Yes now()

This table has no foreign key relationships.

32 32 32 32 32 32
id response_id action details created_at
1 1 scored {"score": 0.00, "raw_points": 0} 2025-08-27 17:58:03.135587+00
2 1 scored {"score": 0.00, "raw_points": 0} 2025-08-27 17:58:03.147678+00
3 2 scored {"score": 0.00, "raw_points": 0} 2025-08-27 18:00:38.772605+00
4 2 scored {"score": 0.00, "raw_points": 0} 2025-08-27 18:00:38.779766+00
5 3 scored {"score": 0.00, "raw_points": 0} 2025-08-27 18:03:07.032973+00

Showing 5 sample records.

lbquiz_test_questions

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lbquiz_test_questions_id_seq'::regclass)
test_id int4(32,0) No NULL
quiz_question_id int4(32,0) No NULL
weight numeric(10,4) Yes 1.0
position int4(32,0) Yes 0

This table has no foreign key relationships.

32 32 32 32 32 32
id test_id quiz_question_id weight position
1 1 3 1.0000 9999
2 1 1 1.0000 9999
3 2 1 1.0000 1
4 1 4 1.0000 10000
5 1 5 1.0000 10001

Showing 5 sample records.

lbquiz_tests

9 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lbquiz_tests_id_seq'::regclass)
training_id int4(32,0) Yes NULL
title varchar(255) No NULL
description text Yes NULL
total_questions int4(32,0) Yes 0
time_limit_minutes int4(32,0) Yes NULL
is_pretest bool Yes false
is_active bool Yes true
created_at timestamptz Yes now()

This table has no foreign key relationships.

32 32 32 32 32 32
id training_id title description total_questions time_limit_minutes is_pretest is_active created_at
3 8 Surgical Instruments Processing Test NULL 0 NULL 1 2025-08-27 19:45:24.170879+00
4 8 Surgical Instruments Processing Test NULL 0 NULL 1 2025-08-27 20:12:18.430125+00
2 7 ToT Test for Team Cleft NULL 0 20 1 1 2025-08-27 19:30:55.991319+00
1 6 Test_Quiz this is the desciption for the test quiz 0 5 1 1 2025-08-27 17:51:18.798521+00
5 7 Post Test for TOT Team Cleft This is a post Test for TOT Team Cleft 0 3 1 2025-10-26 21:15:19.054879+00

Showing 5 sample records.

lifebox_staff

9 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
staff_id int4(32,0) No nextval('lifebox_staff_staff_id_seq'::regclass)
first_name varchar(100) No NULL
last_name varchar(100) No NULL
email varchar(100) No NULL
role varchar(100) Yes NULL
region_id int4(32,0) Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
staff_id first_name last_name email role region_id is_active created_at updated_at
2 Assefa Tesfaye assefa.tesfaye@lifebox.org NULL 1 2025-05-26 21:00:00+00 NULL
3 Rémy Turc remy.turc@lifebox.org NULL 1 2025-05-26 21:00:00+00 NULL
4 Saji Zagha saji.zagha@lifebox.org NULL 1 2025-05-26 21:00:00+00 NULL
1 Hillena Kebede hillena.kebede@lifebox.org 2 1 2025-05-26 21:00:00+00 2025-05-26 21:00:00+00
5 Nabeelah nabeelah.mckechnie@lifebox.org 3 1 2025-05-28 21:00:00+00 NULL

Showing 5 sample records.

lifeboxme__audit

7 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme__audit_id_seq'::regclass)
datetime timestamp No NULL
ip varchar No NULL
user varchar Yes NULL
table varchar Yes NULL
action varchar No NULL
description text Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
id datetime ip user table action description
1 2025-06-02 20:26:25 ::1 admin public.users login
2 2025-06-03 14:09:15 ::1 admin public.users login
3 2025-06-03 14:16:32 ::1 admin public.users logout
4 2025-06-03 14:35:34 ::1 lifebox public.users login
5 2025-06-03 14:36:12 ::1 lifebox public.users logout

Showing 5 sample records.

lifeboxme__locking

8 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme__locking_id_seq'::regclass)
table varchar No NULL
startdatetime timestamp No NULL
confirmdatetime timestamp No NULL
keys varchar No NULL
sessionid varchar No NULL
userid varchar No NULL
action int4(32,0) Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

lifeboxme_cron_activity_log

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme_cron_activity_log_id_seq'::regclass)
cron_id int4(32,0) Yes NULL
message text No NULL
status varchar(20) No NULL
created_at timestamp Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
id cron_id message status created_at
1 1 Bulk cron job created success 2025-07-14 00:04:36.549544
2 2 Bulk cron job created success 2025-07-14 00:04:36.549544
3 3 Bulk cron job created success 2025-07-14 00:04:36.549544
4 4 Bulk cron job created success 2025-07-14 00:04:36.549544
5 5 Bulk cron job created success 2025-07-14 00:04:36.549544

Showing 5 sample records.

lifeboxme_cron_jobs

11 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme_cron_jobs_id_seq'::regclass)
setting_id int4(32,0) No NULL
frequency_type varchar(20) No NULL
frequency_value varchar(50) Yes NULL
time_of_day time No NULL
day_of_week varchar(10) Yes NULL
day_of_month int4(32,0) Yes NULL
last_run timestamp Yes NULL
next_run timestamp No NULL
enabled bool Yes true
created_at timestamp Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
id setting_id frequency_type frequency_value time_of_day day_of_week day_of_month last_run next_run enabled created_at
1 6 daily NULL 00:00:00 NULL NULL NULL 2025-07-14 00:00:00 1 2025-07-14 00:04:36.549544
2 7 daily NULL 00:00:00 NULL NULL NULL 2025-07-14 00:00:00 1 2025-07-14 00:04:36.549544
3 2 daily NULL 00:00:00 NULL NULL NULL 2025-07-14 00:00:00 1 2025-07-14 00:04:36.549544
4 1 daily NULL 00:00:00 NULL NULL NULL 2025-07-14 00:00:00 1 2025-07-14 00:04:36.549544
5 3 daily NULL 00:00:00 NULL NULL NULL 2025-07-14 00:00:00 1 2025-07-14 00:04:36.549544

Showing 5 sample records.

lifeboxme_dhis2_analytics_data

21 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme_dhis2_analytics_data_id_seq'::regclass)
setting_id int4(32,0) No NULL
dx_id varchar(255) No NULL
dx_name varchar(255) No NULL
dx_shortname varchar(255) Yes NULL
dx_displayname varchar(255) Yes NULL
dx_dimensiontype varchar(50) Yes NULL
ou_id varchar(255) No NULL
ou_name varchar(255) No NULL
ou_parent_id varchar(255) Yes NULL
ou_parent_name varchar(255) Yes NULL
ou_level_id int4(32,0) Yes NULL
ou_level_name varchar(50) Yes NULL
period_id varchar(255) No NULL
period_display_name varchar(255) No NULL
pe_relativeperiod varchar(255) Yes NULL
value numeric(15,4) Yes NULL
stored_by varchar(255) Yes 'system'::character varying
created timestamp Yes NULL
last_updated timestamp Yes NULL
fetched_at timestamp Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
id setting_id dx_id dx_name dx_shortname dx_displayname dx_dimensiontype ou_id ou_name ou_parent_id ou_parent_name ou_level_id ou_level_name period_id period_display_name pe_relativeperiod value stored_by created last_updated fetched_at
179296 7 KiagGwmn8z1 CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) INDICATOR cQF7VJJHzc5 Instituto hondureño de seguridad social (IHSS) mSMAdYqOZvZ Honduras 4 Hospital/Facility 202512 December 2025 LAST_3_MONTHS NULL system 2026-03-11 16:47:22 2026-03-11 16:47:22 2026-03-11 16:47:24.899355
179297 7 KiagGwmn8z1 CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) INDICATOR cQF7VJJHzc5 Instituto hondureño de seguridad social (IHSS) mSMAdYqOZvZ Honduras 4 Hospital/Facility 202601 January 2026 LAST_3_MONTHS NULL system 2026-03-11 16:47:22 2026-03-11 16:47:22 2026-03-11 16:47:24.899733
179298 7 KiagGwmn8z1 CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) INDICATOR cQF7VJJHzc5 Instituto hondureño de seguridad social (IHSS) mSMAdYqOZvZ Honduras 4 Hospital/Facility 202602 February 2026 LAST_3_MONTHS NULL system 2026-03-11 16:47:22 2026-03-11 16:47:22 2026-03-11 16:47:24.900018
179299 7 KiagGwmn8z1 CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) INDICATOR SvGzt57YDNb JFK Hospital wvZXokJ6Zx0 Liberia 4 Hospital/Facility 202512 December 2025 LAST_3_MONTHS NULL system 2026-03-11 16:47:22 2026-03-11 16:47:22 2026-03-11 16:47:24.90032
179300 7 KiagGwmn8z1 CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) CC | Follow up death (Baseline %) INDICATOR SvGzt57YDNb JFK Hospital wvZXokJ6Zx0 Liberia 4 Hospital/Facility 202601 January 2026 LAST_3_MONTHS NULL system 2026-03-11 16:47:22 2026-03-11 16:47:22 2026-03-11 16:47:24.900597

Showing 5 sample records.

lifeboxme_dhis2_analytics_settings

13 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme_dhis2_analytics_settings_id_seq'::regclass)
name varchar(255) No NULL
dx text No NULL
ou text No NULL
pe text No NULL
display_property varchar(50) Yes 'NAME'::character varying
include_num_den bool Yes false
skip_meta bool Yes false
skip_data bool Yes false
paging bool Yes false
page_size int4(32,0) Yes 50
created_at timestamp Yes CURRENT_TIMESTAMP
updated_at timestamp Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
id name dx ou pe display_property include_num_den skip_meta skip_data paging page_size created_at updated_at
1 LAST_4_QUARTERS_LB_DHIS2 zXeKmW9VyYI,dmpVvX0Hzj1,fAyftBoxuap,avnQrlTJXhY,Fduenq8Ym39,KXtWw5OxhmB,b1tdD7aJB8s,NZA2Osu9HqV,rvBC... z6VZwVMwK4d,DEnI1SvTKlU,PoBfkQWRxfY,JZi8XgLlZjg,TG6a2IdgV3V,OplNRf8dtgg,Zz1OfbNGoFR,uP4KKX5uROS,arG4... LAST_4_QUARTERS NAME 50 2025-06-26 00:00:00 2025-07-08 00:00:00
8 LAST_6_MONTHS_LB_DHIS2 zXeKmW9VyYI,dmpVvX0Hzj1,fAyftBoxuap,avnQrlTJXhY,Fduenq8Ym39,KXtWw5OxhmB,b1tdD7aJB8s,NZA2Osu9HqV,rvBC... z6VZwVMwK4d,DEnI1SvTKlU,PoBfkQWRxfY,JZi8XgLlZjg,TG6a2IdgV3V,OplNRf8dtgg,Zz1OfbNGoFR,uP4KKX5uROS,arG4... LAST_6_MONTHS NAME 50 2025-06-26 00:00:00 2025-07-08 00:00:00
6 MONTHS_THIS_YEAR_LB_DHIS2 zXeKmW9VyYI,dmpVvX0Hzj1,fAyftBoxuap,avnQrlTJXhY,Fduenq8Ym39,KXtWw5OxhmB,b1tdD7aJB8s,NZA2Osu9HqV,rvBC... z6VZwVMwK4d,DEnI1SvTKlU,PoBfkQWRxfY,JZi8XgLlZjg,TG6a2IdgV3V,OplNRf8dtgg,Zz1OfbNGoFR,uP4KKX5uROS,arG4... MONTHS_THIS_YEAR NAME 50 2025-06-26 00:00:00 2025-07-08 00:00:00
2 LAST_12_MONTHS_LB_DHIS2 zXeKmW9VyYI,dmpVvX0Hzj1,fAyftBoxuap,avnQrlTJXhY,Fduenq8Ym39,KXtWw5OxhmB,b1tdD7aJB8s,NZA2Osu9HqV,rvBC... z6VZwVMwK4d,DEnI1SvTKlU,PoBfkQWRxfY,JZi8XgLlZjg,TG6a2IdgV3V,OplNRf8dtgg,Zz1OfbNGoFR,uP4KKX5uROS,arG4... LAST_12_MONTHS NAME 50 2025-06-26 00:00:00 2025-07-08 00:00:00
10 THIS_MONTH_LB_DHIS2 zXeKmW9VyYI,dmpVvX0Hzj1,fAyftBoxuap,avnQrlTJXhY,Fduenq8Ym39,KXtWw5OxhmB,b1tdD7aJB8s,NZA2Osu9HqV,rvBC... z6VZwVMwK4d,DEnI1SvTKlU,PoBfkQWRxfY,JZi8XgLlZjg,TG6a2IdgV3V,OplNRf8dtgg,Zz1OfbNGoFR,uP4KKX5uROS,arG4... THIS_MONTH NAME 50 2025-06-26 00:00:00 2025-07-08 00:00:00

Showing 5 sample records.

lifeboxme_dhis2_dataitems

8 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme_dhis2_dataitems_id_seq'::regclass)
item_id varchar(255) No NULL
display_name text Yes NULL
name text Yes NULL
short_name text Yes NULL
display_short_name text Yes NULL
dimension_item_type varchar(50) Yes NULL
last_updated timestamp Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
id item_id display_name name short_name display_short_name dimension_item_type last_updated
1 N7OGRT7p1PE CLEFT | Prophylactic antibiotics given in OR (Intervention%) CLEFT | Prophylactic antibiotics given in OR (Intervention%) CLEFT | Prophylactic antibiotics given in OR (%) CLEFT | Prophylactic antibiotics given in OR (%) INDICATOR 2025-06-25 22:12:45.715001
2 VTuX7yTRIFa CC | INPATIENT Completeness (Baseline)** CC | INPATIENT Completeness (Baseline)** CC | INPATIENT Completeness (Baseline)** CC | INPATIENT Completeness (Baseline)** PROGRAM_INDICATOR 2025-06-25 22:12:45.716692
3 d6nKjHWGYc2 CLEFT | Data Quality in Ward stage (Intervention) CLEFT | Data Quality in Ward stage (Intervention) CLEFT | Data Quality in Ward stage (Intervention) CLEFT | Data Quality in Ward stage (Intervention) PROGRAM_INDICATOR 2025-06-25 22:12:45.717166
4 rIr0K5LENCl CLEFT | Dehiscence Palatal (Baseline %) CLEFT | Dehiscence Palatal (Baseline %) CLEFT | Dehiscence Palatal (Baseline %) CLEFT | Dehiscence Palatal (Baseline %) INDICATOR 2025-06-25 22:12:45.717541
5 jbnGcAvND0z.KnkqAtKLvLB CLEFT: Cleancut ABX - Augmentin CLEFT: Cleancut ABX - Augmentin CLEFT: Cleancut ward_Augmentin CLEFT: Cleancut ward_Augmentin PROGRAM_DATA_ELEMENT 2025-06-25 22:12:45.718012

Showing 5 sample records.

lifeboxme_dhis2_orgunits

11 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme_dhis2_orgunits_id_seq'::regclass)
lb_int_id varchar(255) Yes NULL
lb_int varchar(255) Yes NULL
cont_id varchar(255) Yes NULL
continent varchar(255) Yes NULL
count_id varchar(255) Yes NULL
country varchar(255) Yes NULL
hosp_fac_id varchar(255) Yes NULL
hospital_facility varchar(255) Yes NULL
level int4(32,0) Yes NULL
last_updated timestamp Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
id lb_int_id lb_int cont_id continent count_id country hosp_fac_id hospital_facility level last_updated
67 z6VZwVMwK4d Lifebox International DEnI1SvTKlU Asia PoBfkQWRxfY India JZi8XgLlZjg AIIMS Jodhpur 4 2025-06-21 21:18:11.00583
68 z6VZwVMwK4d Lifebox International DEnI1SvTKlU Asia PoBfkQWRxfY India TG6a2IdgV3V AIIMS Rishikesh 4 2025-06-21 21:18:11.00672
69 z6VZwVMwK4d Lifebox International OplNRf8dtgg Africa Zz1OfbNGoFR Ethiopia uP4KKX5uROS AaBET 4 2025-06-21 21:18:11.007054
70 z6VZwVMwK4d Lifebox International OplNRf8dtgg Africa Zz1OfbNGoFR Ethiopia arG4xUPu2C9 Adare General Hospital 4 2025-06-21 21:18:11.007353
71 z6VZwVMwK4d Lifebox International OplNRf8dtgg Africa NULL NULL NULL NULL 2 2025-06-21 21:18:11.007598

Showing 5 sample records.

lifeboxme_noti

11 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('lifeboxme_noti_id_seq'::regclass) PRIMARY
message text Yes NULL
user varchar(255) Yes NULL
provider varchar(5) Yes NULL
title varchar(300) Yes NULL
url text Yes NULL
icon varchar(300) Yes NULL
created timestamp Yes NULL
expire timestamp Yes NULL
type int4(32,0) Yes NULL
group varchar(200) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
id message user provider title url icon created expire type group
1 {"message":"Indicator Group Updated","newWindow":false} NULL NULL Name changed from 'R1 – Improved health outcomes' to 'SO1-Strengthen Surgical Safety Systems in LM... lbpmi_indicator_groups_view.php?editid1=1 fa-edit 2026-02-13 22:04:39 NULL 0 NULL
2 {"message":"New Indicator Group Added: SO2-Improve Surgical Safety and Infection Prevention","newWin... NULL NULL Group ID: 2 lbpmi_indicator_groups_view.php?editid1=2 fa-plus-circle 2026-02-13 22:05:53 NULL 0 NULL
3 {"message":"New Indicator Group Added: SO3\u2013Strengthen Anesthesia Safety and Monitoring Capacity... NULL NULL Group ID: 3 lbpmi_indicator_groups_view.php?editid1=3 fa-plus-circle 2026-02-13 22:06:15 NULL 0 NULL
4 {"message":"New Indicator Group Added: SO3\u2013Strengthen Anesthesia Safety and Monitoring Capacity... NULL NULL Group ID: 4 lbpmi_indicator_groups_view.php?editid1=4 fa-plus-circle 2026-02-13 22:06:33 NULL 0 NULL
5 {"message":"Indicator Group Updated","newWindow":false} NULL NULL Name changed from 'SO3–Strengthen Anesthesia Safety and Monitoring Capacity' to 'SO4-Strengthen Le... lbpmi_indicator_groups_view.php?editid1=4 fa-edit 2026-02-13 22:07:15 NULL 0 NULL

Showing 5 sample records.

lifeboxme_settings

7 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32
Column Type Nullable Default Key
ID int4(32,0) No nextval('"lifeboxme_settings_ID_seq"'::regclass)
TYPE int4(32,0) Yes 1
NAME text Yes NULL
USERNAME text Yes NULL
COOKIE varchar Yes NULL
SEARCH text Yes NULL
TABLENAME varchar Yes NULL

This table has no foreign key relationships.

32 32
ID TYPE NAME USERNAME COOKIE SEARCH TABLENAME
1 4 NULL admin NULL ["id","setting_id","dx_dimensiontype","dx_id","dx_name","dx_shortname","dx_displayname","ou_level_id... public.lifeboxme_dhis2_analytics_data

Showing 1 sample records.

lifeboxme_uggroups

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
GroupID int4(32,0) No nextval('"lifeboxme_uggroups_GroupID_seq"'::regclass)
Label varchar Yes NULL
Provider varchar Yes ''::character varying
Comment text Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
GroupID Label Provider Comment
1 M&E NULL
2 Data Entry NULL
3 Data Manager NULL
4 Training NULL
5 Devices NULL

Showing 5 sample records.

lifeboxme_ugmembers

3 columns
Structure
Relationships
Sample Data
32 32 32 32
Column Type Nullable Default Key
UserName varchar No NULL
GroupID int4(32,0) No NULL
Provider varchar No ''::character varying

This table has no foreign key relationships.

32 32 32 32 32 32
UserName GroupID Provider
admin -1
lifebox -1
michaelktd 1
abushk 3
samizk 3

Showing 5 sample records.

lifeboxme_ugrights

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
TableName varchar No NULL
GroupID int4(32,0) No NULL
AccessMask varchar Yes NULL
Page text Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
TableName GroupID AccessMask Page
<global> -1 ADESPIM NULL
public.antibiotics -1 ADESPIM NULL
public.case_antibiotics -1 ADESPIM NULL
public.clean_cut_implementations -1 ADESPIM NULL
public.countries -1 ADESPIM NULL

Showing 5 sample records.

months

2 columns
Structure
Relationships
Sample Data
32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('months_id_seq'::regclass)
month varchar Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
id month
1 January
2 February
3 March
4 April
5 May

Showing 5 sample records.

notification_reads

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('notification_reads_id_seq'::regclass)
notification_id int4(32,0) No NULL
user_id int4(32,0) No NULL
read_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32
id notification_id user_id read_at
4 2 1 2025-08-06 14:22:45.590253+00
5 3 1 2025-08-06 14:22:45.591561+00
6 4 1 2025-08-06 14:22:45.59314+00

Showing 3 sample records.

participant_role

6 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32
Column Type Nullable Default Key
role_id int4(32,0) No nextval('participant_role_role_id_seq'::regclass)
role_name varchar(50) No NULL
description text Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
role_id role_name description is_active created_at updated_at
1 Surgeon Medical doctor specialized in surgery 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00
2 Anesthetist Medical professional administering anesthesia 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00
3 Nurse Healthcare professional providing patient care 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00
4 Technician Technical support staff 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00
5 Administrator Administrative or management staff 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00

Showing 5 sample records.

partners

8 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
partner_id int4(32,0) No nextval('partners_partner_id_seq'::regclass)
partner_name varchar(200) No NULL
description text Yes NULL
website varchar(255) Yes NULL
contact_email varchar(100) Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
partner_id partner_name description website contact_email is_active created_at updated_at
1 CIGH 1 2025-05-27 18:13:25.807423+00 2025-05-27 18:13:25.807423+00
2 CRI 1 2025-05-27 18:13:25.810781+00 2025-05-27 18:13:25.810781+00
3 Smile Train 1 2025-05-27 18:13:25.811859+00 2025-05-27 18:13:25.811859+00
4 ICRC International Committee of the Red Cross www.icrc.org info@icrc.org 1 2025-05-27 18:13:25.812784+00 2025-05-27 18:13:25.812784+00
5 HPGRB 1 2025-05-27 18:13:25.813702+00 2025-05-27 18:13:25.813702+00

Showing 5 sample records.

payment_methods

2 columns
Structure
Relationships
Sample Data
32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('payment_methods_id_seq'::regclass)
method varchar Yes NULL

This table has no foreign key relationships.

32 32 32
id method
1 Bank Transfer
2 Cheque

Showing 2 sample records.

period_types

2 columns
Structure
Relationships
Sample Data
32 32 32
Column Type Nullable Default Key
period_id int4(32,0) No nextval('period_types_period_id_seq'::regclass) PRIMARY
period_name varchar No NULL

This table has no foreign key relationships.

32 32 32 32 32 32
period_id period_name
1 Monthly
2 Quarterly
3 Yearly
4 Daily
5 Weekly

Showing 5 sample records.

programs

6 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32
Column Type Nullable Default Key
program_id int4(32,0) No nextval('programs_program_id_seq'::regclass)
program_name varchar(100) No NULL
description text Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
program_id program_name description is_active created_at updated_at
1 All Lifebox training Online Trainings 1 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00
2 Capnography 1 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00
3 Clean Cut 1 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00
4 NLSE 1 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00
5 Pulse Oximetry 1 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00

Showing 5 sample records.

quarters

2 columns
Structure
Relationships
Sample Data
32 32 32
Column Type Nullable Default Key
quarter_id int4(32,0) No nextval('quarters_quarter_id_seq'::regclass)
quarter_name varchar Yes NULL

This table has no foreign key relationships.

32 32 32 32 32
quarter_id quarter_name
1 Quarter1
2 Quarter2
3 Quarter3
4 Quarter4

Showing 4 sample records.

quiz_answers

6 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('quiz_answers_id_seq'::regclass)
questionid int4(32,0) No NULL
text text No NULL
picture text Yes NULL
correct bool Yes false
created_at timestamptz Yes now()

This table has no foreign key relationships.

32 32 32 32 32 32
id questionid text picture correct created_at
8 3 Paris NULL 1 2025-08-27 17:55:10.716718+00
9 3 London NULL 2025-08-27 17:55:10.716718+00
10 3 Berlin NULL 2025-08-27 17:55:10.716718+00
4 2 2 NULL 1 2025-08-27 17:55:10.716718+00
5 2 3 NULL 1 2025-08-27 17:55:10.716718+00

Showing 5 sample records.

quiz_questions

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('quiz_questions_id_seq'::regclass)
question text No NULL
qtype int4(32,0) No NULL
videolink text Yes NULL
created_at timestamptz Yes now()

This table has no foreign key relationships.

No sample data available for this table.

sex

6 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32
Column Type Nullable Default Key
sex_id int4(32,0) No nextval('sex_sex_id_seq'::regclass)
sex_name varchar(20) No NULL
description text Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32
sex_id sex_name description is_active created_at updated_at
1 Male Male biological sex 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00
2 Female Female biological sex 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00
3 Other Other or unspecified biological sex 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00
4 Prefer not to say Participant declined to specify 1 2025-05-28 17:26:10.735733+00 2025-05-28 17:26:10.735733+00

Showing 4 sample records.

smtp

9 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('smtp_id_seq'::regclass) PRIMARY
username varchar(255) No NULL
host varchar(255) No NULL
port int4(32,0) No NULL
password varchar(255) No NULL
smtpfrom varchar(255) No NULL
secure varchar(50) Yes NULL
created_at timestamp Yes CURRENT_TIMESTAMP
updated_at timestamp Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32
id username host port password smtpfrom secure created_at updated_at
1 mne@lifebox.org smtp-mail.outlook.com 587 G.817939771353uk mne@lifebox.org starttls 2025-07-30 00:00:00 2025-07-30 23:06:17
2 lifebox@cloud.merqconsultancy.org cloud.merqconsultancy.org 587 LifeboxCloud lifebox@cloud.merqconsultancy.org tls 2025-07-30 00:00:00 2025-07-30 00:00:00

Showing 2 sample records.

procedures

5 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32
Column Type Nullable Default Key
procedure_id int4(32,0) No nextval('procedures_procedure_id_seq'::regclass) PRIMARY
procedure_name varchar(200) No NULL UNIQUE
procedure_category varchar(100) Yes NULL
description text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

No sample data available for this table.

surgical_cases

77 columns 4 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
case_id uuid No uuid_generate_v4() PRIMARY
facility_id int4(32,0) Yes NULL FOREIGN
country_id int4(32,0) Yes NULL FOREIGN
surgery_date date Yes NULL
data_type varchar(50) No NULL
data_collector_name varchar(200) Yes NULL
location_of_surgery varchar(100) Yes NULL
patient_sex sex_enum Yes NULL
patient_asa_classification asa_classification_enum Yes NULL
patient_dob date Yes NULL
patient_age int4(32,0) Yes NULL
diabetes bool Yes NULL
hypertension bool Yes NULL
obese bool Yes NULL
malnourished bool Yes NULL
smoker bool Yes NULL
on_steroids bool Yes NULL
admitted_to_icu bool Yes NULL
hypothermic bool Yes NULL
preoperative_diagnosis_id int4(32,0) Yes NULL FOREIGN
hours_since_injury int4(32,0) Yes NULL
sterilizable_drill_used bool Yes NULL
drill_sterile_cover_used bool Yes NULL
holes_in_sterile_cover bool Yes NULL
sign_in_read_aloud bool Yes NULL
sign_in_completed_before_anesthesia bool Yes NULL
sterility_indicator_in_tray bool Yes NULL
sterility_indicator_color_changed bool Yes NULL
tray_wet_prior_to_operation bool Yes NULL
tray_replaced bool Yes NULL
gauze_count_performed bool Yes NULL
gauze_count_total int4(32,0) Yes NULL
surgeon_scrubbed_hands bool Yes NULL
handwashing_available varchar(200) Yes NULL
alcohol_solution_applied bool Yes NULL
new_surgical_gloves_used bool Yes NULL
gown_sterility_indicator bool Yes NULL
gown_indicator_color_changed bool Yes NULL
gown_pack_replaced bool Yes NULL
gowns_or_drapes_wet bool Yes NULL
wet_gowns_replaced bool Yes NULL
holes_in_gowns bool Yes NULL
torn_gowns_replaced bool Yes NULL
holes_in_drapes bool Yes NULL
drapes_replaced bool Yes NULL
surgical_site_prep_method varchar(200) Yes NULL
vaginal_preparation varchar(200) Yes NULL
antibiotics_given bool Yes NULL
antibiotics_admin_location varchar(100) Yes NULL
antibiotics_time time Yes NULL
on_scheduled_antibiotics bool Yes NULL
antibiotic_type varchar(200) Yes NULL
timeout_read_aloud bool Yes NULL
operation_type_announced bool Yes NULL
blood_loss_announced bool Yes NULL
estimated_blood_loss int4(32,0) Yes NULL
time_of_incision time Yes NULL
gauze_count_end_performed bool Yes NULL
gauze_count_end_total int4(32,0) Yes NULL
time_dressing_applied time Yes NULL
procedure_id int4(32,0) Yes NULL FOREIGN
hardware_or_bioprosthetic_used bool Yes NULL
cesarean_indication varchar(200) Yes NULL
wound_closed_primarily bool Yes NULL
wound_classification wound_classification_enum Yes NULL
case_type case_type_enum Yes NULL
sign_out_read_aloud bool Yes NULL
sign_out_in_theatre bool Yes NULL
unplanned_intubation bool Yes NULL
urgent_tracheostomy bool Yes NULL
urgent_central_access bool Yes NULL
other_crisis_occurred bool Yes NULL
crisis_description text Yes NULL
death_in_or bool Yes NULL
fetal_death bool Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
32 32 32 32 32
Column References Relationship
country_id countries (country_id) Many surgical_cases belong to one countries
facility_id facilities (facility_id) Many surgical_cases belong to one facilities
preoperative_diagnosis_id diagnoses (diagnosis_id) Many surgical_cases belong to one diagnoses
procedure_id procedures (procedure_id) Many surgical_cases belong to one procedures

No sample data available for this table.

system_notifications

13 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('system_notifications_id_seq'::regclass)
title varchar(255) No NULL
content text No NULL
notification_type varchar(20) No NULL
is_active bool Yes true
start_date timestamptz Yes NULL
end_date timestamptz Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
created_by varchar(250) Yes NULL
priority int4(32,0) Yes 0
action_url varchar(255) Yes NULL
action_text varchar(100) Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
id title content notification_type is_active start_date end_date created_at updated_at created_by priority action_url action_text
1 NEW [TEST - DEVENV] System Updates & Notices <h5 styl... info 1 NULL NULL 2025-08-03 14:08:19.367141+00 2025-08-03 15:05:34.571946+00 NULL 7 https://lifebox.org Go To Lifebox
2 Test Notification New Features These are the new features in the Li... success 1 NULL NULL 2025-08-03 14:33:45.825452+00 2025-08-03 15:06:09.000846+00 NULL 5 NULL Learn More
3 Test Warning ... warning 1 NULL NULL 2025-08-03 14:58:33.599956+00 2025-08-03 15:07:13.967324+00 NULL 4 NULL Learn More
4 Danger Notification This is a test Danger Notification ... danger 1 NULL NULL 2025-08-03 14:59:54.461206+00 2025-08-03 15:07:40.060369+00 NULL 3 NULL Learn More
5 Welcome <p><b>Welcome to <u><i>Lifebox</i></u> M&amp;E System!</b></p><p... primary 1 NULL NULL 2025-08-03 15:04:11.968881+00 2025-08-06 21:12:48.103569+00 NULL 10 https://lifebox.merqconsultancy.org/app/register.php Register

Showing 5 sample records.

trainers

8 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
trainer_id int4(32,0) No nextval('trainers_trainer_id_seq'::regclass)
first_name varchar(100) No NULL
last_name varchar(100) No NULL
email varchar(100) Yes NULL
organization varchar(200) Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
trainer_id first_name last_name email organization is_active created_at updated_at
1 Maia 1 2025-05-26 21:00:00+00 2025-05-26 21:00:00+00
2 Alype 1 2025-05-27 17:24:21.322897+00 2025-05-27 17:24:21.322897+00
3 Roda 1 2025-05-27 17:24:21.325673+00 2025-05-27 17:24:21.325673+00
4 Assefa 1 2025-05-27 17:24:21.326516+00 2025-05-27 17:24:21.326516+00
5 Mathias 1 2025-05-27 17:24:21.327262+00 2025-05-27 17:24:21.327262+00

Showing 5 sample records.

ward_rounds

39 columns 1 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
ward_round_id int4(32,0) No nextval('ward_rounds_ward_round_id_seq'::regclass) PRIMARY
case_id uuid Yes NULL
facility_id int4(32,0) Yes NULL FOREIGN
admission_date date Yes NULL
rounding_date date Yes NULL
data_collector_name varchar(200) Yes NULL
ward_name varchar(100) Yes NULL
ward_transfer bool Yes NULL
postop_day int4(32,0) Yes NULL
dressing_not_removed bool Yes NULL
wound_clean_and_healthy bool Yes NULL
stitches_removed_or_wound_opened bool Yes NULL
wound_opened_spontaneously bool Yes NULL
pus_draining bool Yes NULL
abscess_present bool Yes NULL
redness_around_wound bool Yes NULL
bleeding bool Yes NULL
new_dressing bool Yes NULL
new_dressing_type varchar(100) Yes NULL
fever bool Yes NULL
on_antibiotics bool Yes NULL
antibiotics_prescribed bool Yes NULL
ssi_diagnosed_on_reoperation bool Yes NULL
returned_to_or bool Yes NULL
return_or_procedure varchar(200) Yes NULL
disposition disposition_enum Yes NULL
planned_reoperation bool Yes NULL
other_complications bool Yes NULL
endometritis bool Yes NULL
urinary_tract_infection bool Yes NULL
pneumonia bool Yes NULL
other_complication_description text Yes NULL
eschar bool Yes NULL
discharged_today bool Yes NULL
discharge_date date Yes NULL
death_in_ward bool Yes NULL
neonatal_death bool Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
32 32
Column References Relationship
facility_id facilities (facility_id) Many ward_rounds belong to one facilities

No sample data available for this table.

training_approaches

6 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32
Column Type Nullable Default Key
approach_id int4(32,0) No nextval('training_approaches_approach_id_seq'::regclass)
approach_name varchar(100) No NULL
description text Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32
approach_id approach_name description is_active created_at updated_at
1 Face to Face NULL 1 2025-05-26 19:18:12.959833+00 2025-05-26 19:18:12.959833+00
2 Blended NULL 1 2025-05-26 19:18:12.959833+00 2025-05-26 19:18:12.959833+00
3 Online NULL 1 2025-05-26 19:18:12.959833+00 2025-05-26 19:18:12.959833+00

Showing 3 sample records.

training_courses

7 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32
Column Type Nullable Default Key
course_id int4(32,0) No nextval('training_courses_course_id_seq'::regclass)
course_name varchar(200) No NULL
description text Yes NULL
duration_hours int4(32,0) Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
course_id course_name description duration_hours is_active created_at updated_at
1 Action plan meeting NULL 1 2025-05-25 21:00:00+00 2025-05-26 21:00:00+00
2 Antibiotics timeout NULL 1 2025-05-26 21:00:00+00 NULL
3 Capnography NULL 1 2025-05-26 21:00:00+00 NULL
4 CC Introduction NULL 1 2025-05-26 21:00:00+00 2025-05-26 21:00:00+00
5 Data collection tools including DHIS2 NULL 1 2025-05-26 21:00:00+00 NULL

Showing 5 sample records.

training_languages

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
training_language_id int4(32,0) No nextval('training_languages_training_language_id_seq'::regclass)
training_id int4(32,0) Yes NULL
language_id int4(32,0) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
training_language_id training_id language_id created_at
1 2 34 2025-05-26 21:00:00+00
2 3 34 2025-05-26 21:00:00+00
3 4 34 2025-05-26 21:00:00+00
4 5 34 2025-05-26 21:00:00+00
5 6 34 2025-05-28 21:00:00+00

Showing 5 sample records.

training_leads

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
training_lead_id int4(32,0) No nextval('training_leads_training_lead_id_seq'::regclass)
training_id int4(32,0) Yes NULL
staff_id int4(32,0) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
training_lead_id training_id staff_id created_at
2 2 1 2025-05-26 21:00:00+00
3 3 1 2025-05-26 21:00:00+00
4 4 2 2025-05-26 21:00:00+00
5 5 2 2025-05-26 21:00:00+00
6 6 5 2025-05-28 21:00:00+00

Showing 5 sample records.

training_partners

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
training_partner_id int4(32,0) No nextval('training_partners_training_partner_id_seq'::regclass)
training_id int4(32,0) Yes NULL
partner_id int4(32,0) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
training_partner_id training_id partner_id created_at
1 2 1 2025-05-26 21:00:00+00
2 3 1 2025-05-26 21:00:00+00
3 4 1 2025-05-26 21:00:00+00
4 5 2 2025-05-26 21:00:00+00
5 6 3 2025-05-28 21:00:00+00

Showing 5 sample records.

training_trainers

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
training_trainer_id int4(32,0) No nextval('training_trainers_training_trainer_id_seq'::regclass)
training_id int4(32,0) Yes NULL
trainer_id int4(32,0) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32 32 32
training_trainer_id training_id trainer_id created_at
1 2 1 2025-05-26 21:00:00+00
2 3 1 2025-05-26 21:00:00+00
3 2 2 2025-05-26 21:00:00+00
4 3 2 2025-05-26 21:00:00+00
5 2 3 2025-05-26 21:00:00+00

Showing 5 sample records.

training_types

6 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32
Column Type Nullable Default Key
training_type_id int4(32,0) No nextval('training_types_training_type_id_seq'::regclass)
type_name varchar(100) No NULL
description text Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32 32
training_type_id type_name description is_active created_at updated_at
3 Refresher 1 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00
2 Basic 1 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00
1 TOT 1 2025-05-25 21:00:00+00 2025-05-25 21:00:00+00

Showing 3 sample records.

transaction_types

2 columns
Structure
Relationships
Sample Data
32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('transaction_types_id_seq'::regclass)
transaction_name varchar Yes NULL

This table has no foreign key relationships.

32 32 32
id transaction_name
1 Purchase
2 Donation

Showing 2 sample records.

unit_of_measurement

2 columns
Structure
Relationships
Sample Data
32 32 32
Column Type Nullable Default Key
uom_id int4(32,0) No nextval('unit_of_measurement_uom_id_seq'::regclass) PRIMARY
uom_name varchar No NULL

This table has no foreign key relationships.

32 32 32 32 32 32
uom_id uom_name
3 INTEGER
4 BOOLEAN
5 TEXT
6 DATE
1 NUMBER

Showing 5 sample records.

users

21 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
ID int4(32,0) No nextval('"users_ID_seq"'::regclass)
username varchar Yes NULL
password varchar Yes NULL
email varchar Yes NULL
fullname varchar Yes NULL
groupid varchar Yes NULL
active int4(32,0) Yes NULL
ext_security_id varchar Yes NULL
userpic bytea Yes NULL
reset_token text Yes NULL
reset_date timestamp Yes NULL
first_name varchar Yes NULL
middle_name varchar Yes NULL
last_name varchar Yes NULL
sex varchar Yes NULL
designation_role varchar Yes NULL
region varchar Yes NULL
country varchar Yes NULL
phone varchar Yes NULL
prefix_title varchar Yes NULL
api_key varchar Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
ID username password email fullname groupid active ext_security_id userpic reset_token reset_date first_name middle_name last_name sex designation_role region country phone prefix_title api_key
1 admin $2y$10$9f1x5uVx4ejx4OnWq/nJ9.oJHOpCR4PWka/SMUw6CJIKFV6JskOIm admin@merqconsultancy.org Sys Admin NULL 1 NULL NULL 2cma1mzaiag9h89qkdl6 2025-07-30 20:46:14 NULL NULL NULL NULL NULL NULL NULL NULL NULL $2y$10$tfBdC24kgYSuwyI9XBeR8usR9DgAXZepcQngywjlh5UICYgEq3QT.
2 lifebox $2y$10$UqdLTJi4MMSfpk1paSoWB.XAKmy0fJhvfw4XZ8hZ8SjqmnLaGhA/u administrator@merqconsultancy.org Lifebox Sys Admin NULL 1 NULL NULL ugzb63ate4y4okntbrd2 2025-07-30 18:57:16 Lifebox Sys Admin 1 1 1 +251911223344 Mr $2y$10$CPrlfPZs4wI0QHECfzUUq.0eyCgbkRwOpNOpSpnyVDnmOVOav2qTm
6 NULL $2y$10$GP6.svGjS2shPBW452VH9O2/Z8Qf8MZfOn6qfAKlmheXlaT3jX1vG NULL MNE App NULL 1 azdOBmarObx9d53oYi_cuWhCDMS088xd3dcWO7_m2NgQ4 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
3 demo $2y$10$LHqzRpQ9N492PLLbQtvmguejPgGVAM/wPJP46L1M8GKnoyEqB4wja demo@merqconsultancy.org Demo Testing User 1 NULL NULL Demo Testing User 2 1 1 +251 91 234 5678 Mr $2y$10$kzsUDT4UskePgUfZQpuhEelKUZ3HbaBDea.oPWc0uAIPwaamF/cTW
7 NULL $2y$10$MtApU9kEpfcwL4StPipgrOR6yLcWqHHA7Dk4rWKCkN.VXJmyPvqlS NULL Sedera Arimino NULL 1 azM1r6Z3hNqVs0ZYrc5GvwUpwnjLAMLWsmYyi7M7Hf0zA NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL

Showing 5 sample records.

venues

15 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
venue_id int4(32,0) No nextval('venues_venue_id_seq'::regclass)
venue_name varchar(200) No NULL
facility_id int4(32,0) Yes NULL
address_line1 varchar(200) Yes NULL
address_line2 varchar(200) Yes NULL
city varchar(100) Yes NULL
state_province varchar(100) Yes NULL
postal_code varchar(20) Yes NULL
country_id int4(32,0) Yes NULL
capacity int4(32,0) Yes NULL
room_type varchar(100) Yes NULL
amenities text Yes NULL
is_active bool Yes true
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

32 32 32
venue_id venue_name facility_id address_line1 address_line2 city state_province postal_code country_id capacity room_type amenities is_active created_at updated_at
1 SEL NIBASH NULL SEL NIBASH, 30 Green Road, Dhanmondi, Dhaka Dhaka Dhaka 9 NULL 1 2025-05-27 21:00:00+00 NULL
2 Kabgayi L2TH 4 2 NULL 2025-08-13 00:00:00+00 NULL

Showing 2 sample records.

ward_antibiotics

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
ward_antibiotic_id int4(32,0) No nextval('ward_antibiotics_ward_antibiotic_id_seq'::regclass)
ward_round_id int4(32,0) Yes NULL
antibiotic_id int4(32,0) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP

This table has no foreign key relationships.

No sample data available for this table.

webreport_admin

4 columns
Structure
Relationships
Sample Data
32 32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('webreport_admin_id_seq'::regclass)
tablename varchar Yes NULL
db_type varchar Yes NULL
group_name varchar Yes NULL

This table has no foreign key relationships.

32 32 32 32 32 32
id tablename db_type group_name
1 public.antibiotics db
2 public.case_antibiotics db
3 public.clean_cut_implementation_summary_view db
4 public.clean_cut_implementations db
5 public.countries db

Showing 5 sample records.

webreport_sql

3 columns
Structure
Relationships
Sample Data
32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('webreport_sql_id_seq'::regclass)
sqlname varchar Yes NULL
sqlcontent text Yes NULL

This table has no foreign key relationships.

No sample data available for this table.

webreport_style

8 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
report_style_id int4(32,0) No nextval('webreport_style_report_style_id_seq'::regclass)
type varchar No NULL
field int4(32,0) No NULL
group int4(32,0) No NULL
style_str text No NULL
uniq int4(32,0) Yes NULL
repname varchar No NULL
styletype varchar No NULL

This table has no foreign key relationships.

No sample data available for this table.

webreports

9 columns
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
rpt_id int4(32,0) No nextval('webreports_rpt_id_seq'::regclass)
rpt_name varchar No NULL
rpt_title varchar Yes NULL
rpt_cdate timestamp No NULL
rpt_mdate timestamp Yes NULL
rpt_content text No NULL
rpt_owner varchar No NULL
rpt_status varchar No 'public'::character varying
rpt_type varchar No NULL

This table has no foreign key relationships.

32 32 32
rpt_id rpt_name rpt_title rpt_cdate rpt_mdate rpt_content rpt_owner rpt_status rpt_type
1 public_training_participation_1 public.training_participation Chart 1 2025-06-09 14:26:14 2025-06-09 14:26:14 <report> <attr value="table_type">db</attr> <attr value="tables"><attr value="0">public.training_par... admin private chart
2 public_antibiotics_1 public.antibiotics Report 1 2025-10-07 12:37:01 2025-10-07 12:37:01 <report> <attr value="table_type">db</attr> <attr value="group_fields"><attr value="0"><attr value="... demo private report

Showing 2 sample records.

years

3 columns
Structure
Relationships
Sample Data
32 32 32 32
Column Type Nullable Default Key
id int4(32,0) No nextval('years_id_seq'::regclass)
year int4(32,0) No NULL
is_active bool Yes false

This table has no foreign key relationships.

32 32 32 32 32 32
id year is_active
1 2014
2 2015
3 2016
4 2017
5 2018

Showing 5 sample records.

lbapt_izumi

17 columns 2 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
izumi_id int4(32,0) No nextval('lbapt_izumi_izumi_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL FOREIGN
key_objective text Yes NULL
kpi text Yes NULL
means_of_verification text Yes NULL
status_id int4(32,0) Yes NULL FOREIGN
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
32 32 32
Column References Relationship
status_id lbapt_status (status_id) Many lbapt_izumi belong to one lbapt_status
strategic_area_id lbapt_strategic_areas (strategic_area_id) Many lbapt_izumi belong to one lbapt_strategic_areas
32 32
izumi_id strategic_area_id key_objective kpi means_of_verification status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 14 IZU KO Izu KPI you know the ver 1 1 1 2025-09-12 00:00:00+00 2025-09-14 17:53:29.09669+00

Showing 1 sample records.

lbapt_whi

17 columns 2 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
Column Type Nullable Default Key
whi_id int4(32,0) No nextval('lbapt_whi_whi_id_seq'::regclass)
strategic_area_id int4(32,0) Yes NULL FOREIGN
key_objective text Yes NULL
kpi text Yes NULL
means_of_verification text Yes NULL
status_id int4(32,0) Yes NULL FOREIGN
planned_timeframe_q1 bool Yes false
planned_timeframe_q2 bool Yes false
planned_timeframe_q3 bool Yes false
planned_timeframe_q4 bool Yes false
achievement_q1 bool Yes false
achievement_q2 bool Yes false
achievement_q3 bool Yes false
achievement_q4 bool Yes false
notes text Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
32 32 32
Column References Relationship
status_id lbapt_status (status_id) Many lbapt_whi belong to one lbapt_status
strategic_area_id lbapt_strategic_areas (strategic_area_id) Many lbapt_whi belong to one lbapt_strategic_areas
32 32
whi_id strategic_area_id key_objective kpi means_of_verification status_id planned_timeframe_q1 planned_timeframe_q2 planned_timeframe_q3 planned_timeframe_q4 achievement_q1 achievement_q2 achievement_q3 achievement_q4 notes created_at updated_at
1 13 WHI Key Obj whi Kpis verified always 4 1 2025-09-12 00:00:00+00 2025-09-13 00:00:00+00

Showing 1 sample records.

countries

6 columns 1 relationships
Structure
Relationships
Sample Data
32 32 32 32 32 32 32
Column Type Nullable Default Key
country_id int4(32,0) No nextval('countries_country_id_seq'::regclass) PRIMARY
country_name varchar(100) No NULL UNIQUE
region_id int4(32,0) Yes NULL FOREIGN
iso_code varchar(3) Yes NULL
created_at timestamptz Yes CURRENT_TIMESTAMP
updated_at timestamptz Yes CURRENT_TIMESTAMP
32 32
Column References Relationship
region_id regions (region_id) Many countries belong to one regions
32 32 32 32 32 32
country_id country_name region_id iso_code created_at updated_at
1 Ethiopia 1 ETH 2025-05-25 21:00:00+00 NULL
2 Rwanda 1 RWA 2025-05-25 21:00:00+00 NULL
4 Zambia 1 ZMB 2025-05-25 21:00:00+00 NULL
5 Benin 2 BEN 2025-05-25 21:00:00+00 NULL
6 Burkina Faso 2 BFA 2025-05-25 21:00:00+00 NULL

Showing 5 sample records.

Sample Queries

Basic CRUD Operations

-- Insert a new project
INSERT INTO projects (project_name, start_date, end_date, budget) 
VALUES ('Community Health Initiative', '2023-06-01', '2024-05-31', 500000);

-- Get all active projects
SELECT * FROM projects WHERE end_date > CURRENT_DATE ORDER BY start_date;

-- Update a project's end date
UPDATE projects SET end_date = '2024-08-31' WHERE project_id = 123;

-- Delete a beneficiary
DELETE FROM beneficiaries WHERE beneficiary_id = 456;

Best Practices

Database Usage Guidelines

  • Always use parameterized queries to prevent SQL injection
  • Create appropriate indexes for frequently queried columns
  • Regularly backup the database using pg_dump
  • Use transactions for operations that modify multiple related tables
  • Use EXPLAIN ANALYZE to optimize query performance
  • Follow the principle of least privilege for database users