Skip to content

Diabetes Management Solution practice project

Notifications You must be signed in to change notification settings

caa4/dms-practice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dms-practice

Diabetes Management Solution practice project

DMS Installation Prerequisites

Running Docker Authorization server on local machine

Execute docker command docker run -p 8083:8083 mgharib/keycloack-auth-server to run Authorization server on port 8083. Once it is up, you should be able to access it via http://localhost:8083/auth/

configuring OpenEMR with HAPI FHIR on local machine

Running Spring Authorization server on local machine

  • Clone current repo
  • Open with prefered Java IDE
  • use the following commands inside the terminal
    • mvn clean
    • mvn install
    • mvn spring-boot:run
  • Once running, visit http://localhost:8083/auth/
    • login: emr-admin
    • password: pass

Running HDI-HUB server on local machine and testing with PMS

  • Clone current repo
  • Running HDI-HUB lcoally (port 8080)
    • mvn clean
    • mvn install
    • mvn jetty:run
  • Running HDI-HUB on Docker (assign port)
    • Inside project ide terminal execute mvn package to generate war file
    • Inside HDI-HUB directory using Powershell/Terminal
      • Install Docker Jetty using docker run -d jetty
      • Execute docker build -t fhir/hapiserver .
      • Execute docker run -p 8090:8080 fhir/hapiserver
        • runs fhir server on port 8090 -Running PMS to test HDI-HUB
  • Run Spring Authorization Server (docker works fine)
  • use the following commands inside the ide terminal
    • mvn clean
    • mvn install
    • mvn spring-boot:run
  • Once running, PMS will post patient and organization information to HDI-HUB server every 5 seconds
  • Enter CTRL+C to terminate once enoough patient information is populated

Running DMS UI on local machine and starting development

  • Make sure you have the latest image of authorization server docker image pull mgharib/keycloack-auth-server
  • Run the authorization server docker run -p 8083:8083 mgharib/keycloack-auth-server
  • Navigate with CMD into dms-ui
  • Install dependencies npm install
  • Run the server npm run start
  • You should be able to access the ui through http://localhost:4200
  • You can login using john@test.com/123

OpenEMR- Local Development using Docker.

About

Diabetes Management Solution practice project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 52.7%
  • TypeScript 26.7%
  • HTML 9.5%
  • CSS 6.2%
  • JavaScript 2.9%
  • Dockerfile 2.0%