On 11/01/2012 11:09, Leonardo Moretti wrote:
> Hi all,
> maybe this is a silly question, but I didn't find a point in the specs
> where this is clearly explained:
> The following notation on ADL:
>
> ELEMENT[at0009] occurrences matches {0..1} matches {-- Pattern
> value matches {
> DV_DURATION matches {
> value matches {PYM}
> }
> }
> }
>
> constraints the data to have a DV_DURATION element with both year and
> month specified (both part are mandatory) or with year and/or month
> specified (both part are optional)!?
>
Leonardo,
where does this constrain come from? It says that the duration has to
have a Year and/or a Month. I.e. P5Y, P2M, P5Y2M are all allowed
according to this constraint. See pg 70 of the current ADL 1.5
specification
<http://www.openehr.org/svn/specification/TRUNK/publishing/architecture/am/adl1.5.pdf>.
- thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20120115/fdcfcdb5/attachment.html>