Přeskočit obsah
For the complete DHIS2 documentation index, see llms.txt.

TB Case Surveillance - System Design Document

Introduction

The TB Case Surveillance Tracker (TB-CS) for DHIS2 is based on the WHO Consolidated guidance on tuberculosis data generation and use from 2024. It provides a set of recommended metadata (data elements, program rules, etc) to enable electronic capture of individual case-based TB surveillance data. The tracker metadata is configured to ensure that aggregated standard reports for notifications, outcomes and laboratory can be automatically generated from the captured individual data. The TB Case Surveillance Tracker is not intended to support patient management or patient care. This requires more detailed analysis of roles, responsibilities, workflows and decision-making within the settings in which such systems would be implemented.

The system design document explains how the tracker program was configured to meet the data entry and analysis requirements and support a typical workflow. The document does not include an exhaustive listing of all metadata captured. This document also does not consider the resources and infrastructure needed to implement such a system, such as servers, power, internet connections, backups, training and user support.

System Design Overview

Background

Reliable epidemiological data is required for staff at all levels of a national TB programme to plan and provide effective tuberculosis care and control services, as well as monitor the performance of programmatic actions. A case-based surveillance system has clear advantages over an aggregate data collection system. Like an aggregate surveillance system a minimum set of epidemiological indicators can be captured, validated, aggregated, calculated and displayed but these can be disaggregated by any combination of time, location/area, age, sex, case type, previous treatment history, HIV status, drug resistance status and treatment regimens. This helps us to understand TB epidemiology in depth and monitor changes over time. It is expected that case-based electronic data will result in improved data quality because the number of data entry steps are reduced, automatic calculations and validations can be built into the system, inconsistent, erroneous or incomplete data can be corrected or completed rapidly for an individual record and de-duplication can be carried out to remove duplicate records. A case-based surveillance system should also allow the linking of surveillance records to the same case even if a TB case is transferred or referred between facilities during the course of treatment. See principle 2.4, page 16, of Policy on the Protection of Personal Data of Persons of Concern to UNHCR.

Use Case

The TB Case Surveillance Tracker enables registration and longitudinal tracking of TB cases from the point of notification to final case outcome, inclusive of laboratory results. The program captures a minimum set of data points required for epidemiological analysis of case surveillance data as described in the background section. These include baseline and demographic information about the case, risk factors, laboratory results for diagnosis and routine check-ups, drug resistance type classification, treatment regimens provided, and case outcome. This tracker program is not designed to support clinical management nor patient care. Rather, the program serves as an electronic registry that supports decentralized electronic data capture of case surveillance data down to health facility and laboratory levels.

Program Structure

NOTE

Please note that the updated version of the TB Case Surveillance tracker package is not compatible with the previous versions of the package. For new implementations, it can be easily configued in a designated DHIS2 instance. For existing implementations, it can be imported into a DHIS2 instance with an existing TB Case Surveillance module. The implementation of the newest version of the tracker requires a thourough transition plan from the old to the new data collection forms. As the structure of the tracker program and the dataflow have changed in the newest version of the tracker, it is recommended to set up to transition to a new data collection forms from a specific point in time rather than mapping existing historical data to the newest data model.

The TB-CS tracker program has been designed to reflect a more generic workflow able to integrate data entry both from the health facility side (e.g. clinicians and nurses), and the laboratory side. Workflows in countries may vary and the case surveillance program should be adapted as needed to local context.

IMPORTANT

Please note that given the generic design of the tracker, this system design guide contains useful information, considerations, and justifications that can be of great importance for the implementation. The document should therefore be thoroughly revised both by the requesting and implementing parties.

Theoretical workflow

Following this initial workflow, the program has been structured as follows:

Data flow within the tracker stages

Rationale for Program Structure

The design of the tracker allows diagnostic and monitoring test data be collected from the laboratory side. The metadata allows to discern between diagnostic and monitoring tests, and sets a baseline upon which implementers and countries could build their own workflows. Depending on the local needs, the “Diagnostic laboratory results” and the “Diagnosis and notification” stages could have different orders; depending on the local resources and connectivity, the data entry could be centralized or decentralized between the laboratory and the health facility; depending on the local data flow, the data could be entered live or retrospectively.

In particular, there could theoretically be three general scenarios that could change the flow and the order of the stages:

