2006/11/8, Mattias Forss <mattias.forss at gmail.com>:
>
>
> We would also like to ask if there is a way of specifying validity for
> > questions depending on previously answered questions. E.g. if a certain
> > answer was given from a multiple alternative question (coded_text), then and
> > only then, some other group of questions will be valid. Is this possible to
> > do in archetypes? Perhaps it's possible with invariants?
> >
> > same general form as the first one, where the exists() quantifier can be
> > used with operators like "implies" to state the required conditions.
> >
>
> Does this mean that the invariant allows something like
> "path/to/coded_text/defining_code = at0003 implies /some/path[atNNNN]
> occurrences.min = 1" can be used for the group of questions (cluster) we
> want to be valid?
>

Oops, I meant it probably should be something like:

invariant
    exists(/some/path[atNNNN]) implies path/to/coded_text/defining_code =
at0003


//Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20061108/d2cddeb8/attachment.html>
-------------- next part --------------
_______________________________________________
openEHR-technical mailing list
openEHR-technical at openehr.org
http://www.chime.ucl.ac.uk/mailman/listinfo/openehr-technical

Reply via email to