# \#ehrbase

**URL:** https://discourse.openehr.org/tag/ehrbase/30.md

[Latest](https://discourse.openehr.org/latest.md) · [Categories](https://discourse.openehr.org/categories.md) · [Tags](https://discourse.openehr.org/tags.md)

---

## [Simplified Formats (FLAT) completing partial DV\_CODED\_TEXT input](https://discourse.openehr.org/t/simplified-formats-flat-completing-partial-dv-coded-text-input/17446)

<div class="topic-metadata">

**Author:** [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Replies:** 0\
**Last updated:** [30 October 2026 12:09 UTC](https://discourse.openehr.org/t/simplified-formats-flat-completing-partial-dv-coded-text-input/17446 "2026-10-30T12:09:37Z")

</div>

Hi! The fun thing when trying to implement software (like Ehrtslib) from specifications is that you discover possible ambiguities in them; that is yet another reason to love new implementations! The fairly recently add…

---

## [Mapping clinical event time and system store time to openEHR](https://discourse.openehr.org/t/mapping-clinical-event-time-and-system-store-time-to-openehr/17364)

<div class="topic-metadata">

**Author:** [@Benjamin2107](https://discourse.openehr.org/u/Benjamin2107)\
**Replies:** 5\
**Last updated:** [19 October 2026 10:07 UTC](https://discourse.openehr.org/t/mapping-clinical-event-time-and-system-store-time-to-openehr/17364 "2026-10-19T10:07:28Z")

</div>

Hey everyone, I’m currently working on mapping clinical source datasets to openEHR and persisting the resulting Compositions in EHRbase. My current dataset is MIMIC-IV, but the mapping system is intended to support othe…

---

## [How to set external terminology validation](https://discourse.openehr.org/t/how-to-set-external-terminology-validation/3755)

<div class="topic-metadata">

**Author:** [@Alex\_Paris](https://discourse.openehr.org/u/Alex_Paris)\
**Replies:** 45\
**Last updated:** [14 October 2026 13:55 UTC](https://discourse.openehr.org/t/how-to-set-external-terminology-validation/3755 "2026-10-14T13:55:41Z")

</div>

I’m trying to use external terminology validation, right now there is no validation as I’m able to set any value. The default configuration ( 8. Terminology Validation — EHRbase documentation) the validation.external-ter…

---

## [EHRbase not supporting "persistent" or "episodic" COMPOSITION.category?](https://discourse.openehr.org/t/ehrbase-not-supporting-persistent-or-episodic-composition-category/17360)

<div class="topic-metadata">

**Author:** [@HHeiser](https://discourse.openehr.org/u/HHeiser)\
**Replies:** 9\
**Last updated:** [8 October 2026 12:55 UTC](https://discourse.openehr.org/t/ehrbase-not-supporting-persistent-or-episodic-composition-category/17360 "2026-10-08T12:55:34Z")

</div>

Hello, I want to ask whether EHRbase supports COMPOSITION.category other than 433::event? This came up while I was testing the EHR Merge API endpoint, which mentions the keyword composition\_merge: PERSISTENT, presumabl…

---

## [Performance of an openEHR CDR based on a graph database](https://discourse.openehr.org/t/performance-of-an-openehr-cdr-based-on-a-graph-database/17224)

<div class="topic-metadata">

**Author:** [@borut.jures](https://discourse.openehr.org/u/borut.jures)\
**Replies:** 49\
**Last updated:** [19 September 2026 08:50 UTC](https://discourse.openehr.org/t/performance-of-an-openehr-cdr-based-on-a-graph-database/17224 "2026-09-19T08:50:53Z")

</div>

@erik.sundvall just posted another great opportunity to join their team to build a new openEHR CDR (Join or comment CDR Catalyst initiative from Karolinska - #5 by erik.sundvall). His Catalyst posts and document piqued …

---

## [Exploring openEHR CDRs - A new tool.](https://discourse.openehr.org/t/exploring-openehr-cdrs-a-new-tool/17204)

<div class="topic-metadata">

**Author:** [@richard.kavanagh](https://discourse.openehr.org/u/richard.kavanagh)\
**Replies:** 10\
**Last updated:** [8 September 2026 13:29 UTC](https://discourse.openehr.org/t/exploring-openehr-cdrs-a-new-tool/17204 "2026-09-08T13:29:29Z")

</div>

I managed to complete a beta version of my new tool, which demonstrates the use of the openEHR APIs against a CDR. Although built on a cross-platform framework, the tool is currently only for Windows (as I’m not paying…

---

## [EHR API for VERSIONED\_COMPOSITION - puzzled over identifiers.](https://discourse.openehr.org/t/ehr-api-for-versioned-composition-puzzled-over-identifiers/17185)

<div class="topic-metadata">

**Author:** [@richard.kavanagh](https://discourse.openehr.org/u/richard.kavanagh)\
**Replies:** 5\
**Last updated:** [19 August 2026 16:46 UTC](https://discourse.openehr.org/t/ehr-api-for-versioned-composition-puzzled-over-identifiers/17185 "2026-08-19T16:46:41Z")

</div>

I have been looking at the EHR REST API, specifically around the retrieval of VERSIONED\_COMPOSITION data. The REST API expects these parameters (from the specification). Why does it need both the versioned\_object\_ui…

---

## [OPT Versioning on CDRs, esp. EHRbase](https://discourse.openehr.org/t/opt-versioning-on-cdrs-esp-ehrbase/17111)

<div class="topic-metadata">

**Author:** [@HHeiser](https://discourse.openehr.org/u/HHeiser)\
**Replies:** 24\
**Last updated:** [18 August 2026 08:00 UTC](https://discourse.openehr.org/t/opt-versioning-on-cdrs-esp-ehrbase/17111 "2026-08-18T08:00:30Z")

</div>

We are investigating whether CDRs support versioning or auditing for OPTs, for example who uploaded or replaced a template and when; similar to how VERSIONED\_OBJECT works for compositions. This seems relevant when a tem…

---

## [String parameters on AQL queries](https://discourse.openehr.org/t/string-parameters-on-aql-queries/16823)

<div class="topic-metadata">

**Author:** [@yampeku](https://discourse.openehr.org/u/yampeku)\
**Replies:** 3\
**Last updated:** [15 May 2026 13:01 UTC](https://discourse.openehr.org/t/string-parameters-on-aql-queries/16823 "2026-05-15T13:01:56Z")

</div>

I was trying to do a call to a simple stored query based on the EHR\_STATUS SELECT c/uid/value as composition\_id FROM EHR e CONTAINS COMPOSITION c WHERE e/ehr\_status/subject/external\_ref/id/value = $patient Then laun…

---

## [RM Mappings - DV\_CODED\_TEXT preferred\_term missing](https://discourse.openehr.org/t/rm-mappings-dv-coded-text-preferred-term-missing/11780)

<div class="topic-metadata">

**Author:** [@jbuch](https://discourse.openehr.org/u/jbuch)\
**Replies:** 8\
**Last updated:** [28 April 2026 11:22 UTC](https://discourse.openehr.org/t/rm-mappings-dv-coded-text-preferred-term-missing/11780 "2026-04-28T11:22:19Z")

</div>

When trying to POST a FLAT Composition on EHRBase, I noticed that I wasn’t able to save a DV\_CODED\_TEXT with a preferred\_term, and neither is it retained after saving it using a RAW/JSON Composition and then loaded in FL…

---

## [FLAT Contributions](https://discourse.openehr.org/t/flat-contributions/11966)

<div class="topic-metadata">

**Author:** [@HHeiser](https://discourse.openehr.org/u/HHeiser)\
**Replies:** 10\
**Last updated:** [28 April 2026 08:08 UTC](https://discourse.openehr.org/t/flat-contributions/11966 "2026-04-28T08:08:56Z")

</div>

We are looking for ways to use simplified formats (FLAT or STRUCTURED) on a contribution level, because we want to commit several compositions in the same contribution. The specific use case is described here (TLDR: we m…

---

## [Ehrbase Performance Issue](https://discourse.openehr.org/t/ehrbase-performance-issue/11953)

<div class="topic-metadata">

**Author:** [@Mancini](https://discourse.openehr.org/u/Mancini)\
**Replies:** 2\
**Last updated:** [20 April 2026 09:49 UTC](https://discourse.openehr.org/t/ehrbase-performance-issue/11953 "2026-04-20T09:49:28Z")

</div>

We are using EHRbase (v2.5) in production with approximately 150 GB of clinical data. Infrastructure EHRbase (Kubernetes): Replicas: 3 CPU: 2–4 cores per pod Memory: 4–16 GB per pod Database: CPU: 8 cores …

---

## [EHRbase DV\_SCALE support](https://discourse.openehr.org/t/ehrbase-dv-scale-support/11881)

<div class="topic-metadata">

**Author:** [@Koray\_Atalag](https://discourse.openehr.org/u/Koray_Atalag)\
**Replies:** 8\
**Last updated:** [2 April 2026 08:15 UTC](https://discourse.openehr.org/t/ehrbase-dv-scale-support/11881 "2026-04-02T08:15:33Z")

</div>

I’m quite surprised that this is not supported, yet requests from 2021 tickets (now closed without fixing it). Underpinning Archie library supports it as this data type is part of the RM spec. This is particularly import…

---

## [Broken link "https://docs.ehrbase.org/en/latest/03\_development/02\_testing/index.html" on https://github.com/ehrbase/integration-tests](https://discourse.openehr.org/t/broken-link-https-docs-ehrbase-org-en-latest-03-development-02-testing-index-html-on-https-github-com-ehrbase-integration-tests/11816)

<div class="topic-metadata">

**Author:** [@Christopher\_Keith](https://discourse.openehr.org/u/Christopher_Keith)\
**Replies:** 1\
**Last updated:** [18 March 2026 06:38 UTC](https://discourse.openehr.org/t/broken-link-https-docs-ehrbase-org-en-latest-03-development-02-testing-index-html-on-https-github-com-ehrbase-integration-tests/11816 "2026-03-18T06:38:28Z")

</div>

Folks: I’m not sure this is the right place to post this. Please let me know of a better place. I’ve been able to build ehrbase, run ‘mvn package’ and run ‘mvn test’ successfully. When I tried to read about the integra…

---

## [Building an open CIS — Article Series on Implementing a Minimal CIS with EHRBase](https://discourse.openehr.org/t/building-an-open-cis-article-series-on-implementing-a-minimal-cis-with-ehrbase/11690)

<div class="topic-metadata">

**Author:** [@platzhersh](https://discourse.openehr.org/u/platzhersh)\
**Replies:** 3\
**Last updated:** [2 February 2026 09:28 UTC](https://discourse.openehr.org/t/building-an-open-cis-article-series-on-implementing-a-minimal-cis-with-ehrbase/11690 "2026-02-02T09:28:58Z")

</div>

Hi there, I’ve been documenting my experience building a minimal Clinical Information System on EHRBase, and wanted to share the resulting article series with the community. Repository: github.com/platzhersh/open-cis T…

---

## [openEHR MCP Server - a plugin to connect LLMs with CDR's](https://discourse.openehr.org/t/openehr-mcp-server-a-plugin-to-connect-llms-with-cdrs/6869)

<div class="topic-metadata">

**Author:** [@odeak](https://discourse.openehr.org/u/odeak)\
**Replies:** 22\
**Last updated:** [11 January 2026 08:00 UTC](https://discourse.openehr.org/t/openehr-mcp-server-a-plugin-to-connect-llms-with-cdrs/6869 "2026-01-11T08:00:08Z")

</div>

Dear openEHR community, I would like to announce an open-source Model Context Protocol (MCP) server for openEHR that I developed as part of my learning journey at @Sidharth\_Ramesh 's excellent openEHR bootcamp: MCP …

---

## [new release of openEHRTool](https://discourse.openehr.org/t/new-release-of-openehrtool/11663)

<div class="topic-metadata">

**Author:** [@surfer](https://discourse.openehr.org/u/surfer)\
**Replies:** 0\
**Last updated:** [2 January 2026 18:29 UTC](https://discourse.openehr.org/t/new-release-of-openehrtool/11663 "2026-01-02T18:29:24Z")

</div>

At GitHub - crs4/openEHRTool-v2: New version of openEHRTool completely rewritten you can find the new release of the openEHRTool which is a free open source frontend developed at CRS4 for EHRBase. It has all the user and…

---

## [POST contribution with FLAT composition on EHRBase](https://discourse.openehr.org/t/post-contribution-with-flat-composition-on-ehrbase/11643)

<div class="topic-metadata">

**Author:** [@jbuch](https://discourse.openehr.org/u/jbuch)\
**Replies:** 3\
**Last updated:** [12 December 2025 11:23 UTC](https://discourse.openehr.org/t/post-contribution-with-flat-composition-on-ehrbase/11643 "2025-12-12T11:23:40Z")

</div>

I am trying to POST a contribution with a composition in FLAT format using the EHRBase API. It seems there are two possibilities: “Native”: Directly using the contribution endpoint with the data in FLAT format (seems t…

---

## [EHRbase API for retrieving the release version of the EHRbase Sandbox](https://discourse.openehr.org/t/ehrbase-api-for-retrieving-the-release-version-of-the-ehrbase-sandbox/11636)

<div class="topic-metadata">

**Author:** [@emmanuel.eschmann](https://discourse.openehr.org/u/emmanuel.eschmann)\
**Replies:** 2\
**Last updated:** [9 December 2025 07:31 UTC](https://discourse.openehr.org/t/ehrbase-api-for-retrieving-the-release-version-of-the-ehrbase-sandbox/11636 "2025-12-09T07:31:59Z")

</div>

Is there an endpoint for retrieving the release version of the EHRbase Sandbox? The endpoint https://sandkiste.ehrbase.org/ehrbase/rest/admin/status only returns a status of ‘200 OK’ and the following message: ‘EHRbase …

---

## [Creating and uploading templates to EHRbase - vitagroup webinar](https://discourse.openehr.org/t/creating-and-uploading-templates-to-ehrbase-vitagroup-webinar/7068)

<div class="topic-metadata">

**Author:** [@MajaD](https://discourse.openehr.org/u/MajaD)\
**Replies:** 0\
**Last updated:** [26 August 2025 13:41 UTC](https://discourse.openehr.org/t/creating-and-uploading-templates-to-ehrbase-vitagroup-webinar/7068 "2025-08-26T13:41:37Z")

</div>

On Friday 5 September, vitagroup is organising the next webinar in the series Learning openEHR with EHRbase. This session is also hands on and practical: Creating templates and uploading them to EHRbase. We will cover: …

---

## [vitagroup free webinar - Deploying EHRbase](https://discourse.openehr.org/t/vitagroup-free-webinar-deploying-ehrbase/7057)

<div class="topic-metadata">

**Author:** [@MajaD](https://discourse.openehr.org/u/MajaD)\
**Replies:** 0\
**Last updated:** [20 August 2025 10:39 UTC](https://discourse.openehr.org/t/vitagroup-free-webinar-deploying-ehrbase/7057 "2025-08-20T10:39:24Z")

</div>

Just a quick note to let you know that vitagroup is organising a webinar series on Learning openEHR by using EHRbase , the open source backend. The next session is this Friday, 22 August at 10:00 CET, and it will show y…

---

## [AQL query with query\_parameters and GET method](https://discourse.openehr.org/t/aql-query-with-query-parameters-and-get-method/4940)

<div class="topic-metadata">

**Author:** [@surfer](https://discourse.openehr.org/u/surfer)\
**Replies:** 7\
**Last updated:** [23 June 2025 11:36 UTC](https://discourse.openehr.org/t/aql-query-with-query-parameters-and-get-method/4940 "2025-06-23T11:36:40Z")

</div>

Hello, Let’s consider a query like this one: select c/uid/value, e/ehr\_id/value from EHR e contains COMPOSITION c where c/archetype\_details/template\_id/value = $tid with query\_parameters={“tid”:“template1”} In EHRBas…

---

## [Error in EHRbase when using feeder\_audit within DV\_TEXT element](https://discourse.openehr.org/t/error-in-ehrbase-when-using-feeder-audit-within-dv-text-element/6855)

<div class="topic-metadata">

**Author:** [@HHeiser](https://discourse.openehr.org/u/HHeiser)\
**Replies:** 4\
**Last updated:** [22 May 2025 14:10 UTC](https://discourse.openehr.org/t/error-in-ehrbase-when-using-feeder-audit-within-dv-text-element/6855 "2025-05-22T14:10:04Z")

</div>

Our application provides the user with the option to format some freetext fields, currently the formatting is done with RTF. @ian.mcnicoll 's feedback was that DV\_TEXT/value should be as human-readable and accessible as …

---

## [ADL2 support in EHRBase](https://discourse.openehr.org/t/adl2-support-in-ehrbase/6827)

<div class="topic-metadata">

**Author:** [@surfer](https://discourse.openehr.org/u/surfer)\
**Replies:** 2\
**Last updated:** [15 May 2025 14:27 UTC](https://discourse.openehr.org/t/adl2-support-in-ehrbase/6827 "2025-05-15T14:27:14Z")

</div>

I jump quick to the question: Are adl2 templates supported in EHRBase? From what I have seen in latest ehrbase docs adl2 templates seems to be supported: But when I tried the endpoint feeding an adl2 template (hopefu…

---

## [AQL issue with Same cluster used in multiple archetypes in the same template in version 2.0](https://discourse.openehr.org/t/aql-issue-with-same-cluster-used-in-multiple-archetypes-in-the-same-template-in-version-2-0/6763)

<div class="topic-metadata">

**Author:** [@Sravanthi\_Kovi](https://discourse.openehr.org/u/Sravanthi_Kovi)\
**Replies:** 5\
**Last updated:** [9 May 2025 04:39 UTC](https://discourse.openehr.org/t/aql-issue-with-same-cluster-used-in-multiple-archetypes-in-the-same-template-in-version-2-0/6763 "2025-05-09T04:39:21Z")

</div>

sample\_template.en.v0.t.json (190.3 KB) AQL : { “q”: " SELECT c1/items\[at0031\]/value/value as staging, c1/items\[at0003\]/value/value as T, c1/items\[at0004\]/value/value as M, c1/items\[at0005\]/value/value as N FROM EHR …

---

## [ehrBASE datamodel for change control](https://discourse.openehr.org/t/ehrbase-datamodel-for-change-control/6737)

<div class="topic-metadata">

**Author:** [@joostholslag](https://discourse.openehr.org/u/joostholslag)\
**Replies:** 9\
**Last updated:** [28 April 2025 14:40 UTC](https://discourse.openehr.org/t/ehrbase-datamodel-for-change-control/6737 "2025-04-28T14:40:42Z")

</div>

I’m trying to understand how ehrBASE implements the change control specification. Since every change in a COMPOSTION in openEHR is a new VERSION\<COMPOSITION\> in a VERSIONED\_OBJECT\<COMPOSITION\>, I struggle to understand …

---

## [EhrBase DB schema definition](https://discourse.openehr.org/t/ehrbase-db-schema-definition/4249)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 12\
**Last updated:** [26 April 2025 12:46 UTC](https://discourse.openehr.org/t/ehrbase-db-schema-definition/4249 "2025-04-26T12:46:12Z")

</div>

I was trying to find the DB schema definition for Postgres in EhrBase in the EhrBase code base . So far I have not found it - can anyone provide a pointer? Ping @birger.haarbrandt

---

## [Guide on setting up EHRbase on Cloud and more](https://discourse.openehr.org/t/guide-on-setting-up-ehrbase-on-cloud-and-more/6505)

<div class="topic-metadata">

**Author:** [@Koray\_Atalag](https://discourse.openehr.org/u/Koray_Atalag)\
**Replies:** 1\
**Last updated:** [4 March 2025 07:52 UTC](https://discourse.openehr.org/t/guide-on-setting-up-ehrbase-on-cloud-and-more/6505 "2025-03-04T07:52:03Z")

</div>

Hi folks, I created THIS guide from my weekend hack to get started with EHRbase. The guide is currently in my own space and I’d appreciate if you could point out to a proper place in the main confluence tree. Perhaps w…

---

## [FLAT format for leaf that can be both DV\_CODED\_TEXT and DV\_TEXT](https://discourse.openehr.org/t/flat-format-for-leaf-that-can-be-both-dv-coded-text-and-dv-text/6317)

<div class="topic-metadata">

**Author:** [@surfer](https://discourse.openehr.org/u/surfer)\
**Replies:** 11\
**Last updated:** [12 February 2025 15:14 UTC](https://discourse.openehr.org/t/flat-format-for-leaf-that-can-be-both-dv-coded-text-and-dv-text/6317 "2025-02-12T15:14:53Z")

</div>

Hello, I have a template that includes the laboratory\_test\_results archetype ( https://ckm.openehr.org/ckm/archetypes/1013.1.2191 ). Inside laboratory\_test\_results there is a leaf called overall\_test\_status that I left …

---

## [Public Test Servers](https://discourse.openehr.org/t/public-test-servers/2812)

<div class="topic-metadata">

**Author:** [@Paco\_Novillo](https://discourse.openehr.org/u/Paco_Novillo)\
**Replies:** 29\
**Last updated:** [5 February 2025 11:50 UTC](https://discourse.openehr.org/t/public-test-servers/2812 "2025-02-05T11:50:50Z")

</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 EHRSer…

[Next page](https://discourse.openehr.org/tag/ehrbase/30.md?match_all_tags=true&page=1&tags%5B%5D=ehrbase)