1) The laboratory staff receives testing requests and the “Diagnostic Laboratory Results” is the very first step in the journey of the suspected case upon their enrollment. This scenario represents the theoretical work flow and should be the target to which countries should aim in the long-term investment in the digitalization of routine health data.

  • In this case the “Enrollment” and “ Diagnostic Laboratory Results” stages are completed directly by the laboratory staff. The “Diagnosis and notification” stage can then occur in parallel or after the registration of the laboratory results. At this point the case can either become an official TB case, in which case they will have to receive a TB registration number in their enrollment stage, or they will receive negative laboratory results and be denotified.

2) The suspected case gets enrolled and registered from the clinical side of the workflow before the samples are sent to the laboratory.

  • In this case the “Enrollment” and the “Diagnosis and notification” stages are completed first.
  • The “Diagnostic Laboratory Results” gets completed by the laboratory staff.
  • The clinicians will complete the “Diagnosis and notification“ stage confirming or not their diagnosis and notifying the case if necessary. If the latter happens, the clinician will have to reopen the “Enrollment” and assign a TB registration number to the now-confirmed case.

Please note that scenarios 1 and 2 are based on the assumption that the laboratory staff has the capacity to enter the data in the system locally and directly in their own facility.

Should this capacity be inadequate for the local context, then scenario number 3 would occur:

3) The data entry is centralized and there is no differentiation between laboratory and clinical staff - the data entry relies on one (or multiple) data encoder. In this case the stages should be arranged in order to match the local flow of information and data.

Independently from the best fitting scenario for a defined local context,the adaptation of the tracker workflow and its stages should also take in consideration whether the data entry will occur in real time or if it will rely on batch retrospective data entry.

Intended Users

This document is intended for audiences responsible for implementing TB data systems and/or HMIS in countries, including:

  • System admins/HMIS focal points: those responsible for installing metadata packages, designing and maintaining HMIS and/or TB data systems
  • TB program focal points responsible for overseeing data collection, management, analysis and reporting functions of the national TB programme
  • Implementation support specialists, e.g. those providing technical assistance to the TB programme or the core HMIS unit to support & maintain DHIS2 as a national health information system and/or TB data system

Tracker Program Configuration

Overview of stages and sections

Structure Description
Enrollment The stage collects the basic TEI attributes. Please note that some of the attributes show the “GEN - “ prefix. To know more about the Common Metadata Library, please refer to the link provided.
The stage is non-repeatable.
Diagnostic Laboratory Results In order to display the whole list of tests available for diagnostic purposes, the user should report first the “Sample information” section.
The stage is repeatable. The repeatability was set to allow countries to implement the tracker as per the local workflows and preferences - depending on whether there is the need to track ALL the samples (good and bad quality) or just the “good” samples, the stage can be repeated accordingly.
Diagnosis and notification The stage collects the baseline information, the risk factors, the potential HIV (co-)infection, and the diagnostic decision. The decision-maker will either diagnose a suspected case with TB and notify them, or will confirm the absence of infection. Additionally, it is recorded whether the case started on treatment. SMS templates for notifying the cases or confirming the absence of infection are included in the metadata package.
The stage is non-repeatable.
Treatment The stage collects the information necessary for the overview of the patient’s regimen and status during their course of treatment as well as the outcome of the treatment episode.
The stage is repeatable
Monitoring Laboratory Results In order to display the available tests for monitoring purposes (sputum microcopy and culture tests), the user should report first the “Sample information” section. The stage only displays the tests used for monitoring confirmed cases rather than all the tests that can be requested for the follow-up of the patient. The stage will display just the sputum microscopy for cases on fist-line treatment regimen, while will add the culture to teh microscopy for DRTB patients.
The stage is repeatable.

Stage Details

Enrollment

When a client is enrolled in the TB case surveillance as a tracked entity instance (TEI), TEI attributes are recorded to form the case profile.

Enrollment stage

The enrollment date has been set up as a placeholder allowing the users to utilize it according to the needs of implementation. It can be used as date of registration in DHIS2 or as date of first consultation, visit or investigation. When enrolling confirmed TB cases only, it is possible to keep using enrollment date as date of diagnosis. In this case, the Laboratory tracker should be isolated from the TB case surveillance module and set up as a separate program.

Note that the TB registration number has been left empty. If the data entry is occurring in real time, at this stage the clinician/data entry operator cannot know whether the suspected case is confirmed or not. The users will have to reopen the enrollment and assign to the confirmed patient a registration number after having received the diagnostic laboratory results.

If the data entry is retrospective and done in batch, the data encoder will already know whether the patient has been confirmed or not, and will be able to already assign a registration number accordingly. For this reason the TB registration number has not been set as a compulsory attribute.

Upon the completion of the enrollment, the landing page for the next stages appears blank. This has been set for countries to be able to implement the tracker according to their own work flows as described in the “Rationale for Program Structure” chapter of this guide. The next stages can therefore be the “Diagnostic Laboratory Results” or the “Diagnosis and notification” stages, either in this order, or in the opposite order.

Diagnostic Laboratory Results

Diagnostic test stage

The full list of diagnostic tests will automatically appear only if the sample is flagged as received and if the quality is good. The stage includes the following tests:

  • Sputum smear microscopy;
  • TB-LAMP;
  • LF-LAM;
  • Xpert MTB/RIF;
  • Xpert MTB/RIF Ultra;
  • Truenat;
  • Culture;
  • Phenotypic DST;
  • First-line LPA;
  • Second-line LPA

As an example of the data entry for two of the tests:

Smear microscopy

Xpert MTB/RIF

Date of test results (including inoculation date for culture tests) has to be provided for each test. The purpose of this is to:

  • assign the test event to the right period of time in analytics;
  • help monitoring the delay between reception and result dates.

The suggested design of the diagnostic laboratory stage is to enter final valid test results only.

Examples:

  • 1 sample - 1 microscopy test: Record test results for the applicable test in the data entry form.

  • 1 sample - 1 microscopy and 1 Xpert MTB/RIF test: Record microscopy and Xpert MTB/RIF results in the data entry form.

  • 1 sample - 2 repeated microscopy tests, where test 1 is invalid and test 2 is valid: Record results of test 2 (valid test result) in the data entry form.

This recommendation minimizes the data entry workload, and aligns with the basic requirement of not using tracker as a lab management tool.

If locally there is a need to monitor the workload of the lab outside the local lab management system, it is possible to add a data element in each test section and record the number of tests that had to be run before receiving a final result. If the local needs request a more detailed collection of samples tested independent of the results, the tracker could be uptaken to record multiple tests per sample and per case.

Implementers should therefore investigate the analytic needs of the implementing country and adjust the indicators related to the number of tests and results accordingly.

Diagnosis and Notification

According to current tracker design, the Diagnosis and Notification event may be created before or after the Diagnostic laboratory Results event.

The Diagnosis and Notification event date is a placeholder that can be utilized according to the implementation needs. It can be used as the date of initial visit, consultation or sample collection.

IMPORTANT

If data entry is happening based on paper forms or data import, and the event date is used as date of data entry in DHIS2, there is a chance that the registration event will appear after other events in the timeline, which may be misleading for users.

The registration stage provides an overview of the baseline information, the eventual risk factors, whether the suspected case is HIV(+), and, most importantly, the section on diagnostic decisions.

Baseline info

Risk factors and HIV status

In case of confirmed seropositivity of the patient the system will prompt an expansion of the HIV information and will request the date of the last test and whether the patient is enrolled in an ART cohort. If the latest HIV test date is older than 6 months from the date of diagnosis, a warning message will prompt the clinician to schedule another HIV test for the patient.

At this point, if the laboratory results are available, the clinician/data entry clerk should be able to report the diagnostic decision.

Bacteriologically confirmed diagnosis

Once the case is notified, the user needs to fill in the fields in the Diagnostic decision section.

If positive laboratory test results are available and entered in the “Diagnostic Laboratory Results” stage, bacteriological confirmation will be assigned automatically. If the local guidelines require the clinician to enter this information manually, the PRs linked to the confirmation method can be removed.

A notification is sent to the patient if the “Notify the case?” checkbox is clicked, the diagnosis, date of diagnosis, the notification date and the patient’s telephone number are recorded in the system.

If the test results are negative but the case is diagnosed clinically, the patient can be notified as “clinically diagnosed”.

Clinically confirrmed confirmed diagnosis

If the laboratory results are negative and no notification is necessary, the user should tick “NO” in the “Do you want to notify the case?”. This was the case is excluded from analysis of TB cases. An SMS is sent to the patient if the patient is not diagnosed

Whether the diagnosis is positive (laboratory- or clinically-derived) or negative, the tracker presents two key dates: date of diagnosis and date of notification. The former is the date when the patient was diagnosed, while the latter is teh date on which they received the notificatin of their status. Although the use of these dates might be subject to change depending on the implementation, it should be noted that the period boundary for the PIs counting notifications (e.g. All TB cases notified), is based on the fate of diagnosis as per WHO guidelines. The primary purpose behind the inclusion of the date of diagnosis and the date of notification within the system is to facilitate future analysis and potential applications. For instance, these timestamps can serve as valuable metrics for evaluating service quality and ascertaining the efficiency with which healthcare facilities promptly inform patients.

