Skip to content

SmartOperatingBlock/surgery-report-microservice

Repository files navigation

Surgery Report microservice

workflow status License: MIT Version

codecov Code Smells Vulnerabilities Duplicated Lines (%) Quality Gate Status Technical Debt Security Rating

This is the repository of the Surgery Report microservice of the Smart Operating Block project.

Usage

You need to specify the following environment variable:

  • BOOTSTRAP_SERVER_URL: the kafka connection endpoint
  • BUILDING_MANAGEMENT_MICROSERVICE_URL: the url of the Building Management microservice
  • MONGODB_CONNECTION_STRING: the mongodb's connection string
  • PATIENT_MANAGEMENT_INTEGRATION_MICROSERVICE_URL: the url of the Patient Management Integration microservice
  • SCHEMA_REGISTRY_URL: the kafka schema registry url
  • STAFF_TRACKING_MICROSERVICE_URL: the url of the Staff Tracking microservice

If you want to run it via docker container:

  1. Provide a .env file with all the environment variable described above
  2. Run the container with the command:
     docker run ghcr.io/smartoperatingblock/surgery-report-microservice:latest
    1. If you want to try the REST-API from the external you need to provide a port mapping to port 3000.
    2. If you want to pass an environment file whose name is different from .env use the --env-file <name> parameter.

Documentation

  • Check out the website here
  • Direct link to the REST-API documentation here
  • Direct link to the Code documentation here