# Laboratory ESM

A frontend module for managing laboratory requests

For more information, please refer to the
[OpenMRS 3.x Frontend Documentation](https://o3-docs.openmrs.org/).

### Dashboard

<img src="https://raw.githubusercontent.com/openmrs/openmrs-esm-laboratory/main/assets/screenshots/labs_general_dashboard.png" />

### Adding Results

### Adding tab panels
Implementers can add or remove laboratory tab panels via extension configuration in the [routes.js](https://github.com/openmrs/openmrs-esm-laboratory/blob/main/src/routes.json) json file 


<img src="https://raw.githubusercontent.com/openmrs/openmrs-esm-laboratory/main/assets/screenshots/labs_enter_results.png" />

### Adding or removing summary tiles
Implementers can add or remove summary tiles via extension configuration in the [routes.js](https://github.com/openmrs/openmrs-esm-laboratory/blob/main/src/routes.json) json file 

# Getting Started

```sh
# Clone the repository
git clone git@github.com:openmrs/openmrs-esm-laboratory.git

# to install dependencies
yarn

# to run the dev server
yarn start

# OR to start on a specified port eg 5000
yarn start --port 5000
```

Once it is running, a browser window
should open with the OpenMRS 3 application. Log in and then navigate to
`/openmrs/spa/home/laboratory`.

# Running tests
```
yarn run test
```
