Hi Thomas, the definition of DV_DURATION is clear to me :) The issue is on the 1.0.2 specs, I guess they used DV_DURATION in C_DURATION because the referenced Duration class in C_DURATION was not included on the specs. *This is the issue I'm pointing to, the missing class.*
Clarifying that on an errata addendum would help to avoid such implementation mistakes, that are really caused by the missing information on the spec + interpretation to fill the gap. BTW, this is one case that I detected because I'm doing research for a new course. There might be issues like this on other areas of 1.0.2, I mean missing classes referenced from AOM or AOP. I didn't do a complete review of the specs. I would love to migrate everything to baseline spec and use AOM2, but I can't afford the cost right now. I'm sure others are on my same position. BTW tried to check if the issue is also on 1.0.3 but the link to support is broken http://openehr.org/RM/Release-1.0.3/support.html On Mon, Mar 19, 2018 at 4:03 PM, Thomas Beale <thomas.be...@openehr.org> wrote: > > > On 19/03/2018 18:33, Pablo Pazos wrote: > > Thanks Thomas, I see the Duration class on the baseline BASE model > > http://openehr.org/releases/BASE/latest/docs/foundation_ > types/foundation_types.html#_overview_5 > > But I'm a 1.0.2 implementer and I guess there are others. As far as I can > see, there is no Duration class for 1.0.2. I would be good to add a > disclaimer or errata comment for 1.0.2 maybe guiding to use ISO8601_DURATION > or DV_DURATION in CDuration. > > > DV_DURATION has never been the target type of C_DURATION - DV_DURATION is > a complex type in the DV_ORDERED hierarchy (i.e. a sibling more or less of > DV_QUANTITY). > > > IMO that can generate a mismatch between implementations. For instance, > the Java Ref uses DV_DURATION in CDuration https://github.com/ > wware/openehr-java/blob/master/openehr-aom/src/main/ > java/org/openehr/am/archetype/constraintmodel/primitive/ > CDuration.java#L186 > > > I don't know why they do that - that is not what the spec says. > > - thomas > > -- > Thomas Beale > Principal, Ars Semantica <http://www.arssemantica.com> > Consultant, ABD Team, 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/> > > _______________________________________________ > openEHR-technical mailing list > openEHR-technical@lists.openehr.org > http://lists.openehr.org/mailman/listinfo/openehr- > technical_lists.openehr.org > -- Ing. Pablo Pazos Gutiérrez pablo.pa...@cabolabs.com +598 99 043 145 skype: cabolabs <http://cabolabs.com/> http://www.cabolabs.com https://cloudehrserver.com Subscribe to our newsletter <http://eepurl.com/b_w_tj>
_______________________________________________ openEHR-technical mailing list openEHR-technical@lists.openehr.org http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org