Skip to content

adnanukk/SmICSCore

 
 

Repository files navigation

SmICS

The Smart Infection Control System (SmICS) is an application for the support of the infection control units in clinics. For the general use it is necessary to connect the application to an openEHR Repository like ehrbase. It offers different statistics, a patient timeline of the patients locations and a contact network for patients to track possible transmission paths.


Requirements

Repository

Installed and functional openEHR Repository which provides the basic REST API from the openEHR Reference Model.

The openEHR Repository needs to be prefilled with following templates and compositions for these templates:

Upcoming:

Hardware

Server

  • CPU: 4 Cores1
  • RAM: 4 GB1
  • Storage: 5 GB1
  • OS: Linux (recommended)2

1 Estimated Requirements

2Although you could use it with Windows if your Docker is able to work with Linux Docker Container. On Windows Server there is a LinuxKit necessary which is available for Windows Server 2019

Workstation

  • Full HD Monitor (or higher)
  • Google Chrome Browser Version 88 (or newer)

Docker

Docker or docker-compose tool.

Installation: https://docs.docker.com/engine/install/ and if necessary: https://docs.docker.com/compose/install/


Execution

Clone these two repositories:

git clone https://github.com/highmed/SmICSCore.git
git clone https://github.com/highmed/SmICSVisualisierung.git

Build & Run Process - Docker Within each local git repository following commands need to be executed. You need to start with the SmICSCore Repository

docker network create smics-net
docker build --build-arg repo="http://localhost:8080/ehrbase/rest/openehr/v1" --build-arg user=$USERNAME --build-arg passwd=$PASSWORD  -t smics .
docker run --name smics_core --network smics-net -d -p 9787:9787 smics

http://localhost:8080/ehrbase/rest/openehr/v1 must be exchanged for the valid link to the openEHR REST API from the openEHR repository. $USERNAME and $PASSWORD must be exchanged for valid user credentials from the openEHR repository.

If the SmICSCore container stops building because of failing test (especially if the openEHR Repository is ehrbase), the following lines needs to be commented in the Dockerfile to build the container without the tests.

RUN dotnet test "SmICSConnection.Test" --logger:trx -c Release
RUN dotnet test "SmICSDataGenerator.Test" --logger:trx -c Release
RUN dotnet test "SmICS.Tests" --logger:trx -c Release

Run Process - Docker

docker build -t smicsvisualisierung .
docker run --name smics_visualisierung --network smics-net -d -p 3231:3231 smicsvisualisierung

If you want to change the ports through which the applications are accessible, you have to change the first port in -p 9787:9787 and/or -p 3231:3231.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 47.5%
  • HTML 42.5%
  • JavaScript 7.0%
  • CSS 2.8%
  • Dockerfile 0.2%