Add data to GameBus¶
GameBus FHIR layer is a wrapper on top of GameBus platform, acting like a translator. The layer itself does not have a database, so not storing any data. GameBus platform is where the data is stored.
To use the FHIR layer, users need to create an account on GameBus platform (for free) and then add some data to it for requesting later with FHIR REST API.
Create a GameBus account¶
You can create a GameBus account at https://app3-new.gamebus.eu. After login, you will see a web app like the following screenshot.

Note
You could find GameBus manual at https://blog.gamebus.eu.
Add data manually¶
There are various ways to add activity data to GameBus. Here we’ll manually fill in some data using its web app.
Click sidebar Activities and then click the plus button

Click ALL ACTIVITIES and then choose Walk activity

Add walk data manually. For example, here we add 2500 steps, 1000 meters, 10 minutes and 50 Kcal. After filling, click
to complete the filling.

Now you can see the walk activity in the Activities page, and click it to view details.

Get activity id¶
We can get the id of the walk activity from url, the id here is 790972
.
Check your url for the id, and it will be used in next section when sending
request to FHIR server.

Add more data¶
Likewise, you can add more data for other activities, e.g. run, bike, BP measurement.
Note
Remember to take a note of the id of each activity, you’ll need them in next section.
Get GameBus token and player id¶
Chrome browser is required in this part since Chrome DevTools will be used.
Login GameBus web app (https://app3-new.gamebus.eu) using Chrome
Open Chrome DevTools by pressing key F12. See the guide on how to open Chrome DevTools in different ways.
Click the
Application
panel and then theLocal Storage
, you will see player idpid
and tokentoken
on the right region. The player id is the id for your GameBus account.Take a note of the player id and token, they will be used in next section.
