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
| Statistic | Value | 32Total Tables | 110 | 32Primary Tables | projects, indicators, beneficiaries, evaluations | 32Reference Tables | locations, organizations, indicator_types, etc. | 32System 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:
| Entity | Description | Related Tables | 32Projects | Core entity storing all project information | projects, project_indicators, project_beneficiaries | 32Indicators | Performance indicators and targets | indicators, indicator_values, indicator_types | 32Beneficiaries | Beneficiary information and participation | beneficiaries, beneficiary_projects, beneficiary_evaluations | 32Evaluations | 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
| Column | Type | Nullable | Default | Key | 32antibiotic_id | int4(32,0) | No | nextval('antibiotics_antibiotic_id_seq'::regclass) | PRIMARY | 32antibiotic_name | varchar(100) | No | NULL | 32 | description | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
No sample data available for this table.
case_antibiotics
| Column | Type | Nullable | Default | Key | 32case_antibiotic_id | int4(32,0) | No | nextval('case_antibiotics_case_antibiotic_id_seq'::regclass) | PRIMARY | 32case_id | uuid | Yes | NULL | 32 | antibiotic_id | int4(32,0) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
No sample data available for this table.
clean_cut_implementations
| Column | Type | Nullable | Default | Key | 32implementation_id | int4(32,0) | No | nextval('clean_cut_implementations_implementation_id_seq'::regclass) | PRIMARY | 32facility_id | int4(32,0) | Yes | NULL | 32 | country_id | int4(32,0) | Yes | NULL | 32 | implementation_year | int4(32,0) | No | NULL | 32 | start_date | date | No | NULL | 32 | end_date | date | Yes | NULL | 32 | implementation_months | int4(32,0) | Yes | NULL | 32 | avg_monthly_surgical_volume | int4(32,0) | Yes | NULL | 32 | estimated_operations_impacted | int4(32,0) | Yes | NULL | 32 | general_surgery_volume | int4(32,0) | Yes | NULL | 32 | ob_gyn_volume | int4(32,0) | Yes | NULL | 32 | pediatrics_volume | int4(32,0) | Yes | NULL | 32 | ortho_volume | int4(32,0) | Yes | NULL | 32 | total_volume | int4(32,0) | Yes | NULL | 32 | remarks | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
No sample data available for this table.
facilities
| Column | Type | Nullable | Default | Key | 32facility_id | int4(32,0) | No | nextval('facilities_facility_id_seq'::regclass) | PRIMARY | 32facility_name | varchar(500) | No | NULL | UNIQUE | 32country_id | int4(32,0) | Yes | NULL | UNIQUE | 32facility_type | varchar(100) | Yes | NULL | 32 | address | text | Yes | NULL | 32 | city | varchar(100) | Yes | NULL | 32 | latitude | numeric(10,8) | Yes | NULL | 32 | longitude | numeric(11,8) | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | region_id | int4(32,0) | Yes | NULL | FOREIGN |
|---|
| Column | References | Relationship | 32country_id | countries (country_id) | Many facilities belong to one countries | 32region_id | regions (region_id) | Many facilities belong to one regions |
|---|
| facility_id | facility_name | country_id | facility_type | address | city | latitude | longitude | is_active | created_at | updated_at | region_id | 3211 | 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 | 3218 | 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 | 3223 | 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 | 3225 | 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 | 3226 | 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
| Column | Type | Nullable | Default | Key | 32attendance_id | int4(32,0) | No | nextval('training_attendance_attendance_id_seq'::regclass) | 32 | day_number | int4(32,0) | No | NULL | 32 | attended | bool | No | false | 32 | attendance_date | date | Yes | NULL | 32 | notes | text | Yes | NULL | 32 | recorded_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | recorded_by | int4(32,0) | Yes | NULL | 32 | participation_id | int4(32,0) | No | NULL |
|---|
This table has no foreign key relationships.
| attendance_id | day_number | attended | attendance_date | notes | recorded_at | recorded_by | participation_id | 321 | 1 | 1 | 2024-06-07 | 2025-05-28 00:00:00 | NULL | 1 | 322 | 2 | 1 | 2024-06-08 | 2025-05-29 00:00:00 | NULL | 1 | 323 | 1 | 1 | 2024-06-07 | 2025-05-29 00:00:00 | NULL | 2 | 324 | 2 | 1 | 2024-06-08 | 2025-05-29 00:00:00 | NULL | 2 | 325 | 1 | 2024-06-07 | NULL | 2025-05-29 21:36:07.396262 | NULL | 3 |
|---|
Showing 5 sample records.
training_participants
| Column | Type | Nullable | Default | Key | 32participant_id | int4(32,0) | No | nextval('training_participants_participant_id_seq'::regclass) | 32 | first_name | varchar(100) | No | NULL | 32 | last_name | varchar(100) | No | NULL | 32 | sex_id | int4(32,0) | Yes | NULL | 32 | role_id | int4(32,0) | Yes | NULL | 32 | facility_id | int4(32,0) | Yes | NULL | 32 | phone | varchar(50) | Yes | NULL | 32 | varchar(100) | Yes | NULL | 32 | country_id | int4(32,0) | Yes | NULL | 32 | training_date | date | No | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | venue_id | int4(32,0) | Yes | NULL | 32 | title_salutation | varchar(50) | Yes | NULL | 32 | middle_name | varchar(100) | Yes | NULL |
|---|
This table has no foreign key relationships.
| participant_id | first_name | last_name | sex_id | role_id | facility_id | phone | country_id | training_date | created_at | updated_at | venue_id | title_salutation | middle_name | 322 | Nihar | Kundu | 1 | 2 | 30 | +8801713337806 | niharranjan5200@gmail.com | 9 | 2024-06-07 | 2025-05-28 21:00:00+00 | NULL | 1 | Dr. | Ranjan | 323 | Momotaj | Begum | 2 | 3 | 30 | +8801744634336 | 9 | 2024-06-07 | 2025-05-28 21:00:00+00 | NULL | 1 | 32 | 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. | 32 | 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. | 32 | 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
| Column | Type | Nullable | Default | Key | 32participation_id | int4(32,0) | No | nextval('training_participation_participation_id_seq'::regclass) | 32 | participant_id | int4(32,0) | No | NULL | 32 | training_id | int4(32,0) | No | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | pre_test_score | numeric(5,2) | Yes | NULL | 32 | post_test_score | numeric(5,2) | Yes | NULL | 32 | ceu_points | numeric(5,2) | Yes | NULL |
|---|
This table has no foreign key relationships.
| participation_id | participant_id | training_id | created_at | pre_test_score | post_test_score | ceu_points | 325 | 4 | 6 | 2025-05-29 21:00:00+00 | NULL | NULL | NULL | 326 | 5 | 6 | 2025-05-29 21:00:00+00 | NULL | NULL | NULL | 327 | 6 | 6 | 2025-05-29 21:00:00+00 | NULL | NULL | NULL | 328 | 7 | 6 | 2025-05-29 21:00:00+00 | NULL | NULL | NULL | 329 | 8 | 6 | 2025-05-29 21:00:00+00 | NULL | NULL | NULL |
|---|
Showing 5 sample records.
training_sessions
| Column | Type | Nullable | Default | Key | 32training_id | int4(32,0) | No | nextval('training_sessions_training_id_seq'::regclass) | 32 | course_id | int4(32,0) | Yes | NULL | 32 | training_type | text | Yes | NULL | 32 | training_approach | text | Yes | NULL | 32 | program | text | Yes | NULL | 32 | quarter | text | Yes | NULL | 32 | start_date | date | No | NULL | 32 | end_date | date | No | NULL | 32 | facility_id | int4(32,0) | Yes | NULL | 32 | host_country_id | int4(32,0) | Yes | NULL | 32 | ceu_points | numeric(5,2) | Yes | NULL | 32 | num_participants | int4(32,0) | Yes | NULL | 32 | avg_pre_test_score | numeric(5,2) | Yes | NULL | 32 | avg_post_test_score | numeric(5,2) | Yes | NULL | 32 | remarks | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | training_type_id | int4(32,0) | Yes | NULL | 32 | approach_id | int4(32,0) | Yes | NULL | 32 | program_id | int4(32,0) | Yes | NULL | 32 | venue_id | int4(32,0) | Yes | NULL |
|---|
This table has no foreign key relationships.
| 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 | 322 | 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 | 323 | 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 | 324 | 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 | 325 | 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32log_id | int4(32,0) | No | nextval('device_distribution_log_log_id_seq'::regclass) | 32 | distribution_id | int4(32,0) | Yes | NULL | 32 | device_type | int4(32,0) | No | NULL | 32 | previous_quantity | int4(32,0) | No | NULL | 32 | distributed_quantity | int4(32,0) | No | NULL | 32 | new_quantity | int4(32,0) | No | NULL | 32 | performed_by | varchar(100) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| log_id | distribution_id | device_type | previous_quantity | distributed_quantity | new_quantity | performed_by | created_at | 321 | 1 | 1 | 125 | 25 | 100 | system | 2025-06-07 21:00:00+00 | 322 | 2 | 1 | 77 | 2 | 75 | system | 2025-06-07 21:00:00+00 | 323 | 3 | 1 | 79 | 6 | 73 | system | 2025-06-07 21:00:00+00 | 324 | 10 | 1 | 67 | 4 | 63 | postgres | 2025-06-09 18:02:26.820903+00 |
|---|
Showing 4 sample records.
regions
| Column | Type | Nullable | Default | Key | 32region_id | int4(32,0) | No | nextval('regions_region_id_seq'::regclass) | PRIMARY | 32region_name | varchar(50) | No | NULL | UNIQUE | 32description | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| region_id | region_name | description | created_at | updated_at | 321 | Africa-E&S | Africa-E and S | 2025-05-25 21:00:00+00 | NULL | 322 | Africa-W&F | Africa-W and F | 2025-05-25 21:00:00+00 | NULL | 323 | Asia | Asia | 2025-05-25 21:00:00+00 | NULL | 324 | Europe | Europe | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 | 325 | LatAm | Latin America | 2025-05-25 21:00:00+00 | NULL |
|---|
Showing 5 sample records.
device_distributions
| Column | Type | Nullable | Default | Key | 32distribution_id | int4(32,0) | No | nextval('device_distributions_distribution_id_seq'::regclass) | 32 | region_id | int4(32,0) | Yes | NULL | 32 | country_id | int4(32,0) | Yes | NULL | 32 | order_reference | varchar(50) | No | NULL | 32 | facility_id | int4(32,0) | Yes | NULL | 32 | monthly_surgical_volume | int4(32,0) | Yes | NULL | 32 | contact_name | varchar(200) | Yes | NULL | 32 | contact_email | varchar(100) | Yes | NULL | 32 | distribution_month | int4(32,0) | No | NULL | 32 | distribution_year | int4(32,0) | No | NULL | 32 | quantity | int4(32,0) | No | NULL | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | device_type | int4(32,0) | No | NULL | 32 | payment_method | int4(32,0) | Yes | NULL | 32 | transaction_type | int4(32,0) | No | NULL | 32 | donor | int4(32,0) | Yes | NULL | 32 | is_received | bool | Yes | NULL | 32 | receiving_date | timestamp | Yes | NULL | 32 | started_using | bool | Yes | NULL | 32 | date_started_using | timestamp | Yes | NULL |
|---|
This table has no foreign key relationships.
| 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 | 3231 | 1 | 16 | sub39 | 129 | NULL | NULL | NULL | 6 | 2011 | 1 | 2026-01-29 00:00:00+00 | NULL | 1 | 1 | 2 | 1 | NULL | NULL | 321 | 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 | 322 | 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 | 323 | 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 | 324 | 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
| Column | Type | Nullable | Default | Key | 32device_id | int4(32,0) | No | nextval('devices_device_id_seq'::regclass) | 32 | device_type | varchar(100) | No | NULL | 32 | model | varchar(100) | Yes | NULL | 32 | description | text | Yes | NULL | 32 | serial_number | varchar(255) | Yes | NULL | 32 | manufacturer | varchar(100) | Yes | NULL | 32 | production_date | date | Yes | NULL | 32 | warranty_expiry | date | Yes | NULL | 32 | unit_price | numeric(12,2) | Yes | NULL | 32 | total_quantity | int4(32,0) | Yes | 0 | 32 | available_quantity | int4(32,0) | Yes | 0 | 32 | status | bool | Yes | true | 32 | facility_id | int4(32,0) | Yes | NULL | 32 | warehouse_location | varchar(100) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 322 | 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 | 323 | Headlight HL8R | Headlight HL8R | Surgical Headlight | NULL | NULL | NULL | 500 | 500 | 1 | NULL | 2025-06-07 21:00:00+00 | NULL | 324 | Zug capno | Zug capno | Capnography Monitor | NULL | NULL | NULL | 77 | 77 | 1 | NULL | 2025-06-07 21:00:00+00 | NULL | 321 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('donors_id_seq'::regclass) | 32 | organization_name | varchar | No | NULL | 32 | country_id | int4(32,0) | Yes | NULL | 32 | varchar | Yes | NULL | 32 | phone | varchar | Yes | NULL | 32 | address_information | varchar | Yes | NULL | 32 | contact_person | varchar | Yes | NULL | 32 | donor_status | bool | Yes | NULL | 32 | donor_type | varchar | Yes | NULL | 32 | notes | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | organization_name | country_id | phone | address_information | contact_person | donor_status | donor_type | notes | 321 | Smile Train | 31 | info@smiletrain.org | +1800-932-9541 | 1 |
|---|
Showing 1 sample records.
diagnoses
| Column | Type | Nullable | Default | Key | 32diagnosis_id | int4(32,0) | No | nextval('diagnoses_diagnosis_id_seq'::regclass) | PRIMARY | 32diagnosis_name | varchar(200) | No | NULL | UNIQUE | 32diagnosis_category | varchar(100) | Yes | NULL | 32 | description | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
No sample data available for this table.
languages
| Column | Type | Nullable | Default | Key | 32language_id | int4(32,0) | No | nextval('languages_language_id_seq'::regclass) | 32 | language_name | varchar(50) | No | NULL | 32 | iso_code | varchar(3) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| language_id | language_name | iso_code | created_at | 321 | Afar | aa | 2025-05-27 15:06:54.749089+00 | 322 | Abkhazian | ab | 2025-05-27 15:06:54.752462+00 | 323 | Achinese | ace | 2025-05-27 15:06:54.753231+00 | 324 | Afrikaans | af | 2025-05-27 15:06:54.75394+00 | 325 | Akan | ak | 2025-05-27 15:06:54.754636+00 |
|---|
Showing 5 sample records.
follow_ups
| Column | Type | Nullable | Default | Key | 32follow_up_id | int4(32,0) | No | nextval('follow_ups_follow_up_id_seq'::regclass) | PRIMARY | 32case_id | uuid | Yes | NULL | 32 | facility_id | int4(32,0) | Yes | NULL | FOREIGN | 32phone_call_date | date | Yes | NULL | 32 | data_collector_name | varchar(200) | Yes | NULL | 32 | call_successful | bool | Yes | NULL | 32 | call_failure_reason | text | Yes | NULL | 32 | patient_status | varchar(100) | Yes | NULL | 32 | neonatal_death | bool | Yes | NULL | 32 | wound_opened | bool | Yes | NULL | 32 | wound_drainage | bool | Yes | NULL | 32 | drainage_type | drainage_type_enum | Yes | NULL | 32 | visited_healthcare_provider | bool | Yes | NULL | 32 | provider_location | varchar(100) | Yes | NULL | 32 | scheduled_postop_visit | bool | Yes | NULL | 32 | attended_postop_visit | bool | Yes | NULL | 32 | missed_visit_reason | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32facility_id | facilities (facility_id) | Many follow_ups belong to one facilities |
|---|
No sample data available for this table.
lbapt_beginnings_fund
| Column | Type | Nullable | Default | Key | 32bf_id | int4(32,0) | No | nextval('lbapt_beginnings_fund_bf_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | means_of_verification | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32communication_id | int4(32,0) | No | nextval('lbapt_communications_communication_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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 | 322 | 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
| Column | Type | Nullable | Default | Key | 32cri_id | int4(32,0) | No | nextval('lbapt_cri_cri_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | year_1_target | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32development_id | int4(32,0) | No | nextval('lbapt_development_development_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32elma_id | int4(32,0) | No | nextval('lbapt_elma_elma_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | means_of_verification | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32finance_id | int4(32,0) | No | nextval('lbapt_finance_finance_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32governance_id | int4(32,0) | No | nextval('lbapt_governance_governance_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32hr_id | int4(32,0) | No | nextval('lbapt_hr_hr_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32cathedral_id | int4(32,0) | No | nextval('lbapt_cathedral_cathedral_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | FOREIGN | 32key_objective | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | means_of_verification | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | FOREIGN | 32planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32status_id | lbapt_status (status_id) | Many lbapt_cathedral belong to one lbapt_status | 32strategic_area_id | lbapt_strategic_areas (strategic_area_id) | Many lbapt_cathedral belong to one lbapt_strategic_areas |
|---|
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32operation_id | int4(32,0) | No | nextval('lbapt_operations_operation_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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 | 322 | 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
| Column | Type | Nullable | Default | Key | 32program_id | int4(32,0) | No | nextval('lbapt_programs_program_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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 | 322 | 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 | 323 | 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
| Column | Type | Nullable | Default | Key | 32status_id | int4(32,0) | No | nextval('lbapt_status_status_id_seq'::regclass) | PRIMARY | 32status_name | varchar(50) | No | NULL | 32 | status_description | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| status_id | status_name | status_description | created_at | updated_at | 321 | In Progress | Activity is currently being worked on | 2025-08-17 15:24:00.436856+00 | 2025-08-17 15:24:00.436856+00 | 322 | Not Started | Activity has not been initiated yet | 2025-08-17 15:24:00.436856+00 | 2025-08-17 15:24:00.436856+00 | 323 | 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 | 324 | 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
| Column | Type | Nullable | Default | Key | 32strategic_area_id | int4(32,0) | No | nextval('lbapt_strategic_areas_strategic_area_id_seq'::regclass) | UNIQUE | 32area_name | varchar(100) | No | NULL | 32 | area_description | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| strategic_area_id | area_name | area_description | created_at | updated_at | 321 | 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 | 322 | 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 | 323 | 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 | 324 | 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 | 326 | 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
| Column | Type | Nullable | Default | Key | 32tracker_id | int4(32,0) | No | nextval('lbapt_annual_plan_tracker_tracker_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | key_objective | text | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | fyear | int4(32,0) | Yes | NULL |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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 | 322 | 1 | Develop S4 playbook and tools | Expert review and finalize tools | Expert validation completed | 2 | 2025-08-16 21:00:00+00 | NULL | 12 | 323 | 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 | 324 | 1 | Conduct baseline assessments | Train facility assessment teams | Teams trained in 4 countries | 1 | 2025-08-16 21:00:00+00 | NULL | 12 | 325 | 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
| Column | Type | Nullable | Default | Key | 32summary_id | int4(32,0) | No | nextval('lbapt_dashboard_summary_summary_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | total_activities | int4(32,0) | Yes | NULL | 32 | completed | int4(32,0) | Yes | NULL | 32 | in_progress | int4(32,0) | Yes | NULL | 32 | not_started | int4(32,0) | Yes | NULL | 32 | on_track_percentage | numeric(5,2) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| summary_id | strategic_area_id | total_activities | completed | in_progress | not_started | on_track_percentage | created_at | updated_at | 32543 | 5 | 1 | 0 | 1 | 0 | 100.00 | 2025-09-14 17:53:29.09669+00 | 2025-09-14 17:53:29.09669+00 | 32544 | 4 | 1 | 0 | 1 | 0 | 100.00 | 2025-09-14 17:53:29.09669+00 | 2025-09-14 17:53:29.09669+00 | 32545 | 2 | 2 | 0 | 1 | 0 | 50.00 | 2025-09-14 17:53:29.09669+00 | 2025-09-14 17:53:29.09669+00 | 32546 | 6 | 1 | 0 | 0 | 1 | 0.00 | 2025-09-14 17:53:29.09669+00 | 2025-09-14 17:53:29.09669+00 | 32547 | 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
| Column | Type | Nullable | Default | Key | 32st_id | int4(32,0) | No | nextval('lbapt_st_st_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | FOREIGN | 32key_objective | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | means_of_verification | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | FOREIGN | 32planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32status_id | lbapt_status (status_id) | Many lbapt_st belong to one lbapt_status | 32strategic_area_id | lbapt_strategic_areas (strategic_area_id) | Many lbapt_st belong to one lbapt_strategic_areas |
|---|
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32kpi_id | int4(32,0) | No | nextval('lbapt_kpis_on_track_kpi_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | number_of_kpis | int4(32,0) | Yes | NULL | 32 | planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 32433 | 1 | 3 | 1 | 2025-09-14 17:53:29.09669+00 | 2025-09-14 17:53:29.09669+00 | 32434 | 2 | 2 | 1 | 2025-09-14 17:53:29.09669+00 | 2025-09-14 17:53:29.09669+00 | 32435 | 3 | 2 | 1 | 2025-09-14 17:53:29.09669+00 | 2025-09-14 17:53:29.09669+00 | 32436 | 4 | 1 | 1 | 2025-09-14 17:53:29.09669+00 | 2025-09-14 17:53:29.09669+00 | 32437 | 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
| Column | Type | Nullable | Default | Key | 32workflow_id | int4(32,0) | No | nextval('lbapt_sample_workflow_workflow_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | 32 | program_name | varchar(100) | Yes | NULL | 32 | activity | text | Yes | NULL | 32 | target_q1 | bool | Yes | false | 32 | target_q2 | bool | Yes | false | 32 | target_q3 | bool | Yes | false | 32 | target_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | status_id | int4(32,0) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | fyear | int4(32,0) | Yes | NULL |
|---|
This table has no foreign key relationships.
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32source_id | int4(32,0) | No | nextval('lbpmi_data_sources_source_id_seq'::regclass) | PRIMARY | 32data_source_name | varchar(250) | No | NULL | 32 | data_source_description | text | Yes | NULL |
|---|
This table has no foreign key relationships.
| source_id | data_source_name | data_source_description | 321 | Training | All training data | 322 | Device Distribution | All Device Distribution Data | 323 | DHIS2 | CC DHIS2 Data Source |
|---|
Showing 3 sample records.
lbln_courses
| Column | Type | Nullable | Default | Key | 32data_id | int4(32,0) | No | nextval('lbln_courses_data_id_seq'::regclass) | PRIMARY | 32course_id | varchar(255) | No | NULL | UNIQUE | 32course_title | text | No | NULL | 32 | type | varchar(50) | Yes | 'course'::character varying | 32 | categories | jsonb | Yes | NULL | 32 | description | text | Yes | NULL | 32 | name | varchar(100) | Yes | NULL | 32 | image | text | Yes | NULL | 32 | course_image | text | Yes | NULL | 32 | original_price | numeric(10,2) | Yes | 0 | 32 | discount_price | numeric(10,2) | Yes | 0 | 32 | final_price | numeric(10,2) | Yes | 0 | 32 | access | varchar(50) | Yes | 'free'::character varying | 32 | expires | timestamp | Yes | NULL | 32 | expires_type | varchar(50) | Yes | NULL | 32 | drip_feed | varchar(50) | Yes | 'none'::character varying | 32 | identifiers | jsonb | Yes | NULL | 32 | after_purchase | jsonb | Yes | NULL | 32 | author | jsonb | Yes | NULL | 32 | created | int8(64,0) | Yes | NULL | 32 | modified | int8(64,0) | Yes | NULL | 32 | fetched_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | last_updated | timestamp | Yes | CURRENT_TIMESTAMP | 32 | is_active | bool | Yes | true |
|---|
This table has no foreign key relationships.
| 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 | 324 | 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 | 325 | 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 | 326 | 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 | 327 | 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 | 328 | 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
| Column | Type | Nullable | Default | Key | 32data_id | int4(32,0) | No | nextval('lbln_course_analytics_data_id_seq'::regclass) | PRIMARY | 32course_id | varchar(255) | No | NULL | UNIQUE | 32course_title | text | No | NULL | 32 | students | int4(32,0) | Yes | 0 | 32 | videos | int4(32,0) | Yes | 0 | 32 | learning_units | int4(32,0) | Yes | 0 | 32 | video_time | int4(32,0) | Yes | 0 | 32 | avg_score_rate | numeric(7,3) | Yes | 0 | 32 | success_rate | numeric(7,3) | Yes | 0 | 32 | total_study_time | int4(32,0) | Yes | 0 | 32 | avg_time_to_finish | int4(32,0) | Yes | 0 | 32 | social_interactions | int4(32,0) | Yes | 0 | 32 | certificates_issued | int4(32,0) | Yes | 0 | 32 | video_viewing_time | int4(32,0) | Yes | 0 | 32 | fetched_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | analytics_date | date | Yes | CURRENT_DATE | UNIQUE |
|---|
| Column | References | Relationship | 32course_id | lbln_courses (course_id) | Many lbln_course_analytics belong to one lbln_courses |
|---|
| 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 | 321 | 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 | 322 | 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 | 323 | 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 | 324 | 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 | 325 | 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
| Column | Type | Nullable | Default | Key | 32log_id | int4(32,0) | No | nextval('lbln_fetch_logs_log_id_seq'::regclass) | PRIMARY | 32operation_type | varchar(50) | No | NULL | 32 | table_name | varchar(50) | No | NULL | 32 | items_processed | int4(32,0) | Yes | 0 | 32 | items_inserted | int4(32,0) | Yes | 0 | 32 | items_updated | int4(32,0) | Yes | 0 | 32 | items_skipped | int4(32,0) | Yes | 0 | 32 | errors | jsonb | Yes | NULL | 32 | start_time | timestamp | Yes | CURRENT_TIMESTAMP | 32 | end_time | timestamp | Yes | NULL | 32 | duration | interval | Yes | NULL | 32 | status | varchar(20) | Yes | 'running'::character varying | 32 | message | text | Yes | NULL | 32 | parameters | jsonb | Yes | NULL |
|---|
This table has no foreign key relationships.
| log_id | operation_type | table_name | items_processed | items_inserted | items_updated | items_skipped | errors | start_time | end_time | duration | status | message | parameters | 321 | 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"} | 322 | 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"} | 323 | 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} | 324 | 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} | 325 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lbln_fetch_sessions_id_seq'::regclass) | PRIMARY | 32session_id | varchar(100) | No | NULL | UNIQUE | 32session_type | varchar(50) | No | NULL | 32 | target_table | varchar(50) | No | NULL | 32 | selected_courses | jsonb | Yes | NULL | 32 | course_progress | jsonb | Yes | NULL | 32 | total_courses | int4(32,0) | Yes | 0 | 32 | options | jsonb | Yes | NULL | 32 | status | varchar(20) | Yes | 'pending'::character varying | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | completed_at | timestamp | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | session_id | session_type | target_table | selected_courses | course_progress | total_courses | options | status | created_at | updated_at | completed_at | 322 | 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 | 327 | 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 | 3210 | 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 | 321 | 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 | 3212 | 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
| Column | Type | Nullable | Default | Key | 32agg_id | int4(32,0) | No | nextval('lbpmi_aggregation_type_agg_id_seq'::regclass) | PRIMARY | 32aggregation_type | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| agg_id | aggregation_type | 321 | SUM | 322 | AVERAGE | 323 | COUNT | 324 | MIN | 325 | MAX |
|---|
Showing 5 sample records.
lbpmi_data_elements
| Column | Type | Nullable | Default | Key | 32data_element_id | int4(32,0) | No | nextval('lbpmi_data_elements_data_element_id_seq'::regclass) | PRIMARY | 32data_element_name | varchar(255) | No | NULL | 32 | data_element_description | text | Yes | NULL | 32 | data_element_code | varchar(100) | No | NULL | UNIQUE | 32value_type | varchar(50) | No | NULL | 32 | aggregation_type | varchar(50) | No | NULL | 32 | domain_type | varchar(50) | No | NULL | 32 | category_combo_id | int4(32,0) | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_by | varchar(250) | Yes | NULL | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | dataset_id | int4(32,0) | Yes | NULL |
|---|
This table has no foreign key relationships.
| 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 | 3238 | 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 | 3240 | Total number of facilities assessed | YTCRSOVDWJE | NUMBER | SUM | AGGREGATE | 4 | 1 | Mr. Abush (Data Manager) | 2026-03-19 02:26:47 | NULL | 4 | 3241 | Total number of facilities assessed/supported | QTO8ALCJM8I | NUMBER | SUM | AGGREGATE | 5 | 1 | Mr. Abush (Data Manager) | 2026-03-19 02:27:37 | NULL | 5 | 3217 | 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 | 3216 | 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
| Column | Type | Nullable | Default | Key | 32log_id | int4(32,0) | No | nextval('lbpmi_calculation_log_log_id_seq'::regclass) | PRIMARY | 32indicator_id | int4(32,0) | Yes | NULL | FOREIGN | 32data_element_id | int4(32,0) | Yes | NULL | FOREIGN | 32calculation_type | varchar(50) | No | NULL | 32 | period_type | varchar(20) | No | NULL | 32 | period_year | int4(32,0) | Yes | NULL | 32 | period_quarter | int4(32,0) | Yes | NULL | 32 | period_month | int4(32,0) | Yes | NULL | 32 | region_id | int4(32,0) | Yes | NULL | FOREIGN | 32country_id | int4(32,0) | Yes | NULL | FOREIGN | 32facility_id | int4(32,0) | Yes | NULL | FOREIGN | 32calculated_value | numeric | Yes | NULL | 32 | calculation_timestamp | timestamp | Yes | CURRENT_TIMESTAMP | 32 | status | varchar(20) | No | NULL | 32 | error_message | text | Yes | NULL | 32 | execution_time_ms | int4(32,0) | Yes | NULL |
|---|
| Column | References | Relationship | 32country_id | countries (country_id) | Many lbpmi_calculation_log belong to one countries | 32data_element_id | lbpmi_data_elements (data_element_id) | Many lbpmi_calculation_log belong to one lbpmi_data_elements | 32facility_id | facilities (facility_id) | Many lbpmi_calculation_log belong to one facilities | 32indicator_id | lbpmi_indicators (indicator_id) | Many lbpmi_calculation_log belong to one lbpmi_indicators | 32region_id | regions (region_id) | Many lbpmi_calculation_log belong to one regions |
|---|
No sample data available for this table.
lbpmi_calculation_jobs
| Column | Type | Nullable | Default | Key | 32job_id | int4(32,0) | No | nextval('lbpmi_calculation_jobs_job_id_seq'::regclass) | PRIMARY | 32indicator_id | int4(32,0) | Yes | NULL | FOREIGN | 32data_element_id | int4(32,0) | Yes | NULL | FOREIGN | 32period_type | varchar(20) | No | NULL | 32 | period_year | int4(32,0) | No | NULL | 32 | period_quarter | int4(32,0) | Yes | NULL | 32 | period_month | int4(32,0) | Yes | NULL | 32 | region_id | int4(32,0) | Yes | NULL | FOREIGN | 32country_id | int4(32,0) | Yes | NULL | FOREIGN | 32facility_id | int4(32,0) | Yes | NULL | FOREIGN | 32priority | int4(32,0) | Yes | 5 | 32 | status | varchar(20) | Yes | 'pending'::character varying | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | processed_at | timestamp | Yes | NULL | 32 | error_message | text | Yes | NULL | 32 | attempts | int4(32,0) | Yes | 0 | 32 | next_retry | timestamp | Yes | NULL |
|---|
| Column | References | Relationship | 32country_id | countries (country_id) | Many lbpmi_calculation_jobs belong to one countries | 32data_element_id | lbpmi_data_elements (data_element_id) | Many lbpmi_calculation_jobs belong to one lbpmi_data_elements | 32facility_id | facilities (facility_id) | Many lbpmi_calculation_jobs belong to one facilities | 32indicator_id | lbpmi_indicators (indicator_id) | Many lbpmi_calculation_jobs belong to one lbpmi_indicators | 32region_id | regions (region_id) | Many lbpmi_calculation_jobs belong to one regions |
|---|
| 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 | 322 | 2 | NULL | Monthly | 2026 | NULL | 1 | 1 | NULL | NULL | 3 | pending | 2026-03-19 01:02:05.257527 | NULL | NULL | 0 | NULL | 323 | 2 | NULL | Monthly | 2026 | NULL | 2 | 1 | NULL | NULL | 3 | pending | 2026-03-19 01:02:05.257527 | NULL | NULL | 0 | NULL | 324 | 2 | NULL | Monthly | 2026 | NULL | 3 | 1 | NULL | NULL | 3 | pending | 2026-03-19 01:02:05.257527 | NULL | NULL | 0 | NULL | 325 | 2 | NULL | Monthly | 2026 | NULL | 4 | 1 | NULL | NULL | 3 | pending | 2026-03-19 01:02:05.257527 | NULL | NULL | 0 | NULL | 326 | 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
| Column | Type | Nullable | Default | Key | 32data_id | int4(32,0) | No | nextval('lbln_course_users_data_id_seq'::regclass) | PRIMARY | 32course_id | varchar(255) | No | NULL | UNIQUE | 32course_title | text | No | NULL | 32 | user_id | varchar(255) | No | NULL | UNIQUE | 32varchar(255) | No | NULL | 32 | username | varchar(255) | Yes | NULL | 32 | first_name | varchar(100) | Yes | NULL | 32 | middle_name | varchar(100) | Yes | NULL | 32 | last_name | varchar(100) | Yes | NULL | 32 | subscribed_for_marketing_emails | bool | Yes | false | 32 | eu_customer | bool | Yes | false | 32 | is_admin | bool | Yes | false | 32 | is_instructor | bool | Yes | false | 32 | is_suspended | bool | Yes | false | 32 | is_reporter | bool | Yes | false | 32 | is_affiliate | bool | Yes | false | 32 | role_level | varchar(50) | Yes | NULL | 32 | role_name | varchar(100) | Yes | NULL | 32 | referrer_id | varchar(255) | Yes | NULL | 32 | created | Yes | NULL | 32 | last_login | Yes | NULL | 32 | signup_approval_status | varchar(100) | Yes | NULL | 32 | email_verification_status | varchar(100) | Yes | NULL | 32 | fields | jsonb | Yes | NULL | 32 | tags | jsonb | Yes | NULL | 32 | utms | jsonb | Yes | NULL | 32 | billing_info | jsonb | Yes | NULL | 32 | nps_score | int4(32,0) | Yes | NULL | 32 | nps_comment | text | Yes | NULL | 32 | fc_country | varchar(10) | Yes | NULL | 32 | fc_referrer | text | Yes | NULL | 32 | lc_referrer | text | Yes | NULL | 32 | lc_country | varchar(10) | Yes | NULL | 32 | fetched_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | last_seen | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32course_id | lbln_courses (course_id) | Many lbln_course_users belong to one lbln_courses |
|---|
| data_id | course_id | course_title | user_id | 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 | 321 | 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 | 322 | 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 | 323 | 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 | 324 | 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 | 325 | 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
| Column | Type | Nullable | Default | Key | 32dataset_id | int4(32,0) | No | nextval('lbpmi_datasets_dataset_id_seq'::regclass) | PRIMARY | 32dataset_name | varchar(255) | No | NULL | 32 | dataset_description | text | Yes | NULL | 32 | dataset_code | varchar(100) | No | NULL | UNIQUE | 32period_type | varchar(20) | No | NULL | 32 | data_elements | text | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_by | varchar(250) | Yes | NULL | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| dataset_id | dataset_name | dataset_description | dataset_code | period_type | data_elements | is_active | created_by | created_at | updated_at | 321 | 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 | 322 | Anesthesia safety and Quality | 1ZNQZ96S0UZ | Quarterly | 5 | 1 | Mr. Abush (Data Manager) | 2025-09-21 00:00:00 | 2026-03-18 15:02:04 | 323 | 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 | 324 | Innovation, Technology Integration | T9QN10KEPNZ | Quarterly | 7 | 1 | Mr. Abush (Data Manager) | 2026-03-06 07:56:31 | 2026-03-18 15:04:37 | 325 | 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
| Column | Type | Nullable | Default | Key | 32dom_id | int4(32,0) | No | nextval('lbpmi_domain_type_dom_id_seq'::regclass) | PRIMARY | 32domain_type | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| dom_id | domain_type | 321 | AGGREGATE | 322 | TRACKER | 323 | OUTCOME |
|---|
Showing 3 sample records.
lbpmi_indicator_targets
| Column | Type | Nullable | Default | Key | 32target_id | int4(32,0) | No | nextval('lbpmi_indicator_targets_target_id_seq'::regclass) | PRIMARY | 32indicator_id | int4(32,0) | No | NULL | UNIQUE | 32period_type | varchar(20) | No | NULL | UNIQUE | 32period_year | int4(32,0) | No | NULL | UNIQUE | 32period_quarter | int4(32,0) | Yes | NULL | UNIQUE | 32period_month | int4(32,0) | Yes | NULL | UNIQUE | 32region_id | int4(32,0) | Yes | NULL | UNIQUE | 32country_id | int4(32,0) | Yes | NULL | UNIQUE | 32facility_id | int4(32,0) | Yes | NULL | UNIQUE | 32target_value | numeric | Yes | NULL | 32 | is_annual_target | bool | Yes | false | 32 | created_by | varchar(250) | Yes | NULL | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | baseline_period | varchar(255) | Yes | NULL | 32 | baseline_value | varchar(255) | Yes | NULL |
|---|
| Column | References | Relationship | 32country_id | countries (country_id) | Many lbpmi_indicator_targets belong to one countries | 32facility_id | facilities (facility_id) | Many lbpmi_indicator_targets belong to one facilities | 32indicator_id | lbpmi_indicators (indicator_id) | Many lbpmi_indicator_targets belong to one lbpmi_indicators | 32region_id | regions (region_id) | Many lbpmi_indicator_targets belong to one regions |
|---|
| 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 | 322 | 3 | Monthly | 2026 | NULL | NULL | 8 | NULL | NULL | 70 | 1 | Mr. Abush (Data Manager) | 2026-03-19 02:41:27 | NULL | 2026 | NULL | 323 | 28 | Quarterly | 2026 | NULL | NULL | 8 | NULL | NULL | 25 | 1 | Mr. Abush (Data Manager) | 2026-03-19 02:48:29 | NULL | 2026 | NULL | 324 | 2 | Monthly | 2026 | NULL | NULL | 8 | NULL | NULL | 25 | 1 | Mr. Abush (Data Manager) | 2026-03-19 02:53:41 | NULL | 2026 | NULL | 325 | 6 | Monthly | 2026 | NULL | NULL | 8 | NULL | NULL | 25 | 1 | Mr. Abush (Data Manager) | 2026-03-19 03:02:41 | NULL | 2026 | NULL | 326 | 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
| Column | Type | Nullable | Default | Key | 32indicator_group_id | int4(32,0) | No | nextval('lbpmi_indicator_groups_indicator_group_id_seq'::regclass) | PRIMARY | 32indicator_group_name | varchar | Yes | NULL | 32 | indicator_group_description | varchar | Yes | NULL | 32 | indicator_group_code | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| indicator_group_id | indicator_group_name | indicator_group_description | indicator_group_code | 325 | 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 | 321 | SO1: Strengthen Surgical safety and Infection Prevention | Improve the quality and safety of surgical care by strengthening adherence to the WHO Surgical Safet... | AMZ5GGOTQUZ | 322 | SO2: Strengthen Anesthesia safety and Quality | Improve the safety and quality of anesthesia services by strengthening adherence to clinical standar... | 1Q784EZWH20 | 323 | 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 | 324 | 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
| Column | Type | Nullable | Default | Key | 32data_value_id | int8(64,0) | No | nextval('lbpmi_data_values_data_value_id_seq'::regclass) | PRIMARY | 32data_element_id | int4(32,0) | No | NULL | FOREIGN | 32period_type | varchar(20) | No | NULL | 32 | period_year | int4(32,0) | No | NULL | 32 | period_quarter | int4(32,0) | Yes | NULL | 32 | period_month | int4(32,0) | Yes | NULL | 32 | period_week | int4(32,0) | Yes | NULL | 32 | period_day | date | Yes | NULL | 32 | region_id | int4(32,0) | Yes | NULL | FOREIGN | 32country_id | int4(32,0) | Yes | NULL | FOREIGN | 32facility_id | int4(32,0) | Yes | NULL | FOREIGN | 32value | numeric | Yes | NULL | 32 | stored_by | varchar(255) | Yes | 'system'::character varying | 32 | created | timestamp | Yes | CURRENT_TIMESTAMP | 32 | last_updated | timestamp | Yes | CURRENT_TIMESTAMP | 32 | deleted | bool | Yes | false | 32 | data_source | text | Yes | NULL | 32 | source_detail | text | Yes | NULL | 32 | value_type | varchar(50) | Yes | NULL | 32 | scope_level | varchar(50) | Yes | NULL |
|---|
| Column | References | Relationship | 32country_id | countries (country_id) | Many lbpmi_data_values belong to one countries | 32data_element_id | lbpmi_data_elements (data_element_id) | Many lbpmi_data_values belong to one lbpmi_data_elements | 32facility_id | facilities (facility_id) | Many lbpmi_data_values belong to one facilities | 32region_id | regions (region_id) | Many lbpmi_data_values belong to one regions |
|---|
| 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 | 322 | 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 | 3211 | 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 | 323 | 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 | 324 | 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 | 325 | 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
| Column | Type | Nullable | Default | Key | 32indtype_id | int4(32,0) | No | nextval('lbpmi_indicator_types_indtype_id_seq'::regclass) | PRIMARY | 32indicator_type | varchar | Yes | NULL | 32 | indicator_factor | numeric(12,4) | Yes | NULL | 32 | indicator_type_description | varchar(255) | Yes | NULL |
|---|
This table has no foreign key relationships.
| indtype_id | indicator_type | indicator_factor | indicator_type_description | 321 | Number | 1.0000 | The result is shown as a raw number with no scaling applied. | 322 | Percent | 100.0000 | Multiplies the result by 100 to show a percentage value (0–100%). | 323 | Per thousand | 1000.0000 | Multiplies the result by 1,000 to represent a rate per 1,000 population or events. | 324 | Per ten thousand | 10000.0000 | Multiplies the result by 10,000 to represent a rate per 10,000 population or events. | 325 | 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
| Column | Type | Nullable | Default | Key | 32actual_id | int4(32,0) | No | nextval('lbpmi_indicator_actuals_actual_id_seq'::regclass) | PRIMARY | 32indicator_id | int4(32,0) | No | NULL | UNIQUE | 32period_type | varchar(20) | No | NULL | UNIQUE | 32period_year | int4(32,0) | No | NULL | UNIQUE | 32period_quarter | int4(32,0) | Yes | NULL | UNIQUE | 32period_month | int4(32,0) | Yes | NULL | UNIQUE | 32region_id | int4(32,0) | Yes | NULL | UNIQUE | 32country_id | int4(32,0) | Yes | NULL | UNIQUE | 32facility_id | int4(32,0) | Yes | NULL | UNIQUE | 32actual_value | numeric | Yes | NULL | 32 | is_calculated | bool | Yes | true | 32 | calculation_timestamp | timestamp | Yes | NULL | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32country_id | countries (country_id) | Many lbpmi_indicator_actuals belong to one countries | 32facility_id | facilities (facility_id) | Many lbpmi_indicator_actuals belong to one facilities | 32indicator_id | lbpmi_indicators (indicator_id) | Many lbpmi_indicator_actuals belong to one lbpmi_indicators | 32region_id | regions (region_id) | Many lbpmi_indicator_actuals belong to one regions |
|---|
| 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 | 322 | 28 | Quarterly | 2026 | 1 | 3 | 8 | NULL | NULL | 5 | 2026-03-19 03:20:17 | 2026-03-19 03:20:17 | NULL | 323 | 6 | Quarterly | 2026 | 1 | 3 | 8 | NULL | NULL | 10 | 2026-03-19 03:22:09 | 2026-03-19 03:22:09 | NULL | 324 | 29 | Quarterly | 2026 | 1 | 3 | 8 | NULL | NULL | 80 | 2026-03-19 03:24:50 | 2026-03-19 03:24:50 | NULL | 325 | 5 | Quarterly | 2026 | NULL | 3 | 8 | NULL | NULL | 25 | 2026-03-19 03:26:37 | 2026-03-19 03:26:37 | NULL | 326 | 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
| Column | Type | Nullable | Default | Key | 32detail_id | int4(32,0) | No | nextval('lbpmi_source_details_detail_id_seq'::regclass) | PRIMARY | 32source_id | int4(32,0) | Yes | NULL | FOREIGN | 32source_detail | text | Yes | NULL |
|---|
| Column | References | Relationship | 32source_id | lbpmi_data_sources (source_id) | Many lbpmi_source_details belong to one lbpmi_data_sources |
|---|
| detail_id | source_id | source_detail | 321 | 1 | Lifebox Training Attendance | 322 | 2 | Device Distribution Log | 323 | 3 | Clean Cut DHIS2 Data |
|---|
Showing 3 sample records.
lbquiz_questiontypes
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lbquiz_questiontypes_id_seq'::regclass) | 32 | name | varchar(100) | No | NULL | 32 | created_at | timestamptz | Yes | now() |
|---|
This table has no foreign key relationships.
| id | name | created_at | 321 | Single choice | 2025-08-27 17:50:10.86336+00 | 322 | Multiple choice | 2025-08-27 17:50:10.86336+00 | 323 | Decision matrix | 2025-08-27 17:50:10.86336+00 | 324 | Fill in blanks | 2025-08-27 17:50:10.86336+00 |
|---|
Showing 4 sample records.
lbquiz_response_details
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lbquiz_response_details_id_seq'::regclass) | 32 | response_id | int4(32,0) | No | NULL | 32 | quiz_question_id | int4(32,0) | No | NULL | 32 | answer_ids | _int4 | Yes | '{}'::integer[] | 32 | answer_text | text | Yes | NULL | 32 | points_awarded | numeric(10,4) | Yes | 0 |
|---|
This table has no foreign key relationships.
| id | response_id | quiz_question_id | answer_ids | answer_text | points_awarded | 321 | 3 | 3 | {} | Paris | 0.0000 | 322 | 4 | 3 | {} | Paris | 1.0000 | 323 | 6 | 1 | {15} | NULL | 1.0000 | 324 | 7 | 3 | {} | paris | 1.0000 | 325 | 7 | 4 | {11,13,16} | NULL | 1.0000 |
|---|
Showing 5 sample records.
lbquiz_responses
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lbquiz_responses_id_seq'::regclass) | 32 | participation_id | int4(32,0) | No | NULL | 32 | test_id | int4(32,0) | No | NULL | 32 | userid | int4(32,0) | Yes | NULL | 32 | score | numeric(8,2) | Yes | NULL::numeric | 32 | points_raw | numeric(12,4) | Yes | NULL::numeric | 32 | started_at | timestamptz | Yes | now() | 32 | submitted_at | timestamptz | Yes | NULL | 32 | raw_answers | jsonb | Yes | NULL | 32 | checksum | varchar(64) | Yes | NULL | 32 | created_at | timestamptz | Yes | now() |
|---|
This table has no foreign key relationships.
| id | participation_id | test_id | userid | score | points_raw | started_at | submitted_at | raw_answers | checksum | created_at | 321 | 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 | 322 | 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 | 323 | 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 | 324 | 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 | 325 | 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
| Column | Type | Nullable | Default | Key | 32indicator_id | int4(32,0) | No | nextval('lbpmi_indicators_indicator_id_seq'::regclass) | PRIMARY | 32indicator_name | varchar(255) | No | NULL | 32 | indicator_description | text | Yes | NULL | 32 | indicator_code | varchar(100) | No | NULL | UNIQUE | 32indicator_type | varchar(50) | No | NULL | 32 | numerator_description | text | Yes | NULL | 32 | denominator_description | text | Yes | NULL | 32 | formula | text | No | NULL | 32 | annualized | bool | Yes | false | 32 | decimals | int4(32,0) | Yes | 2 | 32 | is_active | bool | Yes | true | 32 | created_by | varchar(250) | Yes | NULL | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | indicator_group_id | int4(32,0) | Yes | NULL | 32 | dataset_id | int4(32,0) | Yes | NULL |
|---|
This table has no foreign key relationships.
| 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 | 3210 | 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 | 3211 | 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 | 322 | 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 | 324 | 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 | 3212 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lbquiz_results_audit_id_seq'::regclass) | 32 | response_id | int4(32,0) | No | NULL | 32 | action | varchar(50) | No | NULL | 32 | details | jsonb | Yes | NULL | 32 | created_at | timestamptz | Yes | now() |
|---|
This table has no foreign key relationships.
| id | response_id | action | details | created_at | 321 | 1 | scored | {"score": 0.00, "raw_points": 0} | 2025-08-27 17:58:03.135587+00 | 322 | 1 | scored | {"score": 0.00, "raw_points": 0} | 2025-08-27 17:58:03.147678+00 | 323 | 2 | scored | {"score": 0.00, "raw_points": 0} | 2025-08-27 18:00:38.772605+00 | 324 | 2 | scored | {"score": 0.00, "raw_points": 0} | 2025-08-27 18:00:38.779766+00 | 325 | 3 | scored | {"score": 0.00, "raw_points": 0} | 2025-08-27 18:03:07.032973+00 |
|---|
Showing 5 sample records.
lbquiz_test_questions
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lbquiz_test_questions_id_seq'::regclass) | 32 | test_id | int4(32,0) | No | NULL | 32 | quiz_question_id | int4(32,0) | No | NULL | 32 | weight | numeric(10,4) | Yes | 1.0 | 32 | position | int4(32,0) | Yes | 0 |
|---|
This table has no foreign key relationships.
| id | test_id | quiz_question_id | weight | position | 321 | 1 | 3 | 1.0000 | 9999 | 322 | 1 | 1 | 1.0000 | 9999 | 323 | 2 | 1 | 1.0000 | 1 | 324 | 1 | 4 | 1.0000 | 10000 | 325 | 1 | 5 | 1.0000 | 10001 |
|---|
Showing 5 sample records.
lbquiz_tests
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lbquiz_tests_id_seq'::regclass) | 32 | training_id | int4(32,0) | Yes | NULL | 32 | title | varchar(255) | No | NULL | 32 | description | text | Yes | NULL | 32 | total_questions | int4(32,0) | Yes | 0 | 32 | time_limit_minutes | int4(32,0) | Yes | NULL | 32 | is_pretest | bool | Yes | false | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | now() |
|---|
This table has no foreign key relationships.
| id | training_id | title | description | total_questions | time_limit_minutes | is_pretest | is_active | created_at | 323 | 8 | Surgical Instruments Processing Test | NULL | 0 | NULL | 1 | 2025-08-27 19:45:24.170879+00 | 324 | 8 | Surgical Instruments Processing Test | NULL | 0 | NULL | 1 | 2025-08-27 20:12:18.430125+00 | 322 | 7 | ToT Test for Team Cleft | NULL | 0 | 20 | 1 | 1 | 2025-08-27 19:30:55.991319+00 | 321 | 6 | Test_Quiz | this is the desciption for the test quiz | 0 | 5 | 1 | 1 | 2025-08-27 17:51:18.798521+00 | 325 | 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
| Column | Type | Nullable | Default | Key | 32staff_id | int4(32,0) | No | nextval('lifebox_staff_staff_id_seq'::regclass) | 32 | first_name | varchar(100) | No | NULL | 32 | last_name | varchar(100) | No | NULL | 32 | varchar(100) | No | NULL | 32 | role | varchar(100) | Yes | NULL | 32 | region_id | int4(32,0) | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| staff_id | first_name | last_name | role | region_id | is_active | created_at | updated_at | 322 | Assefa | Tesfaye | assefa.tesfaye@lifebox.org | NULL | 1 | 2025-05-26 21:00:00+00 | NULL | 323 | Rémy | Turc | remy.turc@lifebox.org | NULL | 1 | 2025-05-26 21:00:00+00 | NULL | 324 | Saji | Zagha | saji.zagha@lifebox.org | NULL | 1 | 2025-05-26 21:00:00+00 | NULL | 321 | Hillena | Kebede | hillena.kebede@lifebox.org | 2 | 1 | 2025-05-26 21:00:00+00 | 2025-05-26 21:00:00+00 | 325 | Nabeelah | nabeelah.mckechnie@lifebox.org | 3 | 1 | 2025-05-28 21:00:00+00 | NULL |
|---|
Showing 5 sample records.
lifeboxme__audit
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme__audit_id_seq'::regclass) | 32 | datetime | timestamp | No | NULL | 32 | ip | varchar | No | NULL | 32 | user | varchar | Yes | NULL | 32 | table | varchar | Yes | NULL | 32 | action | varchar | No | NULL | 32 | description | text | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | datetime | ip | user | table | action | description | 321 | 2025-06-02 20:26:25 | ::1 | admin | public.users | login | 32 | 2 | 2025-06-03 14:09:15 | ::1 | admin | public.users | login | 32 | 3 | 2025-06-03 14:16:32 | ::1 | admin | public.users | logout | 32 | 4 | 2025-06-03 14:35:34 | ::1 | lifebox | public.users | login | 32 | 5 | 2025-06-03 14:36:12 | ::1 | lifebox | public.users | logout |
|---|
Showing 5 sample records.
lifeboxme__locking
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme__locking_id_seq'::regclass) | 32 | table | varchar | No | NULL | 32 | startdatetime | timestamp | No | NULL | 32 | confirmdatetime | timestamp | No | NULL | 32 | keys | varchar | No | NULL | 32 | sessionid | varchar | No | NULL | 32 | userid | varchar | No | NULL | 32 | action | int4(32,0) | Yes | NULL |
|---|
This table has no foreign key relationships.
No sample data available for this table.
lifeboxme_cron_activity_log
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme_cron_activity_log_id_seq'::regclass) | 32 | cron_id | int4(32,0) | Yes | NULL | 32 | message | text | No | NULL | 32 | status | varchar(20) | No | NULL | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| id | cron_id | message | status | created_at | 321 | 1 | Bulk cron job created | success | 2025-07-14 00:04:36.549544 | 322 | 2 | Bulk cron job created | success | 2025-07-14 00:04:36.549544 | 323 | 3 | Bulk cron job created | success | 2025-07-14 00:04:36.549544 | 324 | 4 | Bulk cron job created | success | 2025-07-14 00:04:36.549544 | 325 | 5 | Bulk cron job created | success | 2025-07-14 00:04:36.549544 |
|---|
Showing 5 sample records.
lifeboxme_cron_jobs
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme_cron_jobs_id_seq'::regclass) | 32 | setting_id | int4(32,0) | No | NULL | 32 | frequency_type | varchar(20) | No | NULL | 32 | frequency_value | varchar(50) | Yes | NULL | 32 | time_of_day | time | No | NULL | 32 | day_of_week | varchar(10) | Yes | NULL | 32 | day_of_month | int4(32,0) | Yes | NULL | 32 | last_run | timestamp | Yes | NULL | 32 | next_run | timestamp | No | NULL | 32 | enabled | bool | Yes | true | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| id | setting_id | frequency_type | frequency_value | time_of_day | day_of_week | day_of_month | last_run | next_run | enabled | created_at | 321 | 6 | daily | NULL | 00:00:00 | NULL | NULL | NULL | 2025-07-14 00:00:00 | 1 | 2025-07-14 00:04:36.549544 | 322 | 7 | daily | NULL | 00:00:00 | NULL | NULL | NULL | 2025-07-14 00:00:00 | 1 | 2025-07-14 00:04:36.549544 | 323 | 2 | daily | NULL | 00:00:00 | NULL | NULL | NULL | 2025-07-14 00:00:00 | 1 | 2025-07-14 00:04:36.549544 | 324 | 1 | daily | NULL | 00:00:00 | NULL | NULL | NULL | 2025-07-14 00:00:00 | 1 | 2025-07-14 00:04:36.549544 | 325 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme_dhis2_analytics_data_id_seq'::regclass) | 32 | setting_id | int4(32,0) | No | NULL | 32 | dx_id | varchar(255) | No | NULL | 32 | dx_name | varchar(255) | No | NULL | 32 | dx_shortname | varchar(255) | Yes | NULL | 32 | dx_displayname | varchar(255) | Yes | NULL | 32 | dx_dimensiontype | varchar(50) | Yes | NULL | 32 | ou_id | varchar(255) | No | NULL | 32 | ou_name | varchar(255) | No | NULL | 32 | ou_parent_id | varchar(255) | Yes | NULL | 32 | ou_parent_name | varchar(255) | Yes | NULL | 32 | ou_level_id | int4(32,0) | Yes | NULL | 32 | ou_level_name | varchar(50) | Yes | NULL | 32 | period_id | varchar(255) | No | NULL | 32 | period_display_name | varchar(255) | No | NULL | 32 | pe_relativeperiod | varchar(255) | Yes | NULL | 32 | value | numeric(15,4) | Yes | NULL | 32 | stored_by | varchar(255) | Yes | 'system'::character varying | 32 | created | timestamp | Yes | NULL | 32 | last_updated | timestamp | Yes | NULL | 32 | fetched_at | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 32179296 | 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 | 32179297 | 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 | 32179298 | 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 | 32179299 | 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 | 32179300 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme_dhis2_analytics_settings_id_seq'::regclass) | 32 | name | varchar(255) | No | NULL | 32 | dx | text | No | NULL | 32 | ou | text | No | NULL | 32 | pe | text | No | NULL | 32 | display_property | varchar(50) | Yes | 'NAME'::character varying | 32 | include_num_den | bool | Yes | false | 32 | skip_meta | bool | Yes | false | 32 | skip_data | bool | Yes | false | 32 | paging | bool | Yes | false | 32 | page_size | int4(32,0) | Yes | 50 | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| id | name | dx | ou | pe | display_property | include_num_den | skip_meta | skip_data | paging | page_size | created_at | updated_at | 321 | 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 | 328 | 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 | 326 | 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 | 322 | 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 | 3210 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme_dhis2_dataitems_id_seq'::regclass) | 32 | item_id | varchar(255) | No | NULL | 32 | display_name | text | Yes | NULL | 32 | name | text | Yes | NULL | 32 | short_name | text | Yes | NULL | 32 | display_short_name | text | Yes | NULL | 32 | dimension_item_type | varchar(50) | Yes | NULL | 32 | last_updated | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| id | item_id | display_name | name | short_name | display_short_name | dimension_item_type | last_updated | 321 | 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 | 322 | 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 | 323 | 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 | 324 | 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 | 325 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme_dhis2_orgunits_id_seq'::regclass) | 32 | lb_int_id | varchar(255) | Yes | NULL | 32 | lb_int | varchar(255) | Yes | NULL | 32 | cont_id | varchar(255) | Yes | NULL | 32 | continent | varchar(255) | Yes | NULL | 32 | count_id | varchar(255) | Yes | NULL | 32 | country | varchar(255) | Yes | NULL | 32 | hosp_fac_id | varchar(255) | Yes | NULL | 32 | hospital_facility | varchar(255) | Yes | NULL | 32 | level | int4(32,0) | Yes | NULL | 32 | last_updated | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| id | lb_int_id | lb_int | cont_id | continent | count_id | country | hosp_fac_id | hospital_facility | level | last_updated | 3267 | z6VZwVMwK4d | Lifebox International | DEnI1SvTKlU | Asia | PoBfkQWRxfY | India | JZi8XgLlZjg | AIIMS Jodhpur | 4 | 2025-06-21 21:18:11.00583 | 3268 | z6VZwVMwK4d | Lifebox International | DEnI1SvTKlU | Asia | PoBfkQWRxfY | India | TG6a2IdgV3V | AIIMS Rishikesh | 4 | 2025-06-21 21:18:11.00672 | 3269 | z6VZwVMwK4d | Lifebox International | OplNRf8dtgg | Africa | Zz1OfbNGoFR | Ethiopia | uP4KKX5uROS | AaBET | 4 | 2025-06-21 21:18:11.007054 | 3270 | z6VZwVMwK4d | Lifebox International | OplNRf8dtgg | Africa | Zz1OfbNGoFR | Ethiopia | arG4xUPu2C9 | Adare General Hospital | 4 | 2025-06-21 21:18:11.007353 | 3271 | z6VZwVMwK4d | Lifebox International | OplNRf8dtgg | Africa | NULL | NULL | NULL | NULL | 2 | 2025-06-21 21:18:11.007598 |
|---|
Showing 5 sample records.
lifeboxme_noti
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('lifeboxme_noti_id_seq'::regclass) | PRIMARY | 32message | text | Yes | NULL | 32 | user | varchar(255) | Yes | NULL | 32 | provider | varchar(5) | Yes | NULL | 32 | title | varchar(300) | Yes | NULL | 32 | url | text | Yes | NULL | 32 | icon | varchar(300) | Yes | NULL | 32 | created | timestamp | Yes | NULL | 32 | expire | timestamp | Yes | NULL | 32 | type | int4(32,0) | Yes | NULL | 32 | group | varchar(200) | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | message | user | provider | title | url | icon | created | expire | type | group | 321 | {"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 | 322 | {"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 | 323 | {"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 | 324 | {"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 | 325 | {"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
| Column | Type | Nullable | Default | Key | 32ID | int4(32,0) | No | nextval('"lifeboxme_settings_ID_seq"'::regclass) | 32 | TYPE | int4(32,0) | Yes | 1 | 32 | NAME | text | Yes | NULL | 32 | USERNAME | text | Yes | NULL | 32 | COOKIE | varchar | Yes | NULL | 32 | SEARCH | text | Yes | NULL | 32 | TABLENAME | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| ID | TYPE | NAME | USERNAME | COOKIE | SEARCH | TABLENAME | 321 | 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
| Column | Type | Nullable | Default | Key | 32GroupID | int4(32,0) | No | nextval('"lifeboxme_uggroups_GroupID_seq"'::regclass) | 32 | Label | varchar | Yes | NULL | 32 | Provider | varchar | Yes | ''::character varying | 32 | Comment | text | Yes | NULL |
|---|
This table has no foreign key relationships.
| GroupID | Label | Provider | Comment | 321 | M&E | NULL | 322 | Data Entry | NULL | 323 | Data Manager | NULL | 324 | Training | NULL | 325 | Devices | NULL |
|---|
Showing 5 sample records.
lifeboxme_ugmembers
| Column | Type | Nullable | Default | Key | 32UserName | varchar | No | NULL | 32 | GroupID | int4(32,0) | No | NULL | 32 | Provider | varchar | No | ''::character varying |
|---|
This table has no foreign key relationships.
| UserName | GroupID | Provider | 32admin | -1 | 32 | lifebox | -1 | 32 | michaelktd | 1 | 32 | abushk | 3 | 32 | samizk | 3 |
|---|
Showing 5 sample records.
lifeboxme_ugrights
| Column | Type | Nullable | Default | Key | 32TableName | varchar | No | NULL | 32 | GroupID | int4(32,0) | No | NULL | 32 | AccessMask | varchar | Yes | NULL | 32 | Page | text | Yes | NULL |
|---|
This table has no foreign key relationships.
| TableName | GroupID | AccessMask | Page | 32<global> | -1 | ADESPIM | NULL | 32public.antibiotics | -1 | ADESPIM | NULL | 32public.case_antibiotics | -1 | ADESPIM | NULL | 32public.clean_cut_implementations | -1 | ADESPIM | NULL | 32public.countries | -1 | ADESPIM | NULL |
|---|
Showing 5 sample records.
months
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('months_id_seq'::regclass) | 32 | month | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | month | 321 | January | 322 | February | 323 | March | 324 | April | 325 | May |
|---|
Showing 5 sample records.
notification_reads
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('notification_reads_id_seq'::regclass) | 32 | notification_id | int4(32,0) | No | NULL | 32 | user_id | int4(32,0) | No | NULL | 32 | read_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| id | notification_id | user_id | read_at | 324 | 2 | 1 | 2025-08-06 14:22:45.590253+00 | 325 | 3 | 1 | 2025-08-06 14:22:45.591561+00 | 326 | 4 | 1 | 2025-08-06 14:22:45.59314+00 |
|---|
Showing 3 sample records.
participant_role
| Column | Type | Nullable | Default | Key | 32role_id | int4(32,0) | No | nextval('participant_role_role_id_seq'::regclass) | 32 | role_name | varchar(50) | No | NULL | 32 | description | text | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| role_id | role_name | description | is_active | created_at | updated_at | 321 | Surgeon | Medical doctor specialized in surgery | 1 | 2025-05-28 17:26:10.735733+00 | 2025-05-28 17:26:10.735733+00 | 322 | Anesthetist | Medical professional administering anesthesia | 1 | 2025-05-28 17:26:10.735733+00 | 2025-05-28 17:26:10.735733+00 | 323 | Nurse | Healthcare professional providing patient care | 1 | 2025-05-28 17:26:10.735733+00 | 2025-05-28 17:26:10.735733+00 | 324 | Technician | Technical support staff | 1 | 2025-05-28 17:26:10.735733+00 | 2025-05-28 17:26:10.735733+00 | 325 | 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
| Column | Type | Nullable | Default | Key | 32partner_id | int4(32,0) | No | nextval('partners_partner_id_seq'::regclass) | 32 | partner_name | varchar(200) | No | NULL | 32 | description | text | Yes | NULL | 32 | website | varchar(255) | Yes | NULL | 32 | contact_email | varchar(100) | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| partner_id | partner_name | description | website | contact_email | is_active | created_at | updated_at | 321 | CIGH | 1 | 2025-05-27 18:13:25.807423+00 | 2025-05-27 18:13:25.807423+00 | 322 | CRI | 1 | 2025-05-27 18:13:25.810781+00 | 2025-05-27 18:13:25.810781+00 | 323 | Smile Train | 1 | 2025-05-27 18:13:25.811859+00 | 2025-05-27 18:13:25.811859+00 | 324 | 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 | 325 | HPGRB | 1 | 2025-05-27 18:13:25.813702+00 | 2025-05-27 18:13:25.813702+00 |
|---|
Showing 5 sample records.
payment_methods
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('payment_methods_id_seq'::regclass) | 32 | method | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | method | 321 | Bank Transfer | 322 | Cheque |
|---|
Showing 2 sample records.
period_types
| Column | Type | Nullable | Default | Key | 32period_id | int4(32,0) | No | nextval('period_types_period_id_seq'::regclass) | PRIMARY | 32period_name | varchar | No | NULL |
|---|
This table has no foreign key relationships.
| period_id | period_name | 321 | Monthly | 322 | Quarterly | 323 | Yearly | 324 | Daily | 325 | Weekly |
|---|
Showing 5 sample records.
programs
| Column | Type | Nullable | Default | Key | 32program_id | int4(32,0) | No | nextval('programs_program_id_seq'::regclass) | 32 | program_name | varchar(100) | No | NULL | 32 | description | text | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| program_id | program_name | description | is_active | created_at | updated_at | 321 | All Lifebox training | Online Trainings | 1 | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 | 322 | Capnography | 1 | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 | 323 | Clean Cut | 1 | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 | 324 | NLSE | 1 | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 | 325 | Pulse Oximetry | 1 | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 |
|---|
Showing 5 sample records.
quarters
| Column | Type | Nullable | Default | Key | 32quarter_id | int4(32,0) | No | nextval('quarters_quarter_id_seq'::regclass) | 32 | quarter_name | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| quarter_id | quarter_name | 321 | Quarter1 | 322 | Quarter2 | 323 | Quarter3 | 324 | Quarter4 |
|---|
Showing 4 sample records.
quiz_answers
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('quiz_answers_id_seq'::regclass) | 32 | questionid | int4(32,0) | No | NULL | 32 | text | text | No | NULL | 32 | picture | text | Yes | NULL | 32 | correct | bool | Yes | false | 32 | created_at | timestamptz | Yes | now() |
|---|
This table has no foreign key relationships.
| id | questionid | text | picture | correct | created_at | 328 | 3 | Paris | NULL | 1 | 2025-08-27 17:55:10.716718+00 | 329 | 3 | London | NULL | 2025-08-27 17:55:10.716718+00 | 3210 | 3 | Berlin | NULL | 2025-08-27 17:55:10.716718+00 | 324 | 2 | 2 | NULL | 1 | 2025-08-27 17:55:10.716718+00 | 325 | 2 | 3 | NULL | 1 | 2025-08-27 17:55:10.716718+00 |
|---|
Showing 5 sample records.
quiz_questions
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('quiz_questions_id_seq'::regclass) | 32 | question | text | No | NULL | 32 | qtype | int4(32,0) | No | NULL | 32 | videolink | text | Yes | NULL | 32 | created_at | timestamptz | Yes | now() |
|---|
This table has no foreign key relationships.
No sample data available for this table.
sex
| Column | Type | Nullable | Default | Key | 32sex_id | int4(32,0) | No | nextval('sex_sex_id_seq'::regclass) | 32 | sex_name | varchar(20) | No | NULL | 32 | description | text | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| sex_id | sex_name | description | is_active | created_at | updated_at | 321 | Male | Male biological sex | 1 | 2025-05-28 17:26:10.735733+00 | 2025-05-28 17:26:10.735733+00 | 322 | Female | Female biological sex | 1 | 2025-05-28 17:26:10.735733+00 | 2025-05-28 17:26:10.735733+00 | 323 | Other | Other or unspecified biological sex | 1 | 2025-05-28 17:26:10.735733+00 | 2025-05-28 17:26:10.735733+00 | 324 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('smtp_id_seq'::regclass) | PRIMARY | 32username | varchar(255) | No | NULL | 32 | host | varchar(255) | No | NULL | 32 | port | int4(32,0) | No | NULL | 32 | password | varchar(255) | No | NULL | 32 | smtpfrom | varchar(255) | No | NULL | 32 | secure | varchar(50) | Yes | NULL | 32 | created_at | timestamp | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamp | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| id | username | host | port | password | smtpfrom | secure | created_at | updated_at | 321 | 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 | 322 | 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
| Column | Type | Nullable | Default | Key | 32procedure_id | int4(32,0) | No | nextval('procedures_procedure_id_seq'::regclass) | PRIMARY | 32procedure_name | varchar(200) | No | NULL | UNIQUE | 32procedure_category | varchar(100) | Yes | NULL | 32 | description | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
No sample data available for this table.
surgical_cases
| Column | Type | Nullable | Default | Key | 32case_id | uuid | No | uuid_generate_v4() | PRIMARY | 32facility_id | int4(32,0) | Yes | NULL | FOREIGN | 32country_id | int4(32,0) | Yes | NULL | FOREIGN | 32surgery_date | date | Yes | NULL | 32 | data_type | varchar(50) | No | NULL | 32 | data_collector_name | varchar(200) | Yes | NULL | 32 | location_of_surgery | varchar(100) | Yes | NULL | 32 | patient_sex | sex_enum | Yes | NULL | 32 | patient_asa_classification | asa_classification_enum | Yes | NULL | 32 | patient_dob | date | Yes | NULL | 32 | patient_age | int4(32,0) | Yes | NULL | 32 | diabetes | bool | Yes | NULL | 32 | hypertension | bool | Yes | NULL | 32 | obese | bool | Yes | NULL | 32 | malnourished | bool | Yes | NULL | 32 | smoker | bool | Yes | NULL | 32 | on_steroids | bool | Yes | NULL | 32 | admitted_to_icu | bool | Yes | NULL | 32 | hypothermic | bool | Yes | NULL | 32 | preoperative_diagnosis_id | int4(32,0) | Yes | NULL | FOREIGN | 32hours_since_injury | int4(32,0) | Yes | NULL | 32 | sterilizable_drill_used | bool | Yes | NULL | 32 | drill_sterile_cover_used | bool | Yes | NULL | 32 | holes_in_sterile_cover | bool | Yes | NULL | 32 | sign_in_read_aloud | bool | Yes | NULL | 32 | sign_in_completed_before_anesthesia | bool | Yes | NULL | 32 | sterility_indicator_in_tray | bool | Yes | NULL | 32 | sterility_indicator_color_changed | bool | Yes | NULL | 32 | tray_wet_prior_to_operation | bool | Yes | NULL | 32 | tray_replaced | bool | Yes | NULL | 32 | gauze_count_performed | bool | Yes | NULL | 32 | gauze_count_total | int4(32,0) | Yes | NULL | 32 | surgeon_scrubbed_hands | bool | Yes | NULL | 32 | handwashing_available | varchar(200) | Yes | NULL | 32 | alcohol_solution_applied | bool | Yes | NULL | 32 | new_surgical_gloves_used | bool | Yes | NULL | 32 | gown_sterility_indicator | bool | Yes | NULL | 32 | gown_indicator_color_changed | bool | Yes | NULL | 32 | gown_pack_replaced | bool | Yes | NULL | 32 | gowns_or_drapes_wet | bool | Yes | NULL | 32 | wet_gowns_replaced | bool | Yes | NULL | 32 | holes_in_gowns | bool | Yes | NULL | 32 | torn_gowns_replaced | bool | Yes | NULL | 32 | holes_in_drapes | bool | Yes | NULL | 32 | drapes_replaced | bool | Yes | NULL | 32 | surgical_site_prep_method | varchar(200) | Yes | NULL | 32 | vaginal_preparation | varchar(200) | Yes | NULL | 32 | antibiotics_given | bool | Yes | NULL | 32 | antibiotics_admin_location | varchar(100) | Yes | NULL | 32 | antibiotics_time | time | Yes | NULL | 32 | on_scheduled_antibiotics | bool | Yes | NULL | 32 | antibiotic_type | varchar(200) | Yes | NULL | 32 | timeout_read_aloud | bool | Yes | NULL | 32 | operation_type_announced | bool | Yes | NULL | 32 | blood_loss_announced | bool | Yes | NULL | 32 | estimated_blood_loss | int4(32,0) | Yes | NULL | 32 | time_of_incision | time | Yes | NULL | 32 | gauze_count_end_performed | bool | Yes | NULL | 32 | gauze_count_end_total | int4(32,0) | Yes | NULL | 32 | time_dressing_applied | time | Yes | NULL | 32 | procedure_id | int4(32,0) | Yes | NULL | FOREIGN | 32hardware_or_bioprosthetic_used | bool | Yes | NULL | 32 | cesarean_indication | varchar(200) | Yes | NULL | 32 | wound_closed_primarily | bool | Yes | NULL | 32 | wound_classification | wound_classification_enum | Yes | NULL | 32 | case_type | case_type_enum | Yes | NULL | 32 | sign_out_read_aloud | bool | Yes | NULL | 32 | sign_out_in_theatre | bool | Yes | NULL | 32 | unplanned_intubation | bool | Yes | NULL | 32 | urgent_tracheostomy | bool | Yes | NULL | 32 | urgent_central_access | bool | Yes | NULL | 32 | other_crisis_occurred | bool | Yes | NULL | 32 | crisis_description | text | Yes | NULL | 32 | death_in_or | bool | Yes | NULL | 32 | fetal_death | bool | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32country_id | countries (country_id) | Many surgical_cases belong to one countries | 32facility_id | facilities (facility_id) | Many surgical_cases belong to one facilities | 32preoperative_diagnosis_id | diagnoses (diagnosis_id) | Many surgical_cases belong to one diagnoses | 32procedure_id | procedures (procedure_id) | Many surgical_cases belong to one procedures |
|---|
No sample data available for this table.
system_notifications
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('system_notifications_id_seq'::regclass) | 32 | title | varchar(255) | No | NULL | 32 | content | text | No | NULL | 32 | notification_type | varchar(20) | No | NULL | 32 | is_active | bool | Yes | true | 32 | start_date | timestamptz | Yes | NULL | 32 | end_date | timestamptz | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | created_by | varchar(250) | Yes | NULL | 32 | priority | int4(32,0) | Yes | 0 | 32 | action_url | varchar(255) | Yes | NULL | 32 | action_text | varchar(100) | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | title | content | notification_type | is_active | start_date | end_date | created_at | updated_at | created_by | priority | action_url | action_text | 321 | 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 | 322 | 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 | 323 | 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 | 324 | 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 | 325 | Welcome | <p><b>Welcome to <u><i>Lifebox</i></u> M&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
| Column | Type | Nullable | Default | Key | 32trainer_id | int4(32,0) | No | nextval('trainers_trainer_id_seq'::regclass) | 32 | first_name | varchar(100) | No | NULL | 32 | last_name | varchar(100) | No | NULL | 32 | varchar(100) | Yes | NULL | 32 | organization | varchar(200) | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| trainer_id | first_name | last_name | organization | is_active | created_at | updated_at | 321 | Maia | 1 | 2025-05-26 21:00:00+00 | 2025-05-26 21:00:00+00 | 322 | Alype | 1 | 2025-05-27 17:24:21.322897+00 | 2025-05-27 17:24:21.322897+00 | 323 | Roda | 1 | 2025-05-27 17:24:21.325673+00 | 2025-05-27 17:24:21.325673+00 | 324 | Assefa | 1 | 2025-05-27 17:24:21.326516+00 | 2025-05-27 17:24:21.326516+00 | 325 | Mathias | 1 | 2025-05-27 17:24:21.327262+00 | 2025-05-27 17:24:21.327262+00 |
|---|
Showing 5 sample records.
ward_rounds
| Column | Type | Nullable | Default | Key | 32ward_round_id | int4(32,0) | No | nextval('ward_rounds_ward_round_id_seq'::regclass) | PRIMARY | 32case_id | uuid | Yes | NULL | 32 | facility_id | int4(32,0) | Yes | NULL | FOREIGN | 32admission_date | date | Yes | NULL | 32 | rounding_date | date | Yes | NULL | 32 | data_collector_name | varchar(200) | Yes | NULL | 32 | ward_name | varchar(100) | Yes | NULL | 32 | ward_transfer | bool | Yes | NULL | 32 | postop_day | int4(32,0) | Yes | NULL | 32 | dressing_not_removed | bool | Yes | NULL | 32 | wound_clean_and_healthy | bool | Yes | NULL | 32 | stitches_removed_or_wound_opened | bool | Yes | NULL | 32 | wound_opened_spontaneously | bool | Yes | NULL | 32 | pus_draining | bool | Yes | NULL | 32 | abscess_present | bool | Yes | NULL | 32 | redness_around_wound | bool | Yes | NULL | 32 | bleeding | bool | Yes | NULL | 32 | new_dressing | bool | Yes | NULL | 32 | new_dressing_type | varchar(100) | Yes | NULL | 32 | fever | bool | Yes | NULL | 32 | on_antibiotics | bool | Yes | NULL | 32 | antibiotics_prescribed | bool | Yes | NULL | 32 | ssi_diagnosed_on_reoperation | bool | Yes | NULL | 32 | returned_to_or | bool | Yes | NULL | 32 | return_or_procedure | varchar(200) | Yes | NULL | 32 | disposition | disposition_enum | Yes | NULL | 32 | planned_reoperation | bool | Yes | NULL | 32 | other_complications | bool | Yes | NULL | 32 | endometritis | bool | Yes | NULL | 32 | urinary_tract_infection | bool | Yes | NULL | 32 | pneumonia | bool | Yes | NULL | 32 | other_complication_description | text | Yes | NULL | 32 | eschar | bool | Yes | NULL | 32 | discharged_today | bool | Yes | NULL | 32 | discharge_date | date | Yes | NULL | 32 | death_in_ward | bool | Yes | NULL | 32 | neonatal_death | bool | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32facility_id | facilities (facility_id) | Many ward_rounds belong to one facilities |
|---|
No sample data available for this table.
training_approaches
| Column | Type | Nullable | Default | Key | 32approach_id | int4(32,0) | No | nextval('training_approaches_approach_id_seq'::regclass) | 32 | approach_name | varchar(100) | No | NULL | 32 | description | text | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| approach_id | approach_name | description | is_active | created_at | updated_at | 321 | Face to Face | NULL | 1 | 2025-05-26 19:18:12.959833+00 | 2025-05-26 19:18:12.959833+00 | 322 | Blended | NULL | 1 | 2025-05-26 19:18:12.959833+00 | 2025-05-26 19:18:12.959833+00 | 323 | 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
| Column | Type | Nullable | Default | Key | 32course_id | int4(32,0) | No | nextval('training_courses_course_id_seq'::regclass) | 32 | course_name | varchar(200) | No | NULL | 32 | description | text | Yes | NULL | 32 | duration_hours | int4(32,0) | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| course_id | course_name | description | duration_hours | is_active | created_at | updated_at | 321 | Action plan meeting | NULL | 1 | 2025-05-25 21:00:00+00 | 2025-05-26 21:00:00+00 | 322 | Antibiotics timeout | NULL | 1 | 2025-05-26 21:00:00+00 | NULL | 323 | Capnography | NULL | 1 | 2025-05-26 21:00:00+00 | NULL | 324 | CC Introduction | NULL | 1 | 2025-05-26 21:00:00+00 | 2025-05-26 21:00:00+00 | 325 | Data collection tools including DHIS2 | NULL | 1 | 2025-05-26 21:00:00+00 | NULL |
|---|
Showing 5 sample records.
training_languages
| Column | Type | Nullable | Default | Key | 32training_language_id | int4(32,0) | No | nextval('training_languages_training_language_id_seq'::regclass) | 32 | training_id | int4(32,0) | Yes | NULL | 32 | language_id | int4(32,0) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| training_language_id | training_id | language_id | created_at | 321 | 2 | 34 | 2025-05-26 21:00:00+00 | 322 | 3 | 34 | 2025-05-26 21:00:00+00 | 323 | 4 | 34 | 2025-05-26 21:00:00+00 | 324 | 5 | 34 | 2025-05-26 21:00:00+00 | 325 | 6 | 34 | 2025-05-28 21:00:00+00 |
|---|
Showing 5 sample records.
training_leads
| Column | Type | Nullable | Default | Key | 32training_lead_id | int4(32,0) | No | nextval('training_leads_training_lead_id_seq'::regclass) | 32 | training_id | int4(32,0) | Yes | NULL | 32 | staff_id | int4(32,0) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| training_lead_id | training_id | staff_id | created_at | 322 | 2 | 1 | 2025-05-26 21:00:00+00 | 323 | 3 | 1 | 2025-05-26 21:00:00+00 | 324 | 4 | 2 | 2025-05-26 21:00:00+00 | 325 | 5 | 2 | 2025-05-26 21:00:00+00 | 326 | 6 | 5 | 2025-05-28 21:00:00+00 |
|---|
Showing 5 sample records.
training_partners
| Column | Type | Nullable | Default | Key | 32training_partner_id | int4(32,0) | No | nextval('training_partners_training_partner_id_seq'::regclass) | 32 | training_id | int4(32,0) | Yes | NULL | 32 | partner_id | int4(32,0) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| training_partner_id | training_id | partner_id | created_at | 321 | 2 | 1 | 2025-05-26 21:00:00+00 | 322 | 3 | 1 | 2025-05-26 21:00:00+00 | 323 | 4 | 1 | 2025-05-26 21:00:00+00 | 324 | 5 | 2 | 2025-05-26 21:00:00+00 | 325 | 6 | 3 | 2025-05-28 21:00:00+00 |
|---|
Showing 5 sample records.
training_trainers
| Column | Type | Nullable | Default | Key | 32training_trainer_id | int4(32,0) | No | nextval('training_trainers_training_trainer_id_seq'::regclass) | 32 | training_id | int4(32,0) | Yes | NULL | 32 | trainer_id | int4(32,0) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| training_trainer_id | training_id | trainer_id | created_at | 321 | 2 | 1 | 2025-05-26 21:00:00+00 | 322 | 3 | 1 | 2025-05-26 21:00:00+00 | 323 | 2 | 2 | 2025-05-26 21:00:00+00 | 324 | 3 | 2 | 2025-05-26 21:00:00+00 | 325 | 2 | 3 | 2025-05-26 21:00:00+00 |
|---|
Showing 5 sample records.
training_types
| Column | Type | Nullable | Default | Key | 32training_type_id | int4(32,0) | No | nextval('training_types_training_type_id_seq'::regclass) | 32 | type_name | varchar(100) | No | NULL | 32 | description | text | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| training_type_id | type_name | description | is_active | created_at | updated_at | 323 | Refresher | 1 | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 | 322 | Basic | 1 | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 | 321 | TOT | 1 | 2025-05-25 21:00:00+00 | 2025-05-25 21:00:00+00 |
|---|
Showing 3 sample records.
transaction_types
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('transaction_types_id_seq'::regclass) | 32 | transaction_name | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | transaction_name | 321 | Purchase | 322 | Donation |
|---|
Showing 2 sample records.
unit_of_measurement
| Column | Type | Nullable | Default | Key | 32uom_id | int4(32,0) | No | nextval('unit_of_measurement_uom_id_seq'::regclass) | PRIMARY | 32uom_name | varchar | No | NULL |
|---|
This table has no foreign key relationships.
| uom_id | uom_name | 323 | INTEGER | 324 | BOOLEAN | 325 | TEXT | 326 | DATE | 321 | NUMBER |
|---|
Showing 5 sample records.
users
| Column | Type | Nullable | Default | Key | 32ID | int4(32,0) | No | nextval('"users_ID_seq"'::regclass) | 32 | username | varchar | Yes | NULL | 32 | password | varchar | Yes | NULL | 32 | varchar | Yes | NULL | 32 | fullname | varchar | Yes | NULL | 32 | groupid | varchar | Yes | NULL | 32 | active | int4(32,0) | Yes | NULL | 32 | ext_security_id | varchar | Yes | NULL | 32 | userpic | bytea | Yes | NULL | 32 | reset_token | text | Yes | NULL | 32 | reset_date | timestamp | Yes | NULL | 32 | first_name | varchar | Yes | NULL | 32 | middle_name | varchar | Yes | NULL | 32 | last_name | varchar | Yes | NULL | 32 | sex | varchar | Yes | NULL | 32 | designation_role | varchar | Yes | NULL | 32 | region | varchar | Yes | NULL | 32 | country | varchar | Yes | NULL | 32 | phone | varchar | Yes | NULL | 32 | prefix_title | varchar | Yes | NULL | 32 | api_key | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| ID | username | password | 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 | 321 | 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. | 322 | 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 | 326 | 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 | 323 | 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 | 327 | 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
| Column | Type | Nullable | Default | Key | 32venue_id | int4(32,0) | No | nextval('venues_venue_id_seq'::regclass) | 32 | venue_name | varchar(200) | No | NULL | 32 | facility_id | int4(32,0) | Yes | NULL | 32 | address_line1 | varchar(200) | Yes | NULL | 32 | address_line2 | varchar(200) | Yes | NULL | 32 | city | varchar(100) | Yes | NULL | 32 | state_province | varchar(100) | Yes | NULL | 32 | postal_code | varchar(20) | Yes | NULL | 32 | country_id | int4(32,0) | Yes | NULL | 32 | capacity | int4(32,0) | Yes | NULL | 32 | room_type | varchar(100) | Yes | NULL | 32 | amenities | text | Yes | NULL | 32 | is_active | bool | Yes | true | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
| 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 | 321 | SEL NIBASH | NULL | SEL NIBASH, 30 Green Road, Dhanmondi, Dhaka | Dhaka | Dhaka | 9 | NULL | 1 | 2025-05-27 21:00:00+00 | NULL | 322 | Kabgayi L2TH | 4 | 2 | NULL | 2025-08-13 00:00:00+00 | NULL |
|---|
Showing 2 sample records.
ward_antibiotics
| Column | Type | Nullable | Default | Key | 32ward_antibiotic_id | int4(32,0) | No | nextval('ward_antibiotics_ward_antibiotic_id_seq'::regclass) | 32 | ward_round_id | int4(32,0) | Yes | NULL | 32 | antibiotic_id | int4(32,0) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
This table has no foreign key relationships.
No sample data available for this table.
webreport_admin
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('webreport_admin_id_seq'::regclass) | 32 | tablename | varchar | Yes | NULL | 32 | db_type | varchar | Yes | NULL | 32 | group_name | varchar | Yes | NULL |
|---|
This table has no foreign key relationships.
| id | tablename | db_type | group_name | 321 | public.antibiotics | db | 32 | 2 | public.case_antibiotics | db | 32 | 3 | public.clean_cut_implementation_summary_view | db | 32 | 4 | public.clean_cut_implementations | db | 32 | 5 | public.countries | db |
|---|
Showing 5 sample records.
webreport_sql
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('webreport_sql_id_seq'::regclass) | 32 | sqlname | varchar | Yes | NULL | 32 | sqlcontent | text | Yes | NULL |
|---|
This table has no foreign key relationships.
No sample data available for this table.
webreport_style
| Column | Type | Nullable | Default | Key | 32report_style_id | int4(32,0) | No | nextval('webreport_style_report_style_id_seq'::regclass) | 32 | type | varchar | No | NULL | 32 | field | int4(32,0) | No | NULL | 32 | group | int4(32,0) | No | NULL | 32 | style_str | text | No | NULL | 32 | uniq | int4(32,0) | Yes | NULL | 32 | repname | varchar | No | NULL | 32 | styletype | varchar | No | NULL |
|---|
This table has no foreign key relationships.
No sample data available for this table.
webreports
| Column | Type | Nullable | Default | Key | 32rpt_id | int4(32,0) | No | nextval('webreports_rpt_id_seq'::regclass) | 32 | rpt_name | varchar | No | NULL | 32 | rpt_title | varchar | Yes | NULL | 32 | rpt_cdate | timestamp | No | NULL | 32 | rpt_mdate | timestamp | Yes | NULL | 32 | rpt_content | text | No | NULL | 32 | rpt_owner | varchar | No | NULL | 32 | rpt_status | varchar | No | 'public'::character varying | 32 | rpt_type | varchar | No | NULL |
|---|
This table has no foreign key relationships.
| rpt_id | rpt_name | rpt_title | rpt_cdate | rpt_mdate | rpt_content | rpt_owner | rpt_status | rpt_type | 321 | 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 | 322 | 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
| Column | Type | Nullable | Default | Key | 32id | int4(32,0) | No | nextval('years_id_seq'::regclass) | 32 | year | int4(32,0) | No | NULL | 32 | is_active | bool | Yes | false |
|---|
This table has no foreign key relationships.
| id | year | is_active | 321 | 2014 | 32 | 2 | 2015 | 32 | 3 | 2016 | 32 | 4 | 2017 | 32 | 5 | 2018 |
|---|
Showing 5 sample records.
lbapt_izumi
| Column | Type | Nullable | Default | Key | 32izumi_id | int4(32,0) | No | nextval('lbapt_izumi_izumi_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | FOREIGN | 32key_objective | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | means_of_verification | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | FOREIGN | 32planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32status_id | lbapt_status (status_id) | Many lbapt_izumi belong to one lbapt_status | 32strategic_area_id | lbapt_strategic_areas (strategic_area_id) | Many lbapt_izumi belong to one lbapt_strategic_areas |
|---|
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32whi_id | int4(32,0) | No | nextval('lbapt_whi_whi_id_seq'::regclass) | 32 | strategic_area_id | int4(32,0) | Yes | NULL | FOREIGN | 32key_objective | text | Yes | NULL | 32 | kpi | text | Yes | NULL | 32 | means_of_verification | text | Yes | NULL | 32 | status_id | int4(32,0) | Yes | NULL | FOREIGN | 32planned_timeframe_q1 | bool | Yes | false | 32 | planned_timeframe_q2 | bool | Yes | false | 32 | planned_timeframe_q3 | bool | Yes | false | 32 | planned_timeframe_q4 | bool | Yes | false | 32 | achievement_q1 | bool | Yes | false | 32 | achievement_q2 | bool | Yes | false | 32 | achievement_q3 | bool | Yes | false | 32 | achievement_q4 | bool | Yes | false | 32 | notes | text | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32status_id | lbapt_status (status_id) | Many lbapt_whi belong to one lbapt_status | 32strategic_area_id | lbapt_strategic_areas (strategic_area_id) | Many lbapt_whi belong to one lbapt_strategic_areas |
|---|
| 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 | 321 | 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
| Column | Type | Nullable | Default | Key | 32country_id | int4(32,0) | No | nextval('countries_country_id_seq'::regclass) | PRIMARY | 32country_name | varchar(100) | No | NULL | UNIQUE | 32region_id | int4(32,0) | Yes | NULL | FOREIGN | 32iso_code | varchar(3) | Yes | NULL | 32 | created_at | timestamptz | Yes | CURRENT_TIMESTAMP | 32 | updated_at | timestamptz | Yes | CURRENT_TIMESTAMP |
|---|
| Column | References | Relationship | 32region_id | regions (region_id) | Many countries belong to one regions |
|---|
| country_id | country_name | region_id | iso_code | created_at | updated_at | 321 | Ethiopia | 1 | ETH | 2025-05-25 21:00:00+00 | NULL | 322 | Rwanda | 1 | RWA | 2025-05-25 21:00:00+00 | NULL | 324 | Zambia | 1 | ZMB | 2025-05-25 21:00:00+00 | NULL | 325 | Benin | 2 | BEN | 2025-05-25 21:00:00+00 | NULL | 326 | 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