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. 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 On Mon, Mar 19, 2018 at 12:13 PM, Thomas Beale <thomas.be...@openehr.org> wrote: > Hi Pablo, > > you should use the specs on the main spec home page > <http://www.openehr.org/programs/specification/workingbaseline>; in this > case I guess it is the AOM 1.4 spec > <http://www.openehr.org/releases/AM/latest/docs/AOM1.4/AOM1.4.html#_primitive_package> > you want to refer to. > > We now have the basic time types in the Foundation types spec > <http://www.openehr.org/releases/BASE/latest/docs/foundation_types/foundation_types.html#_time_types>. > Both Duration and Iso8601_Duration are defined. For the archetype spec, the > former is assumed, because ISO8601 syntax representation is used in > archetypes. > > The specification is much better (but different) in AOM2 > <http://www.openehr.org/releases/AM/latest/docs/AOM2/AOM2.html#_c_duration_class> > . > > - thomas > > On 19/03/2018 05:24, Pablo Pazos wrote: > > Hi, > > Looking at CDuration http://www.openehr.org/releases/1.0.2/architecture/ > am/aom.pdf page 46, the range constraint is defined with a Duration class. > > On the support specs http://www.openehr.org/releases/1.0.2/architecture/ > rm/support_im.pdf page 30 we have the ISO8601_DURATION class. > > Should AOM reference that class or we have another Duration class > somewhere? > > Or should we use DV_DURATION in CDuration? (DV_DURATION inherits from > ISO8601_DURATION). http://www.openehr.org/releases/1.0.2/architecture/ > rm/data_types_im.pdf page 54 > > > > > _______________________________________________ > 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