# Apps

**URL:** https://discourse.openehr.org/c/implem/app-dev/8.md

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

---

## [About the Apps category](https://discourse.openehr.org/t/about-the-apps-category/19)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 0

</div>

Discuss app(lications) development, typically using openEHR APIs and AQL.

---

## [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…

---

## [Pagination with total count (specifically in EHRBase)](https://discourse.openehr.org/t/pagination-with-total-count-specifically-in-ehrbase/5761)

<div class="topic-metadata">

**Author:** [@pskillen-nes](https://discourse.openehr.org/u/pskillen-nes)\
**Replies:** 4\
**Last updated:** [3 October 2024 14:31 UTC](https://discourse.openehr.org/t/pagination-with-total-count-specifically-in-ehrbase/5761 "2024-10-03T14:31:15Z")

</div>

We have a system which builds AQL queries and runs them against an EHRBase 2.2 server. Users can specify a set of search criteria (time ranges, participant identifiers, fields from various archetypes, etc), and the code …

---

## [Yugabyte DB with EHRBase](https://discourse.openehr.org/t/yugabyte-db-with-ehrbase/5556)

<div class="topic-metadata">

**Author:** [@scm7mae](https://discourse.openehr.org/u/scm7mae)\
**Replies:** 2\
**Last updated:** [12 August 2024 06:51 UTC](https://discourse.openehr.org/t/yugabyte-db-with-ehrbase/5556 "2024-08-12T06:51:15Z")

</div>

Hi There, I was wondering if anyone might have some prior experience with addressing the issue I have? I’m trying to get yugabyte to work with EHRBase within my Kubernetes cluster. Currently, my issue is on startup of…

---

## [EHRbase: 400 error, but OPT still gets saved?](https://discourse.openehr.org/t/ehrbase-400-error-but-opt-still-gets-saved/5293)

<div class="topic-metadata">

**Author:** [@siljelb](https://discourse.openehr.org/u/siljelb)\
**Replies:** 5\
**Last updated:** [3 June 2024 16:04 UTC](https://discourse.openehr.org/t/ehrbase-400-error-but-opt-still-gets-saved/5293 "2024-06-03T16:04:47Z")

</div>

Using the endpoint POST /template/adl1.4, I’m getting a 400: BAD REQUEST (Requested operational template type not supported error. The weird thing is that the OPT still gets saved, and looks fine when using the GET /temp…

---

## [How to create EHR?](https://discourse.openehr.org/t/how-to-create-ehr/4272)

<div class="topic-metadata">

**Author:** [@vijay\_zharotia](https://discourse.openehr.org/u/vijay_zharotia)\
**Replies:** 3\
**Last updated:** [26 July 2023 20:51 UTC](https://discourse.openehr.org/t/how-to-create-ehr/4272 "2023-07-26T20:51:57Z")

</div>

I tried posting data from EHR API openEHR specs { “archetype\_node\_id”: “openEHR-EHR-EHR\_STATUS.generic.v1”, “name”: { “value”: “EHR status” }, “uid”: { “\_type”: “OBJECT\_VERSION\_ID”, “value”: “8849182c-82ad-4088-a…

---

## [I can't do a valid body to "Create CONTRIBUTION" of EHR API](https://discourse.openehr.org/t/i-cant-do-a-valid-body-to-create-contribution-of-ehr-api/3596)

<div class="topic-metadata">

**Author:** [@Miguel\_Frias\_Carmona](https://discourse.openehr.org/u/Miguel_Frias_Carmona)\
**Replies:** 14\
**Last updated:** [21 February 2023 14:26 UTC](https://discourse.openehr.org/t/i-cant-do-a-valid-body-to-create-contribution-of-ehr-api/3596 "2023-02-21T14:26:27Z")

</div>

I have this body: { “uid”: { “value”: “6eb91861-faa9-4989-a811-078f674d570a” }, “versions”: \[ { “\_type”: “VERSIONED\_COMPOSITION”, “lifecycle\_state”: { “\_type”: “TERMINOLOGY\_CODE”, “terminology\_id”: “openehr”, …

---

## [Standardised API for custom GUI-widgets for openEHR-based form editors & renderers?](https://discourse.openehr.org/t/standardised-api-for-custom-gui-widgets-for-openehr-based-form-editors-renderers/1936)

<div class="topic-metadata">

**Author:** [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Replies:** 10\
**Last updated:** [6 April 2022 18:01 UTC](https://discourse.openehr.org/t/standardised-api-for-custom-gui-widgets-for-openehr-based-form-editors-renderers/1936 "2022-04-06T18:01:57Z")

</div>

Most openEHR platform/tooling suppliers with form creation/editing and other GUI-building support will likely need a way for customers to add their own extra custom widgets to forms and some other views - widgets that ar…

---

## [Semi structured narrative data](https://discourse.openehr.org/t/semi-structured-narrative-data/2007)

<div class="topic-metadata">

**Author:** [@joostholslag](https://discourse.openehr.org/u/joostholslag)\
**Replies:** 44\
**Last updated:** [23 December 2021 07:26 UTC](https://discourse.openehr.org/t/semi-structured-narrative-data/2007 "2021-12-23T07:26:58Z")

</div>

A lot of our clinical data is in narrative reports form. Let’s say for EVALUATION.clinical\_synopsis.synopsis there’s a DV\_TEXT that contains a paragraph of text where some words in an individual sentence could be mapped …

---

## [Must a forms runtime app support different AOM/RM releases?](https://discourse.openehr.org/t/must-a-forms-runtime-app-support-different-aom-rm-releases/2099)

<div class="topic-metadata">

**Author:** [@borut.jures](https://discourse.openehr.org/u/borut.jures)\
**Replies:** 0\
**Last updated:** [23 November 2021 11:50 UTC](https://discourse.openehr.org/t/must-a-forms-runtime-app-support-different-aom-rm-releases/2099 "2021-11-23T11:50:48Z")

</div>

I only have Region Östergötland procurement documents but they don’t specify whether their forms runtime app will have to support OPTs with different AOM/RM releases in the same app. How I imagine a forms app use-case: …

---

## [Error While posting composition](https://discourse.openehr.org/t/error-while-posting-composition/1852)

<div class="topic-metadata">

**Author:** [@Yash](https://discourse.openehr.org/u/Yash)\
**Replies:** 6\
**Last updated:** [8 September 2021 19:01 UTC](https://discourse.openehr.org/t/error-while-posting-composition/1852 "2021-09-08T19:01:12Z")

</div>

I am receiving this error while posting the composiiton to ehrbase server I have posted the template first , created a blank ehr with ehr ID from OPT and I put the same EHR ID in the params while posting

---

## [Analytics with OpenEHR](https://discourse.openehr.org/t/analytics-with-openehr/1466)

<div class="topic-metadata">

**Author:** [@Shilpa9a](https://discourse.openehr.org/u/Shilpa9a)\
**Replies:** 1\
**Last updated:** [15 April 2021 09:49 UTC](https://discourse.openehr.org/t/analytics-with-openehr/1466 "2021-04-15T09:49:54Z")

</div>

What are the OpenEHR compatible visualisation and analytics tools?

---

## [Use openEHR for DIGA mobile applications](https://discourse.openehr.org/t/use-openehr-for-diga-mobile-applications/1424)

<div class="topic-metadata">

**Author:** [@henning.sarrus](https://discourse.openehr.org/u/henning.sarrus)\
**Replies:** 6\
**Last updated:** [29 March 2021 15:24 UTC](https://discourse.openehr.org/t/use-openehr-for-diga-mobile-applications/1424 "2021-03-29T15:24:13Z")

</div>

Medical mobile applications can now be remunerated if they are included in the DiGA directory. The patient must be able to export the data, in a human-readable form and in a schema for the practitioner. FHIR should rep…

---

## [How transform Composition XML to JSONFLAT JAVA 8](https://discourse.openehr.org/t/how-transform-composition-xml-to-jsonflat-java-8/1376)

<div class="topic-metadata">

**Author:** [@luiz\_Minelli](https://discourse.openehr.org/u/luiz_Minelli)\
**Replies:** 1\
**Last updated:** [10 March 2021 18:38 UTC](https://discourse.openehr.org/t/how-transform-composition-xml-to-jsonflat-java-8/1376 "2021-03-10T18:38:53Z")

</div>

Hi, I would like to know how I can transform an XML composition into a JSONFLAT in the same style as MARAND / Better in JAVA 8, because in one of the OpenehrSDK libraries it seems to contain a method for transformation …

---

## [OpenEHR and SMART apps on FHIR](https://discourse.openehr.org/t/openehr-and-smart-apps-on-fhir/1009)

<div class="topic-metadata">

**Author:** [@Mahy](https://discourse.openehr.org/u/Mahy)\
**Replies:** 1\
**Last updated:** [5 October 2020 12:25 UTC](https://discourse.openehr.org/t/openehr-and-smart-apps-on-fhir/1009 "2020-10-05T12:25:38Z")

</div>

Hello, Does openEHR API support SMART on FHIR?

---

## [Have a problem starting Ocean's Template Designer](https://discourse.openehr.org/t/have-a-problem-starting-oceans-template-designer/463)

<div class="topic-metadata">

**Author:** [@rathpanyowat](https://discourse.openehr.org/u/rathpanyowat)\
**Replies:** 24\
**Last updated:** [19 August 2020 07:24 UTC](https://discourse.openehr.org/t/have-a-problem-starting-oceans-template-designer/463 "2020-08-19T07:24:05Z")

</div>

Hi everyone, I’m trying to create an openEHR template with Ocean’s Template Designer. I think most people also use this tool too. I’m using Mac. However, I can’t start the program no matter which method I tried. It’s li…

---

## [AQL to query the same node across multiple versions of any archetype](https://discourse.openehr.org/t/aql-to-query-the-same-node-across-multiple-versions-of-any-archetype/325)

<div class="topic-metadata">

**Author:** [@Dileep\_V\_S](https://discourse.openehr.org/u/Dileep_V_S)\
**Replies:** 17\
**Last updated:** [19 March 2020 13:03 UTC](https://discourse.openehr.org/t/aql-to-query-the-same-node-across-multiple-versions-of-any-archetype/325 "2020-03-19T13:03:57Z")

</div>

Hi, What is the way to write an aql to query the same node in multiple versions of the same archetype? Is there a way to use a wild card or regex to include all versions of an archetype in the contains section of an arc…

---

## [QEWD.js great video on VM-style DBs](https://discourse.openehr.org/t/qewd-js-great-video-on-vm-style-dbs/379)

<div class="topic-metadata">

**Author:** [@thomas.beale](https://discourse.openehr.org/u/thomas.beale)\
**Replies:** 1\
**Last updated:** [28 February 2020 00:35 UTC](https://discourse.openehr.org/t/qewd-js-great-video-on-vm-style-dbs/379 "2020-02-28T00:35:17Z")

</div>

Rob Tweed had made a masterful video (here on YouTube), very nicely produced on his QEWD.js framework and its seamless DB back-end. I’ve posted it here, because although it’s about DBs, it’s really the back-end of a fram…

---

## [Implementation of Instructions vs Actions in exchange](https://discourse.openehr.org/t/implementation-of-instructions-vs-actions-in-exchange/331)

<div class="topic-metadata">

**Author:** [@heather.leslie](https://discourse.openehr.org/u/heather.leslie)\
**Replies:** 14\
**Last updated:** [19 February 2020 22:07 UTC](https://discourse.openehr.org/t/implementation-of-instructions-vs-actions-in-exchange/331 "2020-02-19T22:07:57Z")

</div>

Hi everyone, I’d love some advice that I can pass on to other modellers… Many times it is clear where an INSTRUCTION or ACTION should be modelled in a template ie an order vs something that has been done. In the clini…

---

## [Missing NodeId Elements](https://discourse.openehr.org/t/missing-nodeid-elements/324)

<div class="topic-metadata">

**Author:** [@anicol](https://discourse.openehr.org/u/anicol)\
**Replies:** 4\
**Last updated:** [14 February 2020 14:53 UTC](https://discourse.openehr.org/t/missing-nodeid-elements/324 "2020-02-14T14:53:40Z")

</div>

Hi I have been using the openEhr client library class to generate a composition based upon a couple of templates that I have been working with. However in order for the compositions to be generated without error, I have…

---

## [Any experiences of synthetich openEHR data, e.g. using Synthea?](https://discourse.openehr.org/t/any-experiences-of-synthetich-openehr-data-e-g-using-synthea/309)

<div class="topic-metadata">

**Author:** [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)\
**Replies:** 2\
**Last updated:** [4 February 2020 15:22 UTC](https://discourse.openehr.org/t/any-experiences-of-synthetich-openehr-data-e-g-using-synthea/309 "2020-02-04T15:22:53Z")

</div>

Hi! Are you aware of any experiences of synthetich (fake) openEHR conformant data, generated e.g. using Synthea https://synthetichealth.github.io/synthea/ or similar? Are there any openEHR based generation-source-code …

---

## [How to create a RMObject model for a given archetype or template using archie](https://discourse.openehr.org/t/how-to-create-a-rmobject-model-for-a-given-archetype-or-template-using-archie/296)

<div class="topic-metadata">

**Author:** [@gayanper](https://discourse.openehr.org/u/gayanper)\
**Replies:** 2\
**Last updated:** [29 January 2020 15:39 UTC](https://discourse.openehr.org/t/how-to-create-a-rmobject-model-for-a-given-archetype-or-template-using-archie/296 "2020-01-29T15:39:46Z")

</div>

I working on a small App where i need to present a archetype or a template for data input. i want to create a RMObject model so that i can set values into different data attributes by using this empty model. How can i cr…

---

## [Proper way of discerning between siblings that are instances of the same archetype in COMPOSITION](https://discourse.openehr.org/t/proper-way-of-discerning-between-siblings-that-are-instances-of-the-same-archetype-in-composition/127)

<div class="topic-metadata">

**Author:** [@ricardofago](https://discourse.openehr.org/u/ricardofago)\
**Replies:** 7\
**Last updated:** [13 November 2019 21:54 UTC](https://discourse.openehr.org/t/proper-way-of-discerning-between-siblings-that-are-instances-of-the-same-archetype-in-composition/127 "2019-11-13T21:54:52Z")

</div>

Hi everyone, we’re currently running a scenario here in Brazil in which modelers create the COMPOSITION in Ocean’s Template Designer, export the OPT and TDS and deploy them to be distributed to external/public implemente…
