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

Reply via email to