Skip to content

peter279k/fmsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

We proposed the FMSA (FHIR-based Microservice Architecture), a new open-source software architecture designed for medical informatics systems. And we developed this architecture to address the current lack of standardized microservice solutions in healthcare information systems.

Architecture

圖片1

Development Steps

  • If using the HTTP to expose FMSA, copying the docker-compose-http.yml to the docker-compose.yml file.
  • Complete the docker compose environment building.
  • Complete the api_gateway development and features including login, register, OAuth2 and rate time limit.
  • Complete the PA implementation guide about scenario 1.

Docker Compose

  • Running the docker compose up --build to run the FMSA.

Docker Stack Deployment

  • Before running the docker stack deploy command, it should ensure the local Docker image has been built.
  • If they're not deployed, it should run the docker compose build command firstly.
  • If presenting Error response from daemon: This node is not a swarm manager. message, it should run the docker swarm init.
  • If the FMSA is running via the docker compose up command, it should use the docker compose down.
  • Running docker stack deploy -c docker-compose-stack-deploy.yml fmsa command to deploy the Docker stack.

The docker-compose-stack-deploy.yml is only for testing Docker Stack deployment

Development server

  • The worker server is deployed in the PureVoltage (KVM-based VPS)
    • CPU: 4 cores
    • RAM: 16GB
    • HDD: QEMU HARDDISK 200GB
  • The FMSA is deployed in the ColoCrossing (A dedicated server)
    • CPU: Intel(R) Xeon(R) CPU E3-1271 v3
    • RAM: 16GB
    • HDD: Samsung SSD 850 EVO 1TB

References

  1. HAPI FHIR server installation and usage
  1. microservice scalability
  1. Docker container hardware metrics
  1. KeyCloak admin API
  1. Upload file with FastAPI
  1. Docker stack deployment approach

Troubleshooting

  1. FHIR server hostname setting (Tomcat issue)
  1. FHIR server upload-terminology issues

Releases

No releases published

Packages

No packages published