We're updating the issue view to help you get more done.Learn more

How to work out pattern in a list-constraint?

I am not sure if this is an error or meant to be like this.

When I look at the figure 12 in chapter 4.1 of the AOM document
http://www.openehr.org/releases/AM/latest/docs/AOM2/AOM2.html#_overview_3

I see that C_Duration is bounded to C_Temporal, and I see that in CTemporal a pattern constraint is obligatory. But what if the List-constraint is used, and C_Duration has items using different pattern in the list, but is only possible to send one pattern to the constructor, how is this then be handled

For example:
duration_attr11 matches {P1D, P38W, P39W4D}

Status

Assignee

Unassigned

Reporter

Bert Verhees

Priority

Major