This release brings a number of important improvements to the reference model including:
the new DV_SCALE data type, supporting scales/scores containing decimal numbers;
addition of a preferred_term field to the coded text data type;
addition of archetypeable meta-data to Folder objects;
addition of unlimited Folder hierarchies to an EHR;
addition of free meta-data field to Feeder system audit, to aid integration;
added null_reason field to ELEMENTobjects (i.e. any archetype leaf node);
support any units system and units display text in Quantities.
We hope this proves useful for the community, and would like to thank all the implementers for the feedback that led to this release, as well as the SEC members and others who helped create it.
Thatās a lot of work, @thomas.beale and all. Thanks! I canāt see the change-log, release notes and issueās fixed (Jira wall). Still working on it?
Ah - that is an error - I forgot to remove these classes from the released UML source files (from which the site is generated) when we pushed the tag CR up to Release 1.2.0. Will fixā¦
Quick question: Pieter mentioned that the specs allow negative DV_DURATION, but ISO8601 doesnāt seem to allow negative durations. Can someone confirm if we support negative durations and why?
Thanks Ian, the usage is clear for me. My question is about the data representation including the sign in the duration expression, since it seems that is not ISO8601 compliant.
value: String <<< this should be ISO8601 valid duration expression
A different way of modeling this for the use case/clinical modeling with compliance to ISO8601 would be:
DV_DURATION
value: String << compliant with ISO8601 duration expression
is_negative: Boolean <<< removes the sign from the expression to a different field
Note: I donāt have the full ISO8601 specification, so if someone that has it can check if the sign in the expression is valid or not, it will help to know if we are actually doing something we shouldnāt
Hi Pablo,
DV_DURATION is based on Iso8601_duration, from here in the Foundation types. This ensures it is a valid ISO8601 duration string. You already knew that I guess. You can see there an operation negative() that generates the negated form of a Iso 8601 duration value. However, I think you are right - we have neglected to add a field is_negative to actually represent the negation, which comes for free with Integers and Reals etc. Iāll fix this ASAP.
A Java implementation of this model is now available in version 0.17.0 of Archie, see https://github.com/openehr/archie. Itās usable for modelling Archetypes as well as for usage in CDR or client app implementations.
The visual studio code extension at https://marketplace.visualstudio.com/items?itemName=NedapHealthcare.openehr-adl-lsp , or directly available in visual studio code, has been updated to support RM 1.1.0 Archetypes. Be sure to update to version 0.3.0 and to set rm_release=1.1.0 in the header of your archetype, and you should be able to work with the new RM. It works with all the modelling tools, ADL 1.4 conversion, example generation and more.