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.
-
Order
- Ordering Encounter
- Obs
- Procedures that are ordered (coded and non-coded)
- Obs
- Order Number
- Concept - Pathology Procedure Ordered
- Other built-in order information (dates, instructions, care setting etc…)
- Ordering Encounter
-
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)
- Obs
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 installruns them in thetestphase (skip with-DskipTests).- For quicker runs, from
omod/:npm test, ornpm run test:watchto re-run on changes.
Tests run in the America/New_York timezone, so date code that only works in UTC fails.