Once a presumptive case is bacteriologically confirmed or clinically diagnosed, they should receive a TB registration number. This information is also highlighted as a reminder in the Feedback window on the top right corner of the data entry screen just above the enrollment information. The clinician/data entry clerk should therefore reopen the enrollment window and assign a TB registration number according to the national guidelines. Although the default configuration leaves this space blank and editable, implementers might want to consider if an automatic assignment of a number (or alphanumeric sequence) would be appropriate as per the local workflow.

The same info will also appear as an error message under the “Date of diagnosis” as a reminder to assign a Tb registration number to the newly identified case.

Error message for the TB registration number assignment for clinically and bacteriologically diagnosed cases

If the case is diagnosed with a new episode of bacteriologically confirmed pulmonary TB, a section to record the number of people (excluding the index case) living in the same household will become available.

The user will also be prompted to register the household contacts in the TB Household Contacts Investigation module using the relationship widget.

The treatment initiation section allows to record whether the case started on treatment. If the case has not started on teatment the reason is also recorded in the data collection fom.

The denotification section allows to denotify a case that has already been notified without removing or deleting the information that has already been entered.

Households contacts, treatment initiation and denotification sections

Treatment episode

In this stage, the clinician/data entry clerk will report data related to the treatment episode including the outcome.

The resistance classification is reported manually. It is possible to set up automated assignation of resistance classification based on the diagnostic test results using program rules.

Resistance and susceptibility summary is also reported manually. It can be automated using program rules.

Treatment episode

NOTE

Resistance and susceptibility data, which is used in program indicators, comes directly from the "Diagnostic Test Results" stage.

Treatment regimen is recorded in the treatment regimen section. Three place-holder options have been added to the option set. This option set can be edited or extended based on the implementation requirements. Feedback messages have been configured to notify the user of possible data entry inconsitencies. Example: Rifampicin resistance has been entered in the Diagnostic Test Results stage, however the user selects a treatment regimen designed to treat drug-susceptible TB.

Outcome due date may help system users set up working lists and line lists for alert purposes and timely follow-ups.

The date of treatment episode initiation (event date) is important for the calculation of the delay between diagnosis and the debut of the treatment. The Treatment Status section contains automatically assigned standard calculations of treatment durations and treatment initiation delays in days.

The treatment episode outcome is recorded in the Treatment stage. If the outcome of the treatment episode is "Failed", the outcome failed is recorded. A new treatment episode event can theb be created within the same enrollment.

Treatment episode outcome

EXAMPLE

Treatment regimen needs to be changed based on test results.

It is possible to record several "Failed" outcomes within the same enrollment.

EXAMPLE

A person starts on treatment for drug-susceptible TB. After a period of time resistance to Rifampicin is identified. The outcome "Failed" is recorded. A new treatment event is created. The same person is put on a short regimen designed to treat drug-resistant TB. After a period of time, further resistance is identified. The outcome "Failed" is recorded. A new treatment event is created. The same person is put on a long regimen designed to treat drug-resistant TB. After 2 years, the patient is cured. The outcome "Cured" is recorded. The enrollment is closed.

It is important to note that within this example we have recorded 3 cases of TB within 1 enrollment.

Once any other outcome than "Failed" is entered, the enrollment should be closed.

Monitoring Laboratory Results

The structure of the monitoring stage is virtually identical to the diagnostic laboratory stage. The main difference is the list of tests - the monitoring lab stage includes only the ones that are relevant for monitoring purposes. Please note that if the patient is flagged as drug-susceptible, only the microscopy test will automatically appear in the monitoring lab stage as per WHO guidelines. As aforementioned, should the patient be a drug-resistant TB case, the list of tests will also display cultures tests.

Additional Features

Real Time Notifications

Should the system be used for real time data entry and surveillance, there are four predefined notifications in the default configuration of the tracker. These can and should be customized to better mirror the local context and needs.

  • TB-CS - Laboratory Results - this SMS notification is sent to the presumptive case alerting the recepient that the lab results are available and he/she should contact the health facility. The notification is sent only if the phone number of the presumptive case and the notification date have a valid value.
  • TB-CS - Poor sample quality notification - this is an internal system notification sent to the TB Admin user group whenever a sample that was received at the lab does not meet the quality standards for processing and is registered as “bad quality”. The notification should prompt the clinician to collect another sample from the same case for either diagnosis or monitoring purposes.
  • TB-CS - Denotification (notified case) - this SMS notification is sent to a already notified case who was mistakenly notified as a result of double data entry or any other human or system error.

Indicator Widget

The indicator widget contains a summary of key case data: 1) Date of diagnosis, 2) Diagnostic method, 3) HIV status at diagnosis, 4) Months since diagnosis, 5) Patient’s age (months), 6) Patient’s age (years), 7) Resistance at diagnosis, 7) Resistance classification, 8) Resistance classification based on diagnostic test results, 9) Treatment regimen.

The variables that are displayed on the Indicator Widget can be customised with help of program rules

Indicator Widget

Feedback Widget

Feedback Widget is configurable and is not mandatory. It is used to display important messages and notes to the user entering the data.

Feedback Widget

Analytics

Program Indicators

The full list of program indicators and indicators is available in the metadata Reference File.

Reporting Case-based Data into Aggregate TB Reports

The TB-CS tracker captures data that can be fed into standard, aggregate reporting (i.e. monthly, quarterly, yearly or as determined by the country). An aggregate TB system design in DHIS2 can be accessed at who.dhis2.org/documentation/#tb.

The package includes program indicators that are grouped and mapped to the corresponding data elements and category option combinations of the data sets in the aggregate TB HMIS package.

The current TB-CS tracker supports data transfer for the following data sets:

  • TB - Notifications (Quarterly)
  • TB - Notifications (Yearly)
  • TB - Outcomes (Quarterly)
  • TB - Outcomes (Yearly)
  • TB - Laboratory (Monthly)

The mapping is based on codes of metadata objects. The aggregate data exchanges have been are pre-configured and are included in the package.

Aggregate Data Exchange

Aggregate data exchange allows periodic aggregation of case-based data and automatic transfer of aggregated data to the aggregate data sets in DHIS2. Such data exchange can be configured both within one DHIS2 instance and in two independent instances.

Aggregate data exchange can be run manually via the Aggregate Data Exchange App or automatically by using scheduled jobs or job queues in the Scheduler App. More information on the configuration of scheduled jobs and job queues is available on the DHIS2 documentation website.

When using aggregate data exchanges, it is important to consider scenarios, when the aggregate data exchange for a particular data set needs to be run several times for the same period. This may happen, when the user needs to edit data in the tracker program or when when data is still being entered into the tracker program for a specific period and the user wants to see the progress in the aggregate data set. An additional configuration is required to ensure data quality after each run of the aggregate data exchange.

IMPORTANT

If a previously generated data value shows a positive number and the new data value is a 0, the aggregate data exchange will not overwrite an existing data value. For this purpose, the data in the aggregate data set for the specific period of time needs to be reset each time before a new value is posted. This can be achieved with help of predictors. An example of predictor configuration is available in the installation guide.

Program Rules

Program rules are used extensively in the TB Case Surveillance tracker to show/hide data elements to optimize the data entry form, show warnings/feedback to the data entry user and autocalculate & assign data values to data elements. A complete list of program rules can be found in the metadata reference file.

Dashboards

TB Case surveillance tracker version 3.0.0 includes 3 dashboards.

TB-LAB - Laboratory dashboard is configured for monitoring TB sample processing and test results and summarizes the key indicators for the monitoring of the laboratory activities (volumes test, cases, or samples, positivity rates, turnaround times, and results). The dashboard presents the overall data for any test type and is also sectioned by test type (smear microscopy, GeneXpert, GeneXpert Ultra, and culture tests). The sections are labeled with a text box indicating the test type. Depending on the local context, type of implementation, and test availability, the dashboard can and should be adapted to better mirror the implementation’s needs. Moreover, should the TB Case surveillance tracker be used as a standalone module without aggregate data transfer, it is possible to utilize the existing indicators and configure custom visualizations and dashboards.

TB-CS - Line Lists dashboard contains reference line lists that can help TB facilities monitor data entered into the module in bulk.

TB-CS - Lab Line Lists dashboard contains reference line lists that can help TB Laboratories monitor data entered into the module in bulk.

User Groups

The following user groups are included in the TB Case Surveillance Tracker Package:

  • TB Admin: can edit/view metadata; no access to data [all program stages]
  • TB Data capture: can view metadata, can capture data [all program stages], no access to dashboards
  • TB Access: cam view metadata, can view data [all program stages], access to dashboards
  • TB lab access: cam view metadata, can view data [TB registration and Laboratory stages], access to laboratory dashboards
  • TB lab data capture: can view metadata, can capture data [TB registration and Laboratory stages], no access to dashboards