There has been recent discussion touching on the question of what an openEHRv2 would look like, and whether breaking changes to the RM are worth the trouble.
While in the US, I and my team (including @borut.jures , who had very useful tools and code generators ) at a now defunct startup implemented many such ideas to see how they would look.
Here are some of the changes that we implemented:
- reworked data types, especially Quantities
- ITEM_XXX / CLUSTER / ELEMENT replaced by a single type that has both value and children, enabling much better representation of structures from fractal reality than the current structures
- solved the problem of inlined reference items such as devices with a smart reference subtype of Node
- in archetypes, replaced nearly all slots with direct references, greatly improving the ease of working with templates
- improved Entry hierarchy, with 7 subtypes of Observation that reflect much better the disparate kinds of data we really have e.g. realtime, scores, questionnaires, labs, etc
- flatter structures generally, resulting in shorter paths
- greatly improved Entity model (= demographics + things, including all āreferenceā data)
- universal is-about coding of all archetypes - this reduces the brittleness of AQL queries to almost zero with respect to evolving archetypes
The form of models we used in this exercise was experimental, and not developed under optimal circumstances. I am in the process of building out new and better openEHRv2 models from scratch, for consideration by the community in the near future. Once you see the systemic effects of such improvements, itās like the advent of electric windows in your car - no-one ever wants to go back. Many of the changes were aimed at improving clinical modelling, and we showed that very substantial improvements are available.
And this is not to mention another set of experiments on the generation from models to FHIR profiles (and any other similar data standard artifact, e.g. IHE, X12), rather than the latter being manually created. All that work goes away when they can be generated from upstream domain models.