Skip to content

About

Tracking labs and their results

Resources

Stars

2 stars

Watchers

10 watching

Forks

Latest commit

 

History

365 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenMRS Lab Tracking Application

Description

The Lab Tracking Application is a stand-alone Pathology application that can be used within the current EMR. This app can be used to request tests that need to be performed on a patient and track the tests as the specimen is taken and then updated with results. The test details are viewable both at a patient level and when monitoring the entire lab process.

Data Model

  • Order

    • Ordering Encounter
      • Obs
        • Procedures that are ordered (coded and non-coded)
    • Order Number
    • Concept - Pathology Procedure Ordered
    • Other built-in order information (dates, instructions, care setting etc…)
  • Specimen Encounter

    • Obs
      • Test Order Number (this is what links this specimen encounter to the order and ordering encounter)
      • Information from the clinician who performed the procedure (specimen details, accession number, clinical history, suspected diagnosis, dates etc…)
      • Information about the results (date, result notes, uploaded file)

JavaScript tests

The AngularJS code in omod/src/main/webapp/resources/scripts has unit tests in omod/src/test/js, run with Vitest in a jsdom browser environment. src/test/js/setup.js loads AngularJS 1.5.8 (the version uicommons serves), angular-mocks and the app's component scripts. Use createInjector(...) to get the app's services in a test.

  • mvn install runs them in the test phase (skip with -DskipTests).
  • For quicker runs, from omod/: npm test, or npm run test:watch to re-run on changes.

Tests run in the America/New_York timezone, so date code that only works in UTC fails.

About

Tracking labs and their results

Resources

Stars

2 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages