# Public Test Servers

**URL:** https://discourse.openehr.org/t/public-test-servers/2812
**Category:** Platform
**Tags:** rest-apis, ehrbase
**Created:** [7 July 2022 17:07 UTC](https://discourse.openehr.org/t/public-test-servers/2812 "2022-07-07T17:07:02Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Paco\_Novillo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/paco_novillo/32/2069_2.png) [@Paco\_Novillo](https://discourse.openehr.org/u/Paco_Novillo)
#### Post date: [7 July 2022 17:07 UTC](https://discourse.openehr.org/t/public-test-servers/2812/1 "2022-07-07T17:07:03Z")

</div>

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

---

<div class="post-metadata">

### Author: ![birger.haarbrandt](https://discourse.openehr.org/user_avatar/discourse.openehr.org/birger.haarbrandt/32/24_2.png) [@birger.haarbrandt](https://discourse.openehr.org/u/birger.haarbrandt)
#### Post date: [7 July 2022 17:29 UTC](https://discourse.openehr.org/t/public-test-servers/2812/2 "2022-07-07T17:29:36Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Paco\_Novillo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/paco_novillo/32/2069_2.png) [@Paco\_Novillo](https://discourse.openehr.org/u/Paco_Novillo)
#### Post date: [8 July 2022 06:49 UTC](https://discourse.openehr.org/t/public-test-servers/2812/3 "2022-07-08T06:49:55Z")

</div>

Many thanks @birger.haarbrandt,  
I will try with [3.4.1.2. Use EHRbase Image — EHRbase documentation](https://ehrbase.readthedocs.io/en/latest/03_development/04_docker_images/01_ehrbase/02_use_image/index.html#run-ehrbase-db-with-docker-compose)

---

<div class="post-metadata">

### Author: ![birger.haarbrandt](https://discourse.openehr.org/user_avatar/discourse.openehr.org/birger.haarbrandt/32/24_2.png) [@birger.haarbrandt](https://discourse.openehr.org/u/birger.haarbrandt)
#### Post date: [8 July 2022 08:37 UTC](https://discourse.openehr.org/t/public-test-servers/2812/4 "2022-07-08T08:37:28Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![thomas.beale](https://discourse.openehr.org/user_avatar/discourse.openehr.org/thomas.beale/32/35_2.png) [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)
#### Post date: [8 July 2022 12:02 UTC](https://discourse.openehr.org/t/public-test-servers/2812/5 "2022-07-08T12:02:51Z")

</div>

> [@Paco\_Novillo](#):
>
> 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.

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

---

<div class="post-metadata">

### Author: ![pablo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pablo/32/3505_2.png) [@pablo](https://discourse.openehr.org/u/pablo)
#### Post date: [13 July 2022 22:25 UTC](https://discourse.openehr.org/t/public-test-servers/2812/6 "2022-07-13T22:25:43Z")

</div>

Hola Paco,

With EHRServer you have the SaaS option [https://cloudehrserver.com/](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.](https://github.com/ppazos/cabolabs-ehrserver#want-to-try-ehrserver)

---

<div class="post-metadata">

### Author: ![Kevin\_Mayfield](https://discourse.openehr.org/user_avatar/discourse.openehr.org/kevin_mayfield/32/3056_2.png) [@Kevin\_Mayfield](https://discourse.openehr.org/u/Kevin_Mayfield)
#### Post date: [7 September 2023 03:51 UTC](https://discourse.openehr.org/t/public-test-servers/2812/7 "2023-09-07T03:51:42Z")

</div>

I’m after definitions (I think these are templates) like the ones on [https://ckm.openehr.org/](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.)

---

<div class="post-metadata">

### Author: ![birger.haarbrandt](https://discourse.openehr.org/user_avatar/discourse.openehr.org/birger.haarbrandt/32/24_2.png) [@birger.haarbrandt](https://discourse.openehr.org/u/birger.haarbrandt)
#### Post date: [7 September 2023 05:22 UTC](https://discourse.openehr.org/t/public-test-servers/2812/8 "2023-09-07T05:22:10Z")

</div>

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](https://ckm.apperta.org/ckm/templates/1051.57.279/export) and use the REST API to upload into EHRbase ([Definition API openEHR specs](https://specifications.openehr.org/releases/ITS-REST/latest/definition.html#tag/ADL1.4))

---

<div class="post-metadata">

### Author: ![joostholslag](https://discourse.openehr.org/user_avatar/discourse.openehr.org/joostholslag/32/1981_2.png) [@joostholslag](https://discourse.openehr.org/u/joostholslag)
#### Post date: [7 September 2023 06:00 UTC](https://discourse.openehr.org/t/public-test-servers/2812/9 "2023-09-07T06:00:18Z")

</div>

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

---

<div class="post-metadata">

### Author: ![birger.haarbrandt](https://discourse.openehr.org/user_avatar/discourse.openehr.org/birger.haarbrandt/32/24_2.png) [@birger.haarbrandt](https://discourse.openehr.org/u/birger.haarbrandt)
#### Post date: [7 September 2023 06:33 UTC](https://discourse.openehr.org/t/public-test-servers/2812/10 "2023-09-07T06:33:43Z")

</div>

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](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.

---

<div class="post-metadata">

### Author: ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)
#### Post date: [7 September 2023 07:40 UTC](https://discourse.openehr.org/t/public-test-servers/2812/11 "2023-09-07T07:40:05Z")

</div>

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

> **[Clinical Knowledge Manager](https://ckm.apperta.org/ckm/#showproject_1051.61.34)**
>
> The Clinical Knowledge Manager is a system for collaborative development, management and publishing. It enables the implementation of knowledge governance within and across the health enterprise. Resources include archetypes, templates, terminology...

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.

```bash
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>
     ...

```

---

<div class="post-metadata">

### Author: ![Kevin\_Mayfield](https://discourse.openehr.org/user_avatar/discourse.openehr.org/kevin_mayfield/32/3056_2.png) [@Kevin\_Mayfield](https://discourse.openehr.org/u/Kevin_Mayfield)
#### Post date: [7 September 2023 13:06 UTC](https://discourse.openehr.org/t/public-test-servers/2812/12 "2023-09-07T13:06:03Z")

</div>

Thanks.

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

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

 ![image](https://discourse.openehr.org/uploads/default/original/2X/d/d7f96e435ca709227eb26ada854fbe23e71eb737.png)

---

<div class="post-metadata">

### Author: ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)
#### Post date: [7 September 2023 13:08 UTC](https://discourse.openehr.org/t/public-test-servers/2812/13 "2023-09-07T13:08:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Kevin\_Mayfield](https://discourse.openehr.org/user_avatar/discourse.openehr.org/kevin_mayfield/32/3056_2.png) [@Kevin\_Mayfield](https://discourse.openehr.org/u/Kevin_Mayfield)
#### Post date: [12 September 2023 06:08 UTC](https://discourse.openehr.org/t/public-test-servers/2812/14 "2023-09-12T06:08:52Z")

</div>

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.

 ![Screenshot 2023-09-12 at 07.07.37](https://discourse.openehr.org/uploads/default/original/2X/8/817234b613b0f7f904ffe203d1d8acd53886caf4.png)

---

<div class="post-metadata">

### Author: ![ian.mcnicoll](https://discourse.openehr.org/user_avatar/discourse.openehr.org/ian.mcnicoll/32/4430_2.png) [@ian.mcnicoll](https://discourse.openehr.org/u/ian.mcnicoll)
#### Post date: [12 September 2023 07:40 UTC](https://discourse.openehr.org/t/public-test-servers/2812/15 "2023-09-12T07:40:08Z")

</div>

> <https://github.com/openEHR/specifications-TERM/tree/master/computable/fhir>
>
> //github.com/openEHR/specifications-TERM/tree/master/computable/fhir

@sebastian.iancu - is this correct?

Specifically [codesystem-subject\_relationship.xml](https://github.com/openEHR/specifications-TERM/blob/master/computable/fhir/codesystem-subject_relationship.xml)

---

<div class="post-metadata">

### Author: ![sebastian.iancu](https://discourse.openehr.org/user_avatar/discourse.openehr.org/sebastian.iancu/32/31_2.png) [@sebastian.iancu](https://discourse.openehr.org/u/sebastian.iancu)
#### Post date: [12 September 2023 12:26 UTC](https://discourse.openehr.org/t/public-test-servers/2812/16 "2023-09-12T12:26:57Z")

</div>

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](https://github.com/openEHR/specifications-TERM/blob/f6fabc353040cc5e56872ae9b64653ef61ad5be7/computable/XML/en/openehr_terminology.xml#L220) and to [this section of the specs](https://specifications.openehr.org/releases/TERM/Release-3.0.0/SupportTerminology.html#_subject_relationship).  
You can see the same fhir file at [latest version](https://specifications.openehr.org/fhir/codesystem-subject_relationship) or [Release-3.0.0](https://specifications.openehr.org/releases/TERM/Release-3.0.0/computable/fhir/codesystem-subject_relationship.xml).

---

<div class="post-metadata">

### Author: ![emmanuel.eschmann](https://discourse.openehr.org/user_avatar/discourse.openehr.org/emmanuel.eschmann/32/3339_2.png) [@emmanuel.eschmann](https://discourse.openehr.org/u/emmanuel.eschmann)
#### Post date: [30 January 2024 13:59 UTC](https://discourse.openehr.org/t/public-test-servers/2812/17 "2024-01-30T13:59:34Z")

</div>

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

---

<div class="post-metadata">

### Author: ![pablo](https://discourse.openehr.org/user_avatar/discourse.openehr.org/pablo/32/3505_2.png) [@pablo](https://discourse.openehr.org/u/pablo)
#### Post date: [30 January 2024 16:00 UTC](https://discourse.openehr.org/t/public-test-servers/2812/18 "2024-01-30T16:00:42Z")

</div>

> [@pablo](#):
>
> cloud

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

Best,  
Pablo.

---

<div class="post-metadata">

### Author: ![emmanuel.eschmann](https://discourse.openehr.org/user_avatar/discourse.openehr.org/emmanuel.eschmann/32/3339_2.png) [@emmanuel.eschmann](https://discourse.openehr.org/u/emmanuel.eschmann)
#### Post date: [30 January 2024 18:21 UTC](https://discourse.openehr.org/t/public-test-servers/2812/19 "2024-01-30T18:21:21Z")

</div>

Hi Pablo,

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

With kind regards, Emmanuel

---

<div class="post-metadata">

### Author: ![linforest](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/l/ac8455/32.png) [@linforest](https://discourse.openehr.org/u/linforest)
#### Post date: [13 August 2024 05:26 UTC](https://discourse.openehr.org/t/public-test-servers/2812/21 "2024-08-13T05:26:14Z")

</div>

> [@birger.haarbrandt](#):
>
> I think using Docker is just a minimal hurdle for devs to get started.

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.

[Next page](https://discourse.openehr.org/t/public-test-servers/2812.md?page=2)
