# Reference Implementation: Java (archive)

**URL:** https://discourse.openehr.org/c/reference-implementation-java-archive/154.md

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

---

## [About the Reference Implementation: Java (archive) category](https://discourse.openehr.org/t/about-the-reference-implementation-java-archive-category/11984)

<div class="topic-metadata">

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

</div>

Historical archive of the Java reference implementation list. NOTE: prior index.db suggests a partial prior import – verify before re-running.

---

## [Working with templates](https://discourse.openehr.org/t/working-with-templates/16505)

<div class="topic-metadata">

**Author:** [@Duarte\_Ferreira](https://discourse.openehr.org/u/Duarte_Ferreira)\
**Replies:** 5\
**Last updated:** [5 June 2015 15:11 UTC](https://discourse.openehr.org/t/working-with-templates/16505 "2015-06-05T15:11:21Z")

</div>

Hi, I’ve been working with the java-libs trying to parse templates. I used the parser and the flattener but when I serialize it to XML and compare it to the flattened (OPT) version from CKM, they are different. I’ve r…

---

## [Should we have an official openEHR maven repository?](https://discourse.openehr.org/t/should-we-have-an-official-openehr-maven-repository/15361)

<div class="topic-metadata">

**Author:** [@yampeku](https://discourse.openehr.org/u/yampeku)\
**Replies:** 10\
**Last updated:** [15 May 2015 09:03 UTC](https://discourse.openehr.org/t/should-we-have-an-official-openehr-maven-repository/15361 "2015-05-15T09:03:34Z")

</div>

Hello all, I think currently there is no public available maven repository for the openEHR java-libs and other related project libraries. Do you think it would be interesting to have this kind of official public repo…

---

## [Doubt parsing ADL file](https://discourse.openehr.org/t/doubt-parsing-adl-file/15366)

<div class="topic-metadata">

**Author:** [@Duarte\_Ferreira](https://discourse.openehr.org/u/Duarte_Ferreira)\
**Replies:** 5\
**Last updated:** [8 May 2015 09:28 UTC](https://discourse.openehr.org/t/doubt-parsing-adl-file/15366 "2015-05-08T09:28:00Z")

</div>

Hi, I’m using the java-libs to parse some adl files from the Clinical Knowledge Manager(CKM). I’m getting some crashes due to stackoverflow when trying to do Archetype.toString(). When I checked the Archetype I saw a …

---

## [Converting ADL to JSON](https://discourse.openehr.org/t/converting-adl-to-json/15352)

<div class="topic-metadata">

**Author:** [@Duarte\_Ferreira](https://discourse.openehr.org/u/Duarte_Ferreira)\
**Replies:** 20\
**Last updated:** [22 April 2015 07:54 UTC](https://discourse.openehr.org/t/converting-adl-to-json/15352 "2015-04-22T07:54:42Z")

</div>

Hi, First of all I would like to say Hello since this is my first post on the mailing list. Second, my questions: I’m trying to do a implementation of OpenEHR in Java with the persistence layer in JSON. I’ve searched…

---

## [Invalid language codes in languages codeset](https://discourse.openehr.org/t/invalid-language-codes-in-languages-codeset/15283)

<div class="topic-metadata">

**Author:** [@Ralph\_van\_Etten](https://discourse.openehr.org/u/Ralph_van_Etten)\
**Replies:** 20\
**Last updated:** [2 April 2014 11:20 UTC](https://discourse.openehr.org/t/invalid-language-codes-in-languages-codeset/15283 "2014-04-02T11:20:25Z")

</div>

Hi, I noticed there are invalid ISO 639-1 language codes used in https://github.com/openEHR/terminology/blob/master/openEHR\_RM/RM/Release-1.0.2/external\_terminologies.xml#L263 For instance, "ar-sa", "en-us" or "nl-be"…

---

## [Open source Reference Implementation](https://discourse.openehr.org/t/open-source-reference-implementation/15292)

<div class="topic-metadata">

**Author:** [@Jan-Marc\_Verlinden1](https://discourse.openehr.org/u/Jan-Marc_Verlinden1)\
**Replies:** 6\
**Last updated:** [28 December 2013 09:50 UTC](https://discourse.openehr.org/t/open-source-reference-implementation/15292 "2013-12-28T09:50:52Z")

</div>

Hi all, We would proudly like to announce that we have open sourced MEDrecord. This an implementation of the full openEHR Reference Model, see for yourself at https://www.medrecord.nl/users-guide/ The stack is already …

---

## [archetype\_details in item\_tree](https://discourse.openehr.org/t/archetype-details-in-item-tree/16444)

<div class="topic-metadata">

**Author:** [@Chamorro\_Gordejuela](https://discourse.openehr.org/u/Chamorro_Gordejuela)\
**Replies:** 0\
**Last updated:** [2 December 2013 10:51 UTC](https://discourse.openehr.org/t/archetype-details-in-item-tree/16444 "2013-12-02T10:51:45Z")

</div>

Hi all, I have a question about the archetype\_details attribute in LOCATABLE class. The attribute is not getting populated by the SkeletonGenerator for ITEM\_TREE class even when the ITEM\_TREE object is the root of the …

---

## [various reference implementation patches](https://discourse.openehr.org/t/various-reference-implementation-patches/16722)

<div class="topic-metadata">

**Author:** [@Leo\_Simons](https://discourse.openehr.org/u/Leo_Simons)\
**Replies:** 12\
**Last updated:** [2 December 2013 10:21 UTC](https://discourse.openehr.org/t/various-reference-implementation-patches/16722 "2013-12-02T10:21:39Z")

</div>

Hi everyone, Pleased to meet you...I'm Leo, I work at MEDvision (formerly known as ZorgGemak, one of those shiny Dutch openEHR companies), I do some work on our version of Bert's openEHR kernel. I come bearing patches! …

---

## [EHRServer demo online](https://discourse.openehr.org/t/ehrserver-demo-online/15062)

<div class="topic-metadata">

**Author:** [@pablo](https://discourse.openehr.org/u/pablo)\
**Replies:** 3\
**Last updated:** [27 September 2013 04:53 UTC](https://discourse.openehr.org/t/ehrserver-demo-online/15062 "2013-09-27T04:53:43Z")

</div>

Hi all, Tomorrow I’ll do a small demo of our EHRServer project. I’ll show the EHRServer functionalities, mainly commit and querying, the UI, and a couple of client apps. This will be the same demo as last week (in spa…

---

## [concerning adl-parser](https://discourse.openehr.org/t/concerning-adl-parser/16438)

<div class="topic-metadata">

**Author:** [@system](https://discourse.openehr.org/u/system)\
**Replies:** 5\
**Last updated:** [3 September 2013 08:04 UTC](https://discourse.openehr.org/t/concerning-adl-parser/16438 "2013-09-03T08:04:57Z")

</div>

LinkEHR writes an archetypenode id in a use\_node, the Java ADL-parser regards this as erroneous, although it is permitted in the AOM, where there is an nodeId in the ArchetypeInternalRef constructor. The repair in adl.j…

---

## [New release for GDL Editor (v0.92)](https://discourse.openehr.org/t/new-release-for-gdl-editor-v0-92/15259)

<div class="topic-metadata">

**Author:** [@system](https://discourse.openehr.org/u/system)\
**Replies:** 14\
**Last updated:** [23 August 2013 05:47 UTC](https://discourse.openehr.org/t/new-release-for-gdl-editor-v0-92/15259 "2013-08-23T05:47:33Z")

</div>

Hi everybody, Today we are releasing a new version of the GDL editor (v0.92)! You can find the binaries at the SourceForge page: https://sourceforge.net/projects/gdl-editor To download directly the installer (Windows …

---

## [trying to flat archetypes](https://discourse.openehr.org/t/trying-to-flat-archetypes/15168)

<div class="topic-metadata">

**Author:** [@pablo](https://discourse.openehr.org/u/pablo)\
**Replies:** 20\
**Last updated:** [20 July 2013 14:57 UTC](https://discourse.openehr.org/t/trying-to-flat-archetypes/15168 "2013-07-20T14:57:48Z")

</div>

Hi Rong, I’ve updated my java-ref-impl from SVN: http://www.openehr.org/svn/ref\_impl\_java I builded it and generated the jars: xxx-1.0.2-SNAPSHOT.jar Is the version 1.0.2-SNAPSHOT correct? I remember I builded this a …

---

## [rm-validator?](https://discourse.openehr.org/t/rm-validator/16425)

<div class="topic-metadata">

**Author:** [@system](https://discourse.openehr.org/u/system)\
**Replies:** 1\
**Last updated:** [22 May 2013 06:44 UTC](https://discourse.openehr.org/t/rm-validator/16425 "2013-05-22T06:44:39Z")

</div>

Hi! I am currently creating a Maven configuration for the LiU EEE experimental openEHR+REST-implementation so that we can release the code on GitHub in an organized manner and without violating any licenses for included…

---

## [Need help with using the reference implementation library](https://discourse.openehr.org/t/need-help-with-using-the-reference-implementation-library/13362)

<div class="topic-metadata">

**Author:** [@Kumar\_Saurabh](https://discourse.openehr.org/u/Kumar_Saurabh)\
**Replies:** 1\
**Last updated:** [24 March 2013 13:40 UTC](https://discourse.openehr.org/t/need-help-with-using-the-reference-implementation-library/13362 "2013-03-24T13:40:02Z")

</div>

Hi, I am a student trying to use OpenEHR reference implementation. I downloaded the jars and was able to use it to parse an ADL file and get the AOM. But i am not able to find the correct way of acessing the AOM (Arch…

---

## [ehr xml schema - jaxb impl](https://discourse.openehr.org/t/ehr-xml-schema-jaxb-impl/15594)

<div class="topic-metadata">

**Author:** [@Abhai\_Raj\_Singh\_Khal](https://discourse.openehr.org/u/Abhai_Raj_Singh_Khal)\
**Replies:** 0\
**Last updated:** [16 March 2013 14:56 UTC](https://discourse.openehr.org/t/ehr-xml-schema-jaxb-impl/15594 "2013-03-16T14:56:14Z")

</div>

Hi, I’m a software integration and Java application architect specializing in XML data storage and processing and just joined this mailing list. One of my clients wanted me to look into integrating their application us…

---

## [\[571\] Enable choosing a different Locale for the Validation Properties.](https://discourse.openehr.org/t/571-enable-choosing-a-different-locale-for-the-validation-properties/15223)

<div class="topic-metadata">

**Author:** [@svn1](https://discourse.openehr.org/u/svn1)\
**Replies:** 6\
**Last updated:** [30 January 2013 17:58 UTC](https://discourse.openehr.org/t/571-enable-choosing-a-different-locale-for-the-validation-properties/15223 "2013-01-30T17:58:37Z")

</div>

Revision: 571 Author: sebastian.garde Log Message:

---

## [CPrimitive / CBoolean.getType()](https://discourse.openehr.org/t/cprimitive-cboolean-gettype/15591)

<div class="topic-metadata">

**Author:** [@system](https://discourse.openehr.org/u/system)\
**Replies:** 2\
**Last updated:** [25 January 2013 15:44 UTC](https://discourse.openehr.org/t/cprimitive-cboolean-gettype/15591 "2013-01-25T15:44:44Z")

</div>

Hi, CPrimitive.getType() is used by the constructor of CPrimitiveObject to set the RMTypeName of the CPrimitiveObject. Looking at the CPrimitives, there seems to be some inconsistencies: CInteger → Integer CString → …

---

## [\[570\] ArchetypeValidator: Add VACMM validation for non-unique ArchetypeInternalRefs ( but only if the target path is non-unique either)](https://discourse.openehr.org/t/570-archetypevalidator-add-vacmm-validation-for-non-unique-archetypeinternalrefs-but-only-if-the-target-path-is-non-unique-either/16401)

<div class="topic-metadata">

**Author:** [@svn1](https://discourse.openehr.org/u/svn1)\
**Replies:** 0\
**Last updated:** [13 December 2012 10:54 UTC](https://discourse.openehr.org/t/570-archetypevalidator-add-vacmm-validation-for-non-unique-archetypeinternalrefs-but-only-if-the-target-path-is-non-unique-either/16401 "2012-12-13T10:54:31Z")

</div>

Revision: 570 Author: sebastian.garde Log Message:

---

## [\[569\] ArchetypeValidator: Add VACMM validation for non-unique ArchetypeInternalRefs](https://discourse.openehr.org/t/569-archetypevalidator-add-vacmm-validation-for-non-unique-archetypeinternalrefs/15589)

<div class="topic-metadata">

**Author:** [@svn1](https://discourse.openehr.org/u/svn1)\
**Replies:** 0\
**Last updated:** [13 December 2012 10:32 UTC](https://discourse.openehr.org/t/569-archetypevalidator-add-vacmm-validation-for-non-unique-archetypeinternalrefs/15589 "2012-12-13T10:32:47Z")

</div>

Revision: 569 Author: sebastian.garde Log Message:

---

## [CDate, CDateTime, CDate](https://discourse.openehr.org/t/cdate-cdatetime-cdate/15588)

<div class="topic-metadata">

**Author:** [@system](https://discourse.openehr.org/u/system)\
**Replies:** 0\
**Last updated:** [12 December 2012 16:49 UTC](https://discourse.openehr.org/t/cdate-cdatetime-cdate/15588 "2012-12-12T16:49:47Z")

</div>

Hi again, Assuming a DV\_DATE\_TIME or DV\_TIME or DV\_DATE CComplexObject and doing something like this: CObject valueObj = dvdatetimeCC\`\`omplexObject\`\`.getAttribute("value").getChildren().get(0); CPrimitiveObject primOb…

---

## [\[568\] BugFixes and finetuning for the Java RM implemenation and the Archetype Validator](https://discourse.openehr.org/t/568-bugfixes-and-finetuning-for-the-java-rm-implemenation-and-the-archetype-validator/14287)

<div class="topic-metadata">

**Author:** [@svn1](https://discourse.openehr.org/u/svn1)\
**Replies:** 0\
**Last updated:** [12 December 2012 15:12 UTC](https://discourse.openehr.org/t/568-bugfixes-and-finetuning-for-the-java-rm-implemenation-and-the-archetype-validator/14287 "2012-12-12T15:12:51Z")

</div>

Revision: 568 Author: sebastian.garde Log Message:

---

## [A few problems with the updated RM classes](https://discourse.openehr.org/t/a-few-problems-with-the-updated-rm-classes/16400)

<div class="topic-metadata">

**Author:** [@system](https://discourse.openehr.org/u/system)\
**Replies:** 1\
**Last updated:** [11 December 2012 13:31 UTC](https://discourse.openehr.org/t/a-few-problems-with-the-updated-rm-classes/16400 "2012-12-11T13:31:09Z")

</div>

Hi Rong and all, I am in the process of migrating from the older Java RM implementation and ran into a few (surprisingly minor) problems: - ArchetypeSlots / CString When I compare two identical ArchetypeSlots for equa…

---

## [ConstraintBinding.java](https://discourse.openehr.org/t/constraintbinding-java/14288)

<div class="topic-metadata">

**Author:** [@system](https://discourse.openehr.org/u/system)\
**Replies:** 2\
**Last updated:** [11 December 2012 13:10 UTC](https://discourse.openehr.org/t/constraintbinding-java/14288 "2012-12-11T13:10:11Z")

</div>

Hi again, There is a class org.openehr.am.archetype.ontology.ConstraintBinding.java in the Java RM implementation and I wonder if this is just a left-over from long ago? It doesn’t seem to be used at all unless I am mi…

---

## [Correct restatement - openEHR Security](https://discourse.openehr.org/t/correct-restatement-openehr-security/14268)

<div class="topic-metadata">

**Author:** [@Kourtis\_Panagiotis](https://discourse.openehr.org/u/Kourtis_Panagiotis)\
**Replies:** 3\
**Last updated:** [3 October 2012 08:21 UTC](https://discourse.openehr.org/t/correct-restatement-openehr-security/14268 "2012-10-03T08:21:02Z")

</div>

Hi everyone, For over two weeks now, I am searching information about openEHR. The reason is that I' am going to use it for my Master thesis. What I should do, is a research on security and ethical issues of EHR over th…

---

## [\[567\] Added setter for code in OntologyBindingItem](https://discourse.openehr.org/t/567-added-setter-for-code-in-ontologybindingitem/16392)

<div class="topic-metadata">

**Author:** [@svn1](https://discourse.openehr.org/u/svn1)\
**Replies:** 0\
**Last updated:** [28 September 2012 14:09 UTC](https://discourse.openehr.org/t/567-added-setter-for-code-in-ontologybindingitem/16392 "2012-09-28T14:09:34Z")

</div>

Revision: 567 Author: rong.chen Log Message:

---

## [Request to remove readonly contraint from TermBindingItem](https://discourse.openehr.org/t/request-to-remove-readonly-contraint-from-termbindingitem/15208)

<div class="topic-metadata">

**Author:** [@pablo](https://discourse.openehr.org/u/pablo)\
**Replies:** 2\
**Last updated:** [28 September 2012 13:40 UTC](https://discourse.openehr.org/t/request-to-remove-readonly-contraint-from-termbindingitem/15208 "2012-09-28T13:40:04Z")

</div>

Hi, I’m trying to rewrite the code property in TermBindingItem but I’m getting this exception: groovy.lang.ReadOnlyPropertyException: Cannot set readonly property: code for class: org.openehr.am.archetype.ontology.Term…

---

## [\[566\] Added another fix regarding regular expression parsing in ADL](https://discourse.openehr.org/t/566-added-another-fix-regarding-regular-expression-parsing-in-adl/14236)

<div class="topic-metadata">

**Author:** [@svn1](https://discourse.openehr.org/u/svn1)\
**Replies:** 0\
**Last updated:** [10 August 2012 11:35 UTC](https://discourse.openehr.org/t/566-added-another-fix-regarding-regular-expression-parsing-in-adl/14236 "2012-08-10T11:35:58Z")

</div>

Revision: 566 Author: rong.chen Log Message:

---

## [Validation of term bindings within ArchetypeInternalRefs // loadInternalRefs](https://discourse.openehr.org/t/validation-of-term-bindings-within-archetypeinternalrefs-loadinternalrefs/16698)

<div class="topic-metadata">

**Author:** [@system](https://discourse.openehr.org/u/system)\
**Replies:** 2\
**Last updated:** [21 July 2012 17:21 UTC](https://discourse.openehr.org/t/validation-of-term-bindings-within-archetypeinternalrefs-loadinternalrefs/16698 "2012-07-21T17:21:42Z")

</div>

Hi Rong and all, In the Archetype class in the Java Reference Implementation, there is a method loadInternalRefs. I am wondering what it is actually doing except for calling itself recursively? Why I am asking: The J…

---

## ["Missing Element Error" on a subset of archetypes available from the CKM](https://discourse.openehr.org/t/missing-element-error-on-a-subset-of-archetypes-available-from-the-ckm/15172)

<div class="topic-metadata">

**Author:** [@ANASTASIOU\_A1](https://discourse.openehr.org/u/ANASTASIOU_A1)\
**Replies:** 2\
**Last updated:** [17 May 2012 17:36 UTC](https://discourse.openehr.org/t/missing-element-error-on-a-subset-of-archetypes-available-from-the-ckm/15172 "2012-05-17T17:36:44Z")

</div>

Hello everyone While i was putting together this small list of some issues i have encountered with the published XML / XSDs at http://www.openehr.org/wiki/display/dev/Development+test+base i was reminded of this problem…

[Next page](https://discourse.openehr.org/c/reference-implementation-java-archive/154.md?page=1)
