Start FHIR server

GameBus FHIR layer is open-source and available as a Docker image (id: nlesc/gamebus-fhir-layer). The most convenient way to deploy or run it is using Docker.

This tutorial will show you how to run GameBus FHIR layer using Docker locally.

Run Docker container

To start the server, type the command below in a terminal:

docker run -p 8080:8080 nlesc/gamebus-fhir-layer start_fhir_server https://api3-new.gamebus.eu/v2

This command runs a Docker container using the nlesc/gamebus-fhir-layer image,

  • -p 8080:8080 binds the container’s port 8080 to host machine’s port 8080,

  • start_fhir_server is the command to start the HAPI FHIR server in container,

  • https://api3-new.gamebus.eu/v2 is the endpoint of GameBus API.

👉 For more details about running a Docker container, see Docker’s doc.

When the server starts, it’ll be served locally on http://localhost:8080.

Now the FHIR server is ready to use. Before using it, we have to create an account on GameBus platform and add some test data to GameBus for us to request later using FHIR REST API, for details see the next section.