Start a GameBus FHIR server¶
GameBus FHIR layer is open-source software and released as Docker images
(id: nlesc/gamebus-fhir-layer).
To start a GameBus FHIR server with Docker, type the following command 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:8080binds the container’s port8080to host machine’s port8080,start_fhir_serveris the command to start the HAPI FHIR server in container,https://api3-new.gamebus.eu/v2is the endpoint of GameBus API.
When the server starts, it’ll be served locally on http://localhost:8080.
Now, the FHIR server is ready. Before using it, we have to create an account on GameBus platform and add some example data to GameBus for us to request later using FHIR REST API, for details see the next section.