Class C_DURATION

ISO 8601-compatible constraint on instances of Duration. In ISO 8601 terms,
constraints might are of the form PWD (weeks and/or days), PDTHMS (days,
hours, minutes, seconds) and so on. In official ISO 8601:2004, the W' (week)
designator cannot be mixed in; allowing it is an openEHR-wide exception.

Declaration :

Artifact : C_DURATION

Attribut years_allowed

True if years are allowed in the constrained Duration.

Declaration :

Attribut months_allowed

True if months are allowed in the constrained Duration.

Declaration :

Attribut weeks_allowed

True if weeks are allowed in the constrained Duration.

Declaration :

Attribut days_allowed

True if days are allowed in the constrained Duration.

Declaration :

Attribut hours_allowed

True if hours are allowed in the constrained Duration.

Declaration :

Attribut minutes_allowed

True if minutes are allowed in the constrained Duration.

Declaration :

Attribut seconds_allowed

True if seconds are allowed in the constrained Duration.

Declaration :

Attribut fractional_seconds_allowed

True if fractional seconds are allowed in the constrained Duration.

Declaration :

Attribut range

Range of Durations specifying constraint.

Declaration :

Attribut assumed_value

The value to assume if this item is not included in data, due to being part of an
optional structure.

Declaration :

All public operations : assumed_value , default_value , has_assumed_value , valid_value