COVID-19 Template App: Sample Tracking and Lab Testing

Sample Tracking and Lab Testing Application Demo Video (please click image below)

About the Sample Tracking and Lab Testing Application

Download the CommCare Application

The Sample Tracking and Lab Testing application is available to be imported directly into your CommCare project space, along with all free COVID-19 template applications, in this library: The application is available in English.

Application Version History:

  • June 10, 2020: First version released

  • June 15, 2020: Patient Unique Case ID changed from numeric to alpha-numeric entry

Application Overview

The Sample Tracking and Lab Testing App supports healthcare systems to streamline sample management between healthcare facility and lab settings and to triage test results.

The application provides the following functionalities:

  • Registering patients and samples

  • Registering results to each sample

  • Viewing history of lab test results for each patient

  • Notifying provider of new lab results that have become available

  • Notifying provider to collect a new sample, in the case of an invalid or inconclusive test result, or if a sample was rejected

  • Guidance on the correct method for collecting samples, using short videos* to reinforce training, or to train health workers who have received minimal training.

*This educational video content is provided courtesy of DigitalMedic, an initiative of Stanford University Center for Health Education.

Application Details

Application Workflow

The application content is based on the WHO interim guidance for laboratory testing for COVID-19. Expand the box below for a high-level diagram of the CommCare application workflow.

Description of Forms in CommCare

Expand the box below for a table that breaks down the role of each form in the CommCare application, including: 

  • Form Name 

  • Form Purpose

  • Summary of content

Icons in Case List

The application makes use of Icons in the Case List. These icons provide health workers with a visual indication of the status of each patient and each individual sample. The status also determines how the case list is sorted. Patients with new results are shown at the top of the list along with patients who require a new sample taken. Once a patient’s test result is viewed, it drops further down the list in terms of priority. Expand the box below for further information on the icons used in the application. 

App Case Types and Relationships


This application was designed to integrate seamlessly with programs following the WHO First Few X (FFX) Cases protocol so the case structure mimics that of the COVID-19 Template app. To learn more about configuring case sharing or case assignment workflows, you can refer to our documentation on Case Sharing Using Organizations. The Sample Tracking and Lab Testing app will be useful by itself, though organizations can get additional benefit by using multiple COVID-19 apps together. 

Case Structure

Like many CommCare applications, this application uses case management to keep track of progress of various points of interest. To learn more about the case types and relationships, please review your application's case summary.

This application makes use of two case types: covid_19_case and sample. The covid_19_case represents the ‘patient’, both suspected and confirmed cases. The sample case is the child case of covid_19_case case. A covid_19_case (patient) case can have multiple sample cases. These case types can be re-configured to fit into an existing structure if needed.

Additional Features

The application allows for additional possibilities for more experienced app builders, such as:

  • Case Sharing


    • To allow one lab to process samples collected from multiple health facilities

  • Enable automated SMS to, for example:


    • Notify provider of positive test result

    • Notify provider to collect new sample from patient

    • Notify patient of test result

    • Notify patient to return to health facility for another sample collection

    • Reminders for facilities to collect new samples in the case of e.g. rejected samples, in case of delays, saving supervision time