Hi Seref,

This means - you have to have at least one event, but it could be either
EVENT or INTERVAL_EVENT.

Does that make sense.

Cheers, Sam

> -----Original Message-----
> From: openehr-clinical-bounces at openehr.org [mailto:openehr-clinical-
> bounces at openehr.org] On Behalf Of Seref Arikan
> Sent: Tuesday, 2 August 2011 8:17 PM
> To: For openEHR clinical discussions
> Subject: Question about occurrences and cardinality values in the Blood
> Pressure archetype
> 
> Greetings,
> Am I suffering from acute caffeine deficiency syndrome (just made it
> up) or is there a problem with the occurrences of event and
> interval_events in the blood pressure archetype?
> In the published blood pressure archetype in the CKM, HISTORY[at0001]
> has events with cardinality {1..*; unordered}
> However "EVENT[at0006] occurrences matches {0..*}" and
> "INTERVAL_EVENT[at1042] occurrences matches {0..1}" under the history
> allow zero instances of both of these elements.
> So the cardinality sets 1 as the minimum member count for the
> container attribute, but occurrences attributes of objects introduce
> 0, which is beyond allowed boundaries. In plain English: cardinality
> says there has to be at least one, but objects say, there can be zero
> or more. When both objects have zero instances, the cardinality
> constraint is violated.
> 
> Comments?
> _______________________________________________
> openEHR-clinical mailing list
> openEHR-clinical at openehr.org
> http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-clinical


Reply via email to