Public Test Servers

Hi all,
I am new to openEHR and I was wondering if there is any public online openEHR server that implementers can use for testing purpose. I am particularly interested in testing REST APIs.
An online EHRBase or EHRServer would be great, so we don’t have to deploy one in a local machine.
Thanks in advance

4 Likes

Hi @Paco_Novillo,

completely agree, this is on the to-do list for EHRbase. Though, not sure when this is gonna be available. As its open source, maybe someone [tm] will just take the initiative, let’s see. In the meantime, I think using Docker is just a minimal hurdle for devs to get started.

5 Likes

Many thanks @birger.haarbrandt,
I will try with 3.4.1.2. Use EHRbase Image — EHRbase documentation

You can ask in the forum whenever you are stuck. We are really keen to provide a great developer experience, but we are still on the way getting there.

1 Like

For EHRserver, @pablo will be able to indicate what is available.

Hola Paco,

With EHRServer you have the SaaS option https://cloudehrserver.com/

Or using docker-compose:

Run with docker-compose:

$ grails war
$ cd docker-compose
$ docker-compose up
localhost:8080 will be Adminer (a MySQL manager)
localhost:8888 will be Tomcat (running EHRServer)
Change the ports and SMTP configuration in the docker-compose file

Source: GitHub - ppazos/cabolabs-ehrserver: Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.

I’m after definitions (I think these are templates) like the ones on https://ckm.openehr.org/

Are these available via an api.

(I’m going to run a local copy of EHRBase and see if they are included.)

Hey @Kevin_Mayfield,

there is currently no automated import of templates into EHRbase from CKM. In general, we should aim for some kind of package management to make this a bit more convenient.

EHRbase itself does not contain any Templates, you will need to download an OPT like Clinical Knowledge Manager and use the REST API to upload into EHRbase (Definition API openEHR specs)

1 Like

Maybe GitHub ckm mirror is a little more convenient? https://github.com/openEHR/CKM-mirror/tree/master/local/templates

3 Likes

Indeed! Could also be combined with a Template Provider from the openEHR SDK (https://github.com/ehrbase/openEHR_SDK/blob/develop/web-template/src/main/java/org/ehrbase/openehr/sdk/webtemplate/templateprovider/FileBasedTemplateProvider.java) to load data automatically into EHRbase for testing purposes.

1 Like

Hi Kevin.

You might want to have a look at these templates on the Apperta CKM most of which were specifically create to match the Interopen Care-Connect profiles

You need to download the “.opt” export format. These are just xml files that need to be POST to /template endpoint to register them in the CDR.

curl --location 'https://mycdrurl/rest/openehr/v1/definition/template/adl1.4' \
--header 'Content-Type: application/xml' \
--header 'Prefer: return=minimal' \
--header 'Authorization: <BASIC Auth token> \
--data-raw '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template xmlns="http://schemas.openehr.org/v1">
    <language>
        <terminology_id>
            <value>ISO_639-1</value>
        </terminology_id>
        <code_string>en</code_string>
    </language>
    <description>
        <original_author id="name">Ian McNicoll</original_author>
     ...
2 Likes

Thanks.

I found that fhir-bridge has an import template function.

It is this function to get the templates from the repo?

Yes or you can see the raw .opt via the green OPT button to the left of the one you have highlighted.

Does the concept table have a central definition?
I would like to convert this into a FHIR CodeSystem - can extract from local openEHR server but ideally would like to use the master code system.

@sebastian.iancu - is this correct?

Specifically codesystem-subject_relationship.xml

Yes, that looks like the right link - it basically corresponds to https://github.com/openEHR/specifications-TERM/blob/f6fabc353040cc5e56872ae9b64653ef61ad5be7/computable/XML/en/openehr_terminology.xml#L220 and to this section of the specs.
You can see the same fhir file at latest version or Release-3.0.0.

1 Like

Hi Pablo,
I tried to access the SaaS option https://cloudehrserver.com/ you mentioned, but I got the message “This domain cloudehrserver.com has expired”.
Is cloudserver.com only temporarily unavailable?

Hi Emmanuel, we are focusing our efforts on our new CDR https://atomik.app/ and reorganizing our business model. The EHRServer SaaS won’t be available for now.

Best,
Pablo.

Hi Pablo,

Thank you very much for your answer.
I wish you great success with Atomik!

With kind regards, Emmanuel

Docker Hub is not available here (zh-CN).
I’m trying to build the EHRBase image locally with the source code from GitHub. However, for now, the ehrbase-postgres image still depends on the Docker Hub. So I have to figure out how to build the pg-image locally.

1 Like