Skip to content

Commit

Permalink
OZ-340: README as per Ozone's rebranding.
Browse files Browse the repository at this point in the history
  • Loading branch information
mks-d authored Nov 28, 2024
1 parent be696a4 commit 5409cd4
Showing 1 changed file with 11 additions and 58 deletions.
69 changes: 11 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,14 @@
<img src="docs/crudem-hsc-logo.png" alt="hsc-logo" width="400"/>
<p align="center">
<a href="https://docs.ozone-his.com/"><img src="https://raw.githubusercontent.com/ozone-his/.github/refs/heads/main/profile/ozone-logo.png" alt="Ozone" width="30%"/></a>
</p>

------
<h3 align="center">The Instant HIS</h3>

# EIP Routes SENAITE
<p align="center">
Welcome to Ozone's open-source repositories!
<br/>Engage with the Ozone community and access useful resources below:
</p>

## a) Run OpenMRS on port 8080 and MySQL on port 3306

Follow instructions here: https://github.com/openmrs/openmrs-distro-referenceapplication/tree/3.x

#### Enable mysql bin log

If using Docker Compose, expose the `port` and override the `command` parameters in **docker-compose.yml**. For example:

```
ports:
- 3306:3306
command: "mysqld --character-set-server=utf8 --collation-server=utf8_general_ci --log-bin --binlog-format=ROW"
```

## b) Run SENAITE on port 8088

```
git clone https://github.com/senaite/senaite.docker
cd senaite.docker
docker build -t senaite .
docker run --rm --name senaite -p 8088:8080 senaite
```

Access http://localhost:8088/
and follow the steps to "Install SENAITE"

user/password `admin/admin`

## c) How to use the routes

Follow the instructions here: https://github.com/mekomsolutions/eip-client

#### Note

Remember to provide an `application.properties` file defining the required runtime properties needed by the routes. Use this [template file](src/test/resources/application.properties). Uncomment the properties prefixed with `##` and set them appropriately.

## d) Workflows

Below are sequence diagrams showing a quick overview of what the routes do.

#### 1) Placing lab orders

<img src="docs/placingLabOrderWorkflow.png" alt="hsc-logo" width="700"/>

#### 2) Deleting, Voiding and Canceling/Discontinuing lab orders

<img src="docs/discontinueDeleteVoidLabOrderWorkflow.png" alt="hsc-logo" width="700"/>

#### 3) Renewing, Revising lab orders

<img src="docs/renewingRevisingLabOrderWorkflow.png" alt="hsc-logo" width="700"/>

#### 4) Updating and Fulfilling lab orders

<img src="docs/updatingLabOrderStatusAndCapturingResults.png" alt="hsc-logo" width="700"/>
<h3 align="center">
<a href="https://docs.ozone-his.com/">Docs</a>&nbsp;&nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://talk.openmrs.org/c/software/ozone-his/70">Forum</a>&nbsp;&nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://openmrs.slack.com/archives/C02PYQD5D0A">Chat Room</a>
</h3>

0 comments on commit 5409cd4

Please sign in to comment.