Error in running Ehrbase webservice

Hi everyone,

I am trying to run ehrbase on windows 10 (using docker) but unfortunately I encounter the following error during the running of ehrbase webservice(http://localhost:8080/ehrbase/):

Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon Apr 12 10:02:50 UTC 2021
There was an unexpected error (type=Not Found, status=404).

I was wondering if you could help me to solve this problem.
thanks.

Hey Mehdi,

Thanks for trying out EHRbase!

EHRbase doesn’t have a classic web app UI, it is a backend service only. Once you got EHRbase up and running successfully you can just dive in and directly create an EHR. The easiest way might be to use cURL in a terminal:

curl --header "PREFER: return=representation" \
        --request POST \
    http://localhost:8080/ehrbase/rest/openehr/v1/ehr

For more infomation about that operation see 2.4. Step 3: Create an EHR — EHRbase documentation.

I hope that helps!

2 Likes