On 29-06-18 10:27, Thomas Beale wrote:
The intention is certainly a good one. It just needs to be the
reference model and the Abstract Platform Specification
<http://www.openehr.org/releases/SM/latest/openehr_platform.html> as
the starting point.
I was thinking of the following.
We can "translate" the core-RM (which is to use in archetypes) to
protocol-buffers definitions. These protocol buffer definitions are
programming language independent. It should be possible to convert the
definitions (in XML I believe?) directly to this format (with a small
application).
Is this still maintained, or is there something else I should use? I
could write such a small application. Would take me a few days when
doing it in spare time.
https://github.com/openEHR/specifications-ITS/tree/master/RM/XML-schema
This would be a good start. Next task would be a small application which
"translates" archetypes to protocol buffers.
I was thinking this afternoon how that could be done, because archetypes
are flexible to use, you don't want any archetype-code in the kernel.
But on the other hand, protocol buffers demand compiled protocol buffer
definitions. So archetypes will then be compiled for the sake of network
traffic.
This compiled code could have standard API calls to ask which archetype
it represents.
I don't know how the feelings are about this.
Bert
- thomas
On 28/06/2018 16:25, Bert Verhees wrote:
On 28-06-18 17:19, Bert Verhees wrote:
Never use REST/JSON/HTTP1.1 for stable models, it is throwing away a
lot of performance.
How about creating a protocol-buffer generation tool for archetypes,
or as a matter of fact, for the reference model would be sufficient.
Good idea, to remember.
Or has someone already done it and did I miss it?
Bert
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
--
Thomas Beale
Principal, Ars Semantica <http://www.arssemantica.com>
Consultant, ABD Project, Intermountain Healthcare
<https://intermountainhealthcare.org/>
Management Board, Specifications Program Lead, openEHR Foundation
<http://www.openehr.org>
Chartered IT Professional Fellow, BCS, British Computer Society
<http://www.bcs.org/category/6044>
Health IT blog <http://wolandscat.net/> | Culture blog
<http://wolandsothercat.net/> | The Objective Stance
<https://theobjectivestance.net/>
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